Skip to content

Commit

Permalink
@slidy/react - 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Valexr committed Sep 10, 2022
1 parent c6fb21f commit aab9174
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@slidy/react",
"version": "1.0.0",
"version": "1.1.0",
"description": "Simple, configurable & reusable carousel component built with ReactJS",
"main": "dist/slidy.cjs",
"module": "dist/slidy.mjs",
Expand Down Expand Up @@ -64,4 +64,4 @@
"react": "^18.2.0",
"react-dom": "^18.2.0"
}
}
}
4 changes: 0 additions & 4 deletions packages/react/src/components/Progress/Progress.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { useSlidy } from '../Context';
import { clsx } from 'clsx';
import { s } from '../../utils';
import { execute, noop } from '@slidy/assets/scripts/utils';

Expand Down Expand Up @@ -47,9 +46,6 @@ const Progress: FC<Props> = (props) => {
/>
<span className={classNames['progress-handle']} />
</div>
// <div className={clsx(classNames.progress, props.vertical && 'vertical')}>
// <span style={style} />
// </div>
);
};

Expand Down
4 changes: 2 additions & 2 deletions packages/react/src/components/Slidy/Slidy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ const Slidy: FC<Partial<Options>> = ($props) => {
value={index + 1}
max={length}
vertical={props.vertical}
onInput={(e) => {
setIndex(e.currentTarget?.value - 1);
onInput={(e: any) => {
setIndex(e.currentTarget.valueAsNumber - 1);
}}
/>)}

Expand Down

0 comments on commit aab9174

Please sign in to comment.