Eric Liu

Results 252 comments of Eric Liu

@canyonwater Currently, the UI Shell is the only component that does not support theming. See the discussion here: https://github.com/carbon-design-system/carbon-components-svelte/issues/787 It appears that the [next major version of `carbon-components`](https://github.com/carbon-design-system/carbon/pull/8579) will support...

Can you provide a minimal repro that illustrates your use case?

You can use the `OverflowMenuItem` disabled prop: ```svelte ``` Note that you can also pass `disabled` to `OverflowMenu` so that the icon button is not clickable or keyboard navigable. However,...

You can also try overriding the "menu" slot with the `Button` component, which can be disabled: ```svelte import { OverflowMenu, OverflowMenuItem, Button, } from "carbon-components-svelte"; import { OverflowMenuVertical16 } from...

In which case, you can make a feature request for the upstream library. https://github.com/carbon-design-system/carbon/issues

I can't speak for the Carbon team, but it depends on the scope and impact of the feature. I think your request to disable the menu icon is reasonable and...

@DougAnderson444 I believe that issue was fixed by https://github.com/sveltejs/kit/pull/4928 in 1.0.0-next.331

Thanks for flagging. To answer your question, `carbon-components` must be used as `@carbon/styles` applies to v11.

[carbon-components](https://www.npmjs.com/package/carbon-components) And you can use one of the [`css/*.scss` files](https://github.com/carbon-design-system/carbon-components-svelte/blob/master/css/g10.scss) as a frame of reference.

The documentation site uses CSS variables and taps into Carbon's layout tokens for margin/padding. If you are using CSS variables, you can write the following: ```csss h1 { margin-bottom: var(--cds-spacing-06);...