@kcascend/liquid-ui 0.0.19 → 0.0.21
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.
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { HeaderShellProps } from
|
|
1
|
+
import type { HeaderShellProps } from "../../types";
|
|
2
2
|
export declare function HeaderShell({ activeNavigationItemId, applicationInformation, actions, brand, className, defaultActiveNavigationItemId, menuTriggerLabel, navigationItems, navLabel, onAction, onMenuTriggerClick, onNavigationChange, showMenuTrigger, showNav, showUtilities, style, ...props }: HeaderShellProps): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
//# sourceMappingURL=HeaderShell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HeaderShell.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderShell/HeaderShell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,aAAa,CAAC;AA4KrB,wBAAgB,WAAW,CAAC,EAC1B,sBAAsB,EACtB,sBAAsB,EACtB,OAAO,EACP,KAAK,EACL,SAAS,EACT,6BAA6B,EAC7B,gBAA8B,EAC9B,eAAe,EACf,QAAoB,EACpB,QAAQ,EACR,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,OAAc,EACd,aAAoB,EACpB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"HeaderShell.d.ts","sourceRoot":"","sources":["../../../src/components/HeaderShell/HeaderShell.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,gBAAgB,EAGjB,MAAM,aAAa,CAAC;AA4KrB,wBAAgB,WAAW,CAAC,EAC1B,sBAAsB,EACtB,sBAAsB,EACtB,OAAO,EACP,KAAK,EACL,SAAS,EACT,6BAA6B,EAC7B,gBAA8B,EAC9B,eAAe,EACf,QAAoB,EACpB,QAAQ,EACR,kBAAkB,EAClB,kBAAkB,EAClB,eAAe,EACf,OAAc,EACd,aAAoB,EACpB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAgQlB"}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useId, useMemo, useRef, useState } from
|
|
3
|
-
import { ApplicationInformationPanel } from
|
|
4
|
-
import { Icon } from
|
|
2
|
+
import { useEffect, useId, useMemo, useRef, useState } from "react";
|
|
3
|
+
import { ApplicationInformationPanel } from "../ApplicationInformationPanel/ApplicationInformationPanel";
|
|
4
|
+
import { Icon } from "../Icon/Icon";
|
|
5
5
|
function getClassName(className) {
|
|
6
|
-
return [
|
|
6
|
+
return ["liquid-header-shell", className].filter(Boolean).join(" ");
|
|
7
7
|
}
|
|
8
8
|
function getFirstEnabledNavigationItem(items) {
|
|
9
9
|
return items?.find((item) => !item.disabled)?.id;
|
|
10
10
|
}
|
|
11
11
|
function HeaderNavigationLink({ activeItemId, item, onSelect, }) {
|
|
12
12
|
const isSelected = item.id === activeItemId;
|
|
13
|
-
const isSubmenu = item.type ===
|
|
13
|
+
const isSubmenu = item.type === "submenu";
|
|
14
14
|
const submenuId = useId();
|
|
15
15
|
const [isSubmenuOpen, setIsSubmenuOpen] = useState(false);
|
|
16
16
|
if (isSubmenu) {
|
|
17
|
-
return (_jsxs("div", { className: "liquid-header-shell__submenu", children: [_jsxs("button", { "aria-controls": submenuId, "aria-expanded": isSubmenuOpen, "aria-haspopup": "menu", className: "liquid-header-shell__nav-link liquid-header-shell__submenu-trigger", "data-selected": isSelected ?
|
|
17
|
+
return (_jsxs("div", { className: "liquid-header-shell__submenu", children: [_jsxs("button", { "aria-controls": submenuId, "aria-expanded": isSubmenuOpen, "aria-haspopup": "menu", className: "liquid-header-shell__nav-link liquid-header-shell__submenu-trigger", "data-selected": isSelected ? "true" : undefined, "data-submenu-trigger": "true", disabled: item.disabled, onClick: () => {
|
|
18
18
|
setIsSubmenuOpen((current) => !current);
|
|
19
19
|
}, type: "button", children: [_jsx("span", { children: item.label }), _jsx(Icon, { "aria-hidden": "true", name: "chevron_down", size: 16 })] }), isSubmenuOpen && item.submenuItems?.length ? (_jsx("div", { className: "liquid-header-shell__submenu-panel", id: submenuId, role: "menu", children: item.submenuItems.map((submenuItem) => (_jsx(HeaderNavigationLink, { activeItemId: activeItemId, item: submenuItem, onSelect: onSelect }, submenuItem.id))) })) : null] }));
|
|
20
20
|
}
|
|
21
21
|
if (item.href) {
|
|
22
|
-
return (_jsx("a", { className: "liquid-header-shell__nav-link", "data-selected": isSelected ?
|
|
22
|
+
return (_jsx("a", { className: "liquid-header-shell__nav-link", "data-selected": isSelected ? "true" : undefined, href: item.href, onClick: (event) => {
|
|
23
23
|
if (item.disabled) {
|
|
24
24
|
event.preventDefault();
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
27
27
|
onSelect(item);
|
|
28
|
-
}, "aria-current": isSelected ?
|
|
28
|
+
}, "aria-current": isSelected ? "page" : undefined, "aria-disabled": item.disabled ? true : undefined, children: item.label }));
|
|
29
29
|
}
|
|
30
|
-
return (_jsx("button", { className: "liquid-header-shell__nav-link", "data-selected": isSelected ?
|
|
30
|
+
return (_jsx("button", { className: "liquid-header-shell__nav-link", "data-selected": isSelected ? "true" : undefined, disabled: item.disabled, onClick: () => {
|
|
31
31
|
if (!item.disabled) {
|
|
32
32
|
onSelect(item);
|
|
33
33
|
}
|
|
34
|
-
}, type: "button", "aria-current": isSelected ?
|
|
34
|
+
}, type: "button", "aria-current": isSelected ? "page" : undefined, children: item.label }));
|
|
35
35
|
}
|
|
36
36
|
function HeaderUtilityAction({ action, showLabel = false, onAction, }) {
|
|
37
37
|
const icon = _jsx(Icon, { name: action.icon, size: action.iconSize ?? 24 });
|
|
38
38
|
if (action.href) {
|
|
39
|
-
return (_jsxs("a", { "aria-label": action.label, "aria-controls": action.expandedControlsId, "aria-expanded": action.hasPopup ? action.expanded : undefined, "aria-haspopup": action.hasPopup ?
|
|
39
|
+
return (_jsxs("a", { "aria-label": action.label, "aria-controls": action.expandedControlsId, "aria-expanded": action.hasPopup ? action.expanded : undefined, "aria-haspopup": action.hasPopup ? "dialog" : undefined, className: "liquid-header-shell__action", href: action.href, onClick: (event) => {
|
|
40
40
|
if (action.disabled) {
|
|
41
41
|
event.preventDefault();
|
|
42
42
|
return;
|
|
@@ -44,13 +44,13 @@ function HeaderUtilityAction({ action, showLabel = false, onAction, }) {
|
|
|
44
44
|
onAction(action);
|
|
45
45
|
}, "aria-disabled": action.disabled ? true : undefined, children: [icon, showLabel ? (_jsx("span", { className: "liquid-header-shell__action-label", children: action.label })) : null] }));
|
|
46
46
|
}
|
|
47
|
-
return (_jsxs("button", { "aria-label": action.label, "aria-controls": action.expandedControlsId, "aria-expanded": action.hasPopup ? action.expanded : undefined, "aria-haspopup": action.hasPopup ?
|
|
47
|
+
return (_jsxs("button", { "aria-label": action.label, "aria-controls": action.expandedControlsId, "aria-expanded": action.hasPopup ? action.expanded : undefined, "aria-haspopup": action.hasPopup ? "dialog" : undefined, className: "liquid-header-shell__action", disabled: action.disabled, onClick: () => {
|
|
48
48
|
if (!action.disabled) {
|
|
49
49
|
onAction(action);
|
|
50
50
|
}
|
|
51
51
|
}, type: "button", children: [icon, showLabel ? (_jsx("span", { className: "liquid-header-shell__action-label", children: action.label })) : null] }));
|
|
52
52
|
}
|
|
53
|
-
export function HeaderShell({ activeNavigationItemId, applicationInformation, actions, brand, className, defaultActiveNavigationItemId, menuTriggerLabel =
|
|
53
|
+
export function HeaderShell({ activeNavigationItemId, applicationInformation, actions, brand, className, defaultActiveNavigationItemId, menuTriggerLabel = "Open menu", navigationItems, navLabel = "Primary", onAction, onMenuTriggerClick, onNavigationChange, showMenuTrigger, showNav = true, showUtilities = true, style, ...props }) {
|
|
54
54
|
const fallbackActiveId = useMemo(() => getFirstEnabledNavigationItem(navigationItems), [navigationItems]);
|
|
55
55
|
const [internalActiveId, setInternalActiveId] = useState(defaultActiveNavigationItemId ?? fallbackActiveId);
|
|
56
56
|
const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);
|
|
@@ -93,20 +93,20 @@ export function HeaderShell({ activeNavigationItemId, applicationInformation, ac
|
|
|
93
93
|
return;
|
|
94
94
|
}
|
|
95
95
|
const handleEscape = (event) => {
|
|
96
|
-
if (event.key ===
|
|
96
|
+
if (event.key === "Escape") {
|
|
97
97
|
closeMobileMenu();
|
|
98
98
|
}
|
|
99
99
|
};
|
|
100
100
|
const previousOverflow = document.body.style.overflow;
|
|
101
|
-
document.body.style.overflow =
|
|
102
|
-
window.addEventListener(
|
|
101
|
+
document.body.style.overflow = "hidden";
|
|
102
|
+
window.addEventListener("keydown", handleEscape);
|
|
103
103
|
return () => {
|
|
104
104
|
document.body.style.overflow = previousOverflow;
|
|
105
|
-
window.removeEventListener(
|
|
105
|
+
window.removeEventListener("keydown", handleEscape);
|
|
106
106
|
};
|
|
107
107
|
}, [isMobileMenuOpen]);
|
|
108
108
|
const handleMobilePanelKeyDown = (event) => {
|
|
109
|
-
if (event.key !==
|
|
109
|
+
if (event.key !== "Tab") {
|
|
110
110
|
return;
|
|
111
111
|
}
|
|
112
112
|
const focusable = Array.from(mobilePanelRef.current?.querySelectorAll('a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])') ?? []);
|
|
@@ -124,18 +124,18 @@ export function HeaderShell({ activeNavigationItemId, applicationInformation, ac
|
|
|
124
124
|
first.focus();
|
|
125
125
|
}
|
|
126
126
|
};
|
|
127
|
-
const navigationContent = (_jsx(_Fragment, { children: navigationItems.map((item) => (_jsx(HeaderNavigationLink, { activeItemId: resolvedActiveId, item: item, onSelect: handleNavigationSelect }, item.id))) }));
|
|
127
|
+
const navigationContent = (_jsx(_Fragment, { children: navigationItems.map((item) => (_jsx("li", { children: _jsx(HeaderNavigationLink, { activeItemId: resolvedActiveId, item: item, onSelect: handleNavigationSelect }) }, item.id))) }));
|
|
128
128
|
const actionsContent = actions?.length ? (_jsx(_Fragment, { children: actions.map((action) => (_jsx(HeaderUtilityAction, { action: action, onAction: handleAction }, action.id))) })) : null;
|
|
129
129
|
const mobileActionsContent = actions?.length ? (_jsx(_Fragment, { children: actions.map((action) => (_jsx(HeaderUtilityAction, { action: action, showLabel: true, onAction: handleAction }, `mobile:${action.id}`))) })) : null;
|
|
130
130
|
const applicationInformationContent = applicationInformation ? (_jsx(ApplicationInformationPanel, { ...applicationInformation })) : null;
|
|
131
|
-
return (_jsxs("header", { ...props, className: getClassName(className), "data-application-information-enabled": applicationInformationContent ?
|
|
131
|
+
return (_jsxs("header", { ...props, className: getClassName(className), "data-application-information-enabled": applicationInformationContent ? "true" : undefined, "data-mobile-menu-enabled": shouldShowMenuTrigger ? "true" : undefined, style: style, children: [_jsxs("div", { className: "liquid-header-shell__inner", children: [_jsxs("div", { className: "liquid-header-shell__left", children: [shouldShowMenuTrigger ? (_jsx("button", { "aria-label": menuTriggerLabel, "aria-controls": mobileAccordionId, "aria-expanded": isMobileMenuOpen, className: "liquid-header-shell__action liquid-header-shell__menu-trigger", ref: menuTriggerRef, onClick: handleMenuTriggerClick, type: "button", children: _jsx(Icon, { name: isMobileMenuOpen ? "close" : "menu", size: 20 }) })) : null, _jsx("div", { className: "liquid-header-shell__brand", children: brand }), showNav ? (_jsx("nav", { "aria-label": navLabel, className: "liquid-header-shell__nav", children: _jsx("ul", { className: "liquid-header-shell__nav-list", role: "list", children: navigationContent }) })) : null] }), showUtilities && actionsContent ? (_jsx("div", { className: "liquid-header-shell__actions", children: actionsContent })) : null, showUtilities && applicationInformationContent ? (_jsx("div", { className: "liquid-header-shell__application-information", children: applicationInformationContent })) : null, shouldShowMenuTrigger && !applicationInformationContent ? (_jsx("div", { "aria-hidden": "true", className: "liquid-header-shell__right-spacer" })) : null] }), shouldShowMenuTrigger ? (_jsxs("div", { className: "liquid-header-shell__mobile-layer", "data-open": isMobileMenuOpen ? "true" : undefined, hidden: !isMobileMenuOpen, children: [_jsx("button", { "aria-label": "Close menu", className: "liquid-header-shell__mobile-backdrop", onClick: () => {
|
|
132
132
|
closeMobileMenu();
|
|
133
133
|
}, type: "button" }), _jsxs("aside", { className: "liquid-header-shell__mobile-panel", id: mobileAccordionId, role: "dialog", "aria-modal": "true", "aria-label": navLabel, ref: mobilePanelRef, onClick: (event) => {
|
|
134
134
|
const target = event.target;
|
|
135
|
-
if ((!target.closest(
|
|
136
|
-
target.closest(
|
|
137
|
-
target.closest(
|
|
135
|
+
if ((!target.closest(".liquid-header-shell__submenu-trigger") &&
|
|
136
|
+
target.closest(".liquid-header-shell__nav-link")) ||
|
|
137
|
+
target.closest(".liquid-header-shell__action")) {
|
|
138
138
|
closeMobileMenu();
|
|
139
139
|
}
|
|
140
|
-
}, onKeyDown: handleMobilePanelKeyDown, children: [showNav ? (_jsx("nav", { "aria-label": navLabel, className: "liquid-header-shell__mobile-nav", children: _jsx("
|
|
140
|
+
}, onKeyDown: handleMobilePanelKeyDown, children: [showNav ? (_jsx("nav", { "aria-label": navLabel, className: "liquid-header-shell__mobile-nav", children: _jsx("ul", { className: "liquid-header-shell__mobile-nav-list", role: "list", children: navigationContent }) })) : null, showUtilities && mobileActionsContent ? (_jsx("div", { className: "liquid-header-shell__mobile-actions", children: mobileActionsContent })) : null] })] })) : null] }));
|
|
141
141
|
}
|
package/dist/styles.css
CHANGED
|
@@ -3249,7 +3249,7 @@ template {
|
|
|
3249
3249
|
}
|
|
3250
3250
|
|
|
3251
3251
|
.liquid-contained-list {
|
|
3252
|
-
width:
|
|
3252
|
+
width: 100%;
|
|
3253
3253
|
}
|
|
3254
3254
|
|
|
3255
3255
|
.liquid-contained-list__table {
|
|
@@ -3376,50 +3376,36 @@ template {
|
|
|
3376
3376
|
.liquid-data-table__header {
|
|
3377
3377
|
display: grid;
|
|
3378
3378
|
gap: var(--component-data-table-layout-header-gap, 4px);
|
|
3379
|
-
padding: var(--component-data-table-layout-header-padding-top, 16px)
|
|
3380
|
-
var(--component-data-table-layout-header-padding-x, 16px)
|
|
3381
|
-
var(--component-data-table-layout-header-padding-bottom, 32px);
|
|
3379
|
+
padding: var(--component-data-table-layout-header-padding-top, 16px) var(--component-data-table-layout-header-padding-x, 16px) var(--component-data-table-layout-header-padding-bottom, 32px);
|
|
3382
3380
|
background: var(--component-data-table-color-surface-default, #f4f4f4);
|
|
3383
3381
|
}
|
|
3384
3382
|
|
|
3385
3383
|
.liquid-data-table__title {
|
|
3386
3384
|
margin: 0;
|
|
3387
3385
|
color: var(--component-data-table-color-text-title, #161616);
|
|
3388
|
-
font-family: var(
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
sans-serif
|
|
3392
|
-
);
|
|
3386
|
+
font-family: var(--component-data-table-typography-title-font-family,
|
|
3387
|
+
'Roboto Condensed',
|
|
3388
|
+
sans-serif);
|
|
3393
3389
|
font-size: var(--component-data-table-typography-title-font-size, 32px);
|
|
3394
3390
|
font-weight: var(--component-data-table-typography-title-font-weight, 500);
|
|
3395
3391
|
line-height: var(--component-data-table-typography-title-line-height, 40px);
|
|
3396
|
-
letter-spacing: var(
|
|
3397
|
-
|
|
3398
|
-
0px
|
|
3399
|
-
);
|
|
3392
|
+
letter-spacing: var(--component-data-table-typography-title-letter-spacing,
|
|
3393
|
+
0px);
|
|
3400
3394
|
}
|
|
3401
3395
|
|
|
3402
3396
|
.liquid-data-table__description {
|
|
3403
3397
|
margin: 0;
|
|
3404
3398
|
color: var(--component-data-table-color-text-description, #525252);
|
|
3405
|
-
font-family: var(
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
sans-serif
|
|
3409
|
-
);
|
|
3399
|
+
font-family: var(--component-data-table-typography-description-font-family,
|
|
3400
|
+
Cabin,
|
|
3401
|
+
sans-serif);
|
|
3410
3402
|
font-size: var(--component-data-table-typography-description-font-size, 14px);
|
|
3411
|
-
font-weight: var(
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
20px
|
|
3418
|
-
);
|
|
3419
|
-
letter-spacing: var(
|
|
3420
|
-
--component-data-table-typography-description-letter-spacing,
|
|
3421
|
-
0.16px
|
|
3422
|
-
);
|
|
3403
|
+
font-weight: var(--component-data-table-typography-description-font-weight,
|
|
3404
|
+
400);
|
|
3405
|
+
line-height: var(--component-data-table-typography-description-line-height,
|
|
3406
|
+
20px);
|
|
3407
|
+
letter-spacing: var(--component-data-table-typography-description-letter-spacing,
|
|
3408
|
+
0.16px);
|
|
3423
3409
|
}
|
|
3424
3410
|
|
|
3425
3411
|
.liquid-data-table__scroll-container {
|
|
@@ -3434,10 +3420,8 @@ template {
|
|
|
3434
3420
|
width: max-content;
|
|
3435
3421
|
min-width: 100%;
|
|
3436
3422
|
border-collapse: collapse;
|
|
3437
|
-
border-top: var(--component-data-table-layout-border-width, 1px) solid
|
|
3438
|
-
|
|
3439
|
-
border-bottom: var(--component-data-table-layout-border-width, 1px) solid
|
|
3440
|
-
var(--component-data-table-color-border-subtle, #e0e0e0);
|
|
3423
|
+
border-top: var(--component-data-table-layout-border-width, 1px) solid var(--component-data-table-color-border-subtle, #e0e0e0);
|
|
3424
|
+
border-bottom: var(--component-data-table-layout-border-width, 1px) solid var(--component-data-table-color-border-subtle, #e0e0e0);
|
|
3441
3425
|
}
|
|
3442
3426
|
|
|
3443
3427
|
.liquid-data-table__column-row {
|
|
@@ -3446,46 +3430,38 @@ template {
|
|
|
3446
3430
|
|
|
3447
3431
|
.liquid-data-table__column-header,
|
|
3448
3432
|
.liquid-data-table__cell {
|
|
3433
|
+
white-space: normal;
|
|
3434
|
+
max-width: 350px;
|
|
3435
|
+
overflow-wrap:anywhere;
|
|
3449
3436
|
height: var(--component-data-table-layout-row-height, 48px);
|
|
3450
3437
|
box-sizing: border-box;
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
var(--component-data-table-layout-cell-padding-x, 16px);
|
|
3454
|
-
border-bottom: var(--component-data-table-layout-border-width, 1px) solid
|
|
3455
|
-
var(--component-data-table-color-border-subtle, #e0e0e0);
|
|
3438
|
+
padding: var(--component-data-table-layout-cell-padding-y, 12px) var(--component-data-table-layout-cell-padding-x, 16px);
|
|
3439
|
+
border-bottom: var(--component-data-table-layout-border-width, 1px) solid var(--component-data-table-color-border-subtle, #e0e0e0);
|
|
3456
3440
|
}
|
|
3457
3441
|
|
|
3458
3442
|
.liquid-data-table__column-header {
|
|
3459
3443
|
color: var(--component-data-table-color-text-header, #161616);
|
|
3460
|
-
font-family: var(
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
sans-serif
|
|
3464
|
-
);
|
|
3444
|
+
font-family: var(--component-data-table-typography-header-font-family,
|
|
3445
|
+
Cabin,
|
|
3446
|
+
sans-serif);
|
|
3465
3447
|
font-size: var(--component-data-table-typography-header-font-size, 16px);
|
|
3466
3448
|
font-weight: var(--component-data-table-typography-header-font-weight, 600);
|
|
3467
3449
|
line-height: var(--component-data-table-typography-header-line-height, 24px);
|
|
3468
|
-
letter-spacing: var(
|
|
3469
|
-
|
|
3470
|
-
0px
|
|
3471
|
-
);
|
|
3450
|
+
letter-spacing: var(--component-data-table-typography-header-letter-spacing,
|
|
3451
|
+
0px);
|
|
3472
3452
|
text-align: left;
|
|
3473
3453
|
}
|
|
3474
3454
|
|
|
3475
3455
|
.liquid-data-table__cell {
|
|
3476
3456
|
color: var(--component-data-table-color-text-cell, #161616);
|
|
3477
|
-
font-family: var(
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
sans-serif
|
|
3481
|
-
);
|
|
3457
|
+
font-family: var(--component-data-table-typography-cell-font-family,
|
|
3458
|
+
Cabin,
|
|
3459
|
+
sans-serif);
|
|
3482
3460
|
font-size: var(--component-data-table-typography-cell-font-size, 16px);
|
|
3483
3461
|
font-weight: var(--component-data-table-typography-cell-font-weight, 400);
|
|
3484
3462
|
line-height: var(--component-data-table-typography-cell-line-height, 24px);
|
|
3485
|
-
letter-spacing: var(
|
|
3486
|
-
|
|
3487
|
-
0px
|
|
3488
|
-
);
|
|
3463
|
+
letter-spacing: var(--component-data-table-typography-cell-letter-spacing,
|
|
3464
|
+
0px);
|
|
3489
3465
|
text-align: left;
|
|
3490
3466
|
}
|
|
3491
3467
|
|
|
@@ -3520,16 +3496,14 @@ template {
|
|
|
3520
3496
|
justify-content: center;
|
|
3521
3497
|
}
|
|
3522
3498
|
|
|
3523
|
-
.liquid-data-table__checkbox-column
|
|
3524
|
-
.liquid-checkbox__input:focus-visible
|
|
3525
|
-
~ .liquid-checkbox__box {
|
|
3499
|
+
.liquid-data-table__checkbox-column .liquid-checkbox__input:focus-visible~.liquid-checkbox__box {
|
|
3526
3500
|
box-shadow:
|
|
3527
3501
|
0 0 0 2px var(--component-data-table-color-focus-inset, #ffffff),
|
|
3528
3502
|
0 0 0 4px var(--component-data-table-color-focus-ring, #0f62fe);
|
|
3529
3503
|
}
|
|
3530
3504
|
|
|
3531
3505
|
.liquid-description-list {
|
|
3532
|
-
width: min(100%, var(--component-description-list-layout-width, 288px));
|
|
3506
|
+
/* width: min(100%, var(--component-description-list-layout-width, 288px)); */
|
|
3533
3507
|
}
|
|
3534
3508
|
|
|
3535
3509
|
.liquid-description-list__content {
|
|
@@ -3898,6 +3872,13 @@ template {
|
|
|
3898
3872
|
overflow: visible;
|
|
3899
3873
|
}
|
|
3900
3874
|
|
|
3875
|
+
.liquid-header-shell__nav-list,
|
|
3876
|
+
.liquid-header-shell__mobile-nav-list {
|
|
3877
|
+
margin: 0;
|
|
3878
|
+
padding: 0;
|
|
3879
|
+
list-style: none;
|
|
3880
|
+
}
|
|
3881
|
+
|
|
3901
3882
|
.liquid-header-shell__nav-list {
|
|
3902
3883
|
display: flex;
|
|
3903
3884
|
align-items: center;
|
|
@@ -3951,8 +3932,7 @@ template {
|
|
|
3951
3932
|
|
|
3952
3933
|
.liquid-header-shell__nav-link:focus-visible {
|
|
3953
3934
|
outline: none;
|
|
3954
|
-
box-shadow: inset 0 0 0 2px
|
|
3955
|
-
var(--component-header-shell-link-focus-ring, #0f62fe);
|
|
3935
|
+
box-shadow: inset 0 0 0 2px var(--component-header-shell-link-focus-ring, #0f62fe);
|
|
3956
3936
|
}
|
|
3957
3937
|
|
|
3958
3938
|
.liquid-header-shell__nav-link:disabled {
|
|
@@ -3978,19 +3958,15 @@ template {
|
|
|
3978
3958
|
margin-left: auto;
|
|
3979
3959
|
}
|
|
3980
3960
|
|
|
3981
|
-
.liquid-header-shell__actions
|
|
3961
|
+
.liquid-header-shell__actions+.liquid-header-shell__application-information {
|
|
3982
3962
|
margin-left: 0;
|
|
3983
3963
|
}
|
|
3984
3964
|
|
|
3985
3965
|
.liquid-header-shell__action {
|
|
3986
|
-
width: var(
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
height: var(
|
|
3991
|
-
--component-header-shell-action-size,
|
|
3992
|
-
var(--component-header-shell-height, 48px)
|
|
3993
|
-
);
|
|
3966
|
+
width: var(--component-header-shell-action-size,
|
|
3967
|
+
var(--component-header-shell-height, 48px));
|
|
3968
|
+
height: var(--component-header-shell-action-size,
|
|
3969
|
+
var(--component-header-shell-height, 48px));
|
|
3994
3970
|
display: inline-flex;
|
|
3995
3971
|
align-items: center;
|
|
3996
3972
|
justify-content: center;
|
|
@@ -4016,8 +3992,7 @@ template {
|
|
|
4016
3992
|
|
|
4017
3993
|
.liquid-header-shell__action:focus-visible {
|
|
4018
3994
|
outline: none;
|
|
4019
|
-
box-shadow: inset 0 0 0 2px
|
|
4020
|
-
var(--component-header-shell-action-focus-ring, #0f62fe);
|
|
3995
|
+
box-shadow: inset 0 0 0 2px var(--component-header-shell-action-focus-ring, #0f62fe);
|
|
4021
3996
|
color: var(--component-header-shell-action-icon-hover, #262626);
|
|
4022
3997
|
}
|
|
4023
3998
|
|
|
@@ -4032,23 +4007,19 @@ template {
|
|
|
4032
4007
|
pointer-events: none;
|
|
4033
4008
|
}
|
|
4034
4009
|
|
|
4035
|
-
.liquid-header-shell__action
|
|
4010
|
+
.liquid-header-shell__action+.liquid-header-shell__action {
|
|
4036
4011
|
border-left: 1px solid var(--component-header-shell-action-seam, #e0e0e0);
|
|
4037
4012
|
}
|
|
4038
4013
|
|
|
4039
4014
|
.liquid-header-shell__menu-trigger {
|
|
4040
4015
|
color: var(--component-header-shell-menu-trigger-icon, #262626);
|
|
4041
|
-
width: var(
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
height: var(
|
|
4046
|
-
--component-header-shell-menu-trigger-size,
|
|
4047
|
-
var(--component-header-shell-action-size, 48px)
|
|
4048
|
-
);
|
|
4016
|
+
width: var(--component-header-shell-menu-trigger-size,
|
|
4017
|
+
var(--component-header-shell-action-size, 48px));
|
|
4018
|
+
height: var(--component-header-shell-menu-trigger-size,
|
|
4019
|
+
var(--component-header-shell-action-size, 48px));
|
|
4049
4020
|
}
|
|
4050
4021
|
|
|
4051
|
-
.liquid-header-shell__menu-trigger
|
|
4022
|
+
.liquid-header-shell__menu-trigger>span,
|
|
4052
4023
|
.liquid-header-shell__menu-trigger svg {
|
|
4053
4024
|
width: var(--component-header-shell-menu-trigger-icon-size, 24px);
|
|
4054
4025
|
height: var(--component-header-shell-menu-trigger-icon-size, 24px);
|
|
@@ -4093,19 +4064,16 @@ template {
|
|
|
4093
4064
|
}
|
|
4094
4065
|
|
|
4095
4066
|
@media (max-width: 671px) {
|
|
4096
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
4097
|
-
.liquid-header-shell__inner {
|
|
4067
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'] .liquid-header-shell__inner {
|
|
4098
4068
|
position: relative;
|
|
4099
4069
|
justify-content: flex-start;
|
|
4100
4070
|
}
|
|
4101
4071
|
|
|
4102
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
4103
|
-
.liquid-header-shell__left {
|
|
4072
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'] .liquid-header-shell__left {
|
|
4104
4073
|
width: 100%;
|
|
4105
4074
|
}
|
|
4106
4075
|
|
|
4107
|
-
.liquid-header-shell[data-mobile-menu-enabled='true'][data-application-information-enabled='true']
|
|
4108
|
-
.liquid-header-shell__left {
|
|
4076
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'][data-application-information-enabled='true'] .liquid-header-shell__left {
|
|
4109
4077
|
width: auto;
|
|
4110
4078
|
flex: 1 1 auto;
|
|
4111
4079
|
}
|
|
@@ -4115,8 +4083,7 @@ template {
|
|
|
4115
4083
|
padding-inline: 8px;
|
|
4116
4084
|
}
|
|
4117
4085
|
|
|
4118
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
4119
|
-
.liquid-header-shell__brand {
|
|
4086
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'] .liquid-header-shell__brand {
|
|
4120
4087
|
position: absolute;
|
|
4121
4088
|
left: 50%;
|
|
4122
4089
|
transform: translateX(-50%);
|
|
@@ -4124,37 +4091,29 @@ template {
|
|
|
4124
4091
|
border-right: 0;
|
|
4125
4092
|
}
|
|
4126
4093
|
|
|
4127
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
4128
|
-
|
|
4129
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
4130
|
-
.liquid-header-shell__actions {
|
|
4094
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'] .liquid-header-shell__nav,
|
|
4095
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'] .liquid-header-shell__actions {
|
|
4131
4096
|
display: none;
|
|
4132
4097
|
}
|
|
4133
4098
|
|
|
4134
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
4135
|
-
.liquid-header-shell__application-information {
|
|
4099
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'] .liquid-header-shell__application-information {
|
|
4136
4100
|
display: inline-flex;
|
|
4137
4101
|
margin-left: auto;
|
|
4138
4102
|
}
|
|
4139
4103
|
|
|
4140
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
4141
|
-
.liquid-header-shell__menu-trigger {
|
|
4104
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'] .liquid-header-shell__menu-trigger {
|
|
4142
4105
|
display: inline-flex;
|
|
4143
4106
|
}
|
|
4144
4107
|
|
|
4145
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
4146
|
-
.liquid-header-shell__right-spacer {
|
|
4108
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'] .liquid-header-shell__right-spacer {
|
|
4147
4109
|
display: block;
|
|
4148
|
-
width: var(
|
|
4149
|
-
|
|
4150
|
-
var(--component-header-shell-action-size, 48px)
|
|
4151
|
-
);
|
|
4110
|
+
width: var(--component-header-shell-menu-trigger-size,
|
|
4111
|
+
var(--component-header-shell-action-size, 48px));
|
|
4152
4112
|
height: 1px;
|
|
4153
4113
|
margin-left: auto;
|
|
4154
4114
|
}
|
|
4155
4115
|
|
|
4156
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
4157
|
-
.liquid-header-shell__mobile-layer {
|
|
4116
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'] .liquid-header-shell__mobile-layer {
|
|
4158
4117
|
position: fixed;
|
|
4159
4118
|
inset: 0;
|
|
4160
4119
|
top: var(--component-header-shell-height, 48px);
|
|
@@ -4162,8 +4121,7 @@ template {
|
|
|
4162
4121
|
display: none;
|
|
4163
4122
|
}
|
|
4164
4123
|
|
|
4165
|
-
.liquid-header-shell[data-mobile-menu-enabled='true']
|
|
4166
|
-
.liquid-header-shell__mobile-layer[data-open='true'] {
|
|
4124
|
+
.liquid-header-shell[data-mobile-menu-enabled='true'] .liquid-header-shell__mobile-layer[data-open='true'] {
|
|
4167
4125
|
display: block;
|
|
4168
4126
|
}
|
|
4169
4127
|
|
|
@@ -4204,8 +4162,7 @@ template {
|
|
|
4204
4162
|
min-height: 44px;
|
|
4205
4163
|
}
|
|
4206
4164
|
|
|
4207
|
-
.liquid-header-shell__mobile-nav-list
|
|
4208
|
-
.liquid-header-shell__nav-link[data-selected='true']::before {
|
|
4165
|
+
.liquid-header-shell__mobile-nav-list .liquid-header-shell__nav-link[data-selected='true']::before {
|
|
4209
4166
|
left: 0;
|
|
4210
4167
|
right: auto;
|
|
4211
4168
|
width: 2px;
|
|
@@ -4220,9 +4177,7 @@ template {
|
|
|
4220
4177
|
box-shadow: none;
|
|
4221
4178
|
}
|
|
4222
4179
|
|
|
4223
|
-
.liquid-header-shell__mobile-nav-list
|
|
4224
|
-
.liquid-header-shell__submenu-panel
|
|
4225
|
-
.liquid-header-shell__nav-link {
|
|
4180
|
+
.liquid-header-shell__mobile-nav-list .liquid-header-shell__submenu-panel .liquid-header-shell__nav-link {
|
|
4226
4181
|
padding-inline-start: 28px;
|
|
4227
4182
|
}
|
|
4228
4183
|
|
|
@@ -4242,9 +4197,7 @@ template {
|
|
|
4242
4197
|
padding-inline: 12px;
|
|
4243
4198
|
}
|
|
4244
4199
|
|
|
4245
|
-
.liquid-header-shell__mobile-actions
|
|
4246
|
-
.liquid-header-shell__action
|
|
4247
|
-
+ .liquid-header-shell__action {
|
|
4200
|
+
.liquid-header-shell__mobile-actions .liquid-header-shell__action+.liquid-header-shell__action {
|
|
4248
4201
|
border-left: 0;
|
|
4249
4202
|
}
|
|
4250
4203
|
|
|
@@ -4264,6 +4217,7 @@ template {
|
|
|
4264
4217
|
}
|
|
4265
4218
|
|
|
4266
4219
|
@media (min-width: 672px) {
|
|
4220
|
+
|
|
4267
4221
|
.liquid-header-shell__menu-trigger,
|
|
4268
4222
|
.liquid-header-shell__right-spacer,
|
|
4269
4223
|
.liquid-header-shell__mobile-layer,
|