@harpercollins/harpercollins-design-system 1.29.6 → 1.30.1
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/cjs/components/data-display/Table/FilterChipsSection.cjs +1 -1
- package/dist/cjs/components/data-display/Table/Table.cjs +1 -1
- package/dist/cjs/components/data-display/Table/filters/FilterComponents.cjs +2 -2
- package/dist/cjs/components/global/AppBar/AppBar.cjs +3 -3
- package/dist/cjs/components/inputs/Input/FormHelperText.cjs +1 -0
- package/dist/cjs/components/navigation/Stepper/Step.cjs +1 -0
- package/dist/cjs/components/navigation/Stepper/StepButton.cjs +1 -0
- package/dist/cjs/components/navigation/Stepper/StepIndicator.cjs +1 -0
- package/dist/cjs/components/navigation/Stepper/Stepper.cjs +1 -0
- package/dist/cjs/components/navigation/Stepper/index.cjs +1 -0
- package/dist/cjs/index.cjs +1 -1
- package/dist/cjs/node_modules/.pnpm/@mui_base@5.0.0-beta.40-1_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@mui/base/useSlider/useSlider.cjs +1 -1
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/FormHelperText/FormHelperText.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/FormHelperText/formHelperTextClasses.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/FormLabel/formLabelClasses.cjs +1 -1
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/ListItemButton/ListItemButton.cjs +1 -1
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Modal/Modal.cjs +1 -1
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Step/Step.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Step/stepClasses.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/StepButton/StepButton.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/StepButton/stepButtonClasses.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/StepIndicator/StepIndicator.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/StepIndicator/stepIndicatorClasses.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Stepper/Stepper.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Stepper/stepperClasses.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/className/index.cjs +1 -1
- package/dist/esm/components/data-display/Table/FilterChipsSection.js +1 -1
- package/dist/esm/components/data-display/Table/Table.js +4 -4
- package/dist/esm/components/data-display/Table/TableBody.js +1 -1
- package/dist/esm/components/data-display/Table/filters/FilterComponents.js +10 -10
- package/dist/esm/components/global/AppBar/AppBar.js +7 -7
- package/dist/esm/components/inputs/Input/FormHelperText.js +8 -0
- package/dist/esm/components/navigation/Stepper/Step.js +4 -0
- package/dist/esm/components/navigation/Stepper/StepButton.js +4 -0
- package/dist/esm/components/navigation/Stepper/StepIndicator.js +4 -0
- package/dist/esm/components/navigation/Stepper/Stepper.js +8 -0
- package/dist/esm/components/navigation/Stepper/index.js +4 -0
- package/dist/esm/contexts/NavigationProgressContext.js +5 -5
- package/dist/esm/index.js +204 -195
- package/dist/esm/node_modules/.pnpm/@mui_base@5.0.0-beta.40-1_@types_react@18.3.28_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@mui/base/useSlider/useSlider.js +4 -4
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Accordion/accordionClasses.js +3 -3
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/AccordionDetails/accordionDetailsClasses.js +3 -3
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Autocomplete/Autocomplete.js +1 -1
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/FormHelperText/FormHelperText.js +107 -0
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/FormHelperText/formHelperTextClasses.js +8 -0
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/FormLabel/formLabelClasses.js +6 -5
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/ListItem/listItemClasses.js +3 -3
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/ListItemButton/ListItemButton.js +1 -1
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/ListItemButton/listItemButtonClasses.js +3 -3
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Modal/Modal.js +1 -1
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Step/Step.js +255 -0
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Step/stepClasses.js +9 -0
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/StepButton/StepButton.js +136 -0
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/StepButton/stepButtonClasses.js +5 -0
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/StepIndicator/StepIndicator.js +123 -0
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/StepIndicator/stepIndicatorClasses.js +8 -0
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Stepper/Stepper.js +164 -0
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Stepper/stepperClasses.js +9 -0
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Switch/switchClasses.js +3 -3
- package/dist/esm/node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/className/index.js +3 -3
- package/dist/index.d.ts +15 -0
- package/package.json +6 -10
|
@@ -15,9 +15,9 @@ import { TableBody as ye } from "./TableBody.js";
|
|
|
15
15
|
import Me from "./TableToolbar.js";
|
|
16
16
|
import { ColumnFilter as De } from "./filters/FilterComponents.js";
|
|
17
17
|
import { multiSelectFilter as He, selectFilter as ke, dateFilter as Ie, numericFilter as ve, textFilter as Ne } from "./filters/filterFunctions.js";
|
|
18
|
-
import {
|
|
18
|
+
import { useInfiniteScroll as Pe } from "./hooks/useInfiniteScroll.js";
|
|
19
19
|
import { useStickyHeader as $e } from "./hooks/useStickyHeader.js";
|
|
20
|
-
import {
|
|
20
|
+
import { useStickyScrollbar as Be } from "./hooks/useStickyScrollbar.js";
|
|
21
21
|
import x from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Box/Box.js";
|
|
22
22
|
import Te from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Table/Table.js";
|
|
23
23
|
import { getFilteredRowModel as Ae, getSortedRowModel as Ee, getCoreRowModel as je } from "../../../node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js";
|
|
@@ -79,7 +79,7 @@ function ut({
|
|
|
79
79
|
l.useEffect(() => {
|
|
80
80
|
!c && r.data.length > 0 && (R.current = r.data);
|
|
81
81
|
}, [c, r.data]);
|
|
82
|
-
const d = l.useRef(null), M = l.useRef(null), D = l.useRef(null), ne =
|
|
82
|
+
const d = l.useRef(null), M = l.useRef(null), D = l.useRef(null), ne = Be(d), re = $e({
|
|
83
83
|
enabled: W,
|
|
84
84
|
stickyHeaderOffset: _,
|
|
85
85
|
tableWrapperRef: d,
|
|
@@ -147,7 +147,7 @@ function ut({
|
|
|
147
147
|
paddingTop: ce,
|
|
148
148
|
paddingBottom: ae,
|
|
149
149
|
measureElement: me
|
|
150
|
-
} =
|
|
150
|
+
} = Pe(H.length, m, d), k = m?.enabled, I = m?.hasNextPage, v = m?.isFetchingNextPage, N = m?.fetchNextPage, ue = 200, z = l.useCallback(
|
|
151
151
|
(t) => {
|
|
152
152
|
if (!t || !k) return;
|
|
153
153
|
const { scrollHeight: e, scrollTop: n, clientHeight: a } = t;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as t, jsxs as u } from "react/jsx-runtime";
|
|
2
2
|
import { flexRender as f } from "../../../node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@tanstack/react-table/build/lib/index.js";
|
|
3
3
|
import m from "react";
|
|
4
4
|
import p from "../Typography/Typography.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx as t, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import { faFilter as V } from "../../../../node_modules/.pnpm/@fortawesome_free-solid-svg-icons@6.7.2/node_modules/@fortawesome/free-solid-svg-icons/index.js";
|
|
3
3
|
import o from "react";
|
|
4
4
|
import v from "styled-components";
|
|
@@ -6,15 +6,15 @@ import w from "../../../inputs/RadioButton/RadioButton.js";
|
|
|
6
6
|
import D from "../../../navigation/Dropdown/Dropdown.js";
|
|
7
7
|
import I from "../../../navigation/Menu/Menu.js";
|
|
8
8
|
import z from "../../Icon/Icon.js";
|
|
9
|
-
import
|
|
10
|
-
import R from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/MenuButton/MenuButton.js";
|
|
11
|
-
import E from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/IconButton/IconButton.js";
|
|
9
|
+
import x from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Box/Box.js";
|
|
12
10
|
import C from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/List/List.js";
|
|
13
11
|
import S from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/ListItem/ListItem.js";
|
|
14
|
-
import
|
|
15
|
-
import x from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Box/Box.js";
|
|
12
|
+
import A from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Checkbox/Checkbox.js";
|
|
16
13
|
import m from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Input/Input.js";
|
|
17
14
|
import F from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Button/Button.js";
|
|
15
|
+
import R from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Badge/Badge.js";
|
|
16
|
+
import E from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/MenuButton/MenuButton.js";
|
|
17
|
+
import k from "../../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/IconButton/IconButton.js";
|
|
18
18
|
function b(e) {
|
|
19
19
|
const { header: l } = e.columnDef;
|
|
20
20
|
return String(typeof l == "function" ? l({ column: e }) : l);
|
|
@@ -326,7 +326,7 @@ function O({
|
|
|
326
326
|
component: "li",
|
|
327
327
|
sx: { paddingLeft: 0, paddingTop: 0 },
|
|
328
328
|
children: /* @__PURE__ */ t(
|
|
329
|
-
|
|
329
|
+
A,
|
|
330
330
|
{
|
|
331
331
|
label: s,
|
|
332
332
|
checked: n.includes(s),
|
|
@@ -361,7 +361,7 @@ function ie({
|
|
|
361
361
|
}, c = P[l];
|
|
362
362
|
return /* @__PURE__ */ h(D, { open: n, onOpenChange: (f, u) => i(u), children: [
|
|
363
363
|
/* @__PURE__ */ t(
|
|
364
|
-
|
|
364
|
+
R,
|
|
365
365
|
{
|
|
366
366
|
badgeContent: "",
|
|
367
367
|
invisible: !e.getIsFiltered(),
|
|
@@ -377,12 +377,12 @@ function ie({
|
|
|
377
377
|
}
|
|
378
378
|
},
|
|
379
379
|
children: /* @__PURE__ */ t(
|
|
380
|
-
|
|
380
|
+
E,
|
|
381
381
|
{
|
|
382
382
|
"aria-label": `${e.getIsFiltered() ? "Filtered" : "Filter"} by ${b(
|
|
383
383
|
e
|
|
384
384
|
)}`,
|
|
385
|
-
slots: { root:
|
|
385
|
+
slots: { root: k },
|
|
386
386
|
slotProps: {
|
|
387
387
|
root: {
|
|
388
388
|
size: "sm",
|
|
@@ -11,13 +11,13 @@ import X from "../../navigation/Menu/MenuHeading.js";
|
|
|
11
11
|
import Y from "../Logo/Logo.js";
|
|
12
12
|
import Z from "../Logo/LogoMini.js";
|
|
13
13
|
import ee from "./NavigationProgress.js";
|
|
14
|
+
import re from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/MenuButton/MenuButton.js";
|
|
15
|
+
import D from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/IconButton/IconButton.js";
|
|
14
16
|
import k from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Drawer/Drawer.js";
|
|
15
17
|
import S from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/ModalClose/ModalClose.js";
|
|
16
|
-
import
|
|
18
|
+
import oe from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/DialogTitle/DialogTitle.js";
|
|
17
19
|
import o from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Box/Box.js";
|
|
18
|
-
import
|
|
19
|
-
import { useTheme as oe } from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/styles/ThemeProvider.js";
|
|
20
|
-
import ie from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/MenuButton/MenuButton.js";
|
|
20
|
+
import { useTheme as ie } from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/styles/ThemeProvider.js";
|
|
21
21
|
const ne = i.header`
|
|
22
22
|
display: flex;
|
|
23
23
|
flex-flow: row;
|
|
@@ -67,7 +67,7 @@ const ne = i.header`
|
|
|
67
67
|
text-decoration: none;
|
|
68
68
|
}
|
|
69
69
|
}
|
|
70
|
-
`, C = i(
|
|
70
|
+
`, C = i(re)`
|
|
71
71
|
${L}
|
|
72
72
|
svg {
|
|
73
73
|
width: 1rem;
|
|
@@ -134,7 +134,7 @@ function Be({
|
|
|
134
134
|
size: "lg",
|
|
135
135
|
children: [
|
|
136
136
|
/* @__PURE__ */ e(S, {}),
|
|
137
|
-
/* @__PURE__ */ e(
|
|
137
|
+
/* @__PURE__ */ e(oe, { children: "Main menu" }),
|
|
138
138
|
/* @__PURE__ */ e(o, { role: "presentation", children: h })
|
|
139
139
|
]
|
|
140
140
|
}
|
|
@@ -237,7 +237,7 @@ function Be({
|
|
|
237
237
|
]
|
|
238
238
|
}
|
|
239
239
|
)
|
|
240
|
-
] }), V =
|
|
240
|
+
] }), V = ie(), { logoFillColour: v } = V.palette.appbar;
|
|
241
241
|
return /* @__PURE__ */ r(w, { children: [
|
|
242
242
|
/* @__PURE__ */ e(
|
|
243
243
|
ee,
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import o from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/FormHelperText/FormHelperText.js";
|
|
3
|
+
function p(r) {
|
|
4
|
+
return /* @__PURE__ */ e(o, { ...r });
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
p as default
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import e from "../../../node_modules/.pnpm/@mui_joy@5.0.0-beta.52_@emotion_react@11.14.0_@types_react@18.3.28_react@18.3.1__@emoti_58201694b486b0db36cbf79098c4edaa/node_modules/@mui/joy/Stepper/Stepper.js";
|
|
3
|
+
function f(r) {
|
|
4
|
+
return /* @__PURE__ */ t(e, { ...r });
|
|
5
|
+
}
|
|
6
|
+
export {
|
|
7
|
+
f as default
|
|
8
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
|
-
import x, {
|
|
2
|
+
import x, { createContext as N, useState as T, useRef as f, useCallback as s, useEffect as S, useContext as C } from "react";
|
|
3
3
|
const d = {
|
|
4
4
|
showProgress: !1,
|
|
5
5
|
completing: !1,
|
|
6
6
|
width: 0
|
|
7
|
-
}, h =
|
|
7
|
+
}, h = N(void 0);
|
|
8
8
|
function M({
|
|
9
9
|
children: i
|
|
10
10
|
}) {
|
|
11
|
-
const [r, c] =
|
|
11
|
+
const [r, c] = T(d), t = f({}), a = f(!1), o = s(() => {
|
|
12
12
|
Object.values(t.current).forEach((e) => {
|
|
13
13
|
e && clearTimeout(e);
|
|
14
14
|
}), t.current = {};
|
|
@@ -43,7 +43,7 @@ function M({
|
|
|
43
43
|
l
|
|
44
44
|
]
|
|
45
45
|
);
|
|
46
|
-
|
|
46
|
+
S(() => o, [o]);
|
|
47
47
|
const w = x.useMemo(
|
|
48
48
|
() => ({ progressState: r, setNavigating: m }),
|
|
49
49
|
[r, m]
|
|
@@ -51,7 +51,7 @@ function M({
|
|
|
51
51
|
return /* @__PURE__ */ p(h.Provider, { value: w, children: i });
|
|
52
52
|
}
|
|
53
53
|
const j = () => {
|
|
54
|
-
const i =
|
|
54
|
+
const i = C(h);
|
|
55
55
|
if (!i)
|
|
56
56
|
throw new Error(
|
|
57
57
|
"useNavigationProgress must be used within a NavigationProgressProvider"
|