release: bump version to 0.80.2
ci / backend (push) Canceled after 0s
ci / frontend (push) Canceled after 0s
ci / delivery (push) Canceled after 0s

This commit is contained in:
linkong committed 2026-11-30 11:06:33 +08:00
1 parent 4b2004b7d8
commit 2c439b7235
26 files changed
+1329 -172

No files matched your search

+134 -29
View File
@@ -6,6 +6,12 @@
--an-page-padding: 16px;
--an-section-gap: 16px;
--an-panel-gap: 12px;
--an-control-xs: 28px;
--an-control-sm: 32px;
--an-control-md: 34px;
--an-control-lg: 38px;
--an-control-radius: 6px;
--an-control-radius-md: 7px;
--an-bg: #f6f8fb;
--an-surface: #ffffff;
--an-surface-alt: #f9fbfd;
@@ -1073,15 +1079,15 @@ body:has(.admin-theme-root[data-theme='dark']) .an-toast {
.an-toolbar > .tui-button {
align-self: stretch;
height: 34px;
height: var(--an-control-md);
}
.an-toolbar .an-status-pill {
align-self: stretch;
height: 34px;
height: var(--an-control-md);
min-width: 0;
padding: 0 12px;
border-radius: 7px;
border-radius: var(--an-control-radius-md);
line-height: 1;
}
@@ -2874,10 +2880,10 @@ body:has(.admin-theme-root[data-theme='dark']) .an-toast {
.an-input,
.an-select {
width: 100%;
height: 32px;
height: var(--an-control-sm);
min-width: 0;
border: 1px solid var(--an-border);
border-radius: 6px;
border-radius: var(--an-control-radius);
background: var(--an-surface);
color: var(--an-text);
padding: 0 10px;
@@ -3253,20 +3259,74 @@ body[data-admin-theme='dark'] .an-connection-test-input > .tui-button:hover:not(
white-space: nowrap;
}
.an-data-table__selection-cell {
width: 42px;
min-width: 42px;
max-width: 42px;
.an-data-table th.an-data-table__selection-cell,
.an-data-table td.an-data-table__selection-cell {
width: 40px;
min-width: 40px;
max-width: 40px;
padding: 0;
text-align: center;
vertical-align: middle;
}
.an-data-table__selection-cell input {
width: 15px;
height: 15px;
margin: 0;
accent-color: var(--an-accent);
.an-data-table__selection-cell input[type='checkbox'] {
position: relative;
box-sizing: border-box;
appearance: none;
-webkit-appearance: none;
display: block;
width: 16px;
height: 16px;
margin: 0 auto;
border: 1.5px solid color-mix(in srgb, var(--an-muted) 56%, var(--an-border));
border-radius: 4px;
background: var(--an-surface);
cursor: pointer;
transition: border-color 0.14s ease, background 0.14s ease;
}
.an-data-table__selection-cell input[type='checkbox']:hover:not(:disabled) {
border-color: var(--an-accent);
}
.an-data-table__selection-cell input[type='checkbox']:checked,
.an-data-table__selection-cell input[type='checkbox']:indeterminate {
border-color: var(--an-accent);
background: var(--an-accent);
}
.an-data-table__selection-cell input[type='checkbox']:checked::after {
content: '';
position: absolute;
box-sizing: border-box;
left: 4px;
top: 1px;
width: 5px;
height: 9px;
border: solid #ffffff;
border-width: 0 2px 2px 0;
transform: rotate(45deg);
}
.an-data-table__selection-cell input[type='checkbox']:indeterminate::after {
content: '';
position: absolute;
left: 3px;
top: 5.5px;
width: 7px;
height: 2px;
border-radius: 1px;
background: #ffffff;
}
.an-data-table__selection-cell input[type='checkbox']:focus-visible {
outline: 2px solid color-mix(in srgb, var(--an-accent) 78%, white);
outline-offset: 0;
}
.an-data-table__selection-cell input[type='checkbox']:disabled {
cursor: not-allowed;
opacity: 0.45;
}
.an-data-table th {
@@ -3955,7 +4015,7 @@ body[data-admin-theme='dark'] .an-connection-test-input > .tui-button:hover:not(
.an-filter-grid--datasources > .an-segmented--counted {
flex: 0 0 auto;
max-width: 100%;
height: 32px;
height: var(--an-control-sm);
}
.an-filter-grid--datasources > .an-field--inline-filter {
@@ -3963,25 +4023,32 @@ body[data-admin-theme='dark'] .an-connection-test-input > .tui-button:hover:not(
min-width: 116px;
}
.an-filter-grid--datasources > .tui-button {
.an-filter-grid--datasources > .tui-button,
.an-filter-grid--datasources > .tui-button.tui-button--tactile {
flex: 0 0 auto;
width: var(--an-control-sm);
height: var(--an-control-sm);
border-radius: var(--an-control-radius);
box-shadow: none;
}
.an-segmented--counted button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
gap: 5px;
}
.an-segmented__count {
font-variant-numeric: tabular-nums;
font-size: 11px;
color: var(--an-muted);
font-size: 12px;
font-weight: 500;
color: color-mix(in srgb, var(--an-text) 56%, var(--an-muted));
}
.an-segmented--counted button.is-active .an-segmented__count {
color: var(--an-accent);
font-weight: 650;
}
.an-batch-bar {
@@ -4021,15 +4088,19 @@ body[data-admin-theme='dark'] .an-connection-test-input > .tui-button:hover:not(
align-items: center;
}
.an-table-switch {
justify-content: center;
}
.an-table-actions {
gap: 2px;
justify-content: center;
}
.an-table-actions .tui-button--icon {
width: 28px;
height: 28px;
border-radius: 6px;
width: var(--an-control-xs);
height: var(--an-control-xs);
border-radius: var(--an-control-radius);
color: var(--an-muted);
}
@@ -4068,11 +4139,23 @@ body[data-admin-theme='dark'] .an-connection-test-input > .tui-button:hover:not(
padding: 0 10px;
}
.an-data-table--datasources .an-data-table__selection-cell {
.an-data-table--datasources th.an-data-table__selection-cell,
.an-data-table--datasources td.an-data-table__selection-cell {
width: 40px;
min-width: 40px;
max-width: 40px;
padding: 0;
text-align: center;
}
.an-data-table--datasources th[data-column-id='schedule'],
.an-data-table--datasources td[data-column-id='schedule'] {
text-align: center;
}
.an-data-table--datasources th[data-column-id='schedule'] .an-data-table__sort {
justify-content: center;
cursor: default;
}
.an-data-table--datasources th[data-sticky-end='true'],
@@ -4573,29 +4656,51 @@ body[data-admin-theme='dark'] .an-connection-test-input > .tui-button:hover:not(
.an-segmented {
height: 30px;
display: inline-flex;
align-items: stretch;
gap: 2px;
border: 1px solid var(--an-border);
border-radius: 6px;
border-radius: var(--an-control-radius);
padding: 2px;
background: var(--an-surface-alt);
background: color-mix(in srgb, var(--an-border) 34%, var(--an-surface-alt));
}
.admin-theme-root[data-theme='dark'] .an-segmented {
background: color-mix(in srgb, #000 28%, var(--an-surface-alt));
}
.an-segmented button {
min-width: 0;
border: 0;
border: 1px solid transparent;
background: transparent;
color: var(--an-muted);
color: color-mix(in srgb, var(--an-text) 68%, var(--an-muted));
border-radius: 4px;
padding: 0 10px;
font: inherit;
font-size: 13px;
font-weight: 500;
line-height: 1;
cursor: pointer;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
transition: background 0.14s ease, color 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}
.an-segmented button:hover:not(:disabled):not(.is-active) {
color: var(--an-text);
}
.an-segmented button.is-active {
background: var(--an-surface);
color: var(--an-text);
border: 1px solid var(--an-border);
font-weight: 600;
border-color: color-mix(in srgb, var(--an-border) 88%, transparent);
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}
.admin-theme-root[data-theme='dark'] .an-segmented button.is-active {
background: color-mix(in srgb, var(--an-surface) 92%, #ffffff);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.an-segmented button:focus-visible {
@@ -4948,7 +5053,7 @@ body[data-admin-theme='dark'] .an-connection-test-input > .tui-button:hover:not(
}
.an-filter-grid--datasources > .an-field--inline-filter {
flex: 1 1 calc(50% - 6px);
flex: 1 1 calc(42% - 6px);
min-width: 0;
}