-
MiniMax Pet 0.7.0
+
MiniMax Pet 0.8.0
diff --git a/sources/minimax-ai/minimax-pet/miniapp/client/pet.css b/sources/minimax-ai/minimax-pet/miniapp/client/pet.css
index 409b8a1..f417bc5 100644
--- a/sources/minimax-ai/minimax-pet/miniapp/client/pet.css
+++ b/sources/minimax-ai/minimax-pet/miniapp/client/pet.css
@@ -269,13 +269,19 @@ h2 {
.btn.primary:hover {
opacity: 0.86;
}
+.btn:active:not(:disabled) {
+ background: var(--mcode-bg-secondary);
+}
+.btn.primary:active:not(:disabled) {
+ opacity: 0.75;
+}
.btn.danger {
color: var(--mcode-danger);
}
.btn.small {
- height: 28px;
+ height: 32px;
padding: 0 10px;
- font-size: 12px;
+ font-size: 13px;
}
.btn:disabled {
opacity: 0.45;
@@ -367,7 +373,7 @@ h2 {
border-radius: 6px;
color: var(--mcode-text-muted);
font-size: 13px;
- line-height: 22px;
+ line-height: 24px;
transition: background-color 150ms ease-out;
}
.seg-option input:checked + span {
@@ -390,7 +396,7 @@ h2 {
display: inline-flex;
align-items: center;
gap: 8px;
- font-size: 13px;
+ font-size: 14px;
color: var(--mcode-text-muted);
}
@@ -655,7 +661,7 @@ html.mode-window .pet-sprite:focus-visible {
min-height: 0;
overflow-y: auto;
padding: 6px 12px;
- border: 1px solid var(--mcode-border);
+ border: 0.5px solid var(--mcode-border);
border-radius: 12px;
background: var(--mcode-surface);
color: var(--mcode-text);
@@ -712,7 +718,8 @@ html.mode-window .pet-sprite:focus-visible {
cursor: pointer;
transition: background-color 150ms ease-out;
}
-.chip:hover {
+.chip:hover,
+.chip:active {
background: var(--mcode-bg-secondary);
}
.chip:disabled {
@@ -728,7 +735,7 @@ html.mode-window .pet-sprite:focus-visible {
max-height: calc(100% - 8px);
overflow-y: auto;
padding: 4px;
- border: 1px solid var(--mcode-border);
+ border: 0.5px solid var(--mcode-border);
border-radius: 12px;
background: var(--mcode-surface);
box-shadow: var(--pet-bubble-shadow);
@@ -750,7 +757,8 @@ html.mode-window .pet-sprite:focus-visible {
cursor: pointer;
}
.menu-item:hover,
-.menu-item:focus {
+.menu-item:focus,
+.menu-item:active {
outline: none;
background: var(--mcode-bg-secondary);
}
@@ -787,7 +795,12 @@ html.mode-window .pet-sprite:focus-visible {
*,
*::before,
*::after {
- transition: none !important;
+ /* Colour and opacity feedback stays; movement and long transitions do not. */
+ animation-duration: 1ms !important;
+ animation-iteration-count: 1 !important;
+ transition-property: background-color, color, opacity, border-color, box-shadow;
+ transition-duration: 1ms !important;
+ scroll-behavior: auto !important;
}
}
@@ -824,31 +837,31 @@ html.mode-window .pet-sprite:focus-visible {
font-size: 12px;
line-height: 18px;
}
-.compact-header { display: flex; align-items: center; justify-content: space-between; min-height: 26px; padding: 2px 8px 0 10px; gap: 6px; }
+.compact-header { display: flex; align-items: center; justify-content: space-between; min-height: 32px; padding: 0 6px 0 10px; gap: 6px; }
.compact-state { color: var(--mcode-text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.compact-button { border: 0; border-radius: 6px; background: transparent; color: var(--mcode-text); font: inherit; cursor: pointer; padding: 3px 6px; }
.compact-button:hover { background: var(--mcode-bg-secondary); }
.compact-button:disabled { opacity: .4; cursor: default; }
-.compact-close { color: var(--mcode-text-muted); margin-left: auto; font-size: 17px; padding: 0 5px; }
+.compact-close { color: var(--mcode-text-muted); margin-left: auto; font-size: 17px; padding: 0 5px; min-width: 32px; min-height: 32px; }
.compact-body { min-height: 0; overflow: auto; padding: 2px 10px 8px; }
-.compact-hint { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--mcode-text-muted); margin: 5px 0; font-size: 11px; line-height: 16px; }
+.compact-hint { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; color: var(--mcode-text-muted); margin: 4px 0; font-size: 12px; line-height: 16px; }
.compact-hint[data-kind='error'] { color: var(--mcode-danger); }
.compact-footer { display: flex; justify-content: space-between; gap: 8px; margin-top: 4px; }
-.compact-link { color: var(--mcode-text-muted); font-size: 11px; }
+.compact-link { color: var(--mcode-text-muted); font-size: 12px; line-height: 16px; }
.compact-task-list { list-style: none; margin: 0; padding: 0; }
.compact-task { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0 4px; padding: 3px 0; }
.compact-task + .compact-task { border-top: 1px solid var(--mcode-border); }
.compact-task-title { text-align: left; padding-left: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
-.compact-task-status { justify-self: end; padding-inline: 6px; text-align: right; white-space: nowrap; color: var(--mcode-text-muted); font-size: 10px; }
+.compact-task-status { justify-self: end; padding-inline: 6px; text-align: right; white-space: nowrap; color: var(--mcode-text-muted); font-size: 11px; line-height: 16px; }
.compact-task-preview { grid-column: 1 / -1; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; margin: 0; color: var(--mcode-text-muted); font-size: 11px; line-height: 16px; }
.compact-empty { color: var(--mcode-text-muted); padding: 8px 0; }
.notification-stack { display: flex; flex-direction: column-reverse; gap: 5px; width: 248px; max-height: 216px; overflow-y: auto; }
-.pet-notice { display: flex; align-items: start; border: 1px solid var(--mcode-border); border-radius: 10px; background: var(--mcode-surface); box-shadow: var(--pet-bubble-shadow); padding: 6px 7px 6px 10px; flex: none; }
-.pet-notice-open { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--mcode-text); text-align: left; font: inherit; font-size: 12px; line-height: 17px; padding: 0; cursor: pointer; }
+.pet-notice { display: flex; align-items: start; border: 0.5px solid var(--mcode-border); border-radius: 12px; background: var(--mcode-surface); box-shadow: var(--pet-bubble-shadow); padding: 6px 7px 6px 10px; flex: none; }
+.pet-notice-open { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--mcode-text); text-align: left; font: inherit; font-size: 12px; line-height: 16px; padding: 0; cursor: pointer; }
.pet-notice-open strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.pet-notice-preview { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; color: var(--mcode-text-muted); overflow-wrap: anywhere; }
-.compact-detail-title { margin: 0; font-size: 12px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
-.compact-detail-status { margin: 2px 0 2px 6px; font-size: 11px; line-height: 16px; color: var(--mcode-text-muted); }
+.compact-detail-title { margin: 0; font-size: 13px; line-height: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
+.compact-detail-status { margin: 2px 0 2px 6px; font-size: 12px; line-height: 16px; color: var(--mcode-text-muted); }
.compact-detail-reply { margin: 5px 0; max-height: 126px; overflow: auto; overscroll-behavior: contain; overflow-wrap: anywhere; user-select: text; -webkit-user-select: text; }
/* The desktop card is 280px wide; keep the same structure at a tighter scale. */
.compact-detail-reply.md { font-size: 12px; line-height: 17px; text-align: left; }
@@ -861,8 +874,8 @@ html.mode-window .pet-sprite:focus-visible {
.compact-detail-reply.md .md-pre { padding: 6px 8px; }
.compact-detail-reply.md .md-table th,
.compact-detail-reply.md .md-table td { padding: 3px 6px; font-size: 11px; }
-.compact-detail-back { color: var(--mcode-text-muted); font-size: 11px; }
-.compact-open { font-size: 11px; font-weight: 600; }
+.compact-detail-back { color: var(--mcode-text-muted); font-size: 12px; line-height: 16px; }
+.compact-open { font-size: 12px; font-weight: 600; }
.pet-notice-dismiss { flex: none; border: 0; background: transparent; color: var(--mcode-text-muted); cursor: pointer; font-size: 15px; padding: 0 2px 0 6px; }
.reminder-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.reminder-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 6px; padding: 8px; border-radius: 8px; background: var(--mcode-bg-secondary); }
@@ -1068,7 +1081,7 @@ html.mode-inline body {
flex: none;
flex-wrap: nowrap;
align-items: center;
- padding: 24px 28px 18px;
+ padding: 24px 24px 16px;
}
#panel .panel-title {
@@ -1090,7 +1103,7 @@ html.mode-inline body {
display: flex;
flex: none;
gap: 24px;
- padding: 0 28px;
+ padding: 0 24px;
border-bottom: 1px solid var(--mcode-border);
}
@@ -1118,11 +1131,11 @@ html.mode-inline body {
#panel .tab-count {
min-width: 18px;
padding: 0 5px;
- border-radius: 6px;
+ border-radius: 999px;
background: var(--mcode-bg-secondary);
color: var(--mcode-text-muted);
font-size: 12px;
- line-height: 18px;
+ line-height: 16px;
}
#panel > .note,
@@ -1142,7 +1155,7 @@ html.mode-inline body {
height: 100%;
min-width: 0;
min-height: 0;
- padding: 28px;
+ padding: 24px;
overflow: auto;
overscroll-behavior: contain;
scrollbar-gutter: stable;
@@ -1160,7 +1173,7 @@ html.mode-inline body {
display: grid;
grid-template-columns: minmax(200px, .85fr) minmax(0, 1.15fr);
align-items: start;
- gap: 32px;
+ gap: 24px;
}
#panel .appearance-preview {
@@ -1169,8 +1182,8 @@ html.mode-inline body {
align-items: center;
gap: 8px;
min-width: 0;
- padding: 16px 16px 24px;
- border-radius: 16px;
+ padding: 16px;
+ border-radius: 12px;
background: var(--mcode-bg-secondary);
text-align: center;
}
@@ -1196,7 +1209,7 @@ html.mode-inline body {
#panel .stage-status {
max-width: 100%;
font-size: 12px;
- line-height: 18px;
+ line-height: 16px;
overflow-wrap: anywhere;
}
@@ -1210,7 +1223,7 @@ html.mode-inline body {
align-items: center;
justify-content: space-between;
gap: 12px;
- margin: 2px 0 18px;
+ margin: 0 0 16px;
}
#panel .gallery {
@@ -1221,8 +1234,8 @@ html.mode-inline body {
#panel .pet-card {
flex-direction: column;
min-width: 0;
- padding: 14px 10px;
- border-radius: 10px;
+ padding: 12px;
+ border-radius: 12px;
}
#panel .pet-pick {
@@ -1268,7 +1281,7 @@ html.mode-inline body {
#panel .inline-subview {
display: flex;
flex-direction: column;
- gap: 20px;
+ gap: 24px;
width: 100%;
max-width: 720px;
margin: 0 auto;
@@ -1308,7 +1321,7 @@ html.mode-inline body {
#panel .task-page {
display: flex;
overflow: hidden;
- padding: 20px 28px 0;
+ padding: 24px 24px 0;
}
#panel .activity-layout {
@@ -1339,8 +1352,8 @@ html.mode-inline body {
}
#panel .task-filters .btn {
- height: 28px;
- padding-inline: 10px;
+ height: 32px;
+ padding-inline: 12px;
border: 0;
background: transparent;
color: var(--mcode-text-muted);
@@ -1356,7 +1369,7 @@ html.mode-inline body {
margin: 0;
font-size: 12px;
font-weight: 400;
- line-height: 18px;
+ line-height: 16px;
}
#panel .task-panes {
@@ -1378,7 +1391,7 @@ html.mode-inline body {
}
#panel .task-list-note {
- margin-bottom: 12px;
+ margin-bottom: 8px;
}
#panel .session-list {
@@ -1396,9 +1409,11 @@ html.mode-inline body {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: start;
- gap: 3px 12px;
+ gap: 4px 12px;
min-height: 52px;
padding: 12px 8px;
+ font-size: 14px;
+ line-height: 22px;
}
#panel .session-row[aria-current='true'] {
@@ -1444,10 +1459,12 @@ html.mode-inline body {
}
#panel .reminder-item {
- gap: 6px 12px;
+ gap: 8px 12px;
padding: 12px 8px;
border-radius: 0;
background: transparent;
+ font-size: 14px;
+ line-height: 22px;
}
#panel .reminder-title {
@@ -1466,7 +1483,7 @@ html.mode-inline body {
}
#panel .reminder-item .btn {
- height: 24px;
+ height: 32px;
padding-inline: 0;
border: 0;
background: transparent;
@@ -1507,7 +1524,7 @@ html.mode-inline body {
gap: 4px 16px;
color: var(--mcode-text-muted);
font-size: 12px;
- line-height: 18px;
+ line-height: 16px;
}
#panel #detail-note,
@@ -1555,8 +1572,8 @@ html.mode-inline body {
#panel .setting-copy h2 {
margin-bottom: 4px;
- font-size: 14px;
- line-height: 22px;
+ font-size: 16px;
+ line-height: 24px;
}
#panel .setting-copy p {
diff --git a/sources/minimax-ai/minimax-pet/package-lock.json b/sources/minimax-ai/minimax-pet/package-lock.json
index 17136c1..4beea79 100644
--- a/sources/minimax-ai/minimax-pet/package-lock.json
+++ b/sources/minimax-ai/minimax-pet/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "minimax-pet-source",
- "version": "0.7.0",
+ "version": "0.8.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "minimax-pet-source",
- "version": "0.7.0",
+ "version": "0.8.0",
"devDependencies": {
"esbuild": "0.25.12",
"jsdom": "24.1.3",
diff --git a/sources/minimax-ai/minimax-pet/package.json b/sources/minimax-ai/minimax-pet/package.json
index 869bc39..323275f 100644
--- a/sources/minimax-ai/minimax-pet/package.json
+++ b/sources/minimax-ai/minimax-pet/package.json
@@ -1,6 +1,6 @@
{
"name": "minimax-pet-source",
- "version": "0.7.0",
+ "version": "0.8.0",
"private": true,
"type": "module",
"description": "桌宠插件的开发与验证工具,不进入分发包。",