port new components to greeter
Python / lint-format (pull_request) Successful in 21s
Python / test (pull_request) Successful in 50s
Lint & Format (JS/TS) / lint-format (pull_request) Successful in 11s
Lint & Format (Rust) / lint-format (pull_request) Successful in 42s

This commit is contained in:
2026-06-07 12:55:32 +02:00
parent 04fb534a05
commit 1f9630ed76
56 changed files with 919 additions and 495 deletions
+8 -8
View File
@@ -103,7 +103,10 @@ StackView {
implicitHeight: 30
StateLayer {
function onClicked(): void {
disabled: !item.modelData.enabled
radius: item.radius
onClicked: {
const entry = item.modelData;
if (entry.hasChildren) {
root.rootWidth = root.biggestWidth;
@@ -117,9 +120,6 @@ StackView {
root.popouts.hasCurrent = false;
}
}
disabled: !item.modelData.enabled
radius: item.radius
}
Loader {
@@ -217,13 +217,13 @@ StackView {
radius: Appearance.rounding.full
StateLayer {
function onClicked(): void {
color: DynamicColors.palette.m3onSecondaryContainer
radius: parent.radius
onClicked: {
root.pop();
root.biggestWidth = root.rootWidth;
}
color: DynamicColors.palette.m3onSecondaryContainer
radius: parent.radius
}
}
+4 -4
View File
@@ -153,12 +153,12 @@ Item {
implicitWidth: icon.implicitHeight + 5 * 2
StateLayer {
function onClicked(): void {
PowerProfiles.profile = parent.profile;
}
color: profiles.current === parent.icon ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurface
radius: Appearance.rounding.full
onClicked: {
PowerProfiles.profile = parent.profile;
}
}
MaterialIcon {