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
+8 -8
View File
@@ -307,12 +307,12 @@ CustomRect {
implicitWidth: expandIcon.height
StateLayer {
function onClicked() {
root.expanded = !root.expanded;
}
color: root.modelData.urgency === NotificationUrgency.Critical ? DynamicColors.palette.m3onSecondaryContainer : DynamicColors.palette.m3onSurface
radius: Appearance.rounding.full
onClicked: {
root.expanded = !root.expanded;
}
}
MaterialIcon {
@@ -434,12 +434,12 @@ CustomRect {
radius: Appearance.rounding.full
StateLayer {
function onClicked(): void {
action.modelData.invoke();
}
color: root.modelData.urgency === NotificationUrgency.Critical ? DynamicColors.palette.m3onSecondary : DynamicColors.palette.m3onSurface
radius: Appearance.rounding.full
onClicked: {
action.modelData.invoke();
}
}
CustomText {
@@ -78,7 +78,7 @@ Item {
StateLayer {
id: actionStateLayer
function onClicked(): void {
onClicked: {
if (action.modelData.isClose) {
root.notif.close();
} else if (action.modelData.isCopy) {
+3 -3
View File
@@ -171,11 +171,11 @@ CustomRect {
radius: Appearance.rounding.full
StateLayer {
function onClicked(): void {
color: root.urgency === NotificationUrgency.Critical ? DynamicColors.palette.m3onError : DynamicColors.palette.m3onSurface
onClicked: {
root.toggleExpand(!root.expanded);
}
color: root.urgency === NotificationUrgency.Critical ? DynamicColors.palette.m3onError : DynamicColors.palette.m3onSurface
}
RowLayout {