carbon-preprocess-svelte
carbon-preprocess-svelte copied to clipboard
Svelte preprocessors for the Carbon Design System
## Bug In a project making use of the `elements` preprocessor, an error is thrown when adding a CSS variable: ``` Cannot read properties of undefined (reading 'some') file: redacted...
Hi @metonym , thank you for your work on Svelte and Carbon. I would appreciate your help with the following setup: * `vite.config.js` ```js import { defineConfig } from "vite";...
Hello, I tried carbon-charts and wondered why it had missing css even though I imported the css file. It turns out that it was caused by optimizeCss(). Nevertheless, I can...
Hello, I have had a bug when importing typescript types in Svelte components: ```svelte import type { MyType } from './MyType' // ... Welcome ``` The import statement in `MyComponent.svelte`...
AutoComplete added to `carbon-components-svelte.js` for PR [#1245](https://github.com/carbon-design-system/carbon-components-svelte/issues/1245).
There is a problem during build with `optimizeCss`, when the scss is inside a component's style tag. Here is the error: ```sh [plugin-optimize-css] Selector is expected file: /home/jeremy/app/front/src/lib/Uploads.svelte 125: @import...
I am using a `HeaderSearch` component to include a search bar in my global header bar on top. When running svelte in local development, everything works properly and looks like...
I tried to port my app from routify to sveltekit, and I noticed that when I add `optimizeCarbonImports` in the preprocess sectionm of my config the componenets would not hydrate...
I am using sveltekit with carbon. In dev mode everything is working, but after build with optimizeCss() some styles are lost (h2, SideNavMenu, etc). Without optimizeCss(): ```css font-size: 2rem; font-weight:...
I'm working on a sveltekit project using TypeScript, I have a library that generates data for navigation and this includes icons for some of the items. If I import the...