Skip to content

Commit

Permalink
Merge pull request #812 from kacperkosinski/fix-forwarding-slider-ref
Browse files Browse the repository at this point in the history
fix forwarding ref of slider component
  • Loading branch information
kacperkosinski authored Mar 4, 2024
2 parents fad5ddb + 497df27 commit 566e8f0
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 16 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@lyyti/design-system",
"description": "Lyyti Design System",
"homepage": "https://lyytioy.github.io/lyyti-design-system",
"version": "4.1.0",
"version": "4.1.1",
"engines": {
"node": "^18",
"npm": "^9"
Expand Down
10 changes: 0 additions & 10 deletions src/components/Slider.tsx

This file was deleted.

3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ export { default as TableFooter } from '@mui/material/TableFooter';
export { default as TableRow } from '@mui/material/TableRow';
export { default as ToggleButtonGroup } from './components/ToggleButtonGroup';
export type { ToggleButtonOption } from './components/ToggleButtonGroup';
export { default as Slider } from './components/Slider';
export { default as Slider } from '@mui/material/Slider';
export type { SliderProps } from '@mui/material/Slider';
export { createFilterOptions } from '@mui/material/useAutocomplete';
export { useTheme } from '@mui/system';
export type { SxProps } from '@mui/material';
Expand Down
3 changes: 1 addition & 2 deletions stories/Inputs/Slider.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { StoryFn, Meta } from '@storybook/react';
import { Box } from '../../src';
import Slider, { SliderProps } from '../../src/components/Slider'
import { Box, Slider, SliderProps } from '../../src';

const meta: Meta<typeof Slider> = {
title: 'Components/Inputs/Slider',
Expand Down

0 comments on commit 566e8f0

Please sign in to comment.