Skip to content

Commit

Permalink
13.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
goranalkovic-infinum committed Sep 16, 2024
1 parent 3e29649 commit 6ecce63
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

This projects adheres to [Semantic Versioning](https://semver.org/) and [Keep a CHANGELOG](https://keepachangelog.com/).

## [13.0.3]

### Changed
- Fixed bug in `WidthOffsetRangeSlider`.

## [13.0.2]

### Changed
Expand Down Expand Up @@ -1353,6 +1358,7 @@ Follow this migration script in order for you project to work correctly with the
- Initial tagged release.

[Unreleased]: https://github.com/infinum/eightshift-frontend-libs/compare/master...HEAD
[13.0.3]: https://github.com/infinum/eightshift-frontend-libs/compare/13.0.2...13.0.3
[13.0.2]: https://github.com/infinum/eightshift-frontend-libs/compare/13.0.1...13.0.2
[13.0.1]: https://github.com/infinum/eightshift-frontend-libs/compare/13.0.0...13.0.1
[13.0.0]: https://github.com/infinum/eightshift-frontend-libs/compare/12.1.6...13.0.0
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@eightshift/frontend-libs",
"version": "13.0.2",
"version": "13.0.3",
"description": "A collection of useful frontend utility modules. powered by Eightshift",
"author": {
"name": "Eightshift team",
Expand Down
2 changes: 1 addition & 1 deletion scripts/components/responsive/responsive.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const Responsive = (props) => {
label={label}
help={help}
subtitle={subtitle}
className={clsx('es-uic-space-y-2' ,additionalClasses)}
className={clsx('es-uic-space-y-2', additionalClasses)}
actions={
<>
{inline && (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ export const WidthOffsetRangeSlider = (props) => {

<ColumnConfigSlider
key={breakpoint}
aria-label={__('Width & offset', 'eightshift-frontend-libs')}
columns={totalNumberOfColumns}
value={[parsedOffset, displayedWidth]}
showOuterAsGutter={showOuterAsGutter ?? parsedFullWidth}
Expand All @@ -226,7 +227,9 @@ export const WidthOffsetRangeSlider = (props) => {
: newWidth;
}
} else if (!isWidthInherited && !isOffsetInherited) {
newValues.width = stringValues ? String(w - o) : w - o + 1;
newValues.width = stringValues
? String(w - o + 1)
: w - o + 1;
newValues.offset = stringValues ? String(o) : o;
}

Expand Down

0 comments on commit 6ecce63

Please sign in to comment.