carbon-components-svelte/types/Slider
metonym 1ccdf64504
feat(slider): add fullWidth prop (#1354)
The `bx--slider` class in the `Slider` component has max-width of `40rem`. Because `$$restProps` is spread to the top-level `div` element in `Slider`, the only way to override the style is to do so globally:

```css
:global(.bx--slider-container) {
  width: 100%;
}

:global(.bx--slider) {
  max-width: none;
}
```

This adds a `fullWidth` prop that sets a full width style using inline style attributes.
2022-06-18 12:47:10 -07:00
..
Slider.svelte.d.ts feat(slider): add fullWidth prop (#1354) 2022-06-18 12:47:10 -07:00
SliderSkeleton.svelte.d.ts feat(types): support sveltekit:prefetch, sveltekit:noscroll attributes in type definitions (#1234) 2022-04-09 14:13:56 -07:00