Enrico Sacchetti

Results 103 comments of Enrico Sacchetti

Released in [v0.71.0](https://github.com/carbon-design-system/carbon-components-svelte/releases/tag/v0.71.0)

Hi @andrewrisse - UIShell themability will be part of the overall https://github.com/carbon-design-system/carbon-components-svelte/issues/1629 task (sub-ticket: https://github.com/carbon-design-system/carbon-components-svelte/issues/1674). Once Carbon v11 styles are rolled out fully, you'll be able to customize UIShell and...

The `@typedef` method works for me. I tried using `@param`, but was not successful: ```html /** * @param {Object} Props * @param {string} Props.name */ let { name, age, date...

Thanks for educating me; I don't know why I thought `@param` could be used for anything except functions. I suppose `@typedef` + `@property` are ideal for documentation, and `@type` for...

I think it's fair to say this is being solved with event props in Svelte 5. ```html const {children, ...props} = $props() {@render children()} ``` ```html import Button from './Button.svelte'...

This is a good suggestion that is part of https://github.com/carbon-design-system/carbon-components-svelte/issues/1621 "pass-through" props. Maybe after #1629 is completed these props can be overhauled.

Would it be possible to leverage Skypack's `dist` parameter? I noticed some packages that mix CJS modules and ESM will run into problems when served by Unpkg in the REPL....

As a workaround, you can pass errors from your `handle` to your layout via `locals`. I've provided an example under 'alternatives' here: https://github.com/sveltejs/kit/issues/7272#issue-1410272076

> For 2.0 we did try to call out differences between 1.x and 2.x inline in the docs I noticed some of those comments, such as the callout in Streaming...

I could try creating a fork of my reproduction using a keyed example. I'm currently only using an array of strings. Do you have any advice on how to make...