@worknice/whiteboard 0.68.0 → 0.69.0
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/controls/Action.stories.d.ts +2 -0
- package/dist/controls/Button.d.ts +3 -1
- package/dist/controls/Button.js +10 -2
- package/dist/controls/Button.stories.d.ts +3 -1
- package/dist/controls/ButtonLink.js +6 -0
- package/dist/controls/Disclosure.d.ts +1 -1
- package/dist/controls/Disclosure.js +2 -1
- package/dist/controls/Disclosure.stories.d.ts +3 -1
- package/dist/controls/MenuButton.d.ts +3 -1
- package/dist/controls/MenuButton.js +5 -2
- package/dist/controls/MenuButton.stories.d.ts +2 -1
- package/dist/hud/NavOrgLogo.d.ts +8 -0
- package/dist/hud/NavOrgLogo.js +45 -0
- package/dist/hud/NavOrgLogo.module.js +7 -0
- package/dist/hud/{NavTitle_module.css → NavOrgLogo_module.css} +8 -3
- package/dist/icons/components/CalendarPlus.d.ts +5 -0
- package/dist/icons/components/CalendarPlus.js +14 -0
- package/dist/icons/components/FileCirclePlus.d.ts +5 -0
- package/dist/icons/components/FileCirclePlus.js +14 -0
- package/dist/icons/components/index.d.ts +2 -0
- package/dist/icons/components/index.js +5 -1
- package/dist/icons/svgs/CalendarPlus.js +2 -0
- package/dist/icons/svgs/FileCirclePlus.js +2 -0
- package/dist/layouts/FullLayout.d.ts +3 -4
- package/dist/layouts/FullLayout.js +37 -38
- package/dist/layouts/FullLayout.module.js +4 -4
- package/dist/layouts/FullLayout_module.css +95 -71
- package/dist/presentation/Container_module.css +3 -3
- package/dist/presentation/Header.js +1 -0
- package/dist/presentation/Header.module.js +1 -0
- package/dist/presentation/Header_module.css +24 -3
- package/dist/presentation/PageHeader.d.ts +14 -0
- package/dist/presentation/PageHeader.js +36 -0
- package/dist/presentation/PageHeader.module.js +7 -0
- package/dist/presentation/PageHeader_module.css +19 -0
- package/dist/shared.css +0 -9
- package/dist/static/svg/CalendarPlus.svg +1 -0
- package/dist/static/svg/FileCirclePlus.svg +1 -0
- package/package.json +2 -2
- package/dist/hud/NavTitle.d.ts +0 -8
- package/dist/hud/NavTitle.js +0 -43
- package/dist/hud/NavTitle.module.js +0 -6
|
@@ -11,9 +11,11 @@ declare const meta: {
|
|
|
11
11
|
} & ({
|
|
12
12
|
children: import("react").ReactNode;
|
|
13
13
|
icon?: import("react").ReactNode;
|
|
14
|
+
iconRight?: import("react").ReactNode;
|
|
14
15
|
} | {
|
|
15
16
|
children?: import("react").ReactNode;
|
|
16
17
|
icon: import("react").ReactNode;
|
|
18
|
+
iconRight?: import("react").ReactNode;
|
|
17
19
|
})) & {
|
|
18
20
|
onClick: (event: React.MouseEvent) => void | Promise<void>;
|
|
19
21
|
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,13 +15,15 @@ type Props = {
|
|
|
15
15
|
} & ({
|
|
16
16
|
children: ReactNode;
|
|
17
17
|
icon?: ReactNode;
|
|
18
|
+
iconRight?: ReactNode;
|
|
18
19
|
} | {
|
|
19
20
|
children?: ReactNode;
|
|
20
21
|
/** The icon to render, use an instance of the Icon component */
|
|
21
22
|
icon: ReactNode;
|
|
23
|
+
iconRight?: ReactNode;
|
|
22
24
|
});
|
|
23
25
|
/**
|
|
24
26
|
* Main button component, using onClick to trigger the action. For links, use ButtonLink.
|
|
25
27
|
*/
|
|
26
|
-
declare const Button: ({ children, disabled, icon, id, onClick, size, type, title, tooltip, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
declare const Button: ({ children, disabled, icon, iconRight, id, onClick, size, type, title, tooltip, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
27
29
|
export default Button;
|
package/dist/controls/Button.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE__presentation_Tooltip_js_95312a0d__ from "../presentation/Tooltip.js";
|
|
6
6
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_TrackingContext_js_139012da__ from "../utils/TrackingContext.js";
|
|
7
7
|
import * as __WEBPACK_EXTERNAL_MODULE__Button_module_js_2e345e34__ from "./Button.module.js";
|
|
8
|
-
const ButtonElement = ({ children, disabled, icon, id, onClick, size, type, title, trackingContext })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("button", {
|
|
8
|
+
const ButtonElement = ({ children, disabled, icon, iconRight, id, onClick, size, type, title, trackingContext })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("button", {
|
|
9
9
|
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__Button_module_js_2e345e34__["default"].button, {
|
|
10
10
|
[__WEBPACK_EXTERNAL_MODULE__Button_module_js_2e345e34__["default"].primary]: "submit" === type || "primary" === type,
|
|
11
11
|
[__WEBPACK_EXTERNAL_MODULE__Button_module_js_2e345e34__["default"].danger]: "danger" === type,
|
|
@@ -23,20 +23,27 @@ const ButtonElement = ({ children, disabled, icon, id, onClick, size, type, titl
|
|
|
23
23
|
type: "submit" === type ? "submit" : "button",
|
|
24
24
|
children: [
|
|
25
25
|
icon ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
26
|
+
"data-button-part": "icon",
|
|
26
27
|
children: icon
|
|
27
28
|
}) : null,
|
|
28
29
|
children ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
30
|
+
"data-button-part": "label",
|
|
29
31
|
children: children
|
|
32
|
+
}) : null,
|
|
33
|
+
iconRight ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
34
|
+
"data-button-part": "icon-right",
|
|
35
|
+
children: iconRight
|
|
30
36
|
}) : null
|
|
31
37
|
]
|
|
32
38
|
});
|
|
33
|
-
const Button = ({ children, disabled, icon, id, onClick, size, type = "primary", title, tooltip })=>{
|
|
39
|
+
const Button = ({ children, disabled, icon, iconRight, id, onClick, size, type = "primary", title, tooltip })=>{
|
|
34
40
|
const trackingContext = (0, __WEBPACK_EXTERNAL_MODULE_react__.useContext)(__WEBPACK_EXTERNAL_MODULE__utils_TrackingContext_js_139012da__["default"]);
|
|
35
41
|
return tooltip ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__presentation_Tooltip_js_95312a0d__["default"], {
|
|
36
42
|
content: tooltip,
|
|
37
43
|
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ButtonElement, {
|
|
38
44
|
disabled: disabled,
|
|
39
45
|
icon: icon,
|
|
46
|
+
iconRight: iconRight,
|
|
40
47
|
id: id,
|
|
41
48
|
onClick: onClick,
|
|
42
49
|
size: size,
|
|
@@ -49,6 +56,7 @@ const Button = ({ children, disabled, icon, id, onClick, size, type = "primary",
|
|
|
49
56
|
}) : /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(ButtonElement, {
|
|
50
57
|
disabled: disabled,
|
|
51
58
|
icon: icon,
|
|
59
|
+
iconRight: iconRight,
|
|
52
60
|
id: id,
|
|
53
61
|
onClick: onClick,
|
|
54
62
|
size: size,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StoryObj } from "@storybook/nextjs-vite";
|
|
2
2
|
declare const meta: {
|
|
3
|
-
component: ({ children, disabled, icon, id, onClick, size, type, title, tooltip, }: {
|
|
3
|
+
component: ({ children, disabled, icon, iconRight, id, onClick, size, type, title, tooltip, }: {
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
id?: string;
|
|
6
6
|
onClick?: (event: React.MouseEvent) => void;
|
|
@@ -11,9 +11,11 @@ declare const meta: {
|
|
|
11
11
|
} & ({
|
|
12
12
|
children: import("react").ReactNode;
|
|
13
13
|
icon?: import("react").ReactNode;
|
|
14
|
+
iconRight?: import("react").ReactNode;
|
|
14
15
|
} | {
|
|
15
16
|
children?: import("react").ReactNode;
|
|
16
17
|
icon: import("react").ReactNode;
|
|
18
|
+
iconRight?: import("react").ReactNode;
|
|
17
19
|
})) => import("react/jsx-runtime").JSX.Element;
|
|
18
20
|
argTypes: {
|
|
19
21
|
id: {
|
|
@@ -13,12 +13,15 @@ const ButtonLink = ({ children, disabled, download, external, href, icon, iconRi
|
|
|
13
13
|
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__["default"].button, __WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__["default"].disabled, __WEBPACK_EXTERNAL_MODULE__ButtonLink_module_js_d4c014da__["default"].small),
|
|
14
14
|
children: [
|
|
15
15
|
icon ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
16
|
+
"data-button-part": "icon",
|
|
16
17
|
children: icon
|
|
17
18
|
}) : null,
|
|
18
19
|
children ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
20
|
+
"data-button-part": "label",
|
|
19
21
|
children: children
|
|
20
22
|
}) : null,
|
|
21
23
|
iconRight ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
24
|
+
"data-button-part": "icon-right",
|
|
22
25
|
children: iconRight
|
|
23
26
|
}) : null
|
|
24
27
|
]
|
|
@@ -38,12 +41,15 @@ const ButtonLink = ({ children, disabled, download, external, href, icon, iconRi
|
|
|
38
41
|
target: external ? "_blank" : "_self",
|
|
39
42
|
children: [
|
|
40
43
|
icon ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
44
|
+
"data-button-part": "icon",
|
|
41
45
|
children: icon
|
|
42
46
|
}) : null,
|
|
43
47
|
children ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
48
|
+
"data-button-part": "label",
|
|
44
49
|
children: children
|
|
45
50
|
}) : null,
|
|
46
51
|
iconRight ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
52
|
+
"data-button-part": "icon-right",
|
|
47
53
|
children: iconRight
|
|
48
54
|
}) : null
|
|
49
55
|
]
|
|
@@ -7,5 +7,5 @@ type Props = ComponentProps<typeof Button> & {
|
|
|
7
7
|
* A disclosure component that renders a component when clicked.
|
|
8
8
|
* It is intended to be used with a modal or a confirmation modal.
|
|
9
9
|
*/
|
|
10
|
-
declare const Disclosure: ({ render, children, disabled, icon, id, size, title, tooltip, type, }: Omit<Props, "onClick">) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const Disclosure: ({ render, children, disabled, icon, iconRight, id, size, title, tooltip, type, }: Omit<Props, "onClick">) => import("react/jsx-runtime").JSX.Element;
|
|
11
11
|
export default Disclosure;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
2
|
import * as __WEBPACK_EXTERNAL_MODULE_react__ from "react";
|
|
3
3
|
import * as __WEBPACK_EXTERNAL_MODULE__Button_js_17bdd71d__ from "./Button.js";
|
|
4
|
-
const Disclosure = ({ render, children, disabled, icon, id, size, title, tooltip, type = "secondary" })=>{
|
|
4
|
+
const Disclosure = ({ render, children, disabled, icon, iconRight, id, size, title, tooltip, type = "secondary" })=>{
|
|
5
5
|
const [open, setOpen] = (0, __WEBPACK_EXTERNAL_MODULE_react__.useState)(false);
|
|
6
6
|
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
7
7
|
children: [
|
|
@@ -12,6 +12,7 @@ const Disclosure = ({ render, children, disabled, icon, id, size, title, tooltip
|
|
|
12
12
|
title: title,
|
|
13
13
|
disabled: disabled,
|
|
14
14
|
icon: icon,
|
|
15
|
+
iconRight: iconRight,
|
|
15
16
|
id: id,
|
|
16
17
|
onClick: ()=>{
|
|
17
18
|
setOpen((current)=>!current);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StoryObj } from "@storybook/nextjs-vite";
|
|
2
2
|
declare const meta: {
|
|
3
|
-
component: ({ render, children, disabled, icon, id, size, title, tooltip, type, }: Omit<({
|
|
3
|
+
component: ({ render, children, disabled, icon, iconRight, id, size, title, tooltip, type, }: Omit<({
|
|
4
4
|
disabled?: boolean;
|
|
5
5
|
id?: string;
|
|
6
6
|
onClick?: (event: React.MouseEvent) => void;
|
|
@@ -11,9 +11,11 @@ declare const meta: {
|
|
|
11
11
|
} & ({
|
|
12
12
|
children: import("react").ReactNode;
|
|
13
13
|
icon?: import("react").ReactNode;
|
|
14
|
+
iconRight?: import("react").ReactNode;
|
|
14
15
|
} | {
|
|
15
16
|
children?: import("react").ReactNode;
|
|
16
17
|
icon: import("react").ReactNode;
|
|
18
|
+
iconRight?: import("react").ReactNode;
|
|
17
19
|
})) & {
|
|
18
20
|
render: (onClose: () => void) => import("react").ReactNode;
|
|
19
21
|
}, "onClick">) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type Placement } from "@floating-ui/react";
|
|
1
2
|
import { type ReactNode } from "react";
|
|
2
3
|
type Option = {
|
|
3
4
|
id: string;
|
|
@@ -27,6 +28,7 @@ type Props = {
|
|
|
27
28
|
displaySearch?: boolean;
|
|
28
29
|
iconRight?: ReactNode;
|
|
29
30
|
fullWidth?: boolean;
|
|
31
|
+
placement?: Placement;
|
|
30
32
|
} & ({
|
|
31
33
|
children: ReactNode;
|
|
32
34
|
icon?: ReactNode;
|
|
@@ -45,6 +47,6 @@ type Props = {
|
|
|
45
47
|
options: Array<Option | null>;
|
|
46
48
|
}>;
|
|
47
49
|
});
|
|
48
|
-
declare const MenuButton: ({ autoFocus, ariaLabel, disabled, id, size, type, options, optionGroups, searchPlaceholder, children, icon, iconRight, displaySearch, fullWidth, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
declare const MenuButton: ({ autoFocus, ariaLabel, disabled, id, size, type, options, optionGroups, searchPlaceholder, children, icon, iconRight, displaySearch, fullWidth, placement, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
49
51
|
export default MenuButton;
|
|
50
52
|
export type { Option as MenuButtonOption };
|
|
@@ -16,7 +16,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__utils_search_js_89d5ae26__ from "../utils
|
|
|
16
16
|
import * as __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_47529181__ from "../utils/useNextContext.js";
|
|
17
17
|
import * as __WEBPACK_EXTERNAL_MODULE__Button_js_17bdd71d__ from "./Button.js";
|
|
18
18
|
import * as __WEBPACK_EXTERNAL_MODULE__MenuButton_module_js_872b1a55__ from "./MenuButton.module.js";
|
|
19
|
-
const MenuButton = ({ autoFocus = false, ariaLabel, disabled = false, id, size = "normal", type = "secondary", options, optionGroups, searchPlaceholder, children, icon, iconRight, displaySearch = false, fullWidth = false })=>{
|
|
19
|
+
const MenuButton = ({ autoFocus = false, ariaLabel, disabled = false, id, size = "normal", type = "secondary", options, optionGroups, searchPlaceholder, children, icon, iconRight, displaySearch = false, fullWidth = false, placement = "bottom-start" })=>{
|
|
20
20
|
const listboxId = (0, __WEBPACK_EXTERNAL_MODULE_react__.useId)();
|
|
21
21
|
const generatedButtonId = (0, __WEBPACK_EXTERNAL_MODULE_react__.useId)();
|
|
22
22
|
const buttonId = id ?? generatedButtonId;
|
|
@@ -53,7 +53,7 @@ const MenuButton = ({ autoFocus = false, ariaLabel, disabled = false, id, size =
|
|
|
53
53
|
setSearchTerm("");
|
|
54
54
|
},
|
|
55
55
|
whileElementsMounted: __WEBPACK_EXTERNAL_MODULE__floating_ui_react_3ddd630a__.autoUpdate,
|
|
56
|
-
placement
|
|
56
|
+
placement,
|
|
57
57
|
middleware: [
|
|
58
58
|
(0, __WEBPACK_EXTERNAL_MODULE__floating_ui_react_3ddd630a__.flip)(),
|
|
59
59
|
(0, __WEBPACK_EXTERNAL_MODULE__floating_ui_react_3ddd630a__.offset)(4),
|
|
@@ -268,12 +268,15 @@ const MenuButton = ({ autoFocus = false, ariaLabel, disabled = false, id, size =
|
|
|
268
268
|
loading ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_Loading_js_dc1ebb83__["default"], {
|
|
269
269
|
animate: true
|
|
270
270
|
}) : icon ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
271
|
+
"data-button-part": "icon",
|
|
271
272
|
children: icon
|
|
272
273
|
}) : null,
|
|
273
274
|
children ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
275
|
+
"data-button-part": "label",
|
|
274
276
|
children: children
|
|
275
277
|
}) : null,
|
|
276
278
|
iconRight ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("span", {
|
|
279
|
+
"data-button-part": "icon-right",
|
|
277
280
|
children: iconRight
|
|
278
281
|
}) : null
|
|
279
282
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { StoryObj } from "@storybook/nextjs-vite";
|
|
2
2
|
declare const meta: {
|
|
3
|
-
component: ({ autoFocus, ariaLabel, disabled, id, size, type, options, optionGroups, searchPlaceholder, children, icon, iconRight, displaySearch, fullWidth, }: {
|
|
3
|
+
component: ({ autoFocus, ariaLabel, disabled, id, size, type, options, optionGroups, searchPlaceholder, children, icon, iconRight, displaySearch, fullWidth, placement, }: {
|
|
4
4
|
autoFocus?: boolean;
|
|
5
5
|
ariaLabel?: string;
|
|
6
6
|
disabled?: boolean;
|
|
@@ -11,6 +11,7 @@ declare const meta: {
|
|
|
11
11
|
displaySearch?: boolean;
|
|
12
12
|
iconRight?: import("react").ReactNode;
|
|
13
13
|
fullWidth?: boolean;
|
|
14
|
+
placement?: import("@floating-ui/react-dom").Placement;
|
|
14
15
|
} & (({
|
|
15
16
|
children: import("react").ReactNode;
|
|
16
17
|
icon?: import("react").ReactNode;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE_clsx__ from "clsx";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__worknice_whiteboard_presentation_Badge_506c1dd3__ from "@worknice/whiteboard/presentation/Badge";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__worknice_whiteboard_presentation_PlainText_c60690e6__ from "@worknice/whiteboard/presentation/PlainText";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_47529181__ from "../utils/useNextContext.js";
|
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE__NavOrgLogo_module_js_c2323e5a__ from "./NavOrgLogo.module.js";
|
|
8
|
+
const NavOrgLogo = ({ demo, href, logo, title })=>{
|
|
9
|
+
const { Link } = (0, __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_47529181__["default"])();
|
|
10
|
+
return /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)(Link, {
|
|
11
|
+
href: href,
|
|
12
|
+
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__NavOrgLogo_module_js_c2323e5a__["default"].container, __WEBPACK_EXTERNAL_MODULE__NavOrgLogo_module_js_c2323e5a__["default"].link),
|
|
13
|
+
title: title,
|
|
14
|
+
children: [
|
|
15
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
16
|
+
className: __WEBPACK_EXTERNAL_MODULE__NavOrgLogo_module_js_c2323e5a__["default"].logo,
|
|
17
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("img", {
|
|
18
|
+
src: logo,
|
|
19
|
+
alt: ""
|
|
20
|
+
})
|
|
21
|
+
}),
|
|
22
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
23
|
+
style: {
|
|
24
|
+
overflow: "hidden",
|
|
25
|
+
display: "grid"
|
|
26
|
+
},
|
|
27
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__worknice_whiteboard_presentation_PlainText_c60690e6__["default"], {
|
|
28
|
+
font: "regular-bold",
|
|
29
|
+
tone: "default",
|
|
30
|
+
truncate: true,
|
|
31
|
+
children: title
|
|
32
|
+
})
|
|
33
|
+
}),
|
|
34
|
+
demo ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
35
|
+
className: __WEBPACK_EXTERNAL_MODULE__NavOrgLogo_module_js_c2323e5a__["default"].demo,
|
|
36
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__worknice_whiteboard_presentation_Badge_506c1dd3__["default"], {
|
|
37
|
+
color: "grey",
|
|
38
|
+
children: "Demo"
|
|
39
|
+
})
|
|
40
|
+
}) : null
|
|
41
|
+
]
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
const NavOrgLogo_rslib_entry_ = NavOrgLogo;
|
|
45
|
+
export { NavOrgLogo_rslib_entry_ as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.container-
|
|
1
|
+
.container-M4y0wy {
|
|
2
2
|
--logo-size: 48px;
|
|
3
3
|
--image-size: 48px;
|
|
4
4
|
border-radius: 11px;
|
|
@@ -11,7 +11,12 @@
|
|
|
11
11
|
display: grid;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.
|
|
14
|
+
.link-s4hzH2 {
|
|
15
|
+
color: inherit;
|
|
16
|
+
text-decoration: none;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.logo-nGmSzb {
|
|
15
20
|
height: var(--logo-size);
|
|
16
21
|
width: var(--logo-size);
|
|
17
22
|
background: #fff;
|
|
@@ -22,7 +27,7 @@
|
|
|
22
27
|
box-shadow: 0 0 0 .5px #3c3c435c;
|
|
23
28
|
}
|
|
24
29
|
|
|
25
|
-
.logo-
|
|
30
|
+
.logo-nGmSzb img {
|
|
26
31
|
height: var(--image-size);
|
|
27
32
|
max-width: none;
|
|
28
33
|
width: var(--image-size);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__createIcon_js_4dc54f83__ from "../createIcon.js";
|
|
3
|
+
const CalendarPlusSvg = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
viewBox: "0 0 640 640",
|
|
6
|
+
"aria-hidden": "true",
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
10
|
+
d: "M216 64C229.3 64 240 74.7 240 88L240 128L400 128L400 88C400 74.7 410.7 64 424 64C437.3 64 448 74.7 448 88L448 128L480 128C515.3 128 544 156.7 544 192L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 192C96 156.7 124.7 128 160 128L192 128L192 88C192 74.7 202.7 64 216 64zM216 176L160 176C151.2 176 144 183.2 144 192L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 192C496 183.2 488.8 176 480 176L216 176zM320 240C333.3 240 344 250.7 344 264L344 312L392 312C405.3 312 416 322.7 416 336C416 349.3 405.3 360 392 360L344 360L344 408C344 421.3 333.3 432 320 432C306.7 432 296 421.3 296 408L296 360L248 360C234.7 360 224 349.3 224 336C224 322.7 234.7 312 248 312L296 312L296 264C296 250.7 306.7 240 320 240z"
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
const CalendarPlus_rslib_entry_ = (0, __WEBPACK_EXTERNAL_MODULE__createIcon_js_4dc54f83__.createIcon)(CalendarPlusSvg);
|
|
14
|
+
export { CalendarPlus_rslib_entry_ as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE__createIcon_js_4dc54f83__ from "../createIcon.js";
|
|
3
|
+
const FileCirclePlusSvg = (props)=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("svg", {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
viewBox: "0 0 640 640",
|
|
6
|
+
"aria-hidden": "true",
|
|
7
|
+
fill: "currentColor",
|
|
8
|
+
...props,
|
|
9
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("path", {
|
|
10
|
+
d: "M240 112L128 112C119.2 112 112 119.2 112 128L112 512C112 520.8 119.2 528 128 528L282.9 528C289 545.3 297.5 561.4 308 576L128 576C92.7 576 64 547.3 64 512L64 128C64 92.7 92.7 64 128 64L261.5 64C278.5 64 294.8 70.7 306.8 82.7L429.3 205.3C441.3 217.3 448 233.6 448 250.6L448 272.1L312 272.1C272.2 272.1 240 239.9 240 200.1L240 112.1zM380.1 224L288 131.9L288 200C288 213.3 298.7 224 312 224L380.1 224zM464 320C543.5 320 608 384.5 608 464C608 543.5 543.5 608 464 608C384.5 608 320 543.5 320 464C320 384.5 384.5 320 464 320zM480 400C480 391.2 472.8 384 464 384C455.2 384 448 391.2 448 400L448 448L400 448C391.2 448 384 455.2 384 464C384 472.8 391.2 480 400 480L448 480L448 528C448 536.8 455.2 544 464 544C472.8 544 480 536.8 480 528L480 480L528 480C536.8 480 544 472.8 544 464C544 455.2 536.8 448 528 448L480 448L480 400z"
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
const FileCirclePlus_rslib_entry_ = (0, __WEBPACK_EXTERNAL_MODULE__createIcon_js_4dc54f83__.createIcon)(FileCirclePlusSvg);
|
|
14
|
+
export { FileCirclePlus_rslib_entry_ as default };
|
|
@@ -17,6 +17,7 @@ export { default as Bolt } from "./Bolt";
|
|
|
17
17
|
export { default as BookOpenLines } from "./BookOpenLines";
|
|
18
18
|
export { default as Bug } from "./Bug";
|
|
19
19
|
export { default as Calendar } from "./Calendar";
|
|
20
|
+
export { default as CalendarPlus } from "./CalendarPlus";
|
|
20
21
|
export { default as Cancel } from "./Cancel";
|
|
21
22
|
export { default as CaratDown } from "./CaratDown";
|
|
22
23
|
export { default as CaratLeft } from "./CaratLeft";
|
|
@@ -42,6 +43,7 @@ export { default as Email } from "./Email";
|
|
|
42
43
|
export { default as EmergencyContact } from "./EmergencyContact";
|
|
43
44
|
export { default as Events } from "./Events";
|
|
44
45
|
export { default as External } from "./External";
|
|
46
|
+
export { default as FileCirclePlus } from "./FileCirclePlus";
|
|
45
47
|
export { default as FileExport } from "./FileExport";
|
|
46
48
|
export { default as Filter } from "./Filter";
|
|
47
49
|
export { default as FilterList } from "./FilterList";
|
|
@@ -17,6 +17,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__Bolt_js_bc9530b4__ from "./Bolt.js";
|
|
|
17
17
|
import * as __WEBPACK_EXTERNAL_MODULE__BookOpenLines_js_26283204__ from "./BookOpenLines.js";
|
|
18
18
|
import * as __WEBPACK_EXTERNAL_MODULE__Bug_js_35fe86cc__ from "./Bug.js";
|
|
19
19
|
import * as __WEBPACK_EXTERNAL_MODULE__Calendar_js_88f7807d__ from "./Calendar.js";
|
|
20
|
+
import * as __WEBPACK_EXTERNAL_MODULE__CalendarPlus_js_36447c7d__ from "./CalendarPlus.js";
|
|
20
21
|
import * as __WEBPACK_EXTERNAL_MODULE__Cancel_js_46715474__ from "./Cancel.js";
|
|
21
22
|
import * as __WEBPACK_EXTERNAL_MODULE__CaratDown_js_a65ce237__ from "./CaratDown.js";
|
|
22
23
|
import * as __WEBPACK_EXTERNAL_MODULE__CaratLeft_js_ee0c1462__ from "./CaratLeft.js";
|
|
@@ -42,6 +43,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__Email_js_312f1c70__ from "./Email.js";
|
|
|
42
43
|
import * as __WEBPACK_EXTERNAL_MODULE__EmergencyContact_js_8107fe89__ from "./EmergencyContact.js";
|
|
43
44
|
import * as __WEBPACK_EXTERNAL_MODULE__Events_js_f62d9e1f__ from "./Events.js";
|
|
44
45
|
import * as __WEBPACK_EXTERNAL_MODULE__External_js_f57b3137__ from "./External.js";
|
|
46
|
+
import * as __WEBPACK_EXTERNAL_MODULE__FileCirclePlus_js_8a998d41__ from "./FileCirclePlus.js";
|
|
45
47
|
import * as __WEBPACK_EXTERNAL_MODULE__FileExport_js_b58980f9__ from "./FileExport.js";
|
|
46
48
|
import * as __WEBPACK_EXTERNAL_MODULE__Filter_js_962e7a68__ from "./Filter.js";
|
|
47
49
|
import * as __WEBPACK_EXTERNAL_MODULE__FilterList_js_14d71870__ from "./FilterList.js";
|
|
@@ -128,6 +130,7 @@ var __webpack_exports__Bolt = __WEBPACK_EXTERNAL_MODULE__Bolt_js_bc9530b4__["def
|
|
|
128
130
|
var __webpack_exports__BookOpenLines = __WEBPACK_EXTERNAL_MODULE__BookOpenLines_js_26283204__["default"];
|
|
129
131
|
var __webpack_exports__Bug = __WEBPACK_EXTERNAL_MODULE__Bug_js_35fe86cc__["default"];
|
|
130
132
|
var __webpack_exports__Calendar = __WEBPACK_EXTERNAL_MODULE__Calendar_js_88f7807d__["default"];
|
|
133
|
+
var __webpack_exports__CalendarPlus = __WEBPACK_EXTERNAL_MODULE__CalendarPlus_js_36447c7d__["default"];
|
|
131
134
|
var __webpack_exports__Cancel = __WEBPACK_EXTERNAL_MODULE__Cancel_js_46715474__["default"];
|
|
132
135
|
var __webpack_exports__CaratDown = __WEBPACK_EXTERNAL_MODULE__CaratDown_js_a65ce237__["default"];
|
|
133
136
|
var __webpack_exports__CaratLeft = __WEBPACK_EXTERNAL_MODULE__CaratLeft_js_ee0c1462__["default"];
|
|
@@ -153,6 +156,7 @@ var __webpack_exports__Email = __WEBPACK_EXTERNAL_MODULE__Email_js_312f1c70__["d
|
|
|
153
156
|
var __webpack_exports__EmergencyContact = __WEBPACK_EXTERNAL_MODULE__EmergencyContact_js_8107fe89__["default"];
|
|
154
157
|
var __webpack_exports__Events = __WEBPACK_EXTERNAL_MODULE__Events_js_f62d9e1f__["default"];
|
|
155
158
|
var __webpack_exports__External = __WEBPACK_EXTERNAL_MODULE__External_js_f57b3137__["default"];
|
|
159
|
+
var __webpack_exports__FileCirclePlus = __WEBPACK_EXTERNAL_MODULE__FileCirclePlus_js_8a998d41__["default"];
|
|
156
160
|
var __webpack_exports__FileExport = __WEBPACK_EXTERNAL_MODULE__FileExport_js_b58980f9__["default"];
|
|
157
161
|
var __webpack_exports__Filter = __WEBPACK_EXTERNAL_MODULE__Filter_js_962e7a68__["default"];
|
|
158
162
|
var __webpack_exports__FilterList = __WEBPACK_EXTERNAL_MODULE__FilterList_js_14d71870__["default"];
|
|
@@ -220,4 +224,4 @@ var __webpack_exports__UserPlus = __WEBPACK_EXTERNAL_MODULE__UserPlus_js_796202e
|
|
|
220
224
|
var __webpack_exports__Visible = __WEBPACK_EXTERNAL_MODULE__Visible_js_aa1c6acc__["default"];
|
|
221
225
|
var __webpack_exports__Warning = __WEBPACK_EXTERNAL_MODULE__Warning_js_d0de15e9__["default"];
|
|
222
226
|
var __webpack_exports__Workflows = __WEBPACK_EXTERNAL_MODULE__Workflows_js_35639a49__["default"];
|
|
223
|
-
export { __webpack_exports__Approval as Approval, __webpack_exports__Apps as Apps, __webpack_exports__Archive as Archive, __webpack_exports__ArrowLeft as ArrowLeft, __webpack_exports__ArrowRight as ArrowRight, __webpack_exports__ArrowTurnLeftUp as ArrowTurnLeftUp, __webpack_exports__ArrowsCompress as ArrowsCompress, __webpack_exports__ArrowsExpand as ArrowsExpand, __webpack_exports__ArrowsUpDown as ArrowsUpDown, __webpack_exports__Assign as Assign, __webpack_exports__AssignmentCertificate as AssignmentCertificate, __webpack_exports__AssignmentDocument as AssignmentDocument, __webpack_exports__AssignmentForm as AssignmentForm, __webpack_exports__AssignmentQuestionnaire as AssignmentQuestionnaire, __webpack_exports__BankAccount as BankAccount, __webpack_exports__Bolt as Bolt, __webpack_exports__BookOpenLines as BookOpenLines, __webpack_exports__Bug as Bug, __webpack_exports__Calendar as Calendar, __webpack_exports__Cancel as Cancel, __webpack_exports__CaratDown as CaratDown, __webpack_exports__CaratLeft as CaratLeft, __webpack_exports__CaratRight as CaratRight, __webpack_exports__CaratUp as CaratUp, __webpack_exports__CheckMark as CheckMark, __webpack_exports__ChevronDown as ChevronDown, __webpack_exports__ChevronLeft as ChevronLeft, __webpack_exports__ChevronRight as ChevronRight, __webpack_exports__ChevronUp as ChevronUp, __webpack_exports__Clock as Clock, __webpack_exports__Close as Close, __webpack_exports__Columns as Columns, __webpack_exports__Comment as Comment, __webpack_exports__Copy as Copy, __webpack_exports__Dash as Dash, __webpack_exports__Delete as Delete, __webpack_exports__Directory as Directory, __webpack_exports__DocumentProcessingFailed as DocumentProcessingFailed, __webpack_exports__Download as Download, __webpack_exports__Edit as Edit, __webpack_exports__Email as Email, __webpack_exports__EmergencyContact as EmergencyContact, __webpack_exports__Events as Events, __webpack_exports__External as External, __webpack_exports__FileExport as FileExport, __webpack_exports__Filter as Filter, __webpack_exports__FilterList as FilterList, __webpack_exports__FitView as FitView, __webpack_exports__Globe as Globe, __webpack_exports__GripLines as GripLines, __webpack_exports__Help as Help, __webpack_exports__Hidden as Hidden, __webpack_exports__History as History, __webpack_exports__Inbox as Inbox, __webpack_exports__Info as Info, __webpack_exports__Insights as Insights, __webpack_exports__Job as Job, __webpack_exports__Leave as Leave, __webpack_exports__Lightbulb as Lightbulb, __webpack_exports__Loading as Loading, __webpack_exports__LocationCheck as LocationCheck, __webpack_exports__Logout as Logout, __webpack_exports__Messages as Messages, __webpack_exports__Microsoft as Microsoft, __webpack_exports__Minus as Minus, __webpack_exports__Newspaper as Newspaper, __webpack_exports__Overflow as Overflow, __webpack_exports__Paperwork as Paperwork, __webpack_exports__PaperworkAssigned as PaperworkAssigned, __webpack_exports__PaperworkDraft as PaperworkDraft, __webpack_exports__PaperworkExpired as PaperworkExpired, __webpack_exports__PaperworkExpiringSoon as PaperworkExpiringSoon, __webpack_exports__PaperworkMissing as PaperworkMissing, __webpack_exports__PaperworkProcessed as PaperworkProcessed, __webpack_exports__PaperworkSubmitted as PaperworkSubmitted, __webpack_exports__People as People, __webpack_exports__Phone as Phone, __webpack_exports__Plus as Plus, __webpack_exports__Positions as Positions, __webpack_exports__Profile as Profile, __webpack_exports__ProfileFemale as ProfileFemale, __webpack_exports__ProfileMale as ProfileMale, __webpack_exports__QuestionMark as QuestionMark, __webpack_exports__Remuneration as Remuneration, __webpack_exports__Reschedule as Reschedule, __webpack_exports__Restore as Restore, __webpack_exports__Review as Review, __webpack_exports__Schedule as Schedule, __webpack_exports__Search as Search, __webpack_exports__Settings as Settings, __webpack_exports__Shield as Shield, __webpack_exports__Sidebar as Sidebar, __webpack_exports__Sliders as Sliders, __webpack_exports__SortAsc as SortAsc, __webpack_exports__SortDefault as SortDefault, __webpack_exports__SortDes as SortDes, __webpack_exports__StepsComplete as StepsComplete, __webpack_exports__StepsCurrent as StepsCurrent, __webpack_exports__StepsIncomplete as StepsIncomplete, __webpack_exports__Submit as Submit, __webpack_exports__Success as Success, __webpack_exports__SuperFund as SuperFund, __webpack_exports__Sync as Sync, __webpack_exports__Table as Table, __webpack_exports__Task as Task, __webpack_exports__Tax as Tax, __webpack_exports__Tenure as Tenure, __webpack_exports__UserPlus as UserPlus, __webpack_exports__Visible as Visible, __webpack_exports__Warning as Warning, __webpack_exports__Workflows as Workflows };
|
|
227
|
+
export { __webpack_exports__Approval as Approval, __webpack_exports__Apps as Apps, __webpack_exports__Archive as Archive, __webpack_exports__ArrowLeft as ArrowLeft, __webpack_exports__ArrowRight as ArrowRight, __webpack_exports__ArrowTurnLeftUp as ArrowTurnLeftUp, __webpack_exports__ArrowsCompress as ArrowsCompress, __webpack_exports__ArrowsExpand as ArrowsExpand, __webpack_exports__ArrowsUpDown as ArrowsUpDown, __webpack_exports__Assign as Assign, __webpack_exports__AssignmentCertificate as AssignmentCertificate, __webpack_exports__AssignmentDocument as AssignmentDocument, __webpack_exports__AssignmentForm as AssignmentForm, __webpack_exports__AssignmentQuestionnaire as AssignmentQuestionnaire, __webpack_exports__BankAccount as BankAccount, __webpack_exports__Bolt as Bolt, __webpack_exports__BookOpenLines as BookOpenLines, __webpack_exports__Bug as Bug, __webpack_exports__Calendar as Calendar, __webpack_exports__CalendarPlus as CalendarPlus, __webpack_exports__Cancel as Cancel, __webpack_exports__CaratDown as CaratDown, __webpack_exports__CaratLeft as CaratLeft, __webpack_exports__CaratRight as CaratRight, __webpack_exports__CaratUp as CaratUp, __webpack_exports__CheckMark as CheckMark, __webpack_exports__ChevronDown as ChevronDown, __webpack_exports__ChevronLeft as ChevronLeft, __webpack_exports__ChevronRight as ChevronRight, __webpack_exports__ChevronUp as ChevronUp, __webpack_exports__Clock as Clock, __webpack_exports__Close as Close, __webpack_exports__Columns as Columns, __webpack_exports__Comment as Comment, __webpack_exports__Copy as Copy, __webpack_exports__Dash as Dash, __webpack_exports__Delete as Delete, __webpack_exports__Directory as Directory, __webpack_exports__DocumentProcessingFailed as DocumentProcessingFailed, __webpack_exports__Download as Download, __webpack_exports__Edit as Edit, __webpack_exports__Email as Email, __webpack_exports__EmergencyContact as EmergencyContact, __webpack_exports__Events as Events, __webpack_exports__External as External, __webpack_exports__FileCirclePlus as FileCirclePlus, __webpack_exports__FileExport as FileExport, __webpack_exports__Filter as Filter, __webpack_exports__FilterList as FilterList, __webpack_exports__FitView as FitView, __webpack_exports__Globe as Globe, __webpack_exports__GripLines as GripLines, __webpack_exports__Help as Help, __webpack_exports__Hidden as Hidden, __webpack_exports__History as History, __webpack_exports__Inbox as Inbox, __webpack_exports__Info as Info, __webpack_exports__Insights as Insights, __webpack_exports__Job as Job, __webpack_exports__Leave as Leave, __webpack_exports__Lightbulb as Lightbulb, __webpack_exports__Loading as Loading, __webpack_exports__LocationCheck as LocationCheck, __webpack_exports__Logout as Logout, __webpack_exports__Messages as Messages, __webpack_exports__Microsoft as Microsoft, __webpack_exports__Minus as Minus, __webpack_exports__Newspaper as Newspaper, __webpack_exports__Overflow as Overflow, __webpack_exports__Paperwork as Paperwork, __webpack_exports__PaperworkAssigned as PaperworkAssigned, __webpack_exports__PaperworkDraft as PaperworkDraft, __webpack_exports__PaperworkExpired as PaperworkExpired, __webpack_exports__PaperworkExpiringSoon as PaperworkExpiringSoon, __webpack_exports__PaperworkMissing as PaperworkMissing, __webpack_exports__PaperworkProcessed as PaperworkProcessed, __webpack_exports__PaperworkSubmitted as PaperworkSubmitted, __webpack_exports__People as People, __webpack_exports__Phone as Phone, __webpack_exports__Plus as Plus, __webpack_exports__Positions as Positions, __webpack_exports__Profile as Profile, __webpack_exports__ProfileFemale as ProfileFemale, __webpack_exports__ProfileMale as ProfileMale, __webpack_exports__QuestionMark as QuestionMark, __webpack_exports__Remuneration as Remuneration, __webpack_exports__Reschedule as Reschedule, __webpack_exports__Restore as Restore, __webpack_exports__Review as Review, __webpack_exports__Schedule as Schedule, __webpack_exports__Search as Search, __webpack_exports__Settings as Settings, __webpack_exports__Shield as Shield, __webpack_exports__Sidebar as Sidebar, __webpack_exports__Sliders as Sliders, __webpack_exports__SortAsc as SortAsc, __webpack_exports__SortDefault as SortDefault, __webpack_exports__SortDes as SortDes, __webpack_exports__StepsComplete as StepsComplete, __webpack_exports__StepsCurrent as StepsCurrent, __webpack_exports__StepsIncomplete as StepsIncomplete, __webpack_exports__Submit as Submit, __webpack_exports__Success as Success, __webpack_exports__SuperFund as SuperFund, __webpack_exports__Sync as Sync, __webpack_exports__Table as Table, __webpack_exports__Task as Task, __webpack_exports__Tax as Tax, __webpack_exports__Tenure as Tenure, __webpack_exports__UserPlus as UserPlus, __webpack_exports__Visible as Visible, __webpack_exports__Warning as Warning, __webpack_exports__Workflows as Workflows };
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
import { type Dispatch, type ReactNode, type SetStateAction } from "react";
|
|
2
2
|
type Props = {
|
|
3
3
|
aside?: ReactNode;
|
|
4
|
-
backLink?: ReactNode;
|
|
5
4
|
navigation?: ReactNode;
|
|
6
5
|
children: ReactNode;
|
|
7
6
|
header?: ReactNode;
|
|
8
7
|
mainNavChildren?: ReactNode;
|
|
9
8
|
menuState: "open" | "closed" | undefined;
|
|
10
|
-
navTitle?: ReactNode;
|
|
11
9
|
setMenuState: Dispatch<SetStateAction<"open" | "closed" | undefined>>;
|
|
12
10
|
summary?: ReactNode;
|
|
13
|
-
|
|
11
|
+
navToolbarStart?: ReactNode;
|
|
12
|
+
navFooter?: ReactNode;
|
|
14
13
|
padding?: "default" | "none";
|
|
15
14
|
asidePosition?: {
|
|
16
15
|
desktop: "asideLast" | "asideFirst";
|
|
17
16
|
mobile: "asideLast" | "asideFirst";
|
|
18
17
|
};
|
|
19
18
|
};
|
|
20
|
-
declare const FullLayout: ({ aside, asidePosition,
|
|
19
|
+
declare const FullLayout: ({ aside, asidePosition, navigation, children, header, mainNavChildren, menuState, setMenuState, summary, navToolbarStart, navFooter, padding, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
export default FullLayout;
|
|
@@ -9,7 +9,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__FullLayout_module_js_d92e323f__ from "./F
|
|
|
9
9
|
const FullLayout = ({ aside, asidePosition = {
|
|
10
10
|
desktop: "asideLast",
|
|
11
11
|
mobile: "asideFirst"
|
|
12
|
-
},
|
|
12
|
+
}, navigation, children, header, mainNavChildren, menuState, setMenuState, summary, navToolbarStart, navFooter, padding = "default" })=>{
|
|
13
13
|
const { pathname, router } = (0, __WEBPACK_EXTERNAL_MODULE__utils_useNextContext_js_47529181__["default"])();
|
|
14
14
|
const toggleRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
15
15
|
const navRef = (0, __WEBPACK_EXTERNAL_MODULE_react__.useRef)(null);
|
|
@@ -84,43 +84,42 @@ const FullLayout = ({ aside, asidePosition = {
|
|
|
84
84
|
[__WEBPACK_EXTERNAL_MODULE__FullLayout_module_js_d92e323f__["default"].closed]: "closed" === menuState
|
|
85
85
|
}),
|
|
86
86
|
children: [
|
|
87
|
-
mainNavChildren ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.
|
|
88
|
-
children:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
]
|
|
87
|
+
mainNavChildren ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.Fragment, {
|
|
88
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("nav", {
|
|
89
|
+
ref: navRef,
|
|
90
|
+
className: __WEBPACK_EXTERNAL_MODULE__FullLayout_module_js_d92e323f__["default"].nav,
|
|
91
|
+
children: [
|
|
92
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("header", {
|
|
93
|
+
className: __WEBPACK_EXTERNAL_MODULE__FullLayout_module_js_d92e323f__["default"].navToolbar,
|
|
94
|
+
children: [
|
|
95
|
+
navToolbarStart ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
96
|
+
className: __WEBPACK_EXTERNAL_MODULE__FullLayout_module_js_d92e323f__["default"].navToolbarStart,
|
|
97
|
+
children: navToolbarStart
|
|
98
|
+
}) : null,
|
|
99
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
100
|
+
ref: toggleRef,
|
|
101
|
+
className: __WEBPACK_EXTERNAL_MODULE__FullLayout_module_js_d92e323f__["default"].navToolbarEnd,
|
|
102
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__hud_ToolbarButton_js_e9a8b3bc__["default"], {
|
|
103
|
+
onClick: ()=>{
|
|
104
|
+
setMenuState((current)=>"open" === current ? "closed" : "open");
|
|
105
|
+
},
|
|
106
|
+
title: "Toggle Sidebar",
|
|
107
|
+
type: "ghost",
|
|
108
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__hud_SidebarIcon_js_fabd050a__["default"], {})
|
|
109
|
+
})
|
|
110
|
+
})
|
|
111
|
+
]
|
|
112
|
+
}),
|
|
113
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
114
|
+
className: __WEBPACK_EXTERNAL_MODULE__FullLayout_module_js_d92e323f__["default"].navContent,
|
|
115
|
+
children: mainNavChildren
|
|
116
|
+
}),
|
|
117
|
+
navFooter ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("footer", {
|
|
118
|
+
className: __WEBPACK_EXTERNAL_MODULE__FullLayout_module_js_d92e323f__["default"].navFooter,
|
|
119
|
+
children: navFooter
|
|
120
|
+
}) : null
|
|
121
|
+
]
|
|
122
|
+
})
|
|
124
123
|
}) : null,
|
|
125
124
|
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
126
125
|
className: (0, __WEBPACK_EXTERNAL_MODULE_clsx__["default"])(__WEBPACK_EXTERNAL_MODULE__FullLayout_module_js_d92e323f__["default"].content, "default" === padding && __WEBPACK_EXTERNAL_MODULE__FullLayout_module_js_d92e323f__["default"].padded, aside && {
|
|
@@ -3,11 +3,11 @@ const FullLayout_module_rslib_entry_ = {
|
|
|
3
3
|
container: "container-lghvCT",
|
|
4
4
|
open: "open-rMThLK",
|
|
5
5
|
closed: "closed-iSkj26",
|
|
6
|
-
toggle: "toggle-GcG0Tq",
|
|
7
|
-
back: "back-vj3cdG",
|
|
8
6
|
nav: "nav-PJYqK6",
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
navToolbar: "navToolbar-fPH7h5",
|
|
8
|
+
navToolbarStart: "navToolbarStart-D3u8SP",
|
|
9
|
+
navToolbarEnd: "navToolbarEnd-dAB2oH",
|
|
10
|
+
navFooter: "navFooter-t_dTvk",
|
|
11
11
|
navContent: "navContent-xOgco3",
|
|
12
12
|
header: "header-BPDFUI",
|
|
13
13
|
summary: "summary-yyotr2",
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--nav-toggle-size: 38px;
|
|
3
|
+
--content-padded-horizontal-padding: var(--size-00);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
@media (min-width: 768px) {
|
|
7
|
+
:root {
|
|
8
|
+
--content-padded-horizontal-padding: var(--size-p2);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
1
12
|
@media (max-width: 768px) {
|
|
2
13
|
body:has(.container-lghvCT.open-rMThLK) {
|
|
3
14
|
overflow: hidden;
|
|
@@ -5,7 +16,13 @@
|
|
|
5
16
|
}
|
|
6
17
|
|
|
7
18
|
.container-lghvCT {
|
|
19
|
+
--nav-toggle-inset: calc(var(--nav-toggle-size) + var(--size-n2));
|
|
8
20
|
--nav-width: 100vw;
|
|
21
|
+
--page-header-inset: 0;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.closed-iSkj26:has(.nav-PJYqK6).container-lghvCT {
|
|
25
|
+
--page-header-inset: var(--nav-toggle-inset);
|
|
9
26
|
}
|
|
10
27
|
|
|
11
28
|
@media (min-width: 768px) {
|
|
@@ -24,62 +41,20 @@
|
|
|
24
41
|
}
|
|
25
42
|
}
|
|
26
43
|
|
|
27
|
-
.toggle-GcG0Tq {
|
|
28
|
-
color: #000;
|
|
29
|
-
-webkit-user-select: none;
|
|
30
|
-
user-select: none;
|
|
31
|
-
z-index: 3;
|
|
32
|
-
border-radius: 11px;
|
|
33
|
-
position: fixed;
|
|
34
|
-
top: 16px;
|
|
35
|
-
left: 16px;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.closed-iSkj26 .toggle-GcG0Tq {
|
|
39
|
-
-webkit-backdrop-filter: blur(20px);
|
|
40
|
-
backdrop-filter: blur(20px);
|
|
41
|
-
box-sizing: border-box;
|
|
42
|
-
color: var(--tone-default);
|
|
43
|
-
background: #ffffffb3;
|
|
44
|
-
border: .5px solid #3c3c435c;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.back-vj3cdG {
|
|
48
|
-
left: calc(var(--nav-width) + 16px);
|
|
49
|
-
-webkit-user-select: none;
|
|
50
|
-
user-select: none;
|
|
51
|
-
z-index: 3;
|
|
52
|
-
transition: left .25s ease-in-out;
|
|
53
|
-
position: fixed;
|
|
54
|
-
top: 16px;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.closed-iSkj26 .back-vj3cdG {
|
|
58
|
-
left: 70px;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
@media (max-width: 1440px) {
|
|
62
|
-
.container-lghvCT:not(.closed-iSkj26, .open-rMThLK) .back-vj3cdG {
|
|
63
|
-
left: 70px;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
44
|
.nav-PJYqK6 {
|
|
68
45
|
--accent-color: var(--color-purple-000);
|
|
69
|
-
-webkit-backdrop-filter: blur(20px);
|
|
70
|
-
backdrop-filter: blur(20px);
|
|
71
46
|
color: #000;
|
|
72
47
|
justify-items: space-between;
|
|
73
48
|
font-family: var(--typeface-system);
|
|
74
49
|
bottom: 0;
|
|
75
50
|
left: calc(-1 * var(--nav-width) - 1px);
|
|
51
|
+
padding-top: var(--size-n1);
|
|
76
52
|
-webkit-user-select: none;
|
|
77
53
|
user-select: none;
|
|
78
54
|
width: var(--nav-width);
|
|
79
55
|
z-index: 2;
|
|
80
|
-
|
|
81
|
-
grid-template-rows: auto
|
|
82
|
-
padding-top: 16px;
|
|
56
|
+
border-right: .5px solid #3c3c435c;
|
|
57
|
+
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
83
58
|
font-size: 17px;
|
|
84
59
|
font-style: normal;
|
|
85
60
|
font-weight: 400;
|
|
@@ -89,7 +64,20 @@
|
|
|
89
64
|
position: fixed;
|
|
90
65
|
top: 0;
|
|
91
66
|
overflow-y: hidden;
|
|
92
|
-
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.nav-PJYqK6:before {
|
|
70
|
+
-webkit-backdrop-filter: blur(20px);
|
|
71
|
+
backdrop-filter: blur(20px);
|
|
72
|
+
content: "";
|
|
73
|
+
pointer-events: none;
|
|
74
|
+
z-index: -1;
|
|
75
|
+
background: #ffffffb3;
|
|
76
|
+
width: 100%;
|
|
77
|
+
position: absolute;
|
|
78
|
+
top: 0;
|
|
79
|
+
bottom: 0;
|
|
80
|
+
left: 0;
|
|
93
81
|
}
|
|
94
82
|
|
|
95
83
|
@media (min-width: 1440px) {
|
|
@@ -106,23 +94,76 @@
|
|
|
106
94
|
left: 0;
|
|
107
95
|
}
|
|
108
96
|
|
|
109
|
-
.
|
|
110
|
-
|
|
97
|
+
.navToolbar-fPH7h5 {
|
|
98
|
+
min-height: var(--nav-toggle-size);
|
|
99
|
+
padding: 0 var(--size-n1);
|
|
100
|
+
justify-content: space-between;
|
|
101
|
+
align-items: flex-start;
|
|
102
|
+
display: flex;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.navToolbarStart-D3u8SP {
|
|
106
|
+
flex: 1;
|
|
111
107
|
align-items: center;
|
|
112
|
-
|
|
113
|
-
padding: 0 16px;
|
|
108
|
+
min-width: 0;
|
|
114
109
|
display: flex;
|
|
115
110
|
}
|
|
116
111
|
|
|
117
|
-
.
|
|
118
|
-
|
|
112
|
+
.navToolbarStart-D3u8SP button {
|
|
113
|
+
text-align: start;
|
|
114
|
+
justify-content: start;
|
|
115
|
+
max-width: 100%;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.navToolbarEnd-dAB2oH {
|
|
119
|
+
color: #000;
|
|
120
|
+
-webkit-user-select: none;
|
|
121
|
+
user-select: none;
|
|
122
|
+
border-radius: 11px;
|
|
123
|
+
flex-shrink: 0;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.closed-iSkj26 .navToolbarEnd-dAB2oH {
|
|
127
|
+
-webkit-backdrop-filter: blur(20px);
|
|
128
|
+
backdrop-filter: blur(20px);
|
|
129
|
+
box-sizing: border-box;
|
|
130
|
+
color: var(--tone-default);
|
|
131
|
+
left: var(--content-padded-horizontal-padding);
|
|
132
|
+
top: var(--size-n1);
|
|
133
|
+
z-index: 3;
|
|
134
|
+
background: #ffffffb3;
|
|
135
|
+
border: .5px solid #3c3c435c;
|
|
136
|
+
transition: left .25s ease-in-out;
|
|
137
|
+
position: fixed;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.navFooter-t_dTvk {
|
|
141
|
+
gap: var(--size-n3);
|
|
142
|
+
padding: 0 var(--size-n1) var(--size-n1);
|
|
143
|
+
display: grid;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.navFooter-t_dTvk button {
|
|
147
|
+
justify-content: start;
|
|
148
|
+
width: 100%;
|
|
119
149
|
}
|
|
120
150
|
|
|
121
151
|
.navContent-xOgco3 {
|
|
122
|
-
|
|
152
|
+
margin-block: var(--size-n1);
|
|
153
|
+
min-height: 0;
|
|
154
|
+
padding-inline: var(--size-n1);
|
|
123
155
|
overflow-y: auto;
|
|
124
156
|
}
|
|
125
157
|
|
|
158
|
+
.header-BPDFUI {
|
|
159
|
+
--page-header-inset: 0;
|
|
160
|
+
transition: padding-left .25s ease-in-out;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.closed-iSkj26:has(.nav-PJYqK6) .header-BPDFUI {
|
|
164
|
+
padding-left: var(--nav-toggle-inset);
|
|
165
|
+
}
|
|
166
|
+
|
|
126
167
|
@media (min-width: 1024px) {
|
|
127
168
|
.header-BPDFUI {
|
|
128
169
|
grid-column: 1 / -1;
|
|
@@ -173,16 +214,7 @@
|
|
|
173
214
|
}
|
|
174
215
|
|
|
175
216
|
.content-kaxfp0.padded-L3X4Ui {
|
|
176
|
-
padding
|
|
177
|
-
padding-bottom: var(--size-00);
|
|
178
|
-
padding-left: var(--size-00);
|
|
179
|
-
padding-right: var(--size-00);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
@media (min-width: 768px) {
|
|
183
|
-
.content-kaxfp0.padded-L3X4Ui {
|
|
184
|
-
padding: 60px var(--size-p3) var(--size-p3);
|
|
185
|
-
}
|
|
217
|
+
padding: var(--size-n1) var(--content-padded-horizontal-padding);
|
|
186
218
|
}
|
|
187
219
|
|
|
188
220
|
@media (min-width: 1024px) {
|
|
@@ -195,11 +227,3 @@
|
|
|
195
227
|
}
|
|
196
228
|
}
|
|
197
229
|
|
|
198
|
-
@media (min-width: 1440px) {
|
|
199
|
-
.content-kaxfp0.padded-L3X4Ui {
|
|
200
|
-
padding-bottom: var(--size-p4);
|
|
201
|
-
padding-left: var(--size-p4);
|
|
202
|
-
padding-right: var(--size-p4);
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
|
-
|
|
@@ -16,14 +16,14 @@
|
|
|
16
16
|
|
|
17
17
|
.narrowWidthContent-jzMzq_ {
|
|
18
18
|
width: 100%;
|
|
19
|
-
padding-left: var(--container-spacing);
|
|
20
|
-
padding-right: var(--container-spacing);
|
|
21
19
|
}
|
|
22
20
|
|
|
23
|
-
@media (min-width:
|
|
21
|
+
@media (min-width: 768px) {
|
|
24
22
|
.narrowWidthContent-jzMzq_ {
|
|
23
|
+
--page-header-inset: 0;
|
|
25
24
|
width: 900px;
|
|
26
25
|
max-width: calc(100% - var(--container-spacing) * 2);
|
|
26
|
+
padding: 0 var(--size-00);
|
|
27
27
|
margin-left: auto;
|
|
28
28
|
margin-right: auto;
|
|
29
29
|
}
|
|
@@ -8,6 +8,7 @@ const Header = ({ actions, children, description, id, tagName: Tag = "header" })
|
|
|
8
8
|
children: children
|
|
9
9
|
}),
|
|
10
10
|
actions ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
11
|
+
className: __WEBPACK_EXTERNAL_MODULE__Header_module_js_6aa79f68__["default"].actions,
|
|
11
12
|
children: actions
|
|
12
13
|
}) : null,
|
|
13
14
|
description ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
@@ -1,17 +1,38 @@
|
|
|
1
1
|
.container-LpNftB {
|
|
2
|
-
align-items:
|
|
2
|
+
align-items: flex-start;
|
|
3
3
|
gap: var(--size-n2) var(--size-p2);
|
|
4
4
|
grid-template-columns: 1fr auto;
|
|
5
5
|
display: grid;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
+
.container-LpNftB > div:first-child {
|
|
9
|
+
min-width: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.actions-M11a7I {
|
|
13
|
+
flex-shrink: 0;
|
|
14
|
+
}
|
|
15
|
+
|
|
8
16
|
.description-z2GJWi {
|
|
9
17
|
grid-column: 1 / -1;
|
|
10
18
|
}
|
|
11
19
|
|
|
12
20
|
@media (max-width: 768px) {
|
|
13
|
-
.
|
|
14
|
-
|
|
21
|
+
.actions-M11a7I [data-button-part="label"] {
|
|
22
|
+
clip: rect(0, 0, 0, 0);
|
|
23
|
+
white-space: nowrap;
|
|
24
|
+
border: 0;
|
|
25
|
+
width: 1px;
|
|
26
|
+
height: 1px;
|
|
27
|
+
margin: -1px;
|
|
28
|
+
padding: 0;
|
|
29
|
+
position: absolute;
|
|
30
|
+
overflow: hidden;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.actions-M11a7I :is(button, a, span):has([data-button-part="icon"]):has([data-button-part="label"]) {
|
|
34
|
+
padding: var(--size-n2);
|
|
35
|
+
gap: 0;
|
|
15
36
|
}
|
|
16
37
|
}
|
|
17
38
|
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
type BackLink = {
|
|
3
|
+
href: string;
|
|
4
|
+
tooltip: ReactNode;
|
|
5
|
+
};
|
|
6
|
+
type Props = {
|
|
7
|
+
actions?: ReactNode;
|
|
8
|
+
backLink?: BackLink;
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
description?: ReactNode;
|
|
11
|
+
id?: string;
|
|
12
|
+
};
|
|
13
|
+
declare const PageHeader: ({ actions, backLink, children, description, id }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export default PageHeader;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
3
|
+
import * as __WEBPACK_EXTERNAL_MODULE__controls_ButtonLink_js_1677d8df__ from "../controls/ButtonLink.js";
|
|
4
|
+
import * as __WEBPACK_EXTERNAL_MODULE__icons_components_ChevronLeft_js_95fe0c36__ from "../icons/components/ChevronLeft.js";
|
|
5
|
+
import * as __WEBPACK_EXTERNAL_MODULE__Header_js_94d20122__ from "./Header.js";
|
|
6
|
+
import * as __WEBPACK_EXTERNAL_MODULE__PageHeader_module_js_aa2b4516__ from "./PageHeader.module.js";
|
|
7
|
+
const PageHeader = ({ actions, backLink, children, description, id })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("header", {
|
|
8
|
+
className: __WEBPACK_EXTERNAL_MODULE__PageHeader_module_js_aa2b4516__["default"].pageHeader,
|
|
9
|
+
id: id,
|
|
10
|
+
children: [
|
|
11
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
12
|
+
className: __WEBPACK_EXTERNAL_MODULE__PageHeader_module_js_aa2b4516__["default"].top,
|
|
13
|
+
children: [
|
|
14
|
+
backLink ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__controls_ButtonLink_js_1677d8df__["default"], {
|
|
15
|
+
href: backLink.href,
|
|
16
|
+
icon: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__icons_components_ChevronLeft_js_95fe0c36__["default"], {}),
|
|
17
|
+
tooltip: backLink.tooltip,
|
|
18
|
+
type: "ghost"
|
|
19
|
+
}) : null,
|
|
20
|
+
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
21
|
+
className: __WEBPACK_EXTERNAL_MODULE__PageHeader_module_js_aa2b4516__["default"].main,
|
|
22
|
+
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__Header_js_94d20122__["default"], {
|
|
23
|
+
actions: actions,
|
|
24
|
+
tagName: "div",
|
|
25
|
+
children: children
|
|
26
|
+
})
|
|
27
|
+
})
|
|
28
|
+
]
|
|
29
|
+
}),
|
|
30
|
+
description ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
31
|
+
children: description
|
|
32
|
+
}) : null
|
|
33
|
+
]
|
|
34
|
+
});
|
|
35
|
+
const PageHeader_rslib_entry_ = PageHeader;
|
|
36
|
+
export { PageHeader_rslib_entry_ as default };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
.pageHeader-RV66CE {
|
|
2
|
+
gap: var(--size-n2);
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
display: flex;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.top-wChgfn {
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
gap: var(--size-n2);
|
|
10
|
+
padding-left: var(--page-header-inset, 0);
|
|
11
|
+
transition: padding-left .25s ease-in-out;
|
|
12
|
+
display: flex;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.main-KE919g {
|
|
16
|
+
flex: 1;
|
|
17
|
+
min-width: 0;
|
|
18
|
+
}
|
|
19
|
+
|
package/dist/shared.css
CHANGED
|
@@ -402,12 +402,3 @@ body {
|
|
|
402
402
|
font: var(--font-regular);
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
@media (max-width: 600px) {
|
|
406
|
-
:root {
|
|
407
|
-
--font-h1: normal 700 28px / 150% var(--typeface-system);
|
|
408
|
-
--font-h2: normal 700 26px / 150% var(--typeface-system);
|
|
409
|
-
--font-h3: normal 700 24px / 150% var(--typeface-system);
|
|
410
|
-
--font-h4: normal 700 22px / 150% var(--typeface-system);
|
|
411
|
-
}
|
|
412
|
-
}
|
|
413
|
-
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free 7.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M216 64C229.3 64 240 74.7 240 88L240 128L400 128L400 88C400 74.7 410.7 64 424 64C437.3 64 448 74.7 448 88L448 128L480 128C515.3 128 544 156.7 544 192L544 480C544 515.3 515.3 544 480 544L160 544C124.7 544 96 515.3 96 480L96 192C96 156.7 124.7 128 160 128L192 128L192 88C192 74.7 202.7 64 216 64zM216 176L160 176C151.2 176 144 183.2 144 192L144 480C144 488.8 151.2 496 160 496L480 496C488.8 496 496 488.8 496 480L496 192C496 183.2 488.8 176 480 176L216 176zM320 240C333.3 240 344 250.7 344 264L344 312L392 312C405.3 312 416 322.7 416 336C416 349.3 405.3 360 392 360L344 360L344 408C344 421.3 333.3 432 320 432C306.7 432 296 421.3 296 408L296 360L248 360C234.7 360 224 349.3 224 336C224 322.7 234.7 312 248 312L296 312L296 264C296 250.7 306.7 240 320 240z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Pro 7.3.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2026 Fonticons, Inc.--><path d="M240 112L128 112C119.2 112 112 119.2 112 128L112 512C112 520.8 119.2 528 128 528L282.9 528C289 545.3 297.5 561.4 308 576L128 576C92.7 576 64 547.3 64 512L64 128C64 92.7 92.7 64 128 64L261.5 64C278.5 64 294.8 70.7 306.8 82.7L429.3 205.3C441.3 217.3 448 233.6 448 250.6L448 272.1L312 272.1C272.2 272.1 240 239.9 240 200.1L240 112.1zM380.1 224L288 131.9L288 200C288 213.3 298.7 224 312 224L380.1 224zM464 320C543.5 320 608 384.5 608 464C608 543.5 543.5 608 464 608C384.5 608 320 543.5 320 464C320 384.5 384.5 320 464 320zM480 400C480 391.2 472.8 384 464 384C455.2 384 448 391.2 448 400L448 448L400 448C391.2 448 384 455.2 384 464C384 472.8 391.2 480 400 480L448 480L448 528C448 536.8 455.2 544 464 544C472.8 544 480 536.8 480 528L480 480L528 480C536.8 480 544 472.8 544 464C544 455.2 536.8 448 528 448L480 448L480 400z"/></svg>
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worknice/whiteboard",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.69.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"files": [
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"react-markdown": "^10.1.0",
|
|
40
40
|
"utf8": "^3.0.0",
|
|
41
41
|
"zod": "^4.1.13",
|
|
42
|
-
"@worknice/utils": "^0.
|
|
42
|
+
"@worknice/utils": "^0.52.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@anolilab/semantic-release-pnpm": "^3.2.2",
|
package/dist/hud/NavTitle.d.ts
DELETED
package/dist/hud/NavTitle.js
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__ from "react/jsx-runtime";
|
|
2
|
-
import * as __WEBPACK_EXTERNAL_MODULE__worknice_whiteboard_presentation_Badge_506c1dd3__ from "@worknice/whiteboard/presentation/Badge";
|
|
3
|
-
import * as __WEBPACK_EXTERNAL_MODULE__worknice_whiteboard_presentation_PlainText_c60690e6__ from "@worknice/whiteboard/presentation/PlainText";
|
|
4
|
-
import * as __WEBPACK_EXTERNAL_MODULE__NavTitle_module_js_9be55db0__ from "./NavTitle.module.js";
|
|
5
|
-
const NavTitle = ({ demo, logo, subtitle, title })=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
6
|
-
className: __WEBPACK_EXTERNAL_MODULE__NavTitle_module_js_9be55db0__["default"].container,
|
|
7
|
-
title: title,
|
|
8
|
-
children: [
|
|
9
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
10
|
-
className: __WEBPACK_EXTERNAL_MODULE__NavTitle_module_js_9be55db0__["default"].logo,
|
|
11
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("img", {
|
|
12
|
-
src: logo,
|
|
13
|
-
alt: ""
|
|
14
|
-
})
|
|
15
|
-
}),
|
|
16
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsxs)("div", {
|
|
17
|
-
style: {
|
|
18
|
-
overflow: "hidden",
|
|
19
|
-
display: "grid"
|
|
20
|
-
},
|
|
21
|
-
children: [
|
|
22
|
-
/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__worknice_whiteboard_presentation_PlainText_c60690e6__["default"], {
|
|
23
|
-
font: "regular-bold",
|
|
24
|
-
truncate: true,
|
|
25
|
-
children: title
|
|
26
|
-
}),
|
|
27
|
-
subtitle ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__worknice_whiteboard_presentation_PlainText_c60690e6__["default"], {
|
|
28
|
-
truncate: true,
|
|
29
|
-
children: subtitle
|
|
30
|
-
}) : null
|
|
31
|
-
]
|
|
32
|
-
}),
|
|
33
|
-
demo ? /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)("div", {
|
|
34
|
-
className: __WEBPACK_EXTERNAL_MODULE__NavTitle_module_js_9be55db0__["default"].demo,
|
|
35
|
-
children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime_225474f2__.jsx)(__WEBPACK_EXTERNAL_MODULE__worknice_whiteboard_presentation_Badge_506c1dd3__["default"], {
|
|
36
|
-
color: "grey",
|
|
37
|
-
children: "Demo"
|
|
38
|
-
})
|
|
39
|
-
}) : null
|
|
40
|
-
]
|
|
41
|
-
});
|
|
42
|
-
const NavTitle_rslib_entry_ = NavTitle;
|
|
43
|
-
export { NavTitle_rslib_entry_ as default };
|