-
-
- {!motionLess && (
-
- )}
- {children}
- {!motionLess && (
-
- )}
-
- {doted && !progressBar && (
-
- )}
- {progressBar && !doted &&
}
- {bars && !doted && (
- <>
-
-
- >
- )}
-
- )
-}
-
-export default Slider
diff --git a/packages/react/components/slider/SliderEnum.ts b/packages/react/components/slider/SliderEnum.ts
deleted file mode 100644
index 133c3202..00000000
--- a/packages/react/components/slider/SliderEnum.ts
+++ /dev/null
@@ -1,9 +0,0 @@
-/**
- * ContentSize
- */
-export enum ContentSize {
- SMALL = 100,
- MEDIUM = 150,
- LARGE = 200,
- HUGE = 300,
-}
diff --git a/packages/react/components/slider/SliderProps.ts b/packages/react/components/slider/SliderProps.ts
deleted file mode 100644
index bcf4711b..00000000
--- a/packages/react/components/slider/SliderProps.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import { Small } from '../../objects/facets/Small'
-import { Accessibility, AlertProps, VariantProps } from '../../objects/facets'
-import { Hat } from '../../objects/facets/Hat'
-import { ContentSize } from './SliderEnum'
-import { IconSize, IconSizeValues } from '../icon'
-
-export interface SliderProps extends Small, VariantProps, AlertProps, Hat, Accessibility {
- children?: React.ReactNode | number
- stretched?: boolean
- className?: string
- doted?: boolean
- invertedDoted?: boolean
- iconClassName?: string
- motionLess?: boolean
- showNextSlide?: boolean
- contentSize?: ContentSize
- autoSlideDelay?: number
- /* @deprecated */
- progressBar?: boolean
- bars?: boolean
- arrowsOut?: boolean
- arrowSize?: IconSize | IconSizeValues
-
- isBarsOut?: boolean
-}
diff --git a/packages/react/components/slider/index.ts b/packages/react/components/slider/index.ts
deleted file mode 100644
index cc351320..00000000
--- a/packages/react/components/slider/index.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import Slider from './Slider'
-import SliderItem from './item/SliderItem'
-import { ContentSize } from './SliderEnum'
-export default './utils/slider.js'
-
-export { Slider, SliderItem, ContentSize }
diff --git a/packages/react/components/slider/item/SliderItem.native.tsx b/packages/react/components/slider/item/SliderItem.native.tsx
deleted file mode 100644
index ec65389a..00000000
--- a/packages/react/components/slider/item/SliderItem.native.tsx
+++ /dev/null
@@ -1,46 +0,0 @@
-import * as React from "react"
-import { View, StyleSheet } from "react-native"
-import { SliderItemProps } from "./SliderItemProps"
-import { ComponentName } from "../../enumsComponentsName"
-
-/**
- * Slider Item component
- * @param children {ReactNode} Slider Item child
- * @param testId
- * @param accessibilityLabel
- * @param others
- */
-const SliderItem = ({
- children,
- testId,
- accessibilityLabel,
- ...others
-}: SliderItemProps): JSX.Element => {
- const styles = StyleSheet.create({
- height: {
- height: "100%",
- },
- })
-
- return (
-