Skip to content

Commit b7b93e6

Browse files
committed
update header auth injection, artifacts
1 parent 4dce3c2 commit b7b93e6

File tree

7 files changed

+28
-20
lines changed

7 files changed

+28
-20
lines changed

lib/components/NeonHeader/NeonHeader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ var NeonHeader = /*#__PURE__*/(0, _react.forwardRef)(function (props, headerRef)
208208
var _domNode$attribs = domNode.attribs,
209209
attribs = _domNode$attribs === void 0 ? {} : _domNode$attribs;
210210

211-
if (!attribs.id !== AUTH_ELEMENT_ID) {
211+
if (attribs.id !== AUTH_ELEMENT_ID) {
212212
return null;
213213
}
214214

lib/remoteAssets/drupal-header.html.d.ts

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

lib/remoteAssets/drupal-header.html.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/remoteAssets/drupal-theme.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -949,9 +949,9 @@
949949
color: white; }
950950
#header .select2-selection.select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove, #footer .select2-selection.select2-selection--multiple .select2-selection__choice .select2-selection__choice__remove {
951951
padding: 0.15rem; }
952-
#header button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close),
952+
#header button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.filter--trigger-tutorials):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close),
953953
#header button.button.form-submit.ui-button,
954-
#header input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res), #header ::-webkit-file-upload-button, #footer button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close),
954+
#header input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res), #header ::-webkit-file-upload-button, #footer button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.filter--trigger-tutorials):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close),
955955
#footer button.button.form-submit.ui-button,
956956
#footer input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res), #footer ::-webkit-file-upload-button {
957957
color: #fff;
@@ -966,20 +966,20 @@
966966
padding: 0.6rem 0.9rem;
967967
-webkit-appearance: none;
968968
transition: all 0.25s; }
969-
#header button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):hover,
969+
#header button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.filter--trigger-tutorials):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):hover,
970970
#header button.button.form-submit.ui-button:hover,
971-
#header input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res):hover, #header ::-webkit-file-upload-button:hover, #footer button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):hover,
971+
#header input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res):hover, #header ::-webkit-file-upload-button:hover, #footer button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.filter--trigger-tutorials):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):hover,
972972
#footer button.button.form-submit.ui-button:hover,
973973
#footer input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res):hover, #footer ::-webkit-file-upload-button:hover {
974974
transition: all 0.25s;
975975
background: #0092E2;
976976
border: 1px solid #0092E2;
977977
box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.25), 0px 1px 1px rgba(0, 0, 0, 0.25); }
978-
#header button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):active, #header button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):focus,
978+
#header button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.filter--trigger-tutorials):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):active, #header button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.filter--trigger-tutorials):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):focus,
979979
#header button.button.form-submit.ui-button:active,
980980
#header button.button.form-submit.ui-button:focus,
981981
#header input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res):active,
982-
#header input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res):focus, #header ::-webkit-file-upload-button:active, #header ::-webkit-file-upload-button:focus, #footer button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):active, #footer button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):focus,
982+
#header input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res):focus, #header ::-webkit-file-upload-button:active, #header ::-webkit-file-upload-button:focus, #footer button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.filter--trigger-tutorials):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):active, #footer button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.filter--trigger-tutorials):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):focus,
983983
#footer button.button.form-submit.ui-button:active,
984984
#footer button.button.form-submit.ui-button:focus,
985985
#footer input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res):active,
@@ -988,9 +988,9 @@
988988
background: #0092E2;
989989
box-shadow: 0px 0px 0px 4px #C4C4C4;
990990
border: 1px solid #0073CF; }
991-
#header button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):disabled,
991+
#header button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.filter--trigger-tutorials):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):disabled,
992992
#header button.button.form-submit.ui-button:disabled,
993-
#header input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res):disabled, #header ::-webkit-file-upload-button:disabled, #footer button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):disabled,
993+
#header input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res):disabled, #header ::-webkit-file-upload-button:disabled, #footer button:not(.paragraphs-dropdown-togagle):not(.erl-edit):not(.ui-button):not(.button--danger):not(.erl-add-content__toggle):not(.trigger):not(.toolbar-item):not(.toolbar-icon):not(.MuiButtonBase-root):not(.MuiLink-root):not(.filter--trigger):not(.filter--trigger-secondary):not(.filter--trigger-tutorials):not(.paragraphs-dropdown-toggle):not(.isDesktop):not(.subNavClose):not(.focusable):not(.mini-arrow):not(.button--search):not(.button__search-close):disabled,
994994
#footer button.button.form-submit.ui-button:disabled,
995995
#footer input[type="submit"]:not(.paragraphs-dropdown-action):not(.erl-edit):not(.erl-remove):not(#edit-submit-staff):not(#edit-submit-blog):not(.button--search):not(.search-form__button):not(#edit-submit-flight-res):disabled, #footer ::-webkit-file-upload-button:disabled {
996996
background: #D7D9D9;

src/lib_components/components/NeonHeader/NeonHeader.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ const NeonHeader = forwardRef((props, headerRef) => {
161161
const injectAuth = !auth.useCore ? null : {
162162
replace: (domNode) => {
163163
const { attribs = {} } = domNode;
164-
if (!attribs.id !== AUTH_ELEMENT_ID) { return null; }
164+
if (attribs.id !== AUTH_ELEMENT_ID) { return null; }
165165
return (
166166
<div id={AUTH_ELEMENT_ID} className={classes.coreAuthContainer}>
167167
<NeonAuth

src/lib_components/remoteAssets/drupal-header.html.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,10 @@ export default html = `
625625
<a href="https://www.neonscience.org/field-sites/explore-field-sites" class="menu__link" data-drupal-link-system-path="node/10899">Explore Field Sites</a>
626626
627627
</li>
628+
<li class="menu__item">
629+
<a href="https://data.neonscience.org/data-products/DP1.10111.001" class="menu__link">Site Management Data Product</a>
630+
631+
</li>
628632
629633
</ul>
630634
@@ -854,6 +858,10 @@ export default html = `
854858
855859
856860
861+
</li>
862+
<li class="menu__item">
863+
<a href="https://www.neonscience.org/resources/funding-opportunities" class="menu__link" data-drupal-link-system-path="node/11327">Funding Opportunities </a>
864+
857865
</li>
858866
<li class="menu__item">
859867
<a href="https://www.neonscience.org/get-involved/neon-science-community-forum" class="menu__link" data-drupal-link-system-path="node/6761">Community Forum</a>

0 commit comments

Comments
 (0)