carbon-components-svelte/docs/src
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
..
components fix: CopyButton text prop and Dropdown selectedId prop should be required (#1311) 2022-05-22 12:39:53 -07:00
layouts refactor: use icons from carbon-icons-svelte@11 (#1227) 2022-04-03 11:57:28 -07:00
pages feat(slider): add fullWidth prop (#1354) 2022-06-18 12:47:10 -07:00
App.svelte Update docs (#965) 2022-01-01 10:58:42 -08:00
COMPONENT_API.json feat(slider): add fullWidth prop (#1354) 2022-06-18 12:47:10 -07:00
global.css docs: use all.css for prefixed styles (#1221) 2022-04-02 11:45:29 -07:00
index.js docs: use all.css for prefixed styles (#1221) 2022-04-02 11:45:29 -07:00
store.js Improve documentation (#730) 2021-07-08 16:30:53 -07:00