Eric Liu
Eric Liu
Currently, [it's hardcoded](https://github.com/carbon-design-system/carbon-preprocess-svelte/blob/main/src/preprocessors/elements.ts#L253) to expect a value length of 6 characters. Could you try "#000000"?
I don't think `'carbon-icons-svelte/Home16'` is a valid import. The JS import path should be `"carbon-icons-svelte/lib/Home16"`.
> you get the same problem that would occur when not using `optimizeImports` in your preprocess section Are you using `optimizeImports`? It should automatically optimize imports from `carbon-components-svelte`, `carbon-icons-svelte`, and...
> With a brief look at the source, optimizeImports uses svelte's createPreprocessorFromVitePlugin Could you clarify this?
> In fact, I'm now assuming that's declaring a script method for the returned object which gets invoked by svelte's compiler at some point. This is the correct assumption. The...
`@types/carbon__icons-react` has been updated to [v11.5.0](https://www.npmjs.com/package/@types/carbon__icons-react). You should now see the correct types for v11 icons.
> I don't get the auto-complete from the standard @carbon/react/icons import Is that something that #11533 would solve? Ideally, types/JSDocs would be shipped with `@carbon/icons-react` (see [comments](https://github.com/carbon-design-system/carbon/pull/11533#issuecomment-1205968217)) so that `@types/carbon__icons-react`...
@jdharvey-ibm Follow-up thought: why not import icons from `@carbon/icons-react` directly since it's a direct dependency of `@carbon/react`?
Thank you for providing a repo. I'll have to investigate this further. As a workaround, you can use the `key` block to force the component to re-render when `stepsCompleted` changes....
Thanks for opening an issue. However, as you state, this floating point behavior is inherent to JS and not a component-specific bug. This issue has been raised multiple times in...