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

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
+7 -7
View File
@@ -108,12 +108,12 @@ ColumnLayout {
}
StateLayer {
function onClicked(): void {
parent.forceActiveFocus();
}
cursorShape: Qt.IBeamCursor
hoverEnabled: false
onClicked: {
parent.forceActiveFocus();
}
}
RowLayout {
@@ -167,11 +167,11 @@ ColumnLayout {
radius: Appearance.rounding.full
StateLayer {
function onClicked(): void {
color: root.lock.pam.buffer ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurface
onClicked: {
root.lock.pam.passwd.start();
}
color: root.lock.pam.buffer ? DynamicColors.palette.m3onPrimary : DynamicColors.palette.m3onSurface
}
MaterialIcon {
+3 -3
View File
@@ -178,11 +178,11 @@ Item {
StateLayer {
id: controlState
function onClicked(): void {
color: control.active ? DynamicColors.palette[`m3on${control.set_color}`] : DynamicColors.palette[`m3on${control.set_color}Container`]
onClicked: {
control.onClicked();
}
color: control.active ? DynamicColors.palette[`m3on${control.set_color}`] : DynamicColors.palette[`m3on${control.set_color}Container`]
}
MaterialIcon {
+3 -3
View File
@@ -161,11 +161,11 @@ CustomRect {
}
StateLayer {
function onClicked(): void {
color: root.urgency === "critical" ? DynamicColors.palette.m3onError : DynamicColors.palette.m3onSurface
onClicked: {
root.expanded = !root.expanded;
}
color: root.urgency === "critical" ? DynamicColors.palette.m3onError : DynamicColors.palette.m3onSurface
}
RowLayout {