diff --git a/components/StyledProgressBar.qml b/components/StyledProgressBar.qml deleted file mode 100644 index f0c0ef6..0000000 --- a/components/StyledProgressBar.qml +++ /dev/null @@ -1,58 +0,0 @@ -import qs.config -import QtQuick -import QtQuick.Controls - -ProgressBar { - id: control - value: 0.5 - padding: 2 - - HoverHandler { - enabled: !control.indeterminate - cursorShape: Qt.PointingHandCursor - } - - background: Rectangle { - implicitWidth: 200 - implicitHeight: 6 - color: Theme.palette.base100 - radius: 8 - } - - contentItem: Item { - implicitWidth: 200 - implicitHeight: 4 - - // Progress indicator for determinate state. - Rectangle { - width: control.visualPosition * parent.width - height: parent.height - radius: 8 - color: Theme.palette.primary - visible: !control.indeterminate - } - - // Scrolling animation for indeterminate state. - Item { - anchors.fill: parent - visible: control.indeterminate - clip: true - - Row { - Rectangle { - id: rect - color: Theme.palette.primary - width: 40 - height: control.height - } - XAnimator on x { - from: control.width + rect.width - to: -rect.width - duration: 1000 - loops: Animation.Infinite - running: control.indeterminate - } - } - } - } -} diff --git a/components/StyledWrapperRectangle.qml b/components/StyledWrapperRectangle.qml index 19a70d1..d81b5c2 100644 --- a/components/StyledWrapperRectangle.qml +++ b/components/StyledWrapperRectangle.qml @@ -1,14 +1,7 @@ import qs.config -import QtQuick import Quickshell.Widgets WrapperRectangle { - radius: 8 color: Theme.palette.base300 - Behavior on color { - ColorAnimation { - duration: 200 - easing.type: Easing.InOutQuad - } - } + radius: 8 } diff --git a/modules/storybook/Storybook.qml b/modules/storybook/Storybook.qml index 4f5d66a..50cc024 100644 --- a/modules/storybook/Storybook.qml +++ b/modules/storybook/Storybook.qml @@ -96,21 +96,6 @@ StyledWindow { } } - ColumnLayout { - StyledText { - text: "Progress Bar" - font.pixelSize: 18 - } - StyledProgressBar { - id: progressBar - indeterminate: true - implicitHeight: 10 - from: 0 - to: 100 - value: 50 - } - } - ColumnLayout { StyledText { text: "Mpris Player Selector" diff --git a/components/LucideIcon.qml b/widgets/LucideIcon.qml similarity index 100% rename from components/LucideIcon.qml rename to widgets/LucideIcon.qml