Skip to content

Commit

Permalink
[docs] Add inverted slider to 5.5.0 changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
rtivital committed Sep 30, 2022
1 parent 13ab752 commit 17af4eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion docs/src/docs/changelog/5-5-0.mdx
Expand Up @@ -7,14 +7,20 @@ release: https://github.com/mantinedev/mantine/releases/tag/5.5.0
date: 'September 19th, 2022'
---

import { CollapseDemos } from '@mantine/demos';
import { CollapseDemos, SliderDemos } from '@mantine/demos';

## Horizontal Collapse

[Collapse](https://mantine.dev/core/collapse/) component now supports `axis` prop:

<Demo data={CollapseDemos.horizontal} />

## Inverted Slider

[Slider and RangeSlider](https://mantine.dev/core/slider/) components now support `inverted` prop:

<Demo data={SliderDemos.inverted} />

## Other changes

- [Table](https://mantine.dev/core/table/) component now supports `withBorder` and `withColumnBorders` props
4 changes: 2 additions & 2 deletions docs/src/docs/core/Slider.mdx
Expand Up @@ -91,13 +91,13 @@ Note that mark value is relative to slider value, not width:

You can use the `scale` prop to represent the value on a different scale.

In the following demo, the value _x_ represents the value 2^x. Increasing _x_ by one increases the represented value by 2 to the power of _x_.
In the following demo, the value `x` represents the value `2^x`. Increasing `x` by one increases the represented value by 2 to the power of `x`.

<Demo data={SliderDemos.scale} />

## Inverted

You can invert the track with the `inverted` prop.
You can invert the track with the `inverted` prop:

<Demo data={SliderDemos.inverted} />

Expand Down

0 comments on commit 17af4eb

Please sign in to comment.