@licklist/design 0.78.5-dev.51 → 0.78.5-dev.53
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/dist/Maintenance/Maintenance.scss.js +1 -1
- package/dist/Maintenance/MaintenancePage.d.ts.map +1 -1
- package/dist/Maintenance/MaintenancePage.js +3 -2
- package/dist/PageNotFound/PageNotFound.js +1 -1
- package/dist/index.js +1 -0
- package/dist/v2/components/Button/GhostButton.d.ts +8 -0
- package/dist/v2/components/Button/GhostButton.d.ts.map +1 -0
- package/dist/v2/components/Button/GhostButton.js +111 -0
- package/dist/v2/components/Button/GhostButton.scss.js +6 -0
- package/dist/v2/components/index.d.ts +2 -0
- package/dist/v2/components/index.d.ts.map +1 -1
- package/dist/v2/navigation/DashboardLayout/DashboardLayout.scss.js +1 -1
- package/dist/v2/navigation/DashboardLayout/ProviderSidebar.js +2 -2
- package/dist/v2/navigation/DashboardLayout/ProviderSidebar.scss.js +1 -1
- package/dist/v2/pages/Settings/components/SidebarCustomisation.d.ts.map +1 -1
- package/dist/v2/pages/Settings/components/SidebarCustomisation.js +14 -13
- package/dist/v2/pages/Settings/components/SidebarCustomisation.scss.js +1 -1
- package/dist/v2/pages/Settings/components/SidebarNavItem.js +1 -0
- package/package.json +1 -1
- package/src/Maintenance/Maintenance.scss +7 -7
- package/src/Maintenance/MaintenancePage.tsx +4 -3
- package/src/PageNotFound/PageNotFound.tsx +1 -1
- package/src/v2/components/Button/GhostButton.scss +53 -0
- package/src/v2/components/Button/GhostButton.tsx +28 -0
- package/src/v2/components/index.ts +3 -0
- package/src/v2/navigation/DashboardLayout/DashboardLayout.scss +5 -0
- package/src/v2/navigation/DashboardLayout/ProviderSidebar.scss +41 -0
- package/src/v2/navigation/DashboardLayout/ProviderSidebar.tsx +4 -4
- package/src/v2/pages/Settings/components/SidebarCustomisation.scss +0 -34
- package/src/v2/pages/Settings/components/SidebarCustomisation.tsx +9 -9
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".figmas-admin-sidebar{align-items:flex-start;background:var(--surfaces-main-background-secondary,#f8f8fa);border-right:1px solid var(--borders-main-border-primary,#e8e9ef);box-sizing:border-box;display:flex;flex-direction:column;height:100%;padding:10px;transition:all .3s ease}.figmas-admin-sidebar--expanded{width:268px}@media (max-width:768px){.figmas-admin-sidebar--expanded{display:none!important}}.figmas-admin-sidebar--collapsed{width:72px}@media (max-width:768px){.figmas-admin-sidebar,.figmas-admin-sidebar--collapsed{display:none!important}}.figmas-admin-sidebar__links,.figmas-admin-sidebar__top{align-items:flex-start;display:flex;flex-direction:column;gap:4px;width:100%}.figmas-admin-sidebar__links{box-sizing:border-box;padding:0 8px}.figmas-admin-sidebar__section-label{align-items:flex-start;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;justify-content:center;padding:20px 8px 0;width:100%}.figmas-admin-sidebar__label-text{color:var(--labels-main-label-secondary,#626a90);font-family:
|
|
3
|
+
var css_248z = ".figmas-admin-sidebar{align-items:flex-start;background:var(--surfaces-main-background-secondary,#f8f8fa);border-right:1px solid var(--borders-main-border-primary,#e8e9ef);box-sizing:border-box;display:flex;flex-direction:column;height:100%;padding:10px;transition:all .3s ease}.figmas-admin-sidebar--expanded{width:268px}@media (max-width:768px){.figmas-admin-sidebar--expanded{display:none!important}}.figmas-admin-sidebar--collapsed{width:72px}@media (max-width:768px){.figmas-admin-sidebar,.figmas-admin-sidebar--collapsed{display:none!important}}.figmas-admin-sidebar__links,.figmas-admin-sidebar__top{align-items:flex-start;display:flex;flex-direction:column;gap:4px;width:100%}.figmas-admin-sidebar__links{box-sizing:border-box;padding:0 8px}.figmas-admin-sidebar__section-label{align-items:flex-start;box-sizing:border-box;display:flex;flex-direction:column;gap:8px;justify-content:center;padding:20px 8px 0;width:100%}.figmas-admin-sidebar__label-text{color:var(--labels-main-label-secondary,#626a90);font-family:var(--font-family-sans);font-size:13px;font-weight:500;line-height:16px;margin:0;text-transform:none!important}.figmas-admin-sidebar__link-item{align-items:flex-start;display:flex;width:100%}.figmas-admin-sidebar__link{border-radius:8px;box-sizing:border-box;cursor:pointer;min-height:0;min-width:0;outline:none;padding:8px;text-decoration:none;transition:all .2s ease}.back-to-company,.figmas-admin-sidebar__link{align-items:center;display:flex;flex:1 0 0;gap:8px}.back-to-company{padding:var(--padding-md,8px)}.skeleton-item{border-radius:11px;margin:8px}.venue-skeleton-items{align-items:flex-start;display:flex;flex-direction:column;width:129px}.venue-name{align-items:center;background:var(--surfaces-main-background-tertiary,#e8e9ef);border-radius:var(--padding-md,8px);color:var(--labels-main-label-secondary,#626a90);display:flex;font-family:var(--font-family-sans);font-size:11px;font-style:normal;font-weight:500;gap:8px;justify-content:center;line-height:14px;margin-left:8px;opacity:var(--opacity-80,.8);padding:var(--padding-sm,4px) var(--padding-md,8px)}.maintenance-page-content{align-items:flex-start;display:flex;flex-direction:column;padding:120px;width:700px}@media (max-width:768px){.maintenance-page-content{padding:30px;width:100%}}.maintenance-page-title{align-self:stretch;color:var(--labels-main-label-primary,#121e52);font-family:var(--font-family-sans);font-size:32px;font-style:normal;font-weight:700;line-height:36px}@media (max-width:768px){.maintenance-page-title{font-size:26px}}.maintenance-page-subheading{color:var(--labels-main-label-primary,#121e52);font-family:var(--font-family-sans);font-size:20px;font-style:normal;font-weight:600;line-height:24px}@media (max-width:768px){.maintenance-page-subheading{font-size:18px}}.maintenance-page-body{color:var(--labels-main-label-primary,#121e52);font-family:var(--font-family-sans);font-size:20px;font-style:normal;font-weight:400;line-height:24px}@media (max-width:768px){.maintenance-page-body{font-size:18px}}.maintenance-page-footer-logo{padding-top:24px}.controls-button{border-color:#f8f8fa;border-radius:var(--radius-md,4px);color:var(--surfaces-main-background-secondary,#f8f8fa);margin-top:10px}.back-button,.controls-button{align-items:center;background:linear-gradient(180deg,var(--fills-main-fill-white,#fff3) 0,var(--purples-purple-500,#6200ee33) 5.77%,var(--purples-purple-700,#4600a933) 95.19%,var(--purples-purple-900,#29006433) 100%),linear-gradient(180deg,var(--purples-purple-50,#efe6fd4d) 0,var(--purples-purple-900,#2900644d) 100%),var(--fills-main-fill-action,#6200ee);display:flex;font-family:var(--font-family-sans);font-size:15px;font-style:normal;font-weight:600;gap:8px;height:44px;justify-content:center;line-height:18px;padding:var(--padding-md,8px) var(--padding-reg,16px)}.back-button{border-color:none;border-radius:var(--radius-md,4px);color:var(--labels-main-label-white,#fff);margin-top:20px}.venue-skeleton-item{background:var(--surfaces-main-background-secondary-hover,#e8e9ef);border-radius:11px;height:15px;margin-left:8px;width:87px}.venue-skeleton-contaier{margin-top:30px}.mobile-logo{display:none}@media (max-width:768px){.mobile-logo{background:var(--surfaces-main-background-secondary,#f8f8fa);display:block;padding:10px}}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MaintenancePage.d.ts","sourceRoot":"","sources":["../../src/Maintenance/MaintenancePage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MaintenancePage.d.ts","sourceRoot":"","sources":["../../src/Maintenance/MaintenancePage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,UAAU,oBAAoB;IAC5B,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC5B;AAED,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA+C1D,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
2
|
import 'react';
|
|
3
|
+
import { Button } from '../v2/components/Button/Button.js';
|
|
3
4
|
|
|
4
5
|
var MaintenancePage = function(param) {
|
|
5
6
|
var svg = param.svg, title = param.title, subheading = param.subheading, body = param.body, buttonLabel = param.buttonLabel, onButtonClick = param.onButtonClick;
|
|
@@ -41,8 +42,8 @@ var MaintenancePage = function(param) {
|
|
|
41
42
|
className: "maintenance-page-body",
|
|
42
43
|
children: body
|
|
43
44
|
}),
|
|
44
|
-
buttonLabel && /*#__PURE__*/ jsx(
|
|
45
|
-
|
|
45
|
+
buttonLabel && /*#__PURE__*/ jsx(Button, {
|
|
46
|
+
variant: "primary",
|
|
46
47
|
onClick: onButtonClick,
|
|
47
48
|
children: buttonLabel
|
|
48
49
|
}),
|
|
@@ -26,7 +26,7 @@ var PageNotFound = function(param) {
|
|
|
26
26
|
fill: "none",
|
|
27
27
|
children: /*#__PURE__*/ jsx("path", {
|
|
28
28
|
d: "M18 50H22V48H40V44H44V48H48V52H22V54H18V52H15.9863C14.8893 51.9997 14.0001 51.0894 14 50.0166V44H18V50ZM22 44H18V40H22V44ZM49.999 44H46V38H49.999V44ZM18 40H14V30H18V40ZM54 38H50V34H54V38ZM46 34H42V30H46V34ZM14 30H10V26H14V30ZM49.999 22V30H46V24H38V22H40V18H38V16H36V12H40L49.999 22ZM22 14H26V12H32V16H26V18H22V16H16V20H18V26H14V20H12V16H14V13.9834C14.0001 12.888 14.8951 12 15.9971 12H22V14ZM38 22H34V18H38V22Z",
|
|
29
|
-
fill: "#626A90"
|
|
29
|
+
fill: "var(--fills-main-fill-secondary, #626A90)"
|
|
30
30
|
})
|
|
31
31
|
}),
|
|
32
32
|
title: "Page not found.",
|
package/dist/index.js
CHANGED
|
@@ -241,6 +241,7 @@ export { WYSIWYGEditor } from './v2/components/WYSIWYGEditor/WYSIWYGEditor.js';
|
|
|
241
241
|
export { NewPageHeader } from './v2/components/NewPageHeader/NewPageHeader.js';
|
|
242
242
|
export { SectionHeader } from './v2/components/SectionHeader/SectionHeader.js';
|
|
243
243
|
export { Button, ButtonText } from './v2/components/Button/Button.js';
|
|
244
|
+
export { GhostButton } from './v2/components/Button/GhostButton.js';
|
|
244
245
|
export { Select } from './v2/components/Select/Select.js';
|
|
245
246
|
export { Tooltip } from './v2/components/Tooltip/Tooltip.js';
|
|
246
247
|
export { UserAvatar } from './v2/components/UserAvatar/UserAvatar.js';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
import './GhostButton.scss';
|
|
3
|
+
export interface GhostButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
4
|
+
icon?: React.ReactNode;
|
|
5
|
+
size?: 'sm' | 'md';
|
|
6
|
+
}
|
|
7
|
+
export declare function GhostButton({ icon, size, className, children, ...props }: GhostButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=GhostButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GhostButton.d.ts","sourceRoot":"","sources":["../../../../src/v2/components/Button/GhostButton.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAA;AAC5C,OAAO,oBAAoB,CAAA;AAE3B,MAAM,WAAW,gBAAiB,SAAQ,oBAAoB,CAAC,iBAAiB,CAAC;IAC/E,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,CAAA;CACnB;AAED,wBAAgB,WAAW,CAAC,EAC1B,IAAI,EACJ,IAAW,EACX,SAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,gBAAgB,2CAalB"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
+
import './GhostButton.scss.js';
|
|
3
|
+
|
|
4
|
+
function _define_property(obj, key, value) {
|
|
5
|
+
if (key in obj) {
|
|
6
|
+
Object.defineProperty(obj, key, {
|
|
7
|
+
value: value,
|
|
8
|
+
enumerable: true,
|
|
9
|
+
configurable: true,
|
|
10
|
+
writable: true
|
|
11
|
+
});
|
|
12
|
+
} else {
|
|
13
|
+
obj[key] = value;
|
|
14
|
+
}
|
|
15
|
+
return obj;
|
|
16
|
+
}
|
|
17
|
+
function _object_spread(target) {
|
|
18
|
+
for(var i = 1; i < arguments.length; i++){
|
|
19
|
+
var source = arguments[i] != null ? arguments[i] : {};
|
|
20
|
+
var ownKeys = Object.keys(source);
|
|
21
|
+
if (typeof Object.getOwnPropertySymbols === "function") {
|
|
22
|
+
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
23
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
26
|
+
ownKeys.forEach(function(key) {
|
|
27
|
+
_define_property(target, key, source[key]);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
return target;
|
|
31
|
+
}
|
|
32
|
+
function ownKeys(object, enumerableOnly) {
|
|
33
|
+
var keys = Object.keys(object);
|
|
34
|
+
if (Object.getOwnPropertySymbols) {
|
|
35
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
36
|
+
if (enumerableOnly) {
|
|
37
|
+
symbols = symbols.filter(function(sym) {
|
|
38
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
keys.push.apply(keys, symbols);
|
|
42
|
+
}
|
|
43
|
+
return keys;
|
|
44
|
+
}
|
|
45
|
+
function _object_spread_props(target, source) {
|
|
46
|
+
source = source != null ? source : {};
|
|
47
|
+
if (Object.getOwnPropertyDescriptors) {
|
|
48
|
+
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
49
|
+
} else {
|
|
50
|
+
ownKeys(Object(source)).forEach(function(key) {
|
|
51
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
return target;
|
|
55
|
+
}
|
|
56
|
+
function _object_without_properties(source, excluded) {
|
|
57
|
+
if (source == null) return {};
|
|
58
|
+
var target = _object_without_properties_loose(source, excluded);
|
|
59
|
+
var key, i;
|
|
60
|
+
if (Object.getOwnPropertySymbols) {
|
|
61
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
62
|
+
for(i = 0; i < sourceSymbolKeys.length; i++){
|
|
63
|
+
key = sourceSymbolKeys[i];
|
|
64
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
65
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
66
|
+
target[key] = source[key];
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return target;
|
|
70
|
+
}
|
|
71
|
+
function _object_without_properties_loose(source, excluded) {
|
|
72
|
+
if (source == null) return {};
|
|
73
|
+
var target = {};
|
|
74
|
+
var sourceKeys = Object.keys(source);
|
|
75
|
+
var key, i;
|
|
76
|
+
for(i = 0; i < sourceKeys.length; i++){
|
|
77
|
+
key = sourceKeys[i];
|
|
78
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
79
|
+
target[key] = source[key];
|
|
80
|
+
}
|
|
81
|
+
return target;
|
|
82
|
+
}
|
|
83
|
+
function GhostButton(_param) {
|
|
84
|
+
var icon = _param.icon, _param_size = _param.size, size = _param_size === void 0 ? 'md' : _param_size, _param_className = _param.className, className = _param_className === void 0 ? '' : _param_className, children = _param.children, props = _object_without_properties(_param, [
|
|
85
|
+
"icon",
|
|
86
|
+
"size",
|
|
87
|
+
"className",
|
|
88
|
+
"children"
|
|
89
|
+
]);
|
|
90
|
+
var classes = [
|
|
91
|
+
'ghost-button',
|
|
92
|
+
"ghost-button--".concat(size),
|
|
93
|
+
className
|
|
94
|
+
].filter(Boolean).join(' ');
|
|
95
|
+
return /*#__PURE__*/ jsxs("button", _object_spread_props(_object_spread({
|
|
96
|
+
className: classes
|
|
97
|
+
}, props), {
|
|
98
|
+
children: [
|
|
99
|
+
icon && /*#__PURE__*/ jsx("span", {
|
|
100
|
+
className: "ghost-button__icon",
|
|
101
|
+
children: icon
|
|
102
|
+
}),
|
|
103
|
+
children && /*#__PURE__*/ jsx("span", {
|
|
104
|
+
className: "ghost-button__text",
|
|
105
|
+
children: children
|
|
106
|
+
})
|
|
107
|
+
]
|
|
108
|
+
}));
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export { GhostButton };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
|
+
|
|
3
|
+
var css_248z = ".ghost-button{align-items:center;background:#0000;border:1px solid var(--borders-main-border-primary,#e8e9ef);border-radius:6px;color:var(--labels-main-label-primary,#121e52);cursor:pointer;display:inline-flex;font-family:var(--font-family-sans);font-weight:500;gap:6px;justify-content:center;transition:background-color .2s ease;white-space:nowrap}.ghost-button:hover:not(:disabled){background-color:var(--surfaces-main-background-tertiary,#e8e9ef)}.ghost-button:disabled{cursor:default;opacity:.5}.ghost-button:focus-visible{outline:2px solid var(--fills-main-fill-action,#6200ee);outline-offset:2px}.ghost-button--sm{font-size:13px;height:28px;padding:0 8px}.ghost-button--md{font-size:14px;height:36px;padding:0 12px 0 8px}.ghost-button__icon{align-items:center;display:flex;flex-shrink:0;justify-content:center}.ghost-button__icon svg{height:20px;width:20px}";
|
|
4
|
+
styleInject(css_248z);
|
|
5
|
+
|
|
6
|
+
export { css_248z as default };
|
|
@@ -29,6 +29,8 @@ export { SectionHeader } from './SectionHeader';
|
|
|
29
29
|
export type { SectionHeaderProps } from './SectionHeader';
|
|
30
30
|
export { Button, ButtonText } from './Button';
|
|
31
31
|
export type { ButtonProps, ButtonTextProps } from './Button';
|
|
32
|
+
export { GhostButton } from './Button/GhostButton';
|
|
33
|
+
export type { GhostButtonProps } from './Button/GhostButton';
|
|
32
34
|
export { Select } from './Select';
|
|
33
35
|
export { Tooltip } from './Tooltip';
|
|
34
36
|
export { UserAvatar } from './UserAvatar';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAExE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE/D,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC1C,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC3C,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAErD,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAG/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGzD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAC7C,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAGrC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/v2/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,YAAY,EAAE,UAAU,EAAE,MAAM,SAAS,CAAA;AAEzC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAA;AAExE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAE/D,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAC1C,YAAY,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAA;AAEpD,OAAO,EAAE,cAAc,EAAE,MAAM,YAAY,CAAA;AAC3C,YAAY,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AAErD,cAAc,yBAAyB,CAAA;AACvC,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA;AAEzC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,YAAY,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,cAAc,CAAA;AAEnE,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAA;AACrC,YAAY,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAG/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,YAAY,EAAE,cAAc,EAAE,MAAM,aAAa,CAAA;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAA;AAE/C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,YAAY,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAGzD,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAC7C,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE5D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAG7C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAE/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AAGrC,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".dashboard-layout{background:var(--surfaces-main-background-primary,#fff);flex-direction:column;height:100vh;width:100vw}.dashboard-layout,.dashboard-layout__body{display:flex;overflow:hidden;position:relative}.dashboard-layout__body{flex:1}.dashboard-layout__sidebar{background:var(--surfaces-main-background-secondary,#f8f8fa);border-right:1px solid var(--borders-main-border-primary,#e8e9ef);bottom:0;display:flex;flex-direction:column;left:0;overflow-x:hidden;overflow-y:auto;position:fixed;top:48px;transition:width .3s ease;z-index:20}.dashboard-layout__sidebar--mobile-open{width:100%!important}.dashboard-layout__sidebar .admin-sidebar,.dashboard-layout__sidebar .provider-sidebar{border-right:none;flex:1;height:100%;overflow-y:auto}.dashboard-layout__main{background:var(--surfaces-main-background-primary,#fff);display:flex;flex:1;flex-direction:column;height:calc(100vh - 48px);overflow:hidden;transition:margin-left .3s ease}.dashboard-layout__content{flex:1;overflow-y:auto}.dashboard-layout__overlay{background:#00000080;inset:0;position:fixed;z-index:15}@media (max-width:768px){.dashboard-layout__sidebar{display:none;width:0!important}.dashboard-layout__sidebar--mobile-open{background:var(--surfaces-main-background-secondary,#f8f8fa);bottom:0;display:flex;height:calc(100vh - 48px)!important;left:0;right:0;top:48px!important;width:100%!important;z-index:25}.dashboard-layout__main{margin-left:0!important}}";
|
|
3
|
+
var css_248z = ".dashboard-layout{background:var(--surfaces-main-background-primary,#fff);flex-direction:column;height:100vh;width:100vw}.dashboard-layout,.dashboard-layout__body{display:flex;overflow:hidden;position:relative}.dashboard-layout__body{flex:1}.dashboard-layout__sidebar{background:var(--surfaces-main-background-secondary,#f8f8fa);border-right:1px solid var(--borders-main-border-primary,#e8e9ef);bottom:0;display:flex;flex-direction:column;left:0;overflow-x:hidden;overflow-y:auto;position:fixed;top:48px;transition:width .3s ease;z-index:20}.dashboard-layout__sidebar--mobile-open{width:100%!important}.dashboard-layout__sidebar .admin-sidebar,.dashboard-layout__sidebar .provider-sidebar{border-right:none;flex:1;height:100%;overflow-y:auto}.dashboard-layout__main{background:var(--surfaces-main-background-primary,#fff);display:flex;flex:1;flex-direction:column;height:calc(100vh - 48px);overflow:hidden;transition:margin-left .3s ease}.dashboard-layout__content{flex:1;overflow-y:auto}@media (max-width:768px){.dashboard-layout__content{padding-left:var(--container-padding-mobile,16px);padding-right:var(--container-padding-mobile,16px)}}.dashboard-layout__overlay{background:#00000080;inset:0;position:fixed;z-index:15}@media (max-width:768px){.dashboard-layout__sidebar{display:none;width:0!important}.dashboard-layout__sidebar--mobile-open{background:var(--surfaces-main-background-secondary,#f8f8fa);bottom:0;display:flex;height:calc(100vh - 48px)!important;left:0;right:0;top:48px!important;width:100%!important;z-index:25}.dashboard-layout__main{margin-left:0!important}}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
|
@@ -270,7 +270,7 @@ var ProviderSidebar = function(param) {
|
|
|
270
270
|
})
|
|
271
271
|
})),
|
|
272
272
|
expanded ? /*#__PURE__*/ jsx("div", {
|
|
273
|
-
className: "provider-sidebar__header",
|
|
273
|
+
className: "provider-sidebar__header ".concat((activePath === null || activePath === void 0 ? void 0 : activePath.startsWith('/profile')) ? 'provider-sidebar__link--active' : ''),
|
|
274
274
|
onClick: function() {
|
|
275
275
|
return handleNavClick('/profile');
|
|
276
276
|
},
|
|
@@ -296,7 +296,7 @@ var ProviderSidebar = function(param) {
|
|
|
296
296
|
sideOffset: 8,
|
|
297
297
|
delayDuration: 100,
|
|
298
298
|
children: /*#__PURE__*/ jsx("div", {
|
|
299
|
-
className: "provider-sidebar__header provider-sidebar__header--collapsed",
|
|
299
|
+
className: "provider-sidebar__header provider-sidebar__header--collapsed ".concat((activePath === null || activePath === void 0 ? void 0 : activePath.startsWith('/profile')) ? 'provider-sidebar__link--active' : ''),
|
|
300
300
|
onClick: function() {
|
|
301
301
|
return handleNavClick('/profile');
|
|
302
302
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ".provider-sidebar{align-items:flex-start;background:var(--surfaces-main-background-secondary,#f8f8fa);border-right:1px solid var(--borders-main-border-primary,#e8e9ef);box-sizing:border-box;display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:8px;transition:width .3s ease}.provider-sidebar--expanded{width:268px}.provider-sidebar--collapsed{width:72px}@media (max-width:640px){.provider-sidebar{border-right:none;width:100%!important}}.provider-sidebar__content{display:flex;flex-direction:column;gap:4px;width:100%}.provider-sidebar__back-link{align-items:center;border-radius:8px;box-sizing:border-box;color:var(--fills-main-fill-primary,#14215a);cursor:pointer;display:flex;gap:8px;padding:8px;transition:all .2s ease;width:100%}.provider-sidebar__back-link:hover{background:var(--surfaces-main-background-secondary-hover,#f0f0f4)}.provider-sidebar__back-link:hover .provider-sidebar__icon--back .back-icon-default{display:none}.provider-sidebar__back-link:hover .provider-sidebar__icon--back .back-icon-hover{display:block}.provider-sidebar__back-link:active{background:var(--surfaces-main-background-secondary-pressed,#e8e8ec)}.provider-sidebar__back-link--collapsed{justify-content:center}.provider-sidebar__header{align-items:center;box-sizing:border-box;display:flex;width:100%}.provider-sidebar__header--collapsed{justify-content:center}.provider-sidebar__avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:47px;justify-content:center;overflow:hidden;position:relative;width:47px}.provider-sidebar__avatar img{height:100%;object-fit:cover;width:100%}.provider-sidebar__avatar-placeholder{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.provider-sidebar__avatar-placeholder:before{background:#626a9033;border:2px solid var(--fills-main-fill-secondary,#626a90);border-radius:50%;content:\"\";inset:0;position:absolute}.provider-sidebar__avatar-placeholder span{color:var(--labels-main-label-secondary,#626a90);font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:18px;font-weight:700;position:relative;z-index:1}.provider-sidebar__header-text{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.provider-sidebar__title{color:var(--labels-main-label-primary,#121e52);font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:15px;font-weight:600;line-height:18px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.provider-sidebar__badge{align-items:center;background:var(--surfaces-main-background-tertiary,#e8e9ef);border-radius:8px;display:inline-flex;justify-content:center;padding:4px 8px;transition:background .2s ease;width:fit-content}.provider-sidebar__header:hover .provider-sidebar__badge{background:var(--surfaces-main-background-tertiary-hover,#dcdde3)}.provider-sidebar__badge span{color:var(--labels-main-label-secondary,#626a90);font-family:Geist Mono,SF Mono,Consolas,monospace;font-size:10px;font-weight:600;line-height:12px;white-space:nowrap}.provider-sidebar__nav{display:flex;flex-direction:column;gap:4px;padding-top:8px;width:100%}.provider-sidebar__link{align-items:center;border-radius:8px;box-sizing:border-box;color:var(--fills-main-fill-primary,#14215a);cursor:pointer;display:flex;gap:8px;outline:none;padding:8px;text-decoration:none;transition:all .2s ease;width:100%}.provider-sidebar__link:hover:not(.provider-sidebar__link--active){background:var(--surfaces-main-background-secondary-hover,#f0f0f4)}.provider-sidebar__link:active:not(.provider-sidebar__link--active){background:var(--surfaces-main-background-secondary-pressed,#e8e8ec)}.provider-sidebar__link:focus-visible{outline:2px solid var(--fills-main-fill-primary,#14215a);outline-offset:2px}.provider-sidebar__link--collapsed{justify-content:center}.provider-sidebar__link--active{background:linear-gradient(to top right,var(--gradient-stop3,#0e8ce2) 0,var(--gradient-stop2,#5d5bf4) 50%,var(--gradient-stop1,#6200ee) 100%);color:#fff;cursor:default}.provider-sidebar__link--active .provider-sidebar__icon{color:#fff}.provider-sidebar__link--active .provider-sidebar__icon svg path{fill:#fff}.provider-sidebar__link--active .provider-sidebar__link-text{color:#fff}.provider-sidebar__icon{align-items:center;color:var(--fills-main-fill-primary,#14215a);display:flex;flex-shrink:0;height:24px;justify-content:center;width:24px}.provider-sidebar__icon svg{height:100%;width:100%}.provider-sidebar__icon svg path{fill:var(--fills-main-fill-primary,#14215a)}.provider-sidebar__icon--back .back-icon-default{display:block}.provider-sidebar__icon--back .back-icon-hover{display:none}.provider-sidebar__link-text{color:var(--labels-main-label-primary,#121e52);font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px;font-weight:500;line-height:16px;margin:0;white-space:nowrap}";
|
|
3
|
+
var css_248z = ".provider-sidebar{align-items:flex-start;background:var(--surfaces-main-background-secondary,#f8f8fa);border-right:1px solid var(--borders-main-border-primary,#e8e9ef);box-sizing:border-box;display:flex;flex-direction:column;height:100%;overflow-y:auto;padding:8px;transition:width .3s ease}.provider-sidebar--expanded{width:268px}.provider-sidebar--collapsed{width:72px}@media (max-width:640px){.provider-sidebar{border-right:none;width:100%!important}}.provider-sidebar__content{display:flex;flex-direction:column;gap:4px;width:100%}.provider-sidebar__back-link{align-items:center;border-radius:8px;box-sizing:border-box;color:var(--fills-main-fill-primary,#14215a);cursor:pointer;display:flex;gap:8px;padding:8px;transition:all .2s ease;width:100%}.provider-sidebar__back-link:hover{background:var(--surfaces-main-background-secondary-hover,#f0f0f4)}.provider-sidebar__back-link:hover .provider-sidebar__icon--back .back-icon-default{display:none}.provider-sidebar__back-link:hover .provider-sidebar__icon--back .back-icon-hover{display:block}.provider-sidebar__back-link:active{background:var(--surfaces-main-background-secondary-pressed,#e8e8ec)}.provider-sidebar__back-link--collapsed{justify-content:center}.provider-sidebar__header{align-items:center;box-sizing:border-box;display:flex;width:100%}.provider-sidebar__header--collapsed{justify-content:center}.provider-sidebar__header.provider-sidebar__link--active{border-radius:8px}.provider-sidebar__header.provider-sidebar__link--active .entity-header,.provider-sidebar__header.provider-sidebar__link--active .entity-header:hover{background:#0000}.provider-sidebar__header.provider-sidebar__link--active .entity-header:hover .entity-header__badge{background:#fff3}.provider-sidebar__header.provider-sidebar__link--active .entity-header:hover .entity-header__badge span,.provider-sidebar__header.provider-sidebar__link--active .entity-header__name{color:#fff}.provider-sidebar__header.provider-sidebar__link--active .entity-header__badge{background:#fff3}.provider-sidebar__header.provider-sidebar__link--active .entity-header__badge span,.provider-sidebar__header.provider-sidebar__link--active .entity-header__placeholder span{color:#fff}.provider-sidebar__header.provider-sidebar__link--active .entity-header__placeholder svg circle{fill:#fff3;stroke:#fff9}.provider-sidebar__avatar{align-items:center;border-radius:50%;display:flex;flex-shrink:0;height:47px;justify-content:center;overflow:hidden;position:relative;width:47px}.provider-sidebar__avatar img{height:100%;object-fit:cover;width:100%}.provider-sidebar__avatar-placeholder{align-items:center;display:flex;height:100%;justify-content:center;position:relative;width:100%}.provider-sidebar__avatar-placeholder:before{background:#626a9033;border:2px solid var(--fills-main-fill-secondary,#626a90);border-radius:50%;content:\"\";inset:0;position:absolute}.provider-sidebar__avatar-placeholder span{color:var(--labels-main-label-secondary,#626a90);font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:18px;font-weight:700;position:relative;z-index:1}.provider-sidebar__header-text{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}.provider-sidebar__title{color:var(--labels-main-label-primary,#121e52);font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:15px;font-weight:600;line-height:18px;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.provider-sidebar__badge{align-items:center;background:var(--surfaces-main-background-tertiary,#e8e9ef);border-radius:8px;display:inline-flex;justify-content:center;padding:4px 8px;transition:background .2s ease;width:fit-content}.provider-sidebar__header:hover .provider-sidebar__badge{background:var(--surfaces-main-background-tertiary-hover,#dcdde3)}.provider-sidebar__badge span{color:var(--labels-main-label-secondary,#626a90);font-family:Geist Mono,SF Mono,Consolas,monospace;font-size:10px;font-weight:600;line-height:12px;white-space:nowrap}.provider-sidebar__nav{display:flex;flex-direction:column;gap:4px;padding-top:8px;width:100%}.provider-sidebar__link{align-items:center;border-radius:8px;box-sizing:border-box;color:var(--fills-main-fill-primary,#14215a);cursor:pointer;display:flex;gap:8px;outline:none;padding:8px;text-decoration:none;transition:all .2s ease;width:100%}.provider-sidebar__link:hover:not(.provider-sidebar__link--active){background:var(--surfaces-main-background-secondary-hover,#f0f0f4)}.provider-sidebar__link:active:not(.provider-sidebar__link--active){background:var(--surfaces-main-background-secondary-pressed,#e8e8ec)}.provider-sidebar__link:focus-visible{outline:2px solid var(--fills-main-fill-primary,#14215a);outline-offset:2px}.provider-sidebar__link--collapsed{justify-content:center}.provider-sidebar__link--active{background:linear-gradient(to top right,var(--gradient-stop3,#0e8ce2) 0,var(--gradient-stop2,#5d5bf4) 50%,var(--gradient-stop1,#6200ee) 100%);color:#fff;cursor:default}.provider-sidebar__link--active .provider-sidebar__icon{color:#fff}.provider-sidebar__link--active .provider-sidebar__icon svg path{fill:#fff}.provider-sidebar__link--active .provider-sidebar__link-text{color:#fff}.provider-sidebar__icon{align-items:center;color:var(--fills-main-fill-primary,#14215a);display:flex;flex-shrink:0;height:24px;justify-content:center;width:24px}.provider-sidebar__icon svg{height:100%;width:100%}.provider-sidebar__icon svg path{fill:var(--fills-main-fill-primary,#14215a)}.provider-sidebar__icon--back .back-icon-default{display:block}.provider-sidebar__icon--back .back-icon-hover{display:none}.provider-sidebar__link-text{color:var(--labels-main-label-primary,#121e52);font-family:Geist,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:13px;font-weight:500;line-height:16px;margin:0;white-space:nowrap}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SidebarCustomisation.d.ts","sourceRoot":"","sources":["../../../../../src/v2/pages/Settings/components/SidebarCustomisation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,OAAO,6BAA6B,CAAA;
|
|
1
|
+
{"version":3,"file":"SidebarCustomisation.d.ts","sourceRoot":"","sources":["../../../../../src/v2/pages/Settings/components/SidebarCustomisation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAA;AAElD,OAAO,6BAA6B,CAAA;AAepC,MAAM,WAAW,WAAW;IAC1B,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,KAAK,CAAC,SAAS,CAAA;IACrB,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,yBAAyB;IACxC,KAAK,EAAE,WAAW,EAAE,CAAA;IACpB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IAC9C,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,IAAI,CAAA;IACvC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB;AAGD,eAAO,MAAM,mBAAmB,EAAE,WAAW,EAU5C,CAAA;AAED,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CAAC,yBAAyB,CAgIpE,CAAA;AAED,eAAe,oBAAoB,CAAA"}
|
|
@@ -22,6 +22,7 @@ import '../../../components/Modal/DeleteModal.scss.js';
|
|
|
22
22
|
import '../../../components/FormField/FormField.js';
|
|
23
23
|
import '../../../components/WYSIWYGEditor/WYSIWYGEditor.scss.js';
|
|
24
24
|
import '../../../components/SectionHeader/SectionHeader.scss.js';
|
|
25
|
+
import { GhostButton } from '../../../components/Button/GhostButton.js';
|
|
25
26
|
import '../../../components/Tooltip/Tooltip.js';
|
|
26
27
|
import '../../../components/UserAvatar/UserAvatar.scss.js';
|
|
27
28
|
import '../../../components/UserPanel/UserPanel.scss.js';
|
|
@@ -129,6 +130,12 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
129
130
|
}
|
|
130
131
|
// Default sidebar items - IDs must match useProviderNavigation.tsx
|
|
131
132
|
var defaultSidebarItems = [
|
|
133
|
+
{
|
|
134
|
+
id: 'home',
|
|
135
|
+
label: 'Home',
|
|
136
|
+
icon: null,
|
|
137
|
+
visible: true
|
|
138
|
+
},
|
|
132
139
|
{
|
|
133
140
|
id: 'events',
|
|
134
141
|
label: 'Dates & Events',
|
|
@@ -180,13 +187,13 @@ var defaultSidebarItems = [
|
|
|
180
187
|
}
|
|
181
188
|
];
|
|
182
189
|
var SidebarCustomisation = function(param) {
|
|
183
|
-
var initialItems = param.items, onItemsChange = param.onItemsChange, onSave = param.onSave
|
|
190
|
+
var initialItems = param.items, onItemsChange = param.onItemsChange, onSave = param.onSave, onReset = param.onReset, onCancel = param.onCancel;
|
|
184
191
|
var _useState = _sliced_to_array(useState(initialItems), 2), items = _useState[0], setItems = _useState[1];
|
|
185
192
|
var _useState1 = _sliced_to_array(useState(initialItems), 2), itemsBeforeEdit = _useState1[0], setItemsBeforeEdit = _useState1[1];
|
|
186
193
|
var _useState2 = _sliced_to_array(useState(false), 2), isEditing = _useState2[0], setIsEditing = _useState2[1];
|
|
187
194
|
useEffect(function() {
|
|
188
|
-
setItems(initialItems);
|
|
189
195
|
if (!isEditing) {
|
|
196
|
+
setItems(initialItems);
|
|
190
197
|
setItemsBeforeEdit(initialItems);
|
|
191
198
|
}
|
|
192
199
|
}, [
|
|
@@ -208,7 +215,6 @@ var SidebarCustomisation = function(param) {
|
|
|
208
215
|
setIsEditing(false);
|
|
209
216
|
};
|
|
210
217
|
var handleReset = function() {
|
|
211
|
-
// Reset form fields to defaults locally — only persisted if user clicks Save
|
|
212
218
|
var resetItems = items.map(function(item) {
|
|
213
219
|
var defaultItem = defaultSidebarItems.find(function(d) {
|
|
214
220
|
return d.id === item.id;
|
|
@@ -218,9 +224,11 @@ var SidebarCustomisation = function(param) {
|
|
|
218
224
|
}) : item;
|
|
219
225
|
});
|
|
220
226
|
setItems(resetItems);
|
|
227
|
+
onReset === null || onReset === void 0 ? void 0 : onReset();
|
|
221
228
|
};
|
|
222
229
|
var handleCancel = function() {
|
|
223
230
|
setItems(itemsBeforeEdit);
|
|
231
|
+
onItemsChange === null || onItemsChange === void 0 ? void 0 : onItemsChange(itemsBeforeEdit);
|
|
224
232
|
onCancel === null || onCancel === void 0 ? void 0 : onCancel();
|
|
225
233
|
setIsEditing(false);
|
|
226
234
|
};
|
|
@@ -243,16 +251,10 @@ var SidebarCustomisation = function(param) {
|
|
|
243
251
|
className: "sidebar-customisation__cancel-btn",
|
|
244
252
|
onClick: handleCancel,
|
|
245
253
|
children: "Cancel"
|
|
246
|
-
}) : /*#__PURE__*/
|
|
247
|
-
|
|
248
|
-
className: "sidebar-customisation__edit-btn",
|
|
254
|
+
}) : /*#__PURE__*/ jsx(GhostButton, {
|
|
255
|
+
icon: /*#__PURE__*/ jsx(EditIcon, {}),
|
|
249
256
|
onClick: handleEdit,
|
|
250
|
-
children:
|
|
251
|
-
/*#__PURE__*/ jsx(EditIcon, {}),
|
|
252
|
-
/*#__PURE__*/ jsx("span", {
|
|
253
|
-
children: "Edit Side Bar"
|
|
254
|
-
})
|
|
255
|
-
]
|
|
257
|
+
children: "Edit Side Bar"
|
|
256
258
|
})
|
|
257
259
|
]
|
|
258
260
|
}),
|
|
@@ -278,7 +280,6 @@ var SidebarCustomisation = function(param) {
|
|
|
278
280
|
children: [
|
|
279
281
|
/*#__PURE__*/ jsx(Button, {
|
|
280
282
|
type: "button",
|
|
281
|
-
className: "sidebar-customisation__save-btn",
|
|
282
283
|
onClick: handleSave,
|
|
283
284
|
children: "Save Changes"
|
|
284
285
|
}),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import styleInject from '/opt/atlassian/pipelines/agent/build/node_modules/style-inject/dist/style-inject.es.js';
|
|
2
2
|
|
|
3
|
-
var css_248z = ":root{--font-family-sans:\"Geist\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Roboto\",\"Helvetica Neue\",Arial,sans-serif;--font-family-mono:\"Geist Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--heading-xxl-size:44px;--heading-xxl-line:48px;--heading-xxl-weight:600;--heading-xl-size:32px;--heading-xl-line:36px;--heading-xl-weight:700;--heading-h1-size:24px;--heading-h1-line:28px;--heading-h1-weight:600;--heading-h2-size:20px;--heading-h2-line:24px;--heading-h2-weight:600;--heading-h3-size:17px;--heading-h3-line:20px;--heading-h3-weight:600;--heading-h4-size:15px;--heading-h4-line:18px;--heading-h4-weight:600;--heading-h5-size:13px;--heading-h5-line:16px;--heading-h5-weight:500;--heading-h6-size:11px;--heading-h6-line:14px;--heading-h6-weight:500;--heading-xxl-mobile-size:32px;--heading-xxl-mobile-line:36px;--heading-xxl-mobile-weight:600;--heading-xl-mobile-size:26px;--heading-xl-mobile-line:30px;--heading-xl-mobile-weight:700;--heading-h1-mobile-size:20px;--heading-h1-mobile-line:23px;--heading-h1-mobile-weight:600;--heading-h2-mobile-size:18px;--heading-h2-mobile-line:22px;--heading-h2-mobile-weight:600;--heading-h3-mobile-size:16px;--heading-h3-mobile-line:18px;--heading-h3-mobile-weight:600;--heading-h4-mobile-size:14px;--heading-h4-mobile-line:16px;--heading-h4-mobile-weight:600;--heading-h5-mobile-size:13px;--heading-h5-mobile-line:16px;--heading-h5-mobile-weight:500;--heading-h6-mobile-size:11px;--heading-h6-mobile-line:14px;--heading-h6-mobile-weight:500;--text-xl-size:20px;--text-xl-line:26px;--text-xl-weight:400;--text-large-size:18px;--text-large-line:24px;--text-large-weight:400;--text-regular-size:15px;--text-regular-line:20px;--text-regular-weight:400;--text-small-size:13px;--text-small-line:16px;--text-small-weight:400;--text-small-emphasis-weight:500;--text-small-bold-weight:600;--text-xs-size:10px;--text-xs-line:13px;--text-xs-weight:500;--text-xs-bold-weight:600;--blue-50:#e7f4fc;--blue-100:#b4dbf6;--blue-200:#90caf2;--blue-300:#5eb2ec;--blue-400:#3ea3e8;--blue-500:#0e8ce2;--blue-600:#0d7fce;--blue-700:#0a63a0;--blue-800:#084d7c;--blue-900:#063b5f;--cyan-50:#eafbff;--cyan-75:#bdf3ff;--cyan-100:#aff1ff;--cyan-200:#9deeff;--cyan-300:#71e6ff;--cyan-400:#55e1ff;--cyan-500:#2bd9ff;--cyan-600:#27c5e8;--cyan-700:#1f9ab5;--cyan-800:#18778c;--cyan-900:#125b6b;--indigo-50:#efeffe;--indigo-100:#cdccfc;--indigo-200:#b4b4fa;--indigo-300:#9291f8;--indigo-400:#7c74ff;--indigo-500:#5d5bf4;--indigo-600:#5553de;--indigo-700:#4241ad;--indigo-800:#333286;--indigo-900:#272666;--green-50:#eef9ea;--green-100:#c9ecbd;--green-200:#afe39d;--green-300:#8bd671;--green-400:#75ce55;--green-500:#52c22b;--green-600:#4bb127;--green-700:#3a8a1f;--green-800:#2d6b18;--green-900:#225112;--red-50:#fceceb;--red-100:#f5c4c2;--red-200:#f1a8a4;--red-300:#ea807b;--red-400:#e66861;--red-500:#e0423a;--red-600:#cc3c35;--red-700:#9f2f29;--red-800:#7b2420;--red-900:#5e1c18;--purple-50:#efe6fd;--purple-100:#ceb0fa;--purple-200:#b78af7;--purple-300:#965ff4;--purple-400:#8133f1;--purple-500:#6200ee;--purple-600:#5900d9;--purple-700:#4600a9;--purple-800:#360083;--purple-900:#290064;--orange-50:#fff2e8;--orange-100:#fed7b6;--orange-200:#fec493;--orange-300:#fea962;--orange-400:#fd9843;--orange-500:#fd7e14;--orange-600:#e67312;--orange-700:#b4590e;--orange-800:#8b450b;--orange-900:#6a3508;--yellow-50:#fcf6e7;--yellow-100:#f6e3b4;--yellow-200:#f2d68f;--yellow-300:#ecc35c;--yellow-400:#fcc741;--yellow-500:#fbb912;--yellow-600:#e4a810;--yellow-700:#a07509;--yellow-800:#7c5b07;--yellow-900:#5f4505;--pink-50:#fdecf4;--pink-100:#f8c3db;--pink-200:#f4a6ca;--pink-300:#f07eb2;--pink-400:#ed65a3;--pink-500:#e83e8c;--pink-600:#d33874;--pink-700:#a52c63;--pink-800:#80224d;--pink-900:#611a3b;--teal-50:#e9faf7;--teal-100:#baf0e7;--teal-200:#99e8db;--teal-300:#6bdecb;--teal-400:#4ed8c1;--teal-500:#22ceb1;--teal-600:#1fbba1;--teal-700:#18927e;--teal-800:#137161;--teal-900:#0e574a;--neutral-white:#fff;--neutral-25:#f8f8fa;--neutral-50:#e8e9ef;--neutral-75:#d2d5e3;--neutral-100:#b6bacc;--neutral-200:#9399b3;--neutral-300:#626a90;--neutral-400:#433d7b;--neutral-500:#14215a;--neutral-600:#121e52;--neutral-700:#0e1740;--neutral-800:#0b1232;--neutral-900:#080e26;--neutral-black:#000;--purple-lightest:var(--purple-50);--purple-lighter:var(--purple-100);--purple-light:var(--purple-300);--purple-regular:var(--purple-500);--purple-dark:var(--purple-600);--purple-darker:var(--purple-800);--purple-darkest:var(--purple-900);--blue-lightest:var(--blue-50);--blue-lighter:var(--blue-100);--blue-light:var(--blue-300);--blue-regular:var(--blue-500);--blue-dark:var(--blue-600);--blue-darker:var(--blue-800);--blue-darkest:var(--blue-900);--indigo-lightest:var(--indigo-50);--indigo-lighter:var(--indigo-100);--indigo-light:var(--indigo-300);--indigo-regular:var(--indigo-500);--indigo-dark:var(--indigo-600);--indigo-darker:var(--indigo-800);--indigo-darkest:var(--indigo-900);--cyan-lightest:var(--cyan-50);--cyan-lighter:var(--cyan-100);--cyan-light:var(--cyan-300);--cyan-regular:var(--cyan-500);--cyan-dark:var(--cyan-700);--cyan-darker:var(--cyan-800);--cyan-darkest:var(--cyan-900);--red-lightest:var(--red-50);--red-lighter:var(--red-100);--red-light:var(--red-400);--red-regular:var(--red-500);--red-dark:var(--red-600);--red-darker:var(--red-800);--red-darkest:var(--red-900);--orange-lightest:var(--orange-50);--orange-lighter:var(--orange-100);--orange-light:var(--orange-300);--orange-regular:var(--orange-500);--orange-dark:var(--orange-600);--orange-darker:var(--orange-700);--orange-darkest:var(--orange-800);--yellow-lightest:var(--yellow-50);--yellow-lighter:var(--yellow-100);--yellow-light:var(--yellow-300);--yellow-regular:var(--yellow-500);--yellow-dark:var(--yellow-600);--yellow-darker:var(--yellow-800);--yellow-darkest:var(--yellow-900);--pink-lightest:var(--pink-50);--pink-lighter:var(--pink-100);--pink-light:var(--pink-300);--pink-regular:var(--pink-500);--pink-dark:var(--pink-600);--pink-darker:var(--pink-700);--pink-darkest:var(--pink-800);--green-lightest:var(--green-50);--green-lighter:var(--green-100);--green-light:var(--green-300);--green-regular:var(--green-500);--green-dark:var(--green-600);--green-darker:var(--green-800);--green-darkest:var(--green-900);--teal-lightest:var(--teal-50);--teal-lighter:var(--teal-100);--teal-light:var(--teal-300);--teal-regular:var(--teal-500);--teal-dark:var(--teal-600);--teal-darker:var(--teal-700);--teal-darkest:var(--teal-800);--tone-lightest:var(--neutral-white);--tone-lighter:var(--neutral-25);--tone-light:var(--neutral-50);--tone-regular:var(--neutral-75);--tone-dark:var(--neutral-100);--tone-darker:var(--neutral-200);--tone-darkest:var(--neutral-300);--shade-lightest:var(--neutral-400);--shade-lighter:var(--neutral-500);--shade-light:var(--neutral-600);--shade-regular:var(--neutral-700);--shade-dark:var(--neutral-800);--shade-darker:var(--neutral-900);--shade-darkest:var(--neutral-black);--highlight-lightest:var(--cyan-lightest);--highlight-lighter:var(--cyan-lighter);--highlight-light:var(--cyan-light);--highlight-regular:var(--blue-regular);--highlight-dark:var(--blue-dark);--highlight-darker:var(--blue-darker);--highlight-darkest:var(--blue-darkest);--success-lightest:var(--green-lightest);--success-lighter:var(--green-lighter);--success-light:var(--green-light);--success-regular:var(--green-regular);--success-dark:var(--green-dark);--success-darker:var(--green-darker);--success-darkest:var(--green-darkest);--errors-lightest:var(--red-lightest);--errors-lighter:var(--red-lighter);--errors-light:var(--red-light);--errors-regular:var(--red-regular);--errors-dark:var(--red-dark);--errors-darker:var(--red-darker);--errors-darkest:var(--red-darkest);--actions-lightest:var(--purple-50);--actions-lighter:var(--purple-lighter);--actions-light:var(--purple-light);--actions-regular:var(--purple-regular);--actions-dark:var(--purple-dark);--actions-darker:var(--purple-darker);--actions-darkest:var(--purple-darkest);--information-lightest:var(--blue-lightest);--information-lighter:var(--blue-lighter);--information-light:var(--blue-light);--information-regular:var(--blue-regular);--information-dark:var(--blue-dark);--information-darker:var(--blue-darker);--information-darkest:var(--blue-darkest);--alert-lightest:var(--yellow-lightest);--alert-lighter:var(--yellow-lighter);--alert-light:var(--orange-light);--alert-regular:var(--orange-regular);--alert-darker:var(--yellow-darker);--alert-darkest:var(--yellow-darkest);--danger-lightest:var(--red-lightest);--danger-lighter:var(--red-lighter);--danger-light:var(--red-light);--danger-regular:var(--red-regular);--danger-dark:var(--red-dark);--danger-darker:var(--red-darker);--danger-darkest:var(--red-darkest);--disabled-lightest:var(--tone-light);--disabled-lighter:var(--tone-regular);--disabled-light:var(--tone-dark);--disabled-regular:var(--tone-darker);--disabled-dark:var(--shade-lighter);--disabled-darker:var(--shade-light);--disabled-darkest:var(--shade-regular);--label-primary:var(--shade-light);--label-secondary:var(--tone-darkest);--label-secondary-hover:var(--shade-lighter);--label-white:var(--tone-lightest);--label-highlight:var(--highlight-dark);--label-action:var(--actions-regular);--label-danger:var(--danger-dark);--label-status-error:var(--errors-dark);--label-status-success:var(--success-darker);--label-status-info:var(--information-dark);--label-status-alert:var(--alert-regular);--label-status-disabled:var(--disabled-regular);--surface-primary:var(--tone-lightest);--surface-primary-hover:var(--tone-lighter);--surface-primary-pressed:var(--tone-light);--surface-secondary:var(--neutral-25);--surface-secondary-hover:var(--tone-light);--surface-secondary-pressed:var(--tone-regular);--surface-tertiary:var(--tone-light);--surface-tertiary-hover:var(--tone-lighter);--surface-tertiary-pressed:var(--tone-lightest);--surface-status-success:var(--success-lightest);--surface-status-error:var(--errors-lightest);--surface-status-alert:var(--alert-lightest);--surface-status-info:var(--information-lightest);--surface-status-disabled:var(--disabled-lighter);--surface-action-soft:var(--actions-lightest);--surface-action-soft-hover:var(--actions-lighter);--surface-action-soft-pressed:var(--actions-light);--surface-danger-soft:var(--danger-lightest);--surface-danger-soft-hover:var(--danger-lighter);--surface-danger-soft-pressed:var(--danger-light);--surface-highlight-soft:var(--highlight-lightest);--surface-colour-red-soft:var(--red-lightest);--surface-colour-green-soft:var(--green-lightest);--surface-colour-blue-soft:var(--blue-lightest);--surface-colour-orange-soft:var(--orange-lightest);--surface-colour-yellow-soft:var(--yellow-lightest);--surface-colour-purple-soft:var(--purple-lightest);--surface-colour-indigo-soft:var(--indigo-lightest);--surface-colour-cyan-soft:var(--cyan-lightest);--surface-colour-pink-soft:var(--pink-lightest);--surface-colour-teal-soft:var(--teal-lightest);--border-primary:var(--tone-light);--border-secondary:var(--tone-regular);--border-selected:var(--neutral-600);--border-action:var(--actions-regular);--border-status-error:var(--errors-lighter);--border-status-success:var(--success-lighter);--border-status-alert:var(--alert-lighter);--border-status-info:var(--information-lighter);--border-status-disabled:var(--disabled-lightest);--border-colour-overlay:#121e521a;--fill-primary:var(--shade-lighter);--fill-secondary:var(--tone-darkest);--fill-white:var(--tone-lightest);--fill-action:var(--actions-regular);--fill-highlight:var(--highlight-dark);--fill-danger:var(--danger-dark);--fill-status-success:var(--success-darker);--fill-status-error:var(--errors-dark);--fill-status-alert:var(--alert-regular);--fill-status-info:var(--information-regular);--fill-status-disabled:var(--disabled-light);--gradient-stop1:var(--purple-500);--gradient-stop2:var(--indigo-500);--gradient-stop3:var(--blue-500)}[data-theme=dark]{--label-primary:var(--tone-lighter);--label-secondary:var(--tone-darker);--label-secondary-hover:var(--tone-lighter);--label-white:var(--tone-lightest);--label-highlight:var(--highlight-light);--label-action:var(--actions-lighter);--label-danger:var(--danger-light);--label-status-error:var(--errors-light);--label-status-success:var(--success-light);--label-status-info:var(--information-light);--label-status-alert:var(--alert-light);--label-status-disabled:var(--disabled-regular);--surface-primary:var(--shade-darker);--surface-primary-hover:var(--shade-dark);--surface-primary-pressed:var(--shade-regular);--surface-secondary:var(--shade-dark);--surface-secondary-hover:var(--shade-darker);--surface-secondary-pressed:var(--shade-darkest);--surface-tertiary:var(--shade-regular);--surface-tertiary-hover:var(--shade-dark);--surface-tertiary-pressed:var(--shade-darker);--surface-status-success:var(--success-darkest);--surface-status-error:var(--errors-darkest);--surface-status-alert:var(--alert-darkest);--surface-status-info:var(--information-darkest);--surface-status-disabled:var(--disabled-darkest);--surface-action-soft:var(--actions-darkest);--surface-action-soft-hover:var(--actions-darker);--surface-action-soft-pressed:var(--actions-dark);--surface-danger-soft:var(--danger-darkest);--surface-danger-soft-hover:var(--danger-darker);--surface-danger-soft-pressed:var(--danger-dark);--surface-highlight-soft:var(--highlight-darkest);--surface-colour-red-soft:var(--red-darkest);--surface-colour-green-soft:var(--green-darkest);--surface-colour-blue-soft:var(--blue-darkest);--surface-colour-orange-soft:var(--orange-darkest);--surface-colour-yellow-soft:var(--yellow-darkest);--surface-colour-purple-soft:var(--purple-darkest);--surface-colour-indigo-soft:var(--indigo-darkest);--surface-colour-cyan-soft:var(--cyan-darkest);--surface-colour-pink-soft:var(--pink-darkest);--surface-colour-teal-soft:var(--teal-darkest);--border-primary:var(--shade-light);--border-secondary:var(--shade-dark);--border-selected:var(--tone-light);--border-action:var(--actions-light);--border-status-error:var(--errors-darker);--border-status-success:var(--success-darker);--border-status-alert:var(--alert-darker);--border-status-info:var(--information-darker);--border-status-disabled:var(--disabled-dark);--border-colour-overlay:#ffffff1a;--fill-primary:var(--tone-lighter);--fill-secondary:var(--tone-darker);--fill-white:var(--tone-lightest);--fill-action:var(--actions-lighter);--fill-highlight:var(--highlight-light);--fill-danger:var(--danger-light);--fill-status-success:var(--success-light);--fill-status-error:var(--errors-light);--fill-status-alert:var(--alert-light);--fill-status-info:var(--information-light);--fill-status-disabled:var(--disabled-dark);--gradient-stop1:var(--indigo-400);--gradient-stop2:var(--cyan-500);--gradient-stop3:var(--cyan-100)}.text-primary{color:var(--label-primary)}.text-secondary{color:var(--label-secondary)}.text-white{color:var(--label-white)}.text-action{color:var(--label-action)}.text-danger{color:var(--label-danger)}.text-success{color:var(--label-status-success)}.text-error{color:var(--label-status-error)}.text-info{color:var(--label-status-info)}.text-warning{color:var(--label-status-alert)}.text-disabled{color:var(--label-status-disabled)}.bg-primary{background-color:var(--surface-primary)}.bg-secondary{background-color:var(--surface-secondary)}.bg-tertiary{background-color:var(--surface-tertiary)}.bg-success{background-color:var(--surface-status-success)}.bg-error{background-color:var(--surface-status-error)}.bg-warning{background-color:var(--surface-status-alert)}.bg-info{background-color:var(--surface-status-info)}.bg-action-soft{background-color:var(--surface-action-soft)}.bg-danger-soft{background-color:var(--surface-danger-soft)}.border-primary{border-color:var(--border-primary)}.border-secondary{border-color:var(--border-secondary)}.border-selected{border-color:var(--border-selected)}.border-action{border-color:var(--border-action)}.border-success{border-color:var(--border-status-success)}.border-error{border-color:var(--border-status-error)}.border-warning{border-color:var(--border-status-alert)}.border-info{border-color:var(--border-status-info)}.sidebar-customisation{display:flex;flex-direction:column;font-family:var(--font-family-sans);gap:16px;width:100%}.sidebar-customisation__header{align-items:center;display:flex;justify-content:space-between}.sidebar-customisation__title{color:var(--label-primary);font-size:1rem;font-weight:600;line-height:1.2;margin:0}.sidebar-customisation__cancel-btn{align-items:center;background:#0000;border:none;border-radius:6px;color:var(--label-danger);cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;height:36px;justify-content:center;padding:0 12px;transition:background-color .2s ease;white-space:nowrap}.sidebar-customisation__cancel-btn:hover{background-color:var(--surface-danger-soft,#ef44441a)}.sidebar-customisation__cancel-btn:focus-visible{outline:2px solid var(--border-action);outline-offset:2px}.sidebar-customisation__edit-btn{align-items:center;background:#0000;border:none;border-radius:6px;color:var(--label-primary);cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;gap:6px;height:36px;justify-content:center;padding:0 12px 0 4px;transition:background-color .2s ease;white-space:nowrap}.sidebar-customisation__edit-btn svg{fill:var(--fill-primary);flex-shrink:0;height:20px;width:20px}.sidebar-customisation__edit-btn:hover{background-color:var(--surface-tertiary)}.sidebar-customisation__edit-btn:focus-visible{outline:2px solid var(--border-action);outline-offset:2px}.sidebar-customisation__grid{display:grid;gap:16px;grid-template-columns:1fr;width:100%}@media (min-width:768px){.sidebar-customisation__grid{grid-template-columns:repeat(2,1fr)}}@media (min-width:1024px){.sidebar-customisation__grid{grid-template-columns:repeat(3,1fr)}}@media (min-width:1536px){.sidebar-customisation__grid{grid-template-columns:repeat(4,1fr)}}.sidebar-customisation__view-grid{display:grid;gap:12px;grid-template-columns:1fr;width:100%}@media (min-width:768px){.sidebar-customisation__view-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width:1024px){.sidebar-customisation__view-grid{grid-template-columns:repeat(3,1fr)}}@media (min-width:1536px){.sidebar-customisation__view-grid{grid-template-columns:repeat(4,1fr)}}.sidebar-customisation__view-item{align-items:center;background-color:var(--surface-secondary);border:1px solid var(--border-primary);border-radius:8px;display:flex;gap:12px;min-width:0;padding:12px}.sidebar-customisation__view-item--hidden{opacity:.5}.sidebar-customisation__view-icon{align-items:center;color:var(--fill-primary);display:flex;flex-shrink:0;height:24px;justify-content:center;width:24px}.sidebar-customisation__view-icon svg{height:24px;width:24px}.sidebar-customisation__view-label{color:var(--labels-main-label-primary,#121e52);font-family:var(--font-family-sans);font-size:var(--text-small-size);font-weight:var(--text-small-emphasis-weight);line-height:var(--text-small-line);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-customisation__actions{align-items:center;display:flex;gap:24px;margin-top:8px}.sidebar-customisation__save-btn{background-color:var(--fill-action);border:none;border-radius:8px;color:var(--labels-main-label-primary,#121e52);color:var(--label-white);cursor:pointer;font-family:var(--font-family-sans);font-size:var(--text-regular-size);font-weight:var(--text-regular-weight);font-weight:600;line-height:var(--text-regular-line);padding:10px 20px;transition:background-color .2s ease}.sidebar-customisation__save-btn:hover{background-color:var(--actions-dark)}.sidebar-customisation__save-btn:focus-visible{outline:2px solid var(--border-action);outline-offset:2px}.sidebar-customisation__reset-btn{background:none;border:none;color:var(--labels-main-label-primary,#121e52);color:var(--label-secondary);cursor:pointer;font-family:var(--font-family-sans);font-size:var(--text-small-size);font-weight:var(--text-small-weight);font-weight:500;line-height:var(--text-small-line);padding:0}.sidebar-customisation__reset-btn:hover{color:var(--label-primary);text-decoration:underline}";
|
|
3
|
+
var css_248z = ":root{--font-family-sans:\"Geist\",-apple-system,BlinkMacSystemFont,\"Segoe UI\",\"Roboto\",\"Helvetica Neue\",Arial,sans-serif;--font-family-mono:\"Geist Mono\",ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--heading-xxl-size:44px;--heading-xxl-line:48px;--heading-xxl-weight:600;--heading-xl-size:32px;--heading-xl-line:36px;--heading-xl-weight:700;--heading-h1-size:24px;--heading-h1-line:28px;--heading-h1-weight:600;--heading-h2-size:20px;--heading-h2-line:24px;--heading-h2-weight:600;--heading-h3-size:17px;--heading-h3-line:20px;--heading-h3-weight:600;--heading-h4-size:15px;--heading-h4-line:18px;--heading-h4-weight:600;--heading-h5-size:13px;--heading-h5-line:16px;--heading-h5-weight:500;--heading-h6-size:11px;--heading-h6-line:14px;--heading-h6-weight:500;--heading-xxl-mobile-size:32px;--heading-xxl-mobile-line:36px;--heading-xxl-mobile-weight:600;--heading-xl-mobile-size:26px;--heading-xl-mobile-line:30px;--heading-xl-mobile-weight:700;--heading-h1-mobile-size:20px;--heading-h1-mobile-line:23px;--heading-h1-mobile-weight:600;--heading-h2-mobile-size:18px;--heading-h2-mobile-line:22px;--heading-h2-mobile-weight:600;--heading-h3-mobile-size:16px;--heading-h3-mobile-line:18px;--heading-h3-mobile-weight:600;--heading-h4-mobile-size:14px;--heading-h4-mobile-line:16px;--heading-h4-mobile-weight:600;--heading-h5-mobile-size:13px;--heading-h5-mobile-line:16px;--heading-h5-mobile-weight:500;--heading-h6-mobile-size:11px;--heading-h6-mobile-line:14px;--heading-h6-mobile-weight:500;--text-xl-size:20px;--text-xl-line:26px;--text-xl-weight:400;--text-large-size:18px;--text-large-line:24px;--text-large-weight:400;--text-regular-size:15px;--text-regular-line:20px;--text-regular-weight:400;--text-small-size:13px;--text-small-line:16px;--text-small-weight:400;--text-small-emphasis-weight:500;--text-small-bold-weight:600;--text-xs-size:10px;--text-xs-line:13px;--text-xs-weight:500;--text-xs-bold-weight:600;--blue-50:#e7f4fc;--blue-100:#b4dbf6;--blue-200:#90caf2;--blue-300:#5eb2ec;--blue-400:#3ea3e8;--blue-500:#0e8ce2;--blue-600:#0d7fce;--blue-700:#0a63a0;--blue-800:#084d7c;--blue-900:#063b5f;--cyan-50:#eafbff;--cyan-75:#bdf3ff;--cyan-100:#aff1ff;--cyan-200:#9deeff;--cyan-300:#71e6ff;--cyan-400:#55e1ff;--cyan-500:#2bd9ff;--cyan-600:#27c5e8;--cyan-700:#1f9ab5;--cyan-800:#18778c;--cyan-900:#125b6b;--indigo-50:#efeffe;--indigo-100:#cdccfc;--indigo-200:#b4b4fa;--indigo-300:#9291f8;--indigo-400:#7c74ff;--indigo-500:#5d5bf4;--indigo-600:#5553de;--indigo-700:#4241ad;--indigo-800:#333286;--indigo-900:#272666;--green-50:#eef9ea;--green-100:#c9ecbd;--green-200:#afe39d;--green-300:#8bd671;--green-400:#75ce55;--green-500:#52c22b;--green-600:#4bb127;--green-700:#3a8a1f;--green-800:#2d6b18;--green-900:#225112;--red-50:#fceceb;--red-100:#f5c4c2;--red-200:#f1a8a4;--red-300:#ea807b;--red-400:#e66861;--red-500:#e0423a;--red-600:#cc3c35;--red-700:#9f2f29;--red-800:#7b2420;--red-900:#5e1c18;--purple-50:#efe6fd;--purple-100:#ceb0fa;--purple-200:#b78af7;--purple-300:#965ff4;--purple-400:#8133f1;--purple-500:#6200ee;--purple-600:#5900d9;--purple-700:#4600a9;--purple-800:#360083;--purple-900:#290064;--orange-50:#fff2e8;--orange-100:#fed7b6;--orange-200:#fec493;--orange-300:#fea962;--orange-400:#fd9843;--orange-500:#fd7e14;--orange-600:#e67312;--orange-700:#b4590e;--orange-800:#8b450b;--orange-900:#6a3508;--yellow-50:#fcf6e7;--yellow-100:#f6e3b4;--yellow-200:#f2d68f;--yellow-300:#ecc35c;--yellow-400:#fcc741;--yellow-500:#fbb912;--yellow-600:#e4a810;--yellow-700:#a07509;--yellow-800:#7c5b07;--yellow-900:#5f4505;--pink-50:#fdecf4;--pink-100:#f8c3db;--pink-200:#f4a6ca;--pink-300:#f07eb2;--pink-400:#ed65a3;--pink-500:#e83e8c;--pink-600:#d33874;--pink-700:#a52c63;--pink-800:#80224d;--pink-900:#611a3b;--teal-50:#e9faf7;--teal-100:#baf0e7;--teal-200:#99e8db;--teal-300:#6bdecb;--teal-400:#4ed8c1;--teal-500:#22ceb1;--teal-600:#1fbba1;--teal-700:#18927e;--teal-800:#137161;--teal-900:#0e574a;--neutral-white:#fff;--neutral-25:#f8f8fa;--neutral-50:#e8e9ef;--neutral-75:#d2d5e3;--neutral-100:#b6bacc;--neutral-200:#9399b3;--neutral-300:#626a90;--neutral-400:#433d7b;--neutral-500:#14215a;--neutral-600:#121e52;--neutral-700:#0e1740;--neutral-800:#0b1232;--neutral-900:#080e26;--neutral-black:#000;--purple-lightest:var(--purple-50);--purple-lighter:var(--purple-100);--purple-light:var(--purple-300);--purple-regular:var(--purple-500);--purple-dark:var(--purple-600);--purple-darker:var(--purple-800);--purple-darkest:var(--purple-900);--blue-lightest:var(--blue-50);--blue-lighter:var(--blue-100);--blue-light:var(--blue-300);--blue-regular:var(--blue-500);--blue-dark:var(--blue-600);--blue-darker:var(--blue-800);--blue-darkest:var(--blue-900);--indigo-lightest:var(--indigo-50);--indigo-lighter:var(--indigo-100);--indigo-light:var(--indigo-300);--indigo-regular:var(--indigo-500);--indigo-dark:var(--indigo-600);--indigo-darker:var(--indigo-800);--indigo-darkest:var(--indigo-900);--cyan-lightest:var(--cyan-50);--cyan-lighter:var(--cyan-100);--cyan-light:var(--cyan-300);--cyan-regular:var(--cyan-500);--cyan-dark:var(--cyan-700);--cyan-darker:var(--cyan-800);--cyan-darkest:var(--cyan-900);--red-lightest:var(--red-50);--red-lighter:var(--red-100);--red-light:var(--red-400);--red-regular:var(--red-500);--red-dark:var(--red-600);--red-darker:var(--red-800);--red-darkest:var(--red-900);--orange-lightest:var(--orange-50);--orange-lighter:var(--orange-100);--orange-light:var(--orange-300);--orange-regular:var(--orange-500);--orange-dark:var(--orange-600);--orange-darker:var(--orange-700);--orange-darkest:var(--orange-800);--yellow-lightest:var(--yellow-50);--yellow-lighter:var(--yellow-100);--yellow-light:var(--yellow-300);--yellow-regular:var(--yellow-500);--yellow-dark:var(--yellow-600);--yellow-darker:var(--yellow-800);--yellow-darkest:var(--yellow-900);--pink-lightest:var(--pink-50);--pink-lighter:var(--pink-100);--pink-light:var(--pink-300);--pink-regular:var(--pink-500);--pink-dark:var(--pink-600);--pink-darker:var(--pink-700);--pink-darkest:var(--pink-800);--green-lightest:var(--green-50);--green-lighter:var(--green-100);--green-light:var(--green-300);--green-regular:var(--green-500);--green-dark:var(--green-600);--green-darker:var(--green-800);--green-darkest:var(--green-900);--teal-lightest:var(--teal-50);--teal-lighter:var(--teal-100);--teal-light:var(--teal-300);--teal-regular:var(--teal-500);--teal-dark:var(--teal-600);--teal-darker:var(--teal-700);--teal-darkest:var(--teal-800);--tone-lightest:var(--neutral-white);--tone-lighter:var(--neutral-25);--tone-light:var(--neutral-50);--tone-regular:var(--neutral-75);--tone-dark:var(--neutral-100);--tone-darker:var(--neutral-200);--tone-darkest:var(--neutral-300);--shade-lightest:var(--neutral-400);--shade-lighter:var(--neutral-500);--shade-light:var(--neutral-600);--shade-regular:var(--neutral-700);--shade-dark:var(--neutral-800);--shade-darker:var(--neutral-900);--shade-darkest:var(--neutral-black);--highlight-lightest:var(--cyan-lightest);--highlight-lighter:var(--cyan-lighter);--highlight-light:var(--cyan-light);--highlight-regular:var(--blue-regular);--highlight-dark:var(--blue-dark);--highlight-darker:var(--blue-darker);--highlight-darkest:var(--blue-darkest);--success-lightest:var(--green-lightest);--success-lighter:var(--green-lighter);--success-light:var(--green-light);--success-regular:var(--green-regular);--success-dark:var(--green-dark);--success-darker:var(--green-darker);--success-darkest:var(--green-darkest);--errors-lightest:var(--red-lightest);--errors-lighter:var(--red-lighter);--errors-light:var(--red-light);--errors-regular:var(--red-regular);--errors-dark:var(--red-dark);--errors-darker:var(--red-darker);--errors-darkest:var(--red-darkest);--actions-lightest:var(--purple-50);--actions-lighter:var(--purple-lighter);--actions-light:var(--purple-light);--actions-regular:var(--purple-regular);--actions-dark:var(--purple-dark);--actions-darker:var(--purple-darker);--actions-darkest:var(--purple-darkest);--information-lightest:var(--blue-lightest);--information-lighter:var(--blue-lighter);--information-light:var(--blue-light);--information-regular:var(--blue-regular);--information-dark:var(--blue-dark);--information-darker:var(--blue-darker);--information-darkest:var(--blue-darkest);--alert-lightest:var(--yellow-lightest);--alert-lighter:var(--yellow-lighter);--alert-light:var(--orange-light);--alert-regular:var(--orange-regular);--alert-darker:var(--yellow-darker);--alert-darkest:var(--yellow-darkest);--danger-lightest:var(--red-lightest);--danger-lighter:var(--red-lighter);--danger-light:var(--red-light);--danger-regular:var(--red-regular);--danger-dark:var(--red-dark);--danger-darker:var(--red-darker);--danger-darkest:var(--red-darkest);--disabled-lightest:var(--tone-light);--disabled-lighter:var(--tone-regular);--disabled-light:var(--tone-dark);--disabled-regular:var(--tone-darker);--disabled-dark:var(--shade-lighter);--disabled-darker:var(--shade-light);--disabled-darkest:var(--shade-regular);--label-primary:var(--shade-light);--label-secondary:var(--tone-darkest);--label-secondary-hover:var(--shade-lighter);--label-white:var(--tone-lightest);--label-highlight:var(--highlight-dark);--label-action:var(--actions-regular);--label-danger:var(--danger-dark);--label-status-error:var(--errors-dark);--label-status-success:var(--success-darker);--label-status-info:var(--information-dark);--label-status-alert:var(--alert-regular);--label-status-disabled:var(--disabled-regular);--surface-primary:var(--tone-lightest);--surface-primary-hover:var(--tone-lighter);--surface-primary-pressed:var(--tone-light);--surface-secondary:var(--neutral-25);--surface-secondary-hover:var(--tone-light);--surface-secondary-pressed:var(--tone-regular);--surface-tertiary:var(--tone-light);--surface-tertiary-hover:var(--tone-lighter);--surface-tertiary-pressed:var(--tone-lightest);--surface-status-success:var(--success-lightest);--surface-status-error:var(--errors-lightest);--surface-status-alert:var(--alert-lightest);--surface-status-info:var(--information-lightest);--surface-status-disabled:var(--disabled-lighter);--surface-action-soft:var(--actions-lightest);--surface-action-soft-hover:var(--actions-lighter);--surface-action-soft-pressed:var(--actions-light);--surface-danger-soft:var(--danger-lightest);--surface-danger-soft-hover:var(--danger-lighter);--surface-danger-soft-pressed:var(--danger-light);--surface-highlight-soft:var(--highlight-lightest);--surface-colour-red-soft:var(--red-lightest);--surface-colour-green-soft:var(--green-lightest);--surface-colour-blue-soft:var(--blue-lightest);--surface-colour-orange-soft:var(--orange-lightest);--surface-colour-yellow-soft:var(--yellow-lightest);--surface-colour-purple-soft:var(--purple-lightest);--surface-colour-indigo-soft:var(--indigo-lightest);--surface-colour-cyan-soft:var(--cyan-lightest);--surface-colour-pink-soft:var(--pink-lightest);--surface-colour-teal-soft:var(--teal-lightest);--border-primary:var(--tone-light);--border-secondary:var(--tone-regular);--border-selected:var(--neutral-600);--border-action:var(--actions-regular);--border-status-error:var(--errors-lighter);--border-status-success:var(--success-lighter);--border-status-alert:var(--alert-lighter);--border-status-info:var(--information-lighter);--border-status-disabled:var(--disabled-lightest);--border-colour-overlay:#121e521a;--fill-primary:var(--shade-lighter);--fill-secondary:var(--tone-darkest);--fill-white:var(--tone-lightest);--fill-action:var(--actions-regular);--fill-highlight:var(--highlight-dark);--fill-danger:var(--danger-dark);--fill-status-success:var(--success-darker);--fill-status-error:var(--errors-dark);--fill-status-alert:var(--alert-regular);--fill-status-info:var(--information-regular);--fill-status-disabled:var(--disabled-light);--gradient-stop1:var(--purple-500);--gradient-stop2:var(--indigo-500);--gradient-stop3:var(--blue-500)}[data-theme=dark]{--label-primary:var(--tone-lighter);--label-secondary:var(--tone-darker);--label-secondary-hover:var(--tone-lighter);--label-white:var(--tone-lightest);--label-highlight:var(--highlight-light);--label-action:var(--actions-lighter);--label-danger:var(--danger-light);--label-status-error:var(--errors-light);--label-status-success:var(--success-light);--label-status-info:var(--information-light);--label-status-alert:var(--alert-light);--label-status-disabled:var(--disabled-regular);--surface-primary:var(--shade-darker);--surface-primary-hover:var(--shade-dark);--surface-primary-pressed:var(--shade-regular);--surface-secondary:var(--shade-dark);--surface-secondary-hover:var(--shade-darker);--surface-secondary-pressed:var(--shade-darkest);--surface-tertiary:var(--shade-regular);--surface-tertiary-hover:var(--shade-dark);--surface-tertiary-pressed:var(--shade-darker);--surface-status-success:var(--success-darkest);--surface-status-error:var(--errors-darkest);--surface-status-alert:var(--alert-darkest);--surface-status-info:var(--information-darkest);--surface-status-disabled:var(--disabled-darkest);--surface-action-soft:var(--actions-darkest);--surface-action-soft-hover:var(--actions-darker);--surface-action-soft-pressed:var(--actions-dark);--surface-danger-soft:var(--danger-darkest);--surface-danger-soft-hover:var(--danger-darker);--surface-danger-soft-pressed:var(--danger-dark);--surface-highlight-soft:var(--highlight-darkest);--surface-colour-red-soft:var(--red-darkest);--surface-colour-green-soft:var(--green-darkest);--surface-colour-blue-soft:var(--blue-darkest);--surface-colour-orange-soft:var(--orange-darkest);--surface-colour-yellow-soft:var(--yellow-darkest);--surface-colour-purple-soft:var(--purple-darkest);--surface-colour-indigo-soft:var(--indigo-darkest);--surface-colour-cyan-soft:var(--cyan-darkest);--surface-colour-pink-soft:var(--pink-darkest);--surface-colour-teal-soft:var(--teal-darkest);--border-primary:var(--shade-light);--border-secondary:var(--shade-dark);--border-selected:var(--tone-light);--border-action:var(--actions-light);--border-status-error:var(--errors-darker);--border-status-success:var(--success-darker);--border-status-alert:var(--alert-darker);--border-status-info:var(--information-darker);--border-status-disabled:var(--disabled-dark);--border-colour-overlay:#ffffff1a;--fill-primary:var(--tone-lighter);--fill-secondary:var(--tone-darker);--fill-white:var(--tone-lightest);--fill-action:var(--actions-lighter);--fill-highlight:var(--highlight-light);--fill-danger:var(--danger-light);--fill-status-success:var(--success-light);--fill-status-error:var(--errors-light);--fill-status-alert:var(--alert-light);--fill-status-info:var(--information-light);--fill-status-disabled:var(--disabled-dark);--gradient-stop1:var(--indigo-400);--gradient-stop2:var(--cyan-500);--gradient-stop3:var(--cyan-100)}.text-primary{color:var(--label-primary)}.text-secondary{color:var(--label-secondary)}.text-white{color:var(--label-white)}.text-action{color:var(--label-action)}.text-danger{color:var(--label-danger)}.text-success{color:var(--label-status-success)}.text-error{color:var(--label-status-error)}.text-info{color:var(--label-status-info)}.text-warning{color:var(--label-status-alert)}.text-disabled{color:var(--label-status-disabled)}.bg-primary{background-color:var(--surface-primary)}.bg-secondary{background-color:var(--surface-secondary)}.bg-tertiary{background-color:var(--surface-tertiary)}.bg-success{background-color:var(--surface-status-success)}.bg-error{background-color:var(--surface-status-error)}.bg-warning{background-color:var(--surface-status-alert)}.bg-info{background-color:var(--surface-status-info)}.bg-action-soft{background-color:var(--surface-action-soft)}.bg-danger-soft{background-color:var(--surface-danger-soft)}.border-primary{border-color:var(--border-primary)}.border-secondary{border-color:var(--border-secondary)}.border-selected{border-color:var(--border-selected)}.border-action{border-color:var(--border-action)}.border-success{border-color:var(--border-status-success)}.border-error{border-color:var(--border-status-error)}.border-warning{border-color:var(--border-status-alert)}.border-info{border-color:var(--border-status-info)}.sidebar-customisation{display:flex;flex-direction:column;font-family:var(--font-family-sans);gap:16px;width:100%}.sidebar-customisation__header{align-items:center;display:flex;justify-content:space-between}.sidebar-customisation__title{color:var(--label-primary);font-size:1rem;font-weight:600;line-height:1.2;margin:0}.sidebar-customisation__cancel-btn{align-items:center;background:#0000;border:none;border-radius:6px;color:var(--label-danger);cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;height:36px;justify-content:center;padding:0 12px;transition:background-color .2s ease;white-space:nowrap}.sidebar-customisation__cancel-btn:hover{background-color:var(--surface-danger-soft,#ef44441a)}.sidebar-customisation__cancel-btn:focus-visible{outline:2px solid var(--border-action);outline-offset:2px}.sidebar-customisation__grid{display:grid;gap:16px;grid-template-columns:1fr;width:100%}@media (min-width:768px){.sidebar-customisation__grid{grid-template-columns:repeat(2,1fr)}}@media (min-width:1024px){.sidebar-customisation__grid{grid-template-columns:repeat(3,1fr)}}@media (min-width:1536px){.sidebar-customisation__grid{grid-template-columns:repeat(4,1fr)}}.sidebar-customisation__view-grid{display:grid;gap:12px;grid-template-columns:1fr;width:100%}@media (min-width:768px){.sidebar-customisation__view-grid{grid-template-columns:repeat(2,1fr)}}@media (min-width:1024px){.sidebar-customisation__view-grid{grid-template-columns:repeat(3,1fr)}}@media (min-width:1536px){.sidebar-customisation__view-grid{grid-template-columns:repeat(4,1fr)}}.sidebar-customisation__view-item{align-items:center;background-color:var(--surface-secondary);border:1px solid var(--border-primary);border-radius:8px;display:flex;gap:12px;min-width:0;padding:12px}.sidebar-customisation__view-item--hidden{opacity:.5}.sidebar-customisation__view-icon{align-items:center;color:var(--fill-primary);display:flex;flex-shrink:0;height:24px;justify-content:center;width:24px}.sidebar-customisation__view-icon svg{height:24px;width:24px}.sidebar-customisation__view-label{color:var(--labels-main-label-primary,#121e52);font-family:var(--font-family-sans);font-size:var(--text-small-size);font-weight:var(--text-small-emphasis-weight);line-height:var(--text-small-line);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-customisation__actions{align-items:center;display:flex;gap:24px;margin-top:8px}.sidebar-customisation__save-btn{background-color:var(--fill-action);border:none;border-radius:8px;color:var(--labels-main-label-primary,#121e52);color:var(--label-white);cursor:pointer;font-family:var(--font-family-sans);font-size:var(--text-regular-size);font-weight:var(--text-regular-weight);font-weight:600;line-height:var(--text-regular-line);padding:10px 20px;transition:background-color .2s ease}.sidebar-customisation__save-btn:hover{background-color:var(--actions-dark)}.sidebar-customisation__save-btn:focus-visible{outline:2px solid var(--border-action);outline-offset:2px}.sidebar-customisation__reset-btn{background:none;border:none;color:var(--labels-main-label-primary,#121e52);color:var(--label-secondary);cursor:pointer;font-family:var(--font-family-sans);font-size:var(--text-small-size);font-weight:var(--text-small-weight);font-weight:500;line-height:var(--text-small-line);padding:0}.sidebar-customisation__reset-btn:hover{color:var(--label-primary);text-decoration:underline}";
|
|
4
4
|
styleInject(css_248z);
|
|
5
5
|
|
|
6
6
|
export { css_248z as default };
|
|
@@ -19,6 +19,7 @@ import '../../../components/Modal/DeleteModal.scss.js';
|
|
|
19
19
|
import { FormField } from '../../../components/FormField/FormField.js';
|
|
20
20
|
import '../../../components/WYSIWYGEditor/WYSIWYGEditor.scss.js';
|
|
21
21
|
import '../../../components/SectionHeader/SectionHeader.scss.js';
|
|
22
|
+
import '../../../components/Button/GhostButton.scss.js';
|
|
22
23
|
import '../../../components/Tooltip/Tooltip.js';
|
|
23
24
|
import '../../../components/UserAvatar/UserAvatar.scss.js';
|
|
24
25
|
import '../../../components/UserPanel/UserPanel.scss.js';
|
package/package.json
CHANGED
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
&__label-text {
|
|
63
|
-
font-family:
|
|
63
|
+
font-family: var(--font-family-sans);
|
|
64
64
|
font-weight: 500;
|
|
65
65
|
font-size: 13px;
|
|
66
66
|
line-height: 16px;
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
gap: 8px;
|
|
125
125
|
opacity: var(--opacity-80, 0.8);
|
|
126
126
|
color: var(--labels-main-label-secondary, #626A90);
|
|
127
|
-
font-family:
|
|
127
|
+
font-family: var(--font-family-sans);
|
|
128
128
|
font-size: 11px;
|
|
129
129
|
font-style: normal;
|
|
130
130
|
font-weight: 500;
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
.maintenance-page-title {
|
|
150
150
|
align-self: stretch;
|
|
151
151
|
color: var(--labels-main-label-primary, #121E52);
|
|
152
|
-
font-family:
|
|
152
|
+
font-family: var(--font-family-sans);
|
|
153
153
|
font-size: 32px;
|
|
154
154
|
font-style: normal;
|
|
155
155
|
font-weight: 700;
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
|
|
163
163
|
.maintenance-page-subheading {
|
|
164
164
|
color: var(--labels-main-label-primary, #121E52);
|
|
165
|
-
font-family:
|
|
165
|
+
font-family: var(--font-family-sans);
|
|
166
166
|
font-size: 20px;
|
|
167
167
|
font-style: normal;
|
|
168
168
|
font-weight: 600;
|
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
|
|
176
176
|
.maintenance-page-body {
|
|
177
177
|
color: var(--labels-main-label-primary, #121E52);
|
|
178
|
-
font-family:
|
|
178
|
+
font-family: var(--font-family-sans);
|
|
179
179
|
font-size: 20px;
|
|
180
180
|
font-style: normal;
|
|
181
181
|
font-weight: 400;
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
justify-content: center;
|
|
201
201
|
align-items: center;
|
|
202
202
|
gap: 8px;
|
|
203
|
-
font-family:
|
|
203
|
+
font-family: var(--font-family-sans);
|
|
204
204
|
font-size: 15px;
|
|
205
205
|
font-style: normal;
|
|
206
206
|
font-weight: 600;
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
gap: 8px;
|
|
223
223
|
border-color: none;
|
|
224
224
|
color: var(--labels-main-label-white, #FFF);
|
|
225
|
-
font-family:
|
|
225
|
+
font-family: var(--font-family-sans);
|
|
226
226
|
font-size: 15px;
|
|
227
227
|
font-style: normal;
|
|
228
228
|
font-weight: 600;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
import { Button } from "../v2/components/Button";
|
|
2
3
|
|
|
3
4
|
interface MaintenancePageProps {
|
|
4
5
|
svg: React.ReactNode;
|
|
@@ -32,12 +33,12 @@ export const MaintenancePage: React.FC<MaintenancePageProps> = ({
|
|
|
32
33
|
<h6 className="maintenance-page-body">{body}</h6>
|
|
33
34
|
|
|
34
35
|
{buttonLabel && (
|
|
35
|
-
<
|
|
36
|
-
|
|
36
|
+
<Button
|
|
37
|
+
variant="primary"
|
|
37
38
|
onClick={onButtonClick}
|
|
38
39
|
>
|
|
39
40
|
{buttonLabel}
|
|
40
|
-
</
|
|
41
|
+
</Button>
|
|
41
42
|
)}
|
|
42
43
|
|
|
43
44
|
<div className="maintenance-page-footer-logo">
|
|
@@ -29,7 +29,7 @@ export const PageNotFound: React.FC<PageNotFoundProps> = ({ app, buttonLabel, on
|
|
|
29
29
|
*/}
|
|
30
30
|
<MaintenancePage
|
|
31
31
|
svg={<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 64 64" fill="none">
|
|
32
|
-
<path d="M18 50H22V48H40V44H44V48H48V52H22V54H18V52H15.9863C14.8893 51.9997 14.0001 51.0894 14 50.0166V44H18V50ZM22 44H18V40H22V44ZM49.999 44H46V38H49.999V44ZM18 40H14V30H18V40ZM54 38H50V34H54V38ZM46 34H42V30H46V34ZM14 30H10V26H14V30ZM49.999 22V30H46V24H38V22H40V18H38V16H36V12H40L49.999 22ZM22 14H26V12H32V16H26V18H22V16H16V20H18V26H14V20H12V16H14V13.9834C14.0001 12.888 14.8951 12 15.9971 12H22V14ZM38 22H34V18H38V22Z" fill="#626A90" />
|
|
32
|
+
<path d="M18 50H22V48H40V44H44V48H48V52H22V54H18V52H15.9863C14.8893 51.9997 14.0001 51.0894 14 50.0166V44H18V50ZM22 44H18V40H22V44ZM49.999 44H46V38H49.999V44ZM18 40H14V30H18V40ZM54 38H50V34H54V38ZM46 34H42V30H46V34ZM14 30H10V26H14V30ZM49.999 22V30H46V24H38V22H40V18H38V16H36V12H40L49.999 22ZM22 14H26V12H32V16H26V18H22V16H16V20H18V26H14V20H12V16H14V13.9834C14.0001 12.888 14.8951 12 15.9971 12H22V14ZM38 22H34V18H38V22Z" fill="var(--fills-main-fill-secondary, #626A90)" />
|
|
33
33
|
</svg>}
|
|
34
34
|
title="Page not found."
|
|
35
35
|
subheading="It looks like that page doesn’t exist."
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.ghost-button {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
gap: 6px;
|
|
6
|
+
border-radius: 6px;
|
|
7
|
+
border: 1px solid var(--borders-main-border-primary, #E8E9EF);
|
|
8
|
+
background: transparent;
|
|
9
|
+
color: var(--labels-main-label-primary, #121E52);
|
|
10
|
+
font-family: var(--font-family-sans);
|
|
11
|
+
font-weight: 500;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
transition: background-color 0.2s ease;
|
|
15
|
+
|
|
16
|
+
&:hover:not(:disabled) {
|
|
17
|
+
background-color: var(--surfaces-main-background-tertiary, #E8E9EF);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:disabled {
|
|
21
|
+
cursor: default;
|
|
22
|
+
opacity: 0.5;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&:focus-visible {
|
|
26
|
+
outline: 2px solid var(--fills-main-fill-action, #6200EE);
|
|
27
|
+
outline-offset: 2px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--sm {
|
|
31
|
+
height: 28px;
|
|
32
|
+
padding: 0 8px 0 8px;
|
|
33
|
+
font-size: 13px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&--md {
|
|
37
|
+
height: 36px;
|
|
38
|
+
padding: 0 12px 0 8px;
|
|
39
|
+
font-size: 14px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&__icon {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
flex-shrink: 0;
|
|
47
|
+
|
|
48
|
+
svg {
|
|
49
|
+
width: 20px;
|
|
50
|
+
height: 20px;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react'
|
|
2
|
+
import './GhostButton.scss'
|
|
3
|
+
|
|
4
|
+
export interface GhostButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
5
|
+
icon?: React.ReactNode
|
|
6
|
+
size?: 'sm' | 'md'
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function GhostButton({
|
|
10
|
+
icon,
|
|
11
|
+
size = 'md',
|
|
12
|
+
className = '',
|
|
13
|
+
children,
|
|
14
|
+
...props
|
|
15
|
+
}: GhostButtonProps) {
|
|
16
|
+
const classes = [
|
|
17
|
+
'ghost-button',
|
|
18
|
+
`ghost-button--${size}`,
|
|
19
|
+
className
|
|
20
|
+
].filter(Boolean).join(' ')
|
|
21
|
+
|
|
22
|
+
return (
|
|
23
|
+
<button className={classes} {...props}>
|
|
24
|
+
{icon && <span className="ghost-button__icon">{icon}</span>}
|
|
25
|
+
{children && <span className="ghost-button__text">{children}</span>}
|
|
26
|
+
</button>
|
|
27
|
+
)
|
|
28
|
+
}
|
|
@@ -46,6 +46,9 @@ export type { SectionHeaderProps } from './SectionHeader'
|
|
|
46
46
|
export { Button, ButtonText } from './Button'
|
|
47
47
|
export type { ButtonProps, ButtonTextProps } from './Button'
|
|
48
48
|
|
|
49
|
+
export { GhostButton } from './Button/GhostButton'
|
|
50
|
+
export type { GhostButtonProps } from './Button/GhostButton'
|
|
51
|
+
|
|
49
52
|
export { Select } from './Select'
|
|
50
53
|
|
|
51
54
|
export { Tooltip } from './Tooltip'
|
|
@@ -76,6 +76,47 @@
|
|
|
76
76
|
&--collapsed {
|
|
77
77
|
justify-content: center;
|
|
78
78
|
}
|
|
79
|
+
|
|
80
|
+
&.provider-sidebar__link--active {
|
|
81
|
+
border-radius: 8px;
|
|
82
|
+
|
|
83
|
+
.entity-header {
|
|
84
|
+
background: transparent;
|
|
85
|
+
|
|
86
|
+
&:hover {
|
|
87
|
+
background: transparent;
|
|
88
|
+
|
|
89
|
+
.entity-header__badge {
|
|
90
|
+
background: rgba(255, 255, 255, 0.2);
|
|
91
|
+
|
|
92
|
+
span {
|
|
93
|
+
color: white;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.entity-header__name {
|
|
100
|
+
color: white;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.entity-header__badge {
|
|
104
|
+
background: rgba(255, 255, 255, 0.2);
|
|
105
|
+
|
|
106
|
+
span {
|
|
107
|
+
color: white;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.entity-header__placeholder span {
|
|
112
|
+
color: white;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.entity-header__placeholder svg circle {
|
|
116
|
+
fill: rgba(255, 255, 255, 0.2);
|
|
117
|
+
stroke: rgba(255, 255, 255, 0.6);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
79
120
|
}
|
|
80
121
|
|
|
81
122
|
&__avatar {
|
|
@@ -191,8 +191,8 @@ export const ProviderSidebar: React.FC<ProviderSidebarProps> = ({
|
|
|
191
191
|
|
|
192
192
|
|
|
193
193
|
{expanded ? (
|
|
194
|
-
<div
|
|
195
|
-
className=
|
|
194
|
+
<div
|
|
195
|
+
className={`provider-sidebar__header ${activePath?.startsWith('/profile') ? 'provider-sidebar__link--active' : ''}`}
|
|
196
196
|
onClick={() => handleNavClick('/profile')}
|
|
197
197
|
role="button"
|
|
198
198
|
tabIndex={0}
|
|
@@ -210,8 +210,8 @@ export const ProviderSidebar: React.FC<ProviderSidebarProps> = ({
|
|
|
210
210
|
</div>
|
|
211
211
|
) : (
|
|
212
212
|
<Tooltip content={providerName} side="right" sideOffset={8} delayDuration={100}>
|
|
213
|
-
<div
|
|
214
|
-
className=
|
|
213
|
+
<div
|
|
214
|
+
className={`provider-sidebar__header provider-sidebar__header--collapsed ${activePath?.startsWith('/profile') ? 'provider-sidebar__link--active' : ''}`}
|
|
215
215
|
onClick={() => handleNavClick('/profile')}
|
|
216
216
|
role="button"
|
|
217
217
|
tabIndex={0}
|
|
@@ -48,40 +48,6 @@
|
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
&__edit-btn {
|
|
52
|
-
display: inline-flex;
|
|
53
|
-
align-items: center;
|
|
54
|
-
justify-content: center;
|
|
55
|
-
gap: 6px;
|
|
56
|
-
height: 36px;
|
|
57
|
-
padding: 0 12px 0 4px;
|
|
58
|
-
border-radius: 6px;
|
|
59
|
-
border: none;
|
|
60
|
-
background: transparent;
|
|
61
|
-
color: var(--label-primary);
|
|
62
|
-
font-size: 14px;
|
|
63
|
-
font-weight: 500;
|
|
64
|
-
white-space: nowrap;
|
|
65
|
-
cursor: pointer;
|
|
66
|
-
transition: background-color 0.2s ease;
|
|
67
|
-
|
|
68
|
-
svg {
|
|
69
|
-
width: 20px;
|
|
70
|
-
height: 20px;
|
|
71
|
-
flex-shrink: 0;
|
|
72
|
-
fill: var(--fill-primary);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&:hover {
|
|
76
|
-
background-color: var(--surface-tertiary);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&:focus-visible {
|
|
80
|
-
outline: 2px solid var(--border-action);
|
|
81
|
-
outline-offset: 2px;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
51
|
// Edit mode grid - responsive columns
|
|
86
52
|
&__grid {
|
|
87
53
|
display: grid;
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
EditIcon,
|
|
14
14
|
} from '../../../icons'
|
|
15
15
|
import { Button } from 'src/v2/components'
|
|
16
|
+
import { GhostButton } from 'src/v2/components/Button/GhostButton'
|
|
16
17
|
|
|
17
18
|
export interface SidebarItem {
|
|
18
19
|
id: string
|
|
@@ -32,6 +33,7 @@ export interface SidebarCustomisationProps {
|
|
|
32
33
|
|
|
33
34
|
// Default sidebar items - IDs must match useProviderNavigation.tsx
|
|
34
35
|
export const defaultSidebarItems: SidebarItem[] = [
|
|
36
|
+
{ id: 'home', label: 'Home', icon: null, visible: true },
|
|
35
37
|
{ id: 'events', label: 'Dates & Events', icon: <CalendarIcon />, visible: true },
|
|
36
38
|
{ id: 'sales', label: 'Bookings & Enquiries', icon: <BookingsIcon />, visible: true },
|
|
37
39
|
{ id: 'product-sets', label: 'Booking Types', icon: <BookingTypesIcon />, visible: true },
|
|
@@ -54,8 +56,8 @@ export const SidebarCustomisation: React.FC<SidebarCustomisationProps> = ({
|
|
|
54
56
|
const [isEditing, setIsEditing] = useState(false)
|
|
55
57
|
|
|
56
58
|
useEffect(() => {
|
|
57
|
-
setItems(initialItems)
|
|
58
59
|
if (!isEditing) {
|
|
60
|
+
setItems(initialItems)
|
|
59
61
|
setItemsBeforeEdit(initialItems)
|
|
60
62
|
}
|
|
61
63
|
}, [initialItems, isEditing])
|
|
@@ -75,16 +77,17 @@ export const SidebarCustomisation: React.FC<SidebarCustomisationProps> = ({
|
|
|
75
77
|
}
|
|
76
78
|
|
|
77
79
|
const handleReset = () => {
|
|
78
|
-
// Reset form fields to defaults locally — only persisted if user clicks Save
|
|
79
80
|
const resetItems = items.map((item) => {
|
|
80
81
|
const defaultItem = defaultSidebarItems.find((d) => d.id === item.id)
|
|
81
82
|
return defaultItem ? { ...item, label: defaultItem.label } : item
|
|
82
83
|
})
|
|
83
84
|
setItems(resetItems)
|
|
85
|
+
onReset?.()
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
const handleCancel = () => {
|
|
87
89
|
setItems(itemsBeforeEdit)
|
|
90
|
+
onItemsChange?.(itemsBeforeEdit)
|
|
88
91
|
onCancel?.()
|
|
89
92
|
setIsEditing(false)
|
|
90
93
|
}
|
|
@@ -107,14 +110,12 @@ export const SidebarCustomisation: React.FC<SidebarCustomisationProps> = ({
|
|
|
107
110
|
Cancel
|
|
108
111
|
</button>
|
|
109
112
|
) : (
|
|
110
|
-
<
|
|
111
|
-
|
|
112
|
-
className="sidebar-customisation__edit-btn"
|
|
113
|
+
<GhostButton
|
|
114
|
+
icon={<EditIcon />}
|
|
113
115
|
onClick={handleEdit}
|
|
114
116
|
>
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
</button>
|
|
117
|
+
Edit Side Bar
|
|
118
|
+
</GhostButton>
|
|
118
119
|
)}
|
|
119
120
|
</div>
|
|
120
121
|
|
|
@@ -139,7 +140,6 @@ export const SidebarCustomisation: React.FC<SidebarCustomisationProps> = ({
|
|
|
139
140
|
<div className="sidebar-customisation__actions">
|
|
140
141
|
<Button
|
|
141
142
|
type="button"
|
|
142
|
-
className="sidebar-customisation__save-btn"
|
|
143
143
|
onClick={handleSave}
|
|
144
144
|
>
|
|
145
145
|
Save Changes
|