Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
88d2c1c
initial commit for maps
Dec 23, 2024
4dc0562
Merge branch 'main' of https://github.com/USACE/groundwork into featu…
Dec 23, 2024
99ec4f4
styles update
Jul 2, 2025
dbaaef1
fixed old type
Jul 2, 2025
8f7cbdc
fixed library name
Jul 2, 2025
99ca829
merge in main changes
Jul 2, 2025
e6f794f
fixed conflicts
Jul 2, 2025
721e9c8
Merge branch 'main' into feature/map
willbreitkreutz May 11, 2026
7d6ef6d
Merge branch 'main' into feature/map
willbreitkreutz May 11, 2026
07f8879
Update publish.yml (#276)
willbreitkreutz May 11, 2026
2757972
run npm audit fix (#275)
willbreitkreutz May 11, 2026
5ef9d8f
4.0.6
willbreitkreutz May 11, 2026
6d7516c
Update publish.yml (#277)
willbreitkreutz May 11, 2026
42d748c
4.0.7
willbreitkreutz May 11, 2026
fc2cffa
try updated checkout action (#279)
willbreitkreutz May 11, 2026
9bb4786
4.0.8
willbreitkreutz May 11, 2026
2cf22a2
Update publish (#280)
willbreitkreutz May 11, 2026
046bf4f
4.0.9
willbreitkreutz May 11, 2026
22368e3
Update publish.yml
willbreitkreutz May 11, 2026
b093073
Update publish.yml
willbreitkreutz May 11, 2026
c948bf1
Update publish.yml
willbreitkreutz May 11, 2026
fa229e7
278 corps castle link not redirecting correctly (#281)
willbreitkreutz May 18, 2026
e1264fc
4.1.0
willbreitkreutz May 18, 2026
fd9c225
Fix duplicated docs hash links (#282)
krowvin Jun 1, 2026
a9b1ebf
4.1.1
willbreitkreutz Jun 1, 2026
3b989f5
try and get up to date package lock
willbreitkreutz Jun 2, 2026
7aa245b
Merge remote-tracking branch 'origin' into feature/map
willbreitkreutz Jun 2, 2026
4450844
update groundwork-geo
willbreitkreutz Jun 2, 2026
7462d38
remove annoying type errors
willbreitkreutz Jun 2, 2026
80abcf1
change from console.log to alert, that way we show the user click han…
willbreitkreutz Jun 2, 2026
cda5575
swap alert for console.log
willbreitkreutz Jun 2, 2026
ef824c6
make mapping navigation links consistent
willbreitkreutz Jun 2, 2026
67e7d1a
Fix mapping section of links in nav-links.js
willbreitkreutz Jun 3, 2026
7eeb6d1
add demo imports for the components being used
willbreitkreutz Jun 3, 2026
b13fac0
fix demo import for GeoJSONLayer
willbreitkreutz Jun 3, 2026
01bc66f
Update map-layout docs
willbreitkreutz Jun 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,11 @@ module.exports = {
"off",
{ allowConstantExport: true },
],
"no-unused-vars": ["error", {
"vars": "all",
"args": "after-used",
"ignoreRestSiblings": false,
"argsIgnorePattern": "^_"
}],
},
};
18 changes: 9 additions & 9 deletions lib/components/display/modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ function Modal({
dialogTitle,
dialogDescription,
isStatic = false,
autoFocus=false,
dialogTransition=false,
dialogPanelTransition= false,
autoFocus = false,
dialogTransition = false,
dialogPanelTransition = false,
unmount = true,
role='dialog',
role = "dialog",
buttons,
size = "2xl",
className,
Expand All @@ -36,23 +36,23 @@ function Modal({
);
size = "2xl";
}

// Check if Role exists
if (!roleOptions.includes(role)) {
console.error(
`Invalid role option for dialog ${role}. Must be one of: 'dialog','alertdialog'`)
console.warn(
`Invalid role option for dialog ${role}. Must be one of: 'dialog','alertdialog'`,
);
console.warn(
`Defaulting to 'dialog' for role of <Modal modalTitle="${dialogTitle}" .../>`,
);
role = "dialog";

}

return (
<Dialog
open={opened}
onClose={onClose}
static= {isStatic}
static={isStatic}
autoFocus={autoFocus}
transition={dialogTransition}
unmount={unmount}
Expand Down
Loading
Loading