@vaadin/aura 25.4.0-alpha1 → 25.4.0-alpha2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aura.css +1 -0
- package/dist/aura.css +2 -2
- package/package.json +2 -2
- package/src/components/grid.css +0 -4
- package/src/table.css +56 -0
package/aura.css
CHANGED
package/dist/aura.css
CHANGED
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
in oklab,
|
|
130
130
|
var(--aura-surface-color-solid) calc(100% * var(--aura-surface-opacity)),
|
|
131
131
|
transparent
|
|
132
|
-
);--vaadin-background-color:var(--aura-surface-color-solid)}.aura-surface{background:var(--aura-surface-color) padding-box}.aura-surface-solid{--aura-surface-opacity:1;background:var(--aura-surface-color-solid) padding-box}.aura-accent-surface,.aura-accent-surface-solid{background:var(--aura-accent-surface) padding-box}.aura-accent-surface-solid{--aura-surface-opacity:1}@font-face{font-family:Instrument Sans;src:url(fonts/InstrumentSans/InstrumentSans.woff2) format("woff2");font-display:swap;font-style:normal;font-weight:400 700}:where(:host),:where(:root){--aura-font-family-system:system-ui, ui-sans-serif, sans-serif;--aura-font-family-instrument-sans:"Instrument Sans", var(--aura-font-family-system);--aura-font-family:var(--aura-font-family-instrument-sans);--vaadin-icon-baseline-font-family:var(--aura-font-family);--aura-base-font-size:14;--_base-font-size-m:var(--aura-base-font-size);--aura-base-line-height:1.4;--aura-font-weight-regular:400;--aura-font-weight-medium:500;--aura-font-weight-semibold:600}@media (pointer:coarse){:where(:host),:where(:root){--vaadin-input-field-value-font-size:max(16px, var(--aura-font-size-m))}}@supports (-webkit-touch-callout:none){@media (pointer:coarse){:where(:host),:where(:root){font:-apple-system-body}}}:where(:host),:where(:root),:where([theme]){--aura-font-size-xs:clamp(.625rem, round(.85 * var(--aura-font-size-m), .0625rem), .8125rem);--aura-font-size-s:round(.5 * (var(--aura-font-size-m) + var(--aura-font-size-xs)), .0625rem);--aura-font-size-m:round(.0625 * 1rem * var(--aura-base-font-size), .0625rem);--aura-font-size-l:round(1.125 * var(--aura-font-size-m), .0625rem);--aura-font-size-xl:round(1.125 * var(--aura-font-size-l), .0625rem);--_base-font-size-xs:clamp(10, round(.75 * var(--_base-font-size-m), 1), 13);--_base-font-size-s:round(.5 * (var(--_base-font-size-m) + var(--_base-font-size-xs)), 1);--_base-font-size-l:round(1.125 * var(--_base-font-size-m), 1);--_base-font-size-xl:round(1.125 * var(--_base-font-size-l), 1);--aura-line-height-xs:round(var(--aura-font-size-xs) * var(--aura-base-line-height), .125rem);--aura-line-height-s:round(var(--aura-font-size-s) * var(--aura-base-line-height), .125rem);--aura-line-height-m:round(var(--aura-font-size-m) * var(--aura-base-line-height), .125rem);--aura-line-height-l:round(var(--aura-font-size-l) * var(--aura-base-line-height), .125rem);--aura-line-height-xl:round(var(--aura-font-size-xl) * var(--aura-base-line-height), .125rem)}:where(:host),:where(body){font-family:var(--aura-font-family);font-optical-sizing:auto;font-style:normal;font-weight:var(--aura-font-weight-regular);-webkit-font-smoothing:var(--aura-font-smoothing,antialiased);-moz-osx-font-smoothing:var(--aura-font-smoothing,grayscale);-webkit-text-size-adjust:none;text-size-adjust:none}:where(:host),:where([theme]:not(html)),:where(body){font-size:var(--aura-font-size-m);line-height:var(--aura-line-height-m)}[theme~=xsmall]{--aura-base-font-size:var(--_base-font-size-xs)}[theme~=small]{--aura-base-font-size:var(--_base-font-size-s)}[theme~=medium]{--aura-base-font-size:var(--_base-font-size-m)}[theme~=large]{--aura-base-font-size:var(--_base-font-size-l)}[theme~=xlarge]{--aura-base-font-size:var(--_base-font-size-xl)}:where(h1,h2,h3,h4,h5,h6){text-wrap:balance;margin:0;font-weight:var(--aura-font-weight-semibold)}:where(h1){font-size:round(1.75 * var(--aura-font-size-xl),.0625rem);line-height:round(1.25 * var(--aura-line-height-xl),.125rem)}:where(h2){font-size:round(1.25 * var(--aura-font-size-xl),.0625rem);line-height:round(1.125 * var(--aura-line-height-xl),.125rem)}:where(h3){font-size:var(--aura-font-size-xl);line-height:var(--aura-line-height-xl)}:where(h4){font-size:var(--aura-font-size-l);line-height:var(--aura-line-height-l)}:where(h5){font-size:var(--aura-font-size-m);line-height:var(--aura-line-height-m)}:where(h6){font-size:var(--aura-font-size-s);line-height:var(--aura-line-height-s)}:where(b,strong){font-weight:var(--aura-font-weight-semibold)}:where(:host),:where(:root){--vaadin-overlay-border-width:0px;--vaadin-overlay-backdrop-background:light-dark(
|
|
132
|
+
);--vaadin-background-color:var(--aura-surface-color-solid)}.aura-surface{background:var(--aura-surface-color) padding-box}.aura-surface-solid{--aura-surface-opacity:1;background:var(--aura-surface-color-solid) padding-box}.aura-accent-surface,.aura-accent-surface-solid{background:var(--aura-accent-surface) padding-box}.aura-accent-surface-solid{--aura-surface-opacity:1}:where(.vaadin-themed-html table:not(.vaadin-unthemed-html),table.vaadin-themed-html){--_inner-radius:max(0px, -1px + var(--vaadin-radius-m));background:var(--vaadin-background-color);border:1px solid var(--vaadin-border-color);border-radius:var(--vaadin-radius-m);border-spacing:0;caption{padding-block-end:var(--vaadin-gap-s);color:var(--vaadin-text-color-secondary);text-align:start}:is(th,td){padding:var(--vaadin-padding-block-container) var(--vaadin-padding-inline-container);text-align:start}th{font-weight:var(--aura-font-weight-medium)}:is(thead,tfoot) :is(th,td){background:var(--vaadin-background-container)}:where(:is(thead,tbody,tfoot)~:is(tbody,tfoot) tr:first-child :is(th,td)),:where(tr:not(:first-child) :is(th,td)){border-block-start:1px solid var(--vaadin-border-color)}:where(thead:first-of-type tr:first-child :is(th,td):first-child){border-start-start-radius:var(--_inner-radius)}:where(thead:first-of-type tr:first-child :is(th,td):last-child){border-start-end-radius:var(--_inner-radius)}:where(:is(tbody,tfoot):last-of-type tr:last-child :is(th,td):first-child){border-end-start-radius:var(--_inner-radius)}:where(:is(tbody,tfoot):last-of-type tr:last-child :is(th,td):last-child){border-end-end-radius:var(--_inner-radius)}}@font-face{font-family:Instrument Sans;src:url(fonts/InstrumentSans/InstrumentSans.woff2) format("woff2");font-display:swap;font-style:normal;font-weight:400 700}:where(:host),:where(:root){--aura-font-family-system:system-ui, ui-sans-serif, sans-serif;--aura-font-family-instrument-sans:"Instrument Sans", var(--aura-font-family-system);--aura-font-family:var(--aura-font-family-instrument-sans);--vaadin-icon-baseline-font-family:var(--aura-font-family);--aura-base-font-size:14;--_base-font-size-m:var(--aura-base-font-size);--aura-base-line-height:1.4;--aura-font-weight-regular:400;--aura-font-weight-medium:500;--aura-font-weight-semibold:600}@media (pointer:coarse){:where(:host),:where(:root){--vaadin-input-field-value-font-size:max(16px, var(--aura-font-size-m))}}@supports (-webkit-touch-callout:none){@media (pointer:coarse){:where(:host),:where(:root){font:-apple-system-body}}}:where(:host),:where(:root),:where([theme]){--aura-font-size-xs:clamp(.625rem, round(.85 * var(--aura-font-size-m), .0625rem), .8125rem);--aura-font-size-s:round(.5 * (var(--aura-font-size-m) + var(--aura-font-size-xs)), .0625rem);--aura-font-size-m:round(.0625 * 1rem * var(--aura-base-font-size), .0625rem);--aura-font-size-l:round(1.125 * var(--aura-font-size-m), .0625rem);--aura-font-size-xl:round(1.125 * var(--aura-font-size-l), .0625rem);--_base-font-size-xs:clamp(10, round(.75 * var(--_base-font-size-m), 1), 13);--_base-font-size-s:round(.5 * (var(--_base-font-size-m) + var(--_base-font-size-xs)), 1);--_base-font-size-l:round(1.125 * var(--_base-font-size-m), 1);--_base-font-size-xl:round(1.125 * var(--_base-font-size-l), 1);--aura-line-height-xs:round(var(--aura-font-size-xs) * var(--aura-base-line-height), .125rem);--aura-line-height-s:round(var(--aura-font-size-s) * var(--aura-base-line-height), .125rem);--aura-line-height-m:round(var(--aura-font-size-m) * var(--aura-base-line-height), .125rem);--aura-line-height-l:round(var(--aura-font-size-l) * var(--aura-base-line-height), .125rem);--aura-line-height-xl:round(var(--aura-font-size-xl) * var(--aura-base-line-height), .125rem)}:where(:host),:where(body){font-family:var(--aura-font-family);font-optical-sizing:auto;font-style:normal;font-weight:var(--aura-font-weight-regular);-webkit-font-smoothing:var(--aura-font-smoothing,antialiased);-moz-osx-font-smoothing:var(--aura-font-smoothing,grayscale);-webkit-text-size-adjust:none;text-size-adjust:none}:where(:host),:where([theme]:not(html)),:where(body){font-size:var(--aura-font-size-m);line-height:var(--aura-line-height-m)}[theme~=xsmall]{--aura-base-font-size:var(--_base-font-size-xs)}[theme~=small]{--aura-base-font-size:var(--_base-font-size-s)}[theme~=medium]{--aura-base-font-size:var(--_base-font-size-m)}[theme~=large]{--aura-base-font-size:var(--_base-font-size-l)}[theme~=xlarge]{--aura-base-font-size:var(--_base-font-size-xl)}:where(h1,h2,h3,h4,h5,h6){text-wrap:balance;margin:0;font-weight:var(--aura-font-weight-semibold)}:where(h1){font-size:round(1.75 * var(--aura-font-size-xl),.0625rem);line-height:round(1.25 * var(--aura-line-height-xl),.125rem)}:where(h2){font-size:round(1.25 * var(--aura-font-size-xl),.0625rem);line-height:round(1.125 * var(--aura-line-height-xl),.125rem)}:where(h3){font-size:var(--aura-font-size-xl);line-height:var(--aura-line-height-xl)}:where(h4){font-size:var(--aura-font-size-l);line-height:var(--aura-line-height-l)}:where(h5){font-size:var(--aura-font-size-m);line-height:var(--aura-line-height-m)}:where(h6){font-size:var(--aura-font-size-s);line-height:var(--aura-line-height-s)}:where(b,strong){font-weight:var(--aura-font-weight-semibold)}:where(:host),:where(:root){--vaadin-overlay-border-width:0px;--vaadin-overlay-backdrop-background:light-dark(
|
|
133
133
|
oklch(from var(--aura-background-color-light) calc(.5 * l) min(.05, 4 * c) h / 0.3),
|
|
134
134
|
oklch(from var(--aura-background-color-dark) calc(.5 * l) min(.05, 4 * c) h / 0.3)
|
|
135
135
|
);--aura-overlay-outline-color:light-dark(
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
)}&[editable]{--vaadin-dashboard-widget-border-color:light-dark(
|
|
147
147
|
color-mix(in srgb, var(--vaadin-border-color-secondary), var(--aura-shadow-color)),
|
|
148
148
|
var(--vaadin-border-color-secondary)
|
|
149
|
-
)}&[editable],&[selected]{--vaadin-dashboard-widget-shadow:var(--aura-shadow-s)}&[selected]{--vaadin-dashboard-widget-background:var(--aura-accent-surface) padding-box;--vaadin-dashboard-widget-border-color:var(--aura-accent-color)}}vaadin-dashboard-section{vaadin-dashboard-widget{transition:.2s;transition-property:filter,opacity}&[move-mode] vaadin-dashboard-widget{opacity:.75;filter:blur(10px);clip-path:inset(0);transition-duration:50ms}}:is(vaadin-dashboard-widget,vaadin-dashboard-section){&::part(button){background:var(--aura-surface-color) padding-box;color:var(--vaadin-text-color-secondary);border:1px solid var(--vaadin-border-color);transition:color .12s;outline-offset:-1px}&::part(resize-grow-height-button),&::part(resize-shrink-height-button){margin-top:0;border-bottom:0}&::part(move-forward-button),&::part(resize-grow-width-button),&::part(resize-shrink-width-button){margin-inline-start:0;border-inline-end:0}&::part(move-backward-button){margin-inline-end:0;border-inline-start:0}&::part(move-apply-button),&::part(resize-apply-button){background:var(--aura-accent-color);color:var(--aura-accent-contrast-color);box-shadow:0 0 0 3px var(--aura-surface-color);outline-offset:2px}@media (any-hover:hover){&::part(button):hover{color:var(--vaadin-text-color)}&::part(move-apply-button):hover,&::part(resize-apply-button):hover{color:var(--aura-accent-contrast-color)}}&::part(move-button),&::part(remove-button),&::part(resize-button){background:transparent;border:0;color:var(--vaadin-text-color-disabled);outline-offset:-2px}&[editable]{--vaadin-dashboard-widget-header-padding:var(--vaadin-padding-xs)}}:where(:host),:where(:root){--vaadin-dialog-title-font-size:var(--aura-font-size-l);--vaadin-dialog-title-line-height:var(--aura-line-height-l);--vaadin-dialog-border-width:0px}vaadin-confirm-dialog,vaadin-dialog{color-scheme:var(--aura-content-color-scheme,var(--aura-color-scheme))}vaadin-confirm-dialog::part(overlay),vaadin-dialog::part(overlay){background:var(--vaadin-dialog-background,var(--vaadin-overlay-background,var(--aura-surface-color)));box-shadow:var(--aura-overlay-outline-shadow),var(--vaadin-dialog-shadow,var(--vaadin-overlay-shadow,var(--aura-overlay-shadow)));--aura-surface-level:3;--aura-surface-opacity:var(--aura-overlay-surface-opacity)}vaadin-confirm-dialog::part(message){color:var(--vaadin-text-color-secondary)}vaadin-confirm-dialog,vaadin-crud,vaadin-dialog{--vaadin-overlay-animation-duration:0.16s;--vaadin-overlay-scale-closed:0.97}vaadin-confirm-dialog[closing],vaadin-dialog[closing]{--vaadin-overlay-animation-duration:0.12s;--vaadin-overlay-animation-delay:60ms}:where(:host),:where(:root){--vaadin-grid-row-selected-background-color:color-mix(in srgb, var(--aura-accent-color) 10%, transparent);--vaadin-grid-background:linear-gradient(var(--aura-surface-color), var(--aura-surface-color)) var(--aura-background-color) padding-box}:is(vaadin-grid,vaadin-crud-grid,vaadin-grid-pro)::part(empty-state){display:flex;align-items:center;justify-content:center}vaadin-grid-sorter::part(indicators){transition:color .12s}:is(vaadin-grid,vaadin-crud,vaadin-grid-pro)[theme~=
|
|
149
|
+
)}&[editable],&[selected]{--vaadin-dashboard-widget-shadow:var(--aura-shadow-s)}&[selected]{--vaadin-dashboard-widget-background:var(--aura-accent-surface) padding-box;--vaadin-dashboard-widget-border-color:var(--aura-accent-color)}}vaadin-dashboard-section{vaadin-dashboard-widget{transition:.2s;transition-property:filter,opacity}&[move-mode] vaadin-dashboard-widget{opacity:.75;filter:blur(10px);clip-path:inset(0);transition-duration:50ms}}:is(vaadin-dashboard-widget,vaadin-dashboard-section){&::part(button){background:var(--aura-surface-color) padding-box;color:var(--vaadin-text-color-secondary);border:1px solid var(--vaadin-border-color);transition:color .12s;outline-offset:-1px}&::part(resize-grow-height-button),&::part(resize-shrink-height-button){margin-top:0;border-bottom:0}&::part(move-forward-button),&::part(resize-grow-width-button),&::part(resize-shrink-width-button){margin-inline-start:0;border-inline-end:0}&::part(move-backward-button){margin-inline-end:0;border-inline-start:0}&::part(move-apply-button),&::part(resize-apply-button){background:var(--aura-accent-color);color:var(--aura-accent-contrast-color);box-shadow:0 0 0 3px var(--aura-surface-color);outline-offset:2px}@media (any-hover:hover){&::part(button):hover{color:var(--vaadin-text-color)}&::part(move-apply-button):hover,&::part(resize-apply-button):hover{color:var(--aura-accent-contrast-color)}}&::part(move-button),&::part(remove-button),&::part(resize-button){background:transparent;border:0;color:var(--vaadin-text-color-disabled);outline-offset:-2px}&[editable]{--vaadin-dashboard-widget-header-padding:var(--vaadin-padding-xs)}}:where(:host),:where(:root){--vaadin-dialog-title-font-size:var(--aura-font-size-l);--vaadin-dialog-title-line-height:var(--aura-line-height-l);--vaadin-dialog-border-width:0px}vaadin-confirm-dialog,vaadin-dialog{color-scheme:var(--aura-content-color-scheme,var(--aura-color-scheme))}vaadin-confirm-dialog::part(overlay),vaadin-dialog::part(overlay){background:var(--vaadin-dialog-background,var(--vaadin-overlay-background,var(--aura-surface-color)));box-shadow:var(--aura-overlay-outline-shadow),var(--vaadin-dialog-shadow,var(--vaadin-overlay-shadow,var(--aura-overlay-shadow)));--aura-surface-level:3;--aura-surface-opacity:var(--aura-overlay-surface-opacity)}vaadin-confirm-dialog::part(message){color:var(--vaadin-text-color-secondary)}vaadin-confirm-dialog,vaadin-crud,vaadin-dialog{--vaadin-overlay-animation-duration:0.16s;--vaadin-overlay-scale-closed:0.97}vaadin-confirm-dialog[closing],vaadin-dialog[closing]{--vaadin-overlay-animation-duration:0.12s;--vaadin-overlay-animation-delay:60ms}:where(:host),:where(:root){--vaadin-grid-row-selected-background-color:color-mix(in srgb, var(--aura-accent-color) 10%, transparent);--vaadin-grid-background:linear-gradient(var(--aura-surface-color), var(--aura-surface-color)) var(--aura-background-color) padding-box}:is(vaadin-grid,vaadin-crud-grid,vaadin-grid-pro)::part(empty-state){display:flex;align-items:center;justify-content:center}vaadin-grid-sorter::part(indicators){transition:color .12s}:is(vaadin-grid,vaadin-crud,vaadin-grid-pro)[theme~=no-row-borders]{--vaadin-grid-row-border-width:0px}:where(:host),:where(:root){--vaadin-login-form-error-color:var(--aura-red-text);--vaadin-login-form-padding:var(--vaadin-padding-xl);--vaadin-login-overlay-brand-padding:var(--vaadin-padding-xl);--vaadin-login-overlay-brand-background:transparent;--vaadin-login-overlay-title-font-size:1.5em;--vaadin-login-overlay-title-line-height:1.2;--vaadin-login-overlay-title-font-weight:var(--aura-font-weight-semibold);--vaadin-login-overlay-title-color:var(--vaadin-text-color);--vaadin-login-overlay-description-color:var(--vaadin-text-color-secondary)}vaadin-login-form::part(error-message){border-radius:var(--vaadin-radius-m);padding:var(--vaadin-padding-m);background:color-mix(in srgb,var(--aura-red) 10%,transparent)}vaadin-login-form::part(error-message-title){font-weight:var(--aura-font-weight-semibold)}vaadin-login-overlay{--vaadin-overlay-backdrop-background:var(--aura-app-background);&[opening]{--vaadin-overlay-scale-closed:0.95;--vaadin-overlay-translate-closed:0 30px;--vaadin-overlay-animation-duration:1.2s;--vaadin-overlay-animation-delay:0.2s;--vaadin-overlay-animation-timing-function:cubic-bezier(0.33, 1, 0.68, 1);&::part(overlay){animation-duration:.3s,var(--vaadin-overlay-animation-duration)}&::part(backdrop){--vaadin-overlay-animation-duration:0.3s;--vaadin-overlay-animation-delay:0s}}&[closing]{--vaadin-overlay-animation-duration:0.3s;--vaadin-overlay-animation-delay:0.3s;--vaadin-overlay-scale-closed:1.1}&::part(overlay){--aura-surface-level:2;background:var(--vaadin-login-overlay-background,var(--vaadin-overlay-background,var(--aura-surface-color)));box-shadow:var(--aura-overlay-outline-shadow),var(--vaadin-login-overlay-shadow,var(--vaadin-overlay-shadow,var(--aura-overlay-shadow)))}&::part(brand){text-align:center;padding-bottom:0}&::part(form-title){display:none}[slot=title]{letter-spacing:-.03em}}:where(vaadin-markdown){h1,h2,h3,h4,h5,h6,hr{margin-block:revert-layer}code{font-size:var(--aura-font-size-s);line-height:var(--aura-line-height-s);font-weight:var(--aura-font-weight-semibold)}b,blockquote,pre code,strong{font-weight:var(--aura-font-weight-medium)}blockquote{border-left-color:var(--aura-accent-border-color)}ol li::marker{font-weight:var(--aura-font-weight-regular)}figcaption{font-size:var(--aura-font-size-s);line-height:var(--aura-line-height-s)}th{font-weight:var(--aura-font-weight-medium)}}@property --_aura-mdl-page-contained-backdrop{syntax:"<color>";inherits:true;initial-value:transparent}:where(:host),:where(:root){--_aura-mdl-page-contained-backdrop:var(--vaadin-overlay-backdrop-background)}vaadin-master-detail-layout::part(detail){background:var(--vaadin-master-detail-layout-detail-background,var(--aura-surface-color) padding-box)}vaadin-master-detail-layout[has-detail][overlay]::part(detail){--aura-surface-level:3;--aura-surface-opacity:var(--aura-overlay-surface-opacity);-webkit-backdrop-filter:var(--aura-overlay-backdrop-filter);backdrop-filter:var(--aura-overlay-backdrop-filter);box-shadow:var(
|
|
150
150
|
--vaadin-master-detail-layout-detail-shadow,inset 1px 0 0 0 var(--aura-overlay-inner-outline-color),-1px 0 0 0 var(--aura-overlay-outline-color),var(--aura-overlay-shadow)
|
|
151
151
|
);--_inset:var(--aura-master-detail-layout-detail-inset, round(.66667 * var(--aura-app-layout-inset), 1px));border-radius:clamp(0px,1000 * var(--_inset),max(var(--vaadin-radius-m),var(--vaadin-radius-l) - round(.5 * var(--_inset),1px)))}vaadin-master-detail-layout[has-detail][overlay][orientation=horizontal]::part(detail){inset-block:var(--_inset);inset-inline-end:var(--_inset)}vaadin-master-detail-layout[has-detail][overlay][orientation=vertical]::part(detail){inset-inline:var(--_inset);inset-block-end:var(--_inset)}vaadin-master-detail-layout[has-detail][overlay][overlay-containment=page]::part(detail){border-radius:clamp(0px,1000 * var(--_inset),var(--vaadin-radius-l))}vaadin-master-detail-layout:not([overlay])::part(detail),vaadin-master-detail-layout>vaadin-master-detail-layout{border-start-end-radius:var(--_app-layout-radius);border-end-end-radius:var(--_app-layout-radius)}vaadin-master-detail-layout[overlay-containment=page]{--vaadin-overlay-backdrop-background:var(--_aura-mdl-page-contained-backdrop)}vaadin-menu-bar:not([has-single-button]) vaadin-menu-bar-button:not([first-visible],[focus-ring]){clip-path:inset(-10px -10px -10px max(-10px,.8px + -1 * var(--vaadin-menu-bar-gap,0px)))}@media (any-hover:hover){vaadin-menu-bar-button>vaadin-menu-bar-item:not([disabled]):not([tabindex]):hover{background:transparent}}vaadin-menu-bar-button[slot=overflow]{font-family:system-ui,sans-serif;font-weight:600}vaadin-menu-bar-button[aria-haspopup=true]::part(suffix):after{--vaadin-icon-visual-size:90%}vaadin-menu-bar-button>vaadin-menu-bar-item{padding-inline:0}vaadin-menu-bar-button>vaadin-menu-bar-item::part(content){padding-inline:0;gap:var(--vaadin-button-gap,var(--vaadin-gap-s))}vaadin-message-input>vaadin-text-area::part(input-field){background:var(--vaadin-input-field-background,transparent)}vaadin-message-input:not([readonly],[disabled])>vaadin-text-area::part(input-field){box-shadow:none}vaadin-message-input[theme~=icon-button]>vaadin-message-input-button{width:var(--vaadin-icon-size,1lh);height:var(--vaadin-icon-size,1lh);color:transparent;position:relative;contain:strict}vaadin-message-input[theme~=icon-button]>vaadin-message-input-button:before{content:"";position:absolute;inset:0;mask-image:var(--_vaadin-icon-paper-airplane);background:var(--vaadin-button-text-color)}vaadin-message-input[theme~=icon-button][dir=rtl]>vaadin-message-input-button:before{scale:-1}@media (forced-colors:active){vaadin-message-input[theme~=icon-button]>vaadin-message-input-button{forced-color-adjust:none;--vaadin-button-text-color:CanvasText}}:where(:host),:where(:root){--vaadin-message-attachment-font-weight:var(--aura-font-weight-medium);--vaadin-message-attachment-border-width:1px}vaadin-message::part(attachment){--aura-surface-level:4;background:var(--vaadin-message-attachment-background,var(--aura-surface-color) padding-box)}vaadin-message::part(attachment):hover{--aura-surface-opacity:0.7}vaadin-message::part(attachment):active{--aura-surface-opacity:0.4}vaadin-message::part(attachment-icon){background:color-mix(in srgb,var(--aura-accent-color) 10%,transparent);color:var(--aura-accent-color)}vaadin-message-list[theme~=bubble]>vaadin-message:not([theme~=full-width]){--aura-surface-level:3;--aura-surface-opacity:0.6;&::part(content){background:var(--aura-surface-color) padding-box;border:1px solid var(--vaadin-border-color-secondary);box-shadow:var(--aura-shadow-xs)}&[theme~=self]{--aura-accent-color-light:var(--vaadin-message-user-color, var(--vaadin-user-color-0));--aura-accent-color-dark:var(--vaadin-message-user-color, var(--vaadin-user-color-0));--aura-surface-level:2;--aura-surface-opacity:1;&::part(content){background:var(--aura-accent-surface) padding-box;border-color:var(--aura-accent-border-color)}}}:where(:host),:where(:root){--vaadin-chip-padding:0.4em;--vaadin-chip-background:var(--vaadin-background-container-strong);--vaadin-chip-height:1lh;--vaadin-chip-border-radius:var(--vaadin-radius-s);--vaadin-chip-border-width:0px}vaadin-multi-select-combo-box-chip{--vaadin-icon-size:1.25em}vaadin-multi-select-combo-box-select-all-button{padding-inline:max(0px,var(--vaadin-padding-inline-container) - var(--aura-item-overlay-padding-inline));font-size:var(--aura-font-size-s);color:var(--aura-accent-text-color);font-weight:var(--aura-font-weight-medium);&:before{margin-inline-end:var(--vaadin-gap-xs)}@media (any-hover:hover){&:hover{background:var(--_aura-highlight-color)}}}:where(:host),:where(:root){--vaadin-notification-border-width:0px;--vaadin-notification-padding:var(--vaadin-padding-m)}vaadin-notification-container{color-scheme:var(--aura-notification-color-scheme)}vaadin-notification-card::part(overlay){--aura-surface-level:3.5;background:var(--vaadin-notification-background,var(--aura-surface-color));box-shadow:var(--aura-overlay-outline-shadow),var(--vaadin-notification-shadow,var(--aura-overlay-shadow))}vaadin-notification-card:is(.aura-accent-color,.aura-accent-red,.aura-accent-orange,.aura-accent-yellow,.aura-accent-green,.aura-accent-blue,.aura-accent-purple,.v-info,.v-success,.v-warning,.v-error,[theme~=info],[theme~=success],[theme~=warning],[theme~=error])::part(overlay){--vaadin-notification-background:var(--aura-accent-surface);--vaadin-icon-color:var(--aura-accent-text-color);box-shadow:inset 0 0 0 1px light-dark(transparent,var(--aura-accent-border-color)),0 0 0 1px light-dark(var(--aura-accent-border-color),transparent),var(--vaadin-notification-shadow,var(--aura-shadow-m))}vaadin-notification-card vaadin-card{--vaadin-card-border-width:0px;--vaadin-card-gap:var(--vaadin-gap-xs) var(--vaadin-gap-s);color:var(--vaadin-text-color-secondary)}vaadin-notification-card vaadin-button{--aura-surface-level:6}vaadin-popover::part(overlay){background:var(--vaadin-popover-background,var(--vaadin-overlay-background,var(--aura-surface-color)));box-shadow:var(--aura-overlay-outline-shadow),var(--vaadin-popover-shadow,var(--vaadin-overlay-shadow,var(--aura-overlay-shadow)))}vaadin-popover::part(arrow){background:var(--vaadin-popover-background,var(--vaadin-overlay-background,var(--aura-surface-color)))}:where(:host),:where(:root){--vaadin-progress-bar-border-width:0px;--vaadin-progress-bar-height:var(--vaadin-gap-s)}vaadin-progress-bar::part(value){background:var(
|
|
152
152
|
--vaadin-progress-bar-value-background,linear-gradient(90deg in oklab,var(--aura-accent-color),light-dark(oklch(from var(--aura-accent-color-light) clamp(.5,1.2 * l,1) c calc(h - 30 * var(--_vaadin-safari-17-deg, 1))),oklch(from var(--aura-accent-color-dark) clamp(.5,1.2 * l,1) c calc(h - 30 * var(--_vaadin-safari-17-deg, 1)))))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vaadin/aura",
|
|
3
|
-
"version": "25.4.0-
|
|
3
|
+
"version": "25.4.0-alpha2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"postcss-import": "^17.0.0",
|
|
41
41
|
"postcss-url": "^10.1.4"
|
|
42
42
|
},
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "213f8b55112558d2f976d8730fe44370ca868333"
|
|
44
44
|
}
|
package/src/components/grid.css
CHANGED
|
@@ -15,10 +15,6 @@ vaadin-grid-sorter::part(indicators) {
|
|
|
15
15
|
transition: color 120ms;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
:is(vaadin-grid, vaadin-crud, vaadin-grid-pro)[theme~='column-borders'] {
|
|
19
|
-
--vaadin-grid-column-border-width: 1px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
18
|
:is(vaadin-grid, vaadin-crud, vaadin-grid-pro)[theme~='no-row-borders'] {
|
|
23
19
|
--vaadin-grid-row-border-width: 0px;
|
|
24
20
|
}
|
package/src/table.css
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
:where(.vaadin-themed-html table:not(.vaadin-unthemed-html), table.vaadin-themed-html) {
|
|
2
|
+
/* The corner cells have to stay inside the table's own border. */
|
|
3
|
+
--_inner-radius: max(0px, calc(var(--vaadin-radius-m) - 1px));
|
|
4
|
+
|
|
5
|
+
background: var(--vaadin-background-color);
|
|
6
|
+
border: 1px solid var(--vaadin-border-color);
|
|
7
|
+
border-radius: var(--vaadin-radius-m);
|
|
8
|
+
border-spacing: 0;
|
|
9
|
+
|
|
10
|
+
caption {
|
|
11
|
+
padding-block-end: var(--vaadin-gap-s);
|
|
12
|
+
color: var(--vaadin-text-color-secondary);
|
|
13
|
+
text-align: start;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:is(th, td) {
|
|
17
|
+
padding: var(--vaadin-padding-block-container) var(--vaadin-padding-inline-container);
|
|
18
|
+
/* The UA stylesheet centers <th>, which leaves a header out of line with
|
|
19
|
+
the column below it. */
|
|
20
|
+
text-align: start;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
th {
|
|
24
|
+
font-weight: var(--aura-font-weight-medium);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
:is(thead, tfoot) :is(th, td) {
|
|
28
|
+
background: var(--vaadin-background-container);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/* A line between every two consecutive rows, wherever the section boundary
|
|
32
|
+
falls. Drawing it above a row rather than below one leaves the outer
|
|
33
|
+
edges to the table's own border. */
|
|
34
|
+
:where(tr:not(:first-child) :is(th, td)),
|
|
35
|
+
:where(:is(thead, tbody, tfoot) ~ :is(tbody, tfoot) tr:first-child :is(th, td)) {
|
|
36
|
+
border-block-start: 1px solid var(--vaadin-border-color);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/* Round the corner cells so that a header or footer background does not
|
|
40
|
+
fill in the corners of the rounded border. */
|
|
41
|
+
:where(thead:first-of-type tr:first-child :is(th, td):first-child) {
|
|
42
|
+
border-start-start-radius: var(--_inner-radius);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
:where(thead:first-of-type tr:first-child :is(th, td):last-child) {
|
|
46
|
+
border-start-end-radius: var(--_inner-radius);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
:where(:is(tbody, tfoot):last-of-type tr:last-child :is(th, td):first-child) {
|
|
50
|
+
border-end-start-radius: var(--_inner-radius);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:where(:is(tbody, tfoot):last-of-type tr:last-child :is(th, td):last-child) {
|
|
54
|
+
border-end-end-radius: var(--_inner-radius);
|
|
55
|
+
}
|
|
56
|
+
}
|