trimble-terra 1.1.20 → 1.1.22

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.
@@ -1 +1 @@
1
- @charset "UTF-8";.td-header__root{position:relative}.td-header__mobile-toggle,.td-header__mobile-menu{display:none}.td-header__navbar{border-bottom:1px solid var(--modus-wc-color-base-200, #e0e1e9);display:block;max-width:100%}.td-header__navbar .modus-wc-navbar-start,.td-header__navbar .modus-wc-navbar-end{width:auto}.td-header__navbar .modus-wc-navbar-start{min-width:0}.td-header__navbar .modus-wc-navbar-center{display:flex;flex:1 1 auto;justify-content:flex-end;padding-inline-end:var(--modus-wc-spacing-sm)}.td-header__brand-wrap{display:flex;align-items:center;gap:.5rem;min-width:0}.td-header__brand{display:inline-flex;align-items:center;gap:.75rem;text-decoration:none;color:inherit;border-radius:var(--modus-wc-border-radius-md, 4px);min-width:0}.td-header__brand:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:2px}.td-header__logo{display:block;height:28px;width:auto;min-width:0;max-width:100%}.td-header__nav{display:flex;align-items:center;gap:.25rem;width:100%}.td-header__nav-link{display:inline-flex;align-items:center;margin:0 4px;height:2.5rem;padding:0 .25rem;border-radius:var(--modus-wc-border-radius-lg, 8px);font-family:Open Sans,-apple-system,Segoe UI,sans-serif;font-size:.875rem;font-weight:600;text-decoration:none;white-space:nowrap;color:var(--modeColor-semantic-primary-bg, #0063A3)}@media screen and (min-width:800px){.td-header__nav-link{padding:0 .75rem}}.td-header__nav-link:hover{background:#e0e1e9}.td-header__nav-link:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:-2px}.td-header__profile-popover .modus-wc-panel .main-menu-section modus-wc-menu,.td-header__profile-popover .modus-wc-panel modus-wc-menu,.td-header__profile-popover .modus-wc-panel [slot=body] modus-wc-menu{position:relative;top:initial;left:initial;bottom:initial;right:initial}.td-header__nav-trigger{display:inline-flex;align-items:center;gap:.25rem;white-space:nowrap;color:var(--modeColor-semantic-primary-bg, #0063A3)}.td-header__end{display:inline-flex;align-items:center;gap:.5rem}.td-header__help-dropdown.modus-wc-dropdown-menu .menu-wrapper modus-wc-menu{position:static;inset:auto}.td-header__help-icon--active{color:var(--modus-wc-color-primary, #0063a3)}.td-header__profile{position:relative;display:inline-flex}.td-header__profile-button .modus-wc-btn{padding:0}.td-header__profile-button .modus-wc-btn:hover,.td-header__profile-button .modus-wc-btn:active,.td-header__profile-button .modus-wc-btn[aria-pressed=true]{background:transparent}.td-header__profile-button .modus-wc-btn:hover .modus-wc-avatar .initials{background-color:#e0e1e9}.td-header__profile-button .modus-wc-avatar .modus-wc-w-16 .initials{font-size:10px}.td-header__profile-popover{position:absolute;top:calc(100% + .5rem);right:0;z-index:1000}.td-header__profile-popover[hidden]{display:none}.td-header__button .td-header__assistant-icon,.td-header__mobile-action .td-header__assistant-icon{height:1.25rem;width:auto}.td-header__no-pop .modus-wc-btn{animation:none}.td-header__menu{display:flex;flex-direction:column;min-width:12rem;border-radius:16px}.td-header__menu-link{display:flex;align-items:center;padding:.5rem .75rem;font-family:Open Sans,-apple-system,Segoe UI,sans-serif;font-size:.875rem;font-weight:400;text-decoration:none;white-space:nowrap;color:var(--modus-wc-color-base-content, #252a2e)}.td-header__menu-link:hover{background:#e0e1e9}.td-header__menu-link:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:-2px}.td-header__nav-dropdown .menu-wrapper,.td-header__help-dropdown .menu-wrapper,.td-header__nav-dropdown modus-wc-menu .modus-wc-menu,.td-header__help-dropdown modus-wc-menu .modus-wc-menu{border-radius:16px}.td-header__mobile-menu{position:absolute;inset-inline:0;top:100%;z-index:900;flex-direction:column;max-height:80vh;overflow-y:auto;padding:var(--modus-wc-spacing-sm, .5rem);background:var(--modus-wc-color-base-page, #fff);border-bottom:1px solid var(--modus-wc-color-base-200, #e0e1e9);box-shadow:0 8px 16px -8px #00000040}.td-header__mobile-nav{display:flex;flex-direction:column}.td-header__mobile-link{display:flex;align-items:center;padding:8px .75rem;line-height:32px;font-family:Open Sans,-apple-system,Segoe UI,sans-serif;font-weight:400;font-size:var(--t-font-size-lg, 18px);text-decoration:none;color:var(--modus-wc-color-base-content, #252a2e)}@media screen and (min-width:640px){.td-header__mobile-link{font-size:1rem}}.td-header__mobile-link:hover,.td-header__mobile-link:active{background:var(--modeColor-semantic-primary-pale, #DCEDF9);color:var(--modus-wc-color-base-content, #252a2e)}.td-header__mobile-link:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:-2px}.td-header__mobile-link--child{font-weight:400;padding-left:1.5rem;font-size:var(--t-font-size-sm, 14px);border-left:1px solid var(--modus-wc-color-base-200, #e0e1e9)}.td-header__mobile-sub{display:flex;flex-direction:column;font-size:var(--t-font-size-sm, 14px)}.td-header__mobile-utilities{display:flex;flex-direction:column}.td-header__mobile-utilities:not(:first-child){margin-top:.5rem;padding-top:.5rem;border-top:1px solid var(--modus-wc-color-base-200, #e0e1e9)}.td-header__mobile-utilities>modus-wc-button,.td-header__mobile-utilities>modus-wc-collapse{margin-top:2px}.td-header__mobile-action{width:100%}.td-header__mobile-action .modus-wc-btn{justify-content:flex-start;gap:.5rem;width:100%;height:auto;min-height:0;padding:8px .75rem;line-height:32px;border-radius:var(--modus-wc-border-radius-md, 4px);color:var(--modus-wc-color-base-content, #252a2e)}.td-header__mobile-action .modus-wc-btn:hover{background:var(--modus-wc-color-base-200, #e0e1e9)}.td-header__mobile-action-label{font-family:Open Sans,-apple-system,Segoe UI,sans-serif;font-size:var(--t-font-size-lg, 18px);font-weight:400}.td-header__mobile-theme{display:flex;align-items:center;gap:.5rem;padding:8px .75rem;line-height:32px}.td-header__theme-switch{position:relative;display:inline-flex;align-items:center}.td-header__theme-switch-icon{position:absolute;top:50%;transform:translateY(-50%);font-size:12px;line-height:1;pointer-events:none;color:var(--modus-wc-color-primary, #0063a3)}.td-header__theme-switch--light .td-header__theme-switch-icon{left:4px}.td-header__theme-switch--light .td-header__theme-switch-icon i{font-size:1rem;color:var(--modeColor-modeContent-content-static-dark, #171C1E);fill:var(--modeColor-modeContent-content-static-dark, #171C1E)}.td-header__theme-switch--dark .td-header__theme-switch-icon{right:3px}.td-header__theme-switch--dark .td-header__theme-switch-icon i{font-size:1rem;color:var(--modeColor-modeContent-content-static-dark, #171C1E);fill:var(--modeColor-modeContent-content-static-dark, #171C1E)}.td-header__mobile-theme-label{margin:0;padding:0;border:0;background:none;text-align:left;cursor:pointer;font-family:Open Sans,-apple-system,Segoe UI,sans-serif;font-size:var(--t-font-size-lg, 18px);font-weight:400;color:var(--modus-wc-color-base-content, #252a2e)}.td-header__mobile-collapse .modus-wc-title-main-row{font-size:var(--t-font-size-lg, 18px);font-weight:400;line-height:32px}@media screen and (min-width:640px){.td-header__mobile-collapse .modus-wc-title-main-row{font-size:1rem}}.td-header__nav-dropdown .modus-wc-btn{padding:0 .25rem}@media screen and (min-width:800px){.td-header__nav-dropdown .modus-wc-btn{padding:0 .75rem}}.td-header__mobile-utilities:not(:first-child){margin-top:0;padding-top:0;border-top:none}modus-wc-collapse .modus-wc-collapse.no-leading-icons>.modus-wc-collapse-title{padding-inline-start:12px}modus-wc-collapse .modus-wc-collapse .modus-wc-collapse-title{padding-top:8px;padding-bottom:8px}modus-wc-collapse .modus-wc-collapse-open .modus-wc-collapse-title{border-left:8px solid #0063A3;padding-left:12px}modus-wc-collapse .modus-wc-collapse.modus-wc-border{border-bottom:none;margin-bottom:0}modus-wc-collapse .td-header__mobile-collapse.modus-wc-collapse-open .modus-wc-collapse-title{font-weight:400}modus-wc-collapse .td-header__mobile-collapse.modus-wc-collapse-open .td-header__mobile-link{margin-bottom:0;padding:8px 12px}modus-wc-collapse .modus-wc-collapse.modus-wc-collapse-arrow.modus-wc-collapse-open .modus-wc-collapse-content{padding-left:1.25rem}.modus-wc-collapse-arrow>.modus-wc-collapse-title:after{top:25px!important}.light .td-header__nav-link:hover,.light .td-header__nav-link:active{background:#e0e1e9}.light .td-header__button .modus-wc-btn{background:var(--modeColor-modeContent-level1, #F1F1F6);color:var(--modus-wc-color-base-content, #252a2e)}.light .td-header__button .modus-wc-btn:hover{background:#e0e1e9;color:var(--modus-wc-color-base-content, #252a2e)}.light .td-header__button .modus-wc-btn:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:-2px}.light .td-header__nav-dropdown modus-wc-button[aria-expanded=true] .modus-wc-btn,.light .td-header__nav-dropdown .modus-wc-btn:hover{background:#e0e1e9}.light .td-header__help-dropdown--active .modus-wc-btn{background:#e0e1e9;color:var(--modus-wc-color-base-content, #252a2e)}.light modus-wc-collapse .td-header__mobile-collapse.modus-wc-collapse-open{color:var(--modeColor-semantic-primary-bg, #0063A3)}.light modus-wc-collapse .td-header__mobile-collapse.modus-wc-collapse-open .modus-wc-collapse-title{background:var(--modeColor-semantic-primary-pale, #DCEDF9)}.dark .td-header__nav-link:hover,.dark .td-header__nav-link:active,.dark .td-header__menu-link:hover,.dark .td-header__menu-link:active{background:var(--modus-wc-color-base-200)}.dark .td-header__button .modus-wc-btn{background:var(--u-color-active-overlay, rgba(255, 255, 255, .15));color:var(--modus-wc-color-base-content, #252a2e)}.dark .td-header__button .modus-wc-btn:hover{background:var(--modeColor-modeContent-level1, #252a2e);color:var(--modus-wc-color-base-content, #252a2e)}.dark .td-header__button .modus-wc-btn:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:-2px}.dark .td-header__nav-dropdown modus-wc-button[aria-expanded=true] .modus-wc-btn,.dark .td-header__nav-dropdown .modus-wc-btn:hover{background:var(--modus-wc-color-base-200)}.dark .td-header__help-dropdown--active .modus-wc-btn{background:var(--modeColor-modeContent-level1, #252a2e)}modus-wc-navbar .modus-wc-navbar [slot=end] modus-wc-button,modus-wc-navbar .modus-wc-navbar [slot=end] modus-wc-text-input{padding:0}@media(min-width:640px){.td-header__mobile-toggle,.td-header__mobile-menu{display:none!important}}.td-header__sign-in{display:inline-flex}@media(max-width:639px){.td-header__nav,.td-header__desktop-control{display:none!important}.td-header__logo{height:24px}.td-header__sign-in{display:inline-flex!important}.td-header__mobile-toggle{display:inline-flex}.td-header__mobile-menu:not([hidden]){display:flex;height:100vh;max-height:100vh}}@media(min-width:640px)and (max-width:799px){.td-header__logo{height:clamp(18px,3.2vw,28px)}}
1
+ @charset "UTF-8";.td-header__root{position:relative}.td-header__mobile-toggle,.td-header__mobile-menu{display:none}.td-header__navbar{border-bottom:1px solid var(--modus-wc-color-base-200, #e0e1e9);display:block;max-width:100%}.td-header__navbar .modus-wc-navbar-start,.td-header__navbar .modus-wc-navbar-end{width:auto}.td-header__navbar .modus-wc-navbar-start{min-width:0}.td-header__navbar .modus-wc-navbar-center{display:flex;flex:1 1 auto;justify-content:flex-end;padding-inline-end:var(--modus-wc-spacing-sm)}.td-header__brand-wrap{display:flex;align-items:center;gap:.5rem;min-width:0}.td-header__brand{display:inline-flex;align-items:center;gap:.75rem;text-decoration:none;color:inherit;border-radius:var(--modus-wc-border-radius-md, 4px);min-width:0}.td-header__brand:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:2px}.td-header__logo{display:block;height:28px;width:auto;min-width:0;max-width:100%}.td-header__nav{display:flex;align-items:center;gap:.25rem;width:100%}.td-header__nav-link{display:inline-flex;align-items:center;margin:0 4px;height:2.5rem;padding:0 .25rem;border-radius:var(--modus-wc-border-radius-lg, 8px);font-family:Open Sans,-apple-system,Segoe UI,sans-serif;font-size:.875rem;font-weight:600;text-decoration:none;white-space:nowrap;color:var(--modeColor-semantic-primary-bg, #0063A3)}@media screen and (min-width:800px){.td-header__nav-link{padding:0 .75rem}}.td-header__nav-link:hover{background:#e0e1e9}.td-header__nav-link:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:-2px}.td-header__profile-popover .modus-wc-panel .main-menu-section modus-wc-menu,.td-header__profile-popover .modus-wc-panel modus-wc-menu,.td-header__profile-popover .modus-wc-panel [slot=body] modus-wc-menu{position:relative;top:initial;left:initial;bottom:initial;right:initial}.td-header__nav-trigger{display:inline-flex;align-items:center;gap:.25rem;white-space:nowrap;color:var(--modeColor-semantic-primary-bg, #0063A3)}.td-header__end{display:inline-flex;align-items:center;gap:.5rem}.td-header__help-dropdown.modus-wc-dropdown-menu .menu-wrapper modus-wc-menu{position:static;inset:auto}.td-header__help-icon--active{color:var(--modus-wc-color-primary, #0063a3)}.td-header__profile{position:relative;display:inline-flex}.td-header__profile-button .modus-wc-btn{padding:0}.td-header__profile-button .modus-wc-btn:hover,.td-header__profile-button .modus-wc-btn:active,.td-header__profile-button .modus-wc-btn[aria-pressed=true]{background:transparent}.td-header__profile-button .modus-wc-avatar,.td-header__profile-button modus-wc-avatar,.td-header__profile-button .modus-wc-avatar>div{border-radius:9999px;width:100%;height:100%}.td-header__profile-button .modus-wc-avatar .modus-wc-w-16 .initials,.td-header__profile-button .modus-wc-avatar .modus-wc-w-12 .initials{font-size:10px}.td-header__profile-popover{position:absolute;top:calc(100% + .5rem);right:0;z-index:1000}.td-header__profile-popover[hidden]{display:none}.td-header__button .td-header__assistant-icon,.td-header__mobile-action .td-header__assistant-icon{height:1.25rem;width:auto}.td-header__no-pop .modus-wc-btn{animation:none}.td-header__menu{display:flex;flex-direction:column;min-width:12rem;border-radius:16px}.td-header__menu-link{display:flex;align-items:center;padding:.5rem .75rem;font-family:Open Sans,-apple-system,Segoe UI,sans-serif;font-size:.875rem;font-weight:400;text-decoration:none;white-space:nowrap;color:var(--modus-wc-color-base-content, #252a2e)}.td-header__menu-link:hover{background:#e0e1e9}.td-header__menu-link:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:-2px}.td-header__nav-dropdown .menu-wrapper,.td-header__help-dropdown .menu-wrapper,.td-header__nav-dropdown modus-wc-menu .modus-wc-menu,.td-header__help-dropdown modus-wc-menu .modus-wc-menu{border-radius:16px}.td-header__mobile-menu{position:absolute;inset-inline:0;top:100%;z-index:900;flex-direction:column;max-height:80vh;overflow-y:auto;padding:var(--modus-wc-spacing-sm, .5rem);background:var(--modus-wc-color-base-page, #fff);border-bottom:1px solid var(--modus-wc-color-base-200, #e0e1e9);box-shadow:0 8px 16px -8px #00000040}.td-header__mobile-nav{display:flex;flex-direction:column}.td-header__mobile-link{display:flex;align-items:center;padding:8px .75rem;line-height:32px;font-family:Open Sans,-apple-system,Segoe UI,sans-serif;font-weight:400;font-size:var(--t-font-size-lg, 18px);text-decoration:none;color:var(--modus-wc-color-base-content, #252a2e)}@media screen and (min-width:640px){.td-header__mobile-link{font-size:1rem}}.td-header__mobile-link:hover,.td-header__mobile-link:active{background:var(--modeColor-semantic-primary-pale, #DCEDF9);color:var(--modus-wc-color-base-content, #252a2e)}.td-header__mobile-link:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:-2px}.td-header__mobile-link--child{font-weight:400;padding-left:1.5rem;font-size:var(--t-font-size-sm, 14px);border-left:1px solid var(--modus-wc-color-base-200, #e0e1e9)}.td-header__mobile-sub{display:flex;flex-direction:column;font-size:var(--t-font-size-sm, 14px)}.td-header__mobile-utilities{display:flex;flex-direction:column}.td-header__mobile-utilities:not(:first-child){margin-top:.5rem;padding-top:.5rem;border-top:1px solid var(--modus-wc-color-base-200, #e0e1e9)}.td-header__mobile-utilities>modus-wc-button,.td-header__mobile-utilities>modus-wc-collapse{margin-top:2px}.td-header__mobile-action{width:100%}.td-header__mobile-action .modus-wc-btn{justify-content:flex-start;gap:.5rem;width:100%;height:auto;min-height:0;padding:8px .75rem;line-height:32px;border-radius:var(--modus-wc-border-radius-md, 4px);color:var(--modus-wc-color-base-content, #252a2e)}.td-header__mobile-action .modus-wc-btn:hover{background:var(--modus-wc-color-base-200, #e0e1e9)}.td-header__mobile-action-label{font-family:Open Sans,-apple-system,Segoe UI,sans-serif;font-size:var(--t-font-size-lg, 18px);font-weight:400}.td-header__mobile-theme{display:flex;align-items:center;gap:.5rem;padding:8px .75rem;line-height:32px}.td-header__theme-switch{position:relative;display:inline-flex;align-items:center}.td-header__theme-switch-icon{position:absolute;top:50%;transform:translateY(-50%);font-size:12px;line-height:1;pointer-events:none;color:var(--modus-wc-color-primary, #0063a3)}.td-header__theme-switch--light .td-header__theme-switch-icon{left:4px}.td-header__theme-switch--light .td-header__theme-switch-icon i{font-size:1rem;color:var(--modeColor-modeContent-content-static-dark, #171C1E);fill:var(--modeColor-modeContent-content-static-dark, #171C1E)}.td-header__theme-switch--dark .td-header__theme-switch-icon{right:3px}.td-header__theme-switch--dark .td-header__theme-switch-icon i{font-size:1rem;color:var(--modeColor-modeContent-content-static-dark, #171C1E);fill:var(--modeColor-modeContent-content-static-dark, #171C1E)}.td-header__mobile-theme-label{margin:0;padding:0;border:0;background:none;text-align:left;cursor:pointer;font-family:Open Sans,-apple-system,Segoe UI,sans-serif;font-size:var(--t-font-size-lg, 18px);font-weight:400;color:var(--modus-wc-color-base-content, #252a2e)}.td-header__mobile-collapse .modus-wc-title-main-row{font-size:var(--t-font-size-lg, 18px);font-weight:400;line-height:32px}@media screen and (min-width:640px){.td-header__mobile-collapse .modus-wc-title-main-row{font-size:1rem}}.td-header__nav-dropdown .modus-wc-btn{padding:0 .25rem}@media screen and (min-width:800px){.td-header__nav-dropdown .modus-wc-btn{padding:0 .75rem}}.td-header__mobile-utilities:not(:first-child){margin-top:0;padding-top:0;border-top:none}modus-wc-collapse .modus-wc-collapse.no-leading-icons>.modus-wc-collapse-title{padding-inline-start:12px}modus-wc-collapse .modus-wc-collapse .modus-wc-collapse-title{padding-top:8px;padding-bottom:8px}modus-wc-collapse .modus-wc-collapse-open .modus-wc-collapse-title{border-left:8px solid #0063A3;padding-left:12px}modus-wc-collapse .modus-wc-collapse.modus-wc-border{border-bottom:none;margin-bottom:0}modus-wc-collapse .td-header__mobile-collapse.modus-wc-collapse-open .modus-wc-collapse-title{font-weight:400}modus-wc-collapse .td-header__mobile-collapse.modus-wc-collapse-open .td-header__mobile-link{margin-bottom:0;padding:8px 12px}modus-wc-collapse .modus-wc-collapse.modus-wc-collapse-arrow.modus-wc-collapse-open .modus-wc-collapse-content{padding-left:1.25rem}.modus-wc-collapse-arrow>.modus-wc-collapse-title:after{top:25px!important}.light .td-header__nav-link:hover,.light .td-header__nav-link:active{background:#e0e1e9}.light .td-header__button .modus-wc-btn{background:var(--modeColor-modeContent-level1, #F1F1F6);color:var(--modus-wc-color-base-content, #252a2e)}.light .td-header__button .modus-wc-btn:hover{background:#e0e1e9;color:var(--modus-wc-color-base-content, #252a2e)}.light .td-header__button .modus-wc-btn:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:-2px}.light .td-header__nav-dropdown modus-wc-button[aria-expanded=true] .modus-wc-btn,.light .td-header__nav-dropdown .modus-wc-btn:hover{background:#e0e1e9}.light .td-header__help-dropdown--active .modus-wc-btn{background:#e0e1e9;color:var(--modus-wc-color-base-content, #252a2e)}.light .td-header modus-wc-collapse .td-header__mobile-collapse.modus-wc-collapse-open{color:var(--modeColor-semantic-primary-bg, #0063A3)}.light .td-header modus-wc-collapse .td-header__mobile-collapse.modus-wc-collapse-open .modus-wc-collapse-title{background:var(--modeColor-semantic-primary-pale, #DCEDF9)}.light .td-header__profile-button .modus-wc-btn{background-color:var(--modus-wc-color-neutral)}.light .td-header__profile-button .modus-wc-btn:hover .modus-wc-avatar{background-color:#e0e1e9}.light .td-header__profile-button--active .initials,.light .td-header__profile-button:hover .initials{background:#e0e1e9}.dark .td-header__nav-link:hover,.dark .td-header__nav-link:active,.dark .td-header__menu-link:hover,.dark .td-header__menu-link:active{background:var(--modus-wc-color-base-200)}.dark .td-header__button .modus-wc-btn{background:var(--u-color-active-overlay, rgba(255, 255, 255, .15));color:var(--modus-wc-color-base-content, #252a2e)}.dark .td-header__button .modus-wc-btn:hover{background:var(--modeColor-modeContent-level1, #252a2e);color:var(--modus-wc-color-base-content, #252a2e)}.dark .td-header__button .modus-wc-btn:focus-visible{outline:2px solid var(--modus-wc-color-primary, #0063a3);outline-offset:-2px}.dark .td-header__nav-dropdown modus-wc-button[aria-expanded=true] .modus-wc-btn,.dark .td-header__nav-dropdown .modus-wc-btn:hover{background:var(--modus-wc-color-base-200)}.dark .td-header__help-dropdown--active .modus-wc-btn{background:var(--modeColor-modeContent-level1, #252a2e)}.dark .td-header .modus-wc-btn{background-color:var(--modus-wc-color-neutral)}.dark .td-header .modus-wc-btn:hover .modus-wc-avatar{background-color:#e0e1e9}.dark .td-header__profile-button .modus-wc-btn{background-color:var(--modus-wc-color-neutral)}.dark .td-header__profile-button--active .initials,.dark .td-header__profile-button:hover .initials{background:#252a2e}modus-wc-navbar .modus-wc-navbar [slot=end] modus-wc-button,modus-wc-navbar .modus-wc-navbar [slot=end] modus-wc-text-input{padding:0}@media(min-width:640px){.td-header__mobile-toggle,.td-header__mobile-menu{display:none!important}}.td-header__sign-in{display:inline-flex}@media(max-width:639px){.td-header__nav,.td-header__desktop-control{display:none!important}.td-header__logo{height:24px}.td-header__sign-in{display:inline-flex!important}.td-header__mobile-toggle{display:inline-flex}.td-header__mobile-menu:not([hidden]){display:flex;height:100vh;max-height:100vh}}@media(min-width:640px)and (max-width:799px){.td-header__logo{height:clamp(18px,3.2vw,28px)}}
@@ -1 +1 @@
1
- {"version":3,"file":"TDHeader.d.ts","sourceRoot":"","sources":["../../../../src/component/TrimbleDeveloper/TDHeader.tsx"],"names":[],"mappings":"AAgBA,OAAO,qDAAqD,CAAC;AAC7D,OAAO,yBAAyB,CAAC;AACjC,OAAO,iBAAiB,CAAC;AAEzB,qEAAqE;AACrE,MAAM,WAAW,gBAAgB;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,gBAAgB,E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5B,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,6FAA6F;IAC7F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,8GAA8G;IAC9G,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4FAA4F;IAC5F,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yFAAyF;IACzF,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,wFAAwF;IACxF,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,sFAAsF;IACtF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gEAAgE;IAChE,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;IAC7B,oEAAoE;IACpE,SAAS,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC/B;;;;OAIG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,2EAA2E;IAC3E,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACzC,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,yEAAyE;IACzE,oBAAoB,CAAC,EAAE,MAAM,IAAI,CAAC;IAClC,mEAAmE;IACnE,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,oEAAoE;IACpE,sBAAsB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACjD,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAsED;;;;;;;;GAQG;AACH,eAAO,MAAM,QAAQ,GAAI,qQAmBtB,aAAa,4CAsjBf,CAAC"}
@@ -1,22 +1,22 @@
1
- import { jsx as a, jsxs as d } from "react/jsx-runtime";
2
- import { useState as v, useRef as te, useEffect as T, useCallback as c } from "react";
3
- import { TerraLink as _ } from "../TerraLink/TerraLink.js";
1
+ import { jsx as a, jsxs as r } from "react/jsx-runtime";
2
+ import { useState as g, useRef as te, useEffect as S, useCallback as c } from "react";
3
+ import { TerraLink as p } from "../TerraLink/TerraLink.js";
4
4
  import { TrimbleAssistantIcon as W } from "./TrimbleAssistantIcon.js";
5
5
  import { TrimbleDeveloperLogo as le } from "./TrimbleDeveloperLogo.js";
6
6
  import './TDHeader.css';import './modus-icons-setup.css';import '../../../node_modules/@trimble-oss/moduswebcomponents/modus-wc-styles.css';/* empty css */
7
7
  /* empty css */
8
8
  /* empty css */
9
- import { ModusWcThemeProvider as ne, ModusWcNavbar as re, ModusWcButton as h, ModusWcIcon as u, ModusWcDropdownMenu as D, ModusWcAvatar as de, ModusWcProfileMenu as oe, ModusWcCollapse as $, ModusWcSwitch as ie } from "../../../node_modules/@trimble-oss/moduswebcomponents-react/stencil-generated/components.js";
10
- const V = (r) => {
11
- if (r)
9
+ import { ModusWcThemeProvider as ne, ModusWcNavbar as re, ModusWcButton as h, ModusWcIcon as u, ModusWcDropdownMenu as $, ModusWcAvatar as de, ModusWcProfileMenu as oe, ModusWcCollapse as D, ModusWcSwitch as ie } from "../../../node_modules/@trimble-oss/moduswebcomponents-react/stencil-generated/components.js";
10
+ const V = (d) => {
11
+ if (d)
12
12
  return {
13
- title: r.title,
14
- items: r.items.map(({ href: o, value: i, ...b }) => ({
13
+ title: d.title,
14
+ items: d.items.map(({ href: o, value: i, ...b }) => ({
15
15
  ...b,
16
16
  value: o ?? i ?? b.label
17
17
  }))
18
18
  };
19
- }, se = (r) => r.trim().split(/\s+/).slice(0, 2).map((o) => o.charAt(0).toUpperCase()).join(""), ce = () => {
19
+ }, se = () => {
20
20
  try {
21
21
  const o = localStorage.getItem("modus-theme-config");
22
22
  if (o) {
@@ -25,59 +25,59 @@ const V = (r) => {
25
25
  }
26
26
  } catch {
27
27
  }
28
- const r = document.documentElement.getAttribute("data-theme");
29
- return r ? r.replace(/-(light|dark)$/, "") : "modus-modern";
30
- }, me = () => document.documentElement.getAttribute("data-mode") === "dark" ? "dark" : "light", U = (r) => {
31
- const o = document.documentElement, i = ce();
32
- o.setAttribute("data-theme", `${i}-${r}`), o.setAttribute("data-mode", r), o.classList.remove("light", "dark"), o.classList.add(r), localStorage.setItem("modus-theme-config", JSON.stringify({ mode: r, theme: i }));
33
- }, Ne = ({
34
- logoHref: r = "#",
28
+ const d = document.documentElement.getAttribute("data-theme");
29
+ return d ? d.replace(/-(light|dark)$/, "") : "modus-modern";
30
+ }, ce = () => document.documentElement.getAttribute("data-mode") === "dark" ? "dark" : "light", L = (d) => {
31
+ const o = document.documentElement, i = se();
32
+ o.setAttribute("data-theme", `${i}-${d}`), o.setAttribute("data-mode", d), o.classList.remove("light", "dark"), o.classList.add(d), localStorage.setItem("modus-theme-config", JSON.stringify({ mode: d, theme: i }));
33
+ }, ke = ({
34
+ logoHref: d = "#",
35
35
  brandLabel: o = "Developer",
36
36
  signInLabel: i = "Sign in",
37
37
  assistantLabel: b = "Trimble Assistant",
38
38
  helpLabel: y = "Help",
39
39
  notificationsLabel: M = "Notifications",
40
40
  themeLightLabel: j = "Light",
41
- themeDarkLabel: L = "Dark",
42
- navLinks: g = [],
43
- helpLinks: k = [],
44
- user: l,
45
- onLogoClick: C,
41
+ themeDarkLabel: J = "Dark",
42
+ navLinks: k = [],
43
+ helpLinks: N = [],
44
+ user: n,
45
+ onLogoClick: w,
46
46
  onNavItemClick: m,
47
- onAssistantClick: S,
48
- onNotificationsClick: z,
49
- onSignIn: J,
50
- onProfileMenuItemClick: E,
51
- onSignOut: B
47
+ onAssistantClick: z,
48
+ onNotificationsClick: E,
49
+ onSignIn: R,
50
+ onProfileMenuItemClick: B,
51
+ onSignOut: O
52
52
  }) => {
53
- const [s, w] = v("light"), [R, K] = v(!1), [N, f] = v(!1), O = te(null), [x, p] = v(!1), [A, H] = v(
53
+ const [s, x] = g("light"), [U, K] = g(!1), [f, v] = g(!1), C = te(null), [T, _] = g(!1), [H, q] = g(
54
54
  {}
55
55
  );
56
- T(() => {
57
- w(me());
56
+ S(() => {
57
+ x(ce());
58
58
  }, []);
59
- const I = c(() => {
60
- w((e) => {
59
+ const A = c(() => {
60
+ x((e) => {
61
61
  const t = e === "dark" ? "light" : "dark";
62
- return U(t), t;
62
+ return L(t), t;
63
63
  });
64
64
  }, []), F = c(
65
65
  (e) => {
66
- const n = !!e.detail?.target?.checked ? "dark" : "light";
67
- w(n), U(n);
66
+ const l = !!e.detail?.target?.checked ? "dark" : "light";
67
+ x(l), L(l);
68
68
  },
69
69
  []
70
70
  ), G = c(
71
71
  (e) => {
72
- C && (e.preventDefault(), C());
72
+ w && (e.preventDefault(), w());
73
73
  },
74
- [C]
74
+ [w]
75
75
  ), Q = c(
76
76
  (e) => {
77
77
  m?.(e.value ?? e.label);
78
78
  },
79
79
  [m]
80
- ), q = c(
80
+ ), I = c(
81
81
  (e) => {
82
82
  m?.(e.value ?? e.label), document.querySelectorAll(
83
83
  "modus-wc-dropdown-menu"
@@ -87,44 +87,44 @@ const V = (r) => {
87
87
  },
88
88
  [m]
89
89
  );
90
- T(() => {
91
- if (!N) return;
92
- const e = (n) => {
93
- O.current?.contains(n.target) || f(!1);
94
- }, t = (n) => {
95
- n.key === "Escape" && f(!1);
90
+ S(() => {
91
+ if (!f) return;
92
+ const e = (l) => {
93
+ C.current?.contains(l.target) || v(!1);
94
+ }, t = (l) => {
95
+ l.key === "Escape" && v(!1);
96
96
  };
97
97
  return document.addEventListener("mousedown", e), document.addEventListener("keydown", t), () => {
98
98
  document.removeEventListener("mousedown", e), document.removeEventListener("keydown", t);
99
99
  };
100
- }, [N]);
100
+ }, [f]);
101
101
  const X = c(
102
102
  (e) => {
103
- E?.(e.detail), f(!1);
103
+ B?.(e.detail), C.current?.querySelector(".td-header__profile-button")?.classList.toggle("td-header__profile-button--active"), v(!1);
104
104
  },
105
- [E]
105
+ [B]
106
106
  ), Y = c(() => {
107
- B?.(), f(!1);
108
- }, [B]);
109
- T(() => {
110
- const e = window.matchMedia("(max-width: 639px)"), t = (n) => {
111
- n.matches || p(!1);
107
+ O?.(), v(!1);
108
+ }, [O]);
109
+ S(() => {
110
+ const e = window.matchMedia("(max-width: 639px)"), t = (l) => {
111
+ l.matches || _(!1);
112
112
  };
113
113
  return e.addEventListener("change", t), () => e.removeEventListener("change", t);
114
114
  }, []);
115
115
  const Z = c(
116
116
  (e) => {
117
- m?.(e.value ?? e.label), p(!1);
117
+ m?.(e.value ?? e.label), _(!1);
118
118
  },
119
119
  [m]
120
120
  ), P = c(
121
121
  (e) => {
122
- m?.(e.value ?? e.label), p(!1);
122
+ m?.(e.value ?? e.label), _(!1);
123
123
  },
124
124
  [m]
125
- ), ee = g.length > 0;
126
- return /* @__PURE__ */ a(ne, { children: /* @__PURE__ */ d("div", { className: "td-header__root", children: [
127
- /* @__PURE__ */ d(
125
+ ), ee = k.length > 0;
126
+ return /* @__PURE__ */ a(ne, { children: /* @__PURE__ */ r("div", { className: "td-header__root", children: [
127
+ /* @__PURE__ */ r(
128
128
  re,
129
129
  {
130
130
  className: "td-header__navbar",
@@ -140,7 +140,7 @@ const V = (r) => {
140
140
  user: !1
141
141
  },
142
142
  children: [
143
- /* @__PURE__ */ d("div", { slot: "start", className: "td-header__brand-wrap", children: [
143
+ /* @__PURE__ */ r("div", { slot: "start", className: "td-header__brand-wrap", children: [
144
144
  /* @__PURE__ */ a(
145
145
  h,
146
146
  {
@@ -150,14 +150,14 @@ const V = (r) => {
150
150
  shape: "square",
151
151
  "aria-label": "Menu",
152
152
  "aria-haspopup": "menu",
153
- "aria-expanded": x,
153
+ "aria-expanded": T,
154
154
  "aria-controls": "td-header-mobile-menu",
155
- onButtonClick: () => p((e) => !e),
155
+ onButtonClick: () => _((e) => !e),
156
156
  className: "td-header__button td-header__mobile-toggle",
157
157
  children: /* @__PURE__ */ a(
158
158
  u,
159
159
  {
160
- name: x ? "close" : "menu",
160
+ name: T ? "close" : "menu",
161
161
  size: "sm",
162
162
  decorative: !0
163
163
  }
@@ -168,22 +168,22 @@ const V = (r) => {
168
168
  "a",
169
169
  {
170
170
  className: "td-header__brand",
171
- href: r,
171
+ href: d,
172
172
  "aria-label": `Trimble ${o} home`,
173
173
  onClick: G,
174
174
  children: /* @__PURE__ */ a(le, { className: "td-header__logo" })
175
175
  }
176
176
  )
177
177
  ] }),
178
- g.length > 0 && /* @__PURE__ */ a(
178
+ k.length > 0 && /* @__PURE__ */ a(
179
179
  "nav",
180
180
  {
181
181
  slot: "center",
182
182
  className: "td-header__nav",
183
183
  "aria-label": "Primary navigation",
184
- children: g.map(
185
- (e) => e.children && e.children.length > 0 ? /* @__PURE__ */ d(
186
- D,
184
+ children: k.map(
185
+ (e) => e.children && e.children.length > 0 ? /* @__PURE__ */ r(
186
+ $,
187
187
  {
188
188
  buttonAriaLabel: e.label,
189
189
  buttonVariant: "borderless",
@@ -194,18 +194,18 @@ const V = (r) => {
194
194
  menuStrategy: "fixed",
195
195
  customClass: "td-header__nav-dropdown",
196
196
  children: [
197
- /* @__PURE__ */ d("div", { slot: "button", className: "td-header__nav-trigger", children: [
197
+ /* @__PURE__ */ r("div", { slot: "button", className: "td-header__nav-trigger", children: [
198
198
  /* @__PURE__ */ a("span", { children: e.label }),
199
199
  /* @__PURE__ */ a(u, { name: "expand_more", size: "sm", decorative: !0 })
200
200
  ] }),
201
201
  /* @__PURE__ */ a("div", { slot: "menu", className: "td-header__menu", children: e.children.map((t) => /* @__PURE__ */ a(
202
- _,
202
+ p,
203
203
  {
204
204
  className: "td-header__menu-link",
205
205
  destination: t.href ?? "#",
206
206
  label: t.label,
207
207
  linkType: "text",
208
- onClickHandler: () => q(t)
208
+ onClickHandler: () => I(t)
209
209
  },
210
210
  t.value ?? t.label
211
211
  )) })
@@ -213,7 +213,7 @@ const V = (r) => {
213
213
  },
214
214
  e.label
215
215
  ) : /* @__PURE__ */ a(
216
- _,
216
+ p,
217
217
  {
218
218
  className: "td-header__nav-link",
219
219
  destination: e.href ?? "#",
@@ -226,7 +226,7 @@ const V = (r) => {
226
226
  )
227
227
  }
228
228
  ),
229
- /* @__PURE__ */ d("div", { slot: "end", className: "td-header__end", children: [
229
+ /* @__PURE__ */ r("div", { slot: "end", className: "td-header__end", children: [
230
230
  /* @__PURE__ */ a(
231
231
  h,
232
232
  {
@@ -235,13 +235,13 @@ const V = (r) => {
235
235
  size: "md",
236
236
  shape: "square",
237
237
  "aria-label": b,
238
- onButtonClick: () => S?.(),
238
+ onButtonClick: () => z?.(),
239
239
  className: "td-header__button td-header__desktop-control td-header__no-pop",
240
240
  children: /* @__PURE__ */ a(W, { mode: s })
241
241
  }
242
242
  ),
243
- k.length > 0 && /* @__PURE__ */ d(
244
- D,
243
+ N.length > 0 && /* @__PURE__ */ r(
244
+ $,
245
245
  {
246
246
  buttonAriaLabel: y,
247
247
  buttonVariant: "borderless",
@@ -251,7 +251,7 @@ const V = (r) => {
251
251
  menuPlacement: "bottom",
252
252
  menuOffset: 8,
253
253
  menuStrategy: "fixed",
254
- customClass: `td-header__button td-header__desktop-control td-header__help-dropdown ${R ? "td-header__help-dropdown--active" : ""}`,
254
+ customClass: `td-header__button td-header__desktop-control td-header__help-dropdown ${U ? "td-header__help-dropdown--active" : ""}`,
255
255
  onMenuVisibilityChange: (e) => K(!!e.detail?.isVisible),
256
256
  children: [
257
257
  /* @__PURE__ */ a(
@@ -264,21 +264,21 @@ const V = (r) => {
264
264
  decorative: !0
265
265
  }
266
266
  ),
267
- /* @__PURE__ */ a("div", { slot: "menu", className: "td-header__menu", children: k.map((e) => /* @__PURE__ */ a(
268
- _,
267
+ /* @__PURE__ */ a("div", { slot: "menu", className: "td-header__menu", children: N.map((e) => /* @__PURE__ */ a(
268
+ p,
269
269
  {
270
270
  className: "td-header__menu-link",
271
271
  destination: e.href ?? "#",
272
272
  label: e.label,
273
273
  linkType: "text",
274
- onClickHandler: () => q(e)
274
+ onClickHandler: () => I(e)
275
275
  },
276
276
  e.value ?? e.label
277
277
  )) })
278
278
  ]
279
279
  }
280
280
  ),
281
- l && /* @__PURE__ */ a(
281
+ n && /* @__PURE__ */ a(
282
282
  h,
283
283
  {
284
284
  color: "tertiary",
@@ -286,7 +286,7 @@ const V = (r) => {
286
286
  size: "md",
287
287
  shape: "square",
288
288
  "aria-label": M,
289
- onButtonClick: () => z?.(),
289
+ onButtonClick: () => E?.(),
290
290
  className: "td-header__button td-header__desktop-control",
291
291
  children: /* @__PURE__ */ a(
292
292
  u,
@@ -308,7 +308,7 @@ const V = (r) => {
308
308
  shape: "square",
309
309
  "aria-label": s === "dark" ? "Switch to light mode" : "Switch to dark mode",
310
310
  "aria-pressed": s === "dark",
311
- onButtonClick: I,
311
+ onButtonClick: A,
312
312
  className: "td-header__button td-header__desktop-control td-header__no-pop",
313
313
  children: /* @__PURE__ */ a(
314
314
  u,
@@ -321,7 +321,7 @@ const V = (r) => {
321
321
  )
322
322
  }
323
323
  ),
324
- l ? /* @__PURE__ */ d("div", { className: "td-header__profile", ref: O, children: [
324
+ n ? /* @__PURE__ */ r("div", { className: "td-header__profile", ref: C, children: [
325
325
  /* @__PURE__ */ a(
326
326
  h,
327
327
  {
@@ -329,18 +329,17 @@ const V = (r) => {
329
329
  variant: "borderless",
330
330
  size: "md",
331
331
  shape: "circle",
332
- "aria-label": `${l.name} — account menu`,
332
+ "aria-label": `${n.name} — account menu`,
333
333
  "aria-haspopup": "menu",
334
- "aria-expanded": N,
335
- onButtonClick: () => f((e) => !e),
336
- className: "td-header__profile-button",
334
+ "aria-expanded": f,
335
+ onButtonClick: () => v((e) => !e),
336
+ className: f ? "td-header__profile-button td-header__profile-button--active" : "td-header__profile-button",
337
337
  children: /* @__PURE__ */ a(
338
338
  de,
339
339
  {
340
- size: "md",
341
- alt: l.name,
342
- imgSrc: l.avatarUrl ?? "",
343
- initials: l.initials ?? se(l.name)
340
+ size: "sm",
341
+ alt: n.name,
342
+ initials: `${n.name}`
344
343
  }
345
344
  )
346
345
  }
@@ -349,19 +348,19 @@ const V = (r) => {
349
348
  "div",
350
349
  {
351
350
  className: "td-header__profile-popover",
352
- hidden: !N,
351
+ hidden: !f,
353
352
  children: /* @__PURE__ */ a(
354
353
  oe,
355
354
  {
356
355
  profileProps: {
357
- profileImageUrl: l.avatarUrl ?? "",
358
- headerName: l.organization ?? "",
359
- userName: l.name,
360
- userEmail: l.email ?? "",
361
- ...l.manageTrimbleIdHref ? { manageTrimbleId: { link: l.manageTrimbleIdHref } } : {}
356
+ profileImageUrl: n.avatarUrl ?? "",
357
+ headerName: n.organization ?? "",
358
+ userName: n.name,
359
+ userEmail: n.email ?? "",
360
+ ...n.manageTrimbleIdHref ? { manageTrimbleId: { link: n.manageTrimbleIdHref } } : {}
362
361
  },
363
- menuOne: V(l.profileMenuOne),
364
- menuTwo: V(l.profileMenuTwo),
362
+ menuOne: V(n.profileMenuOne),
363
+ menuTwo: V(n.profileMenuTwo),
365
364
  onMenuItemClick: X,
366
365
  onSignOutClick: Y
367
366
  }
@@ -374,7 +373,7 @@ const V = (r) => {
374
373
  color: "primary",
375
374
  variant: "filled",
376
375
  size: "md",
377
- onButtonClick: () => J?.(),
376
+ onButtonClick: () => R?.(),
378
377
  className: "td-header__sign-in",
379
378
  children: i
380
379
  }
@@ -383,54 +382,54 @@ const V = (r) => {
383
382
  ]
384
383
  }
385
384
  ),
386
- /* @__PURE__ */ d(
385
+ /* @__PURE__ */ r(
387
386
  "div",
388
387
  {
389
388
  id: "td-header-mobile-menu",
390
389
  className: "td-header__mobile-menu",
391
- hidden: !x,
390
+ hidden: !T,
392
391
  children: [
393
392
  ee && /* @__PURE__ */ a(
394
393
  "nav",
395
394
  {
396
395
  className: "td-header__mobile-nav",
397
396
  "aria-label": "Primary navigation",
398
- children: g.map((e) => {
397
+ children: k.map((e) => {
399
398
  const t = e.value ?? e.label;
400
399
  return e.children && e.children.length > 0 ? /* @__PURE__ */ a(
401
- $,
400
+ D,
402
401
  {
403
402
  bordered: !0,
404
403
  collapseId: `td-header-mobile-${t}`,
405
404
  customClass: "td-header__mobile-collapse",
406
- expanded: !!A[t],
405
+ expanded: !!H[t],
407
406
  options: { title: e.label, size: "md" },
408
- onExpandedChange: (n) => H((ae) => ({
407
+ onExpandedChange: (l) => q((ae) => ({
409
408
  ...ae,
410
- [t]: n.detail.expanded
409
+ [t]: l.detail.expanded
411
410
  })),
412
411
  children: /* @__PURE__ */ a(
413
412
  "div",
414
413
  {
415
414
  slot: "content",
416
415
  className: "td-header__mobile-sub",
417
- children: e.children.map((n) => /* @__PURE__ */ a(
418
- _,
416
+ children: e.children.map((l) => /* @__PURE__ */ a(
417
+ p,
419
418
  {
420
419
  className: "td-header__mobile-link td-header__mobile-link--child",
421
- destination: n.href ?? "#",
422
- label: n.label,
420
+ destination: l.href ?? "#",
421
+ label: l.label,
423
422
  linkType: "text",
424
- onClickHandler: () => P(n)
423
+ onClickHandler: () => P(l)
425
424
  },
426
- n.value ?? n.label
425
+ l.value ?? l.label
427
426
  ))
428
427
  }
429
428
  )
430
429
  },
431
430
  t
432
431
  ) : /* @__PURE__ */ a(
433
- _,
432
+ p,
434
433
  {
435
434
  className: "td-header__mobile-link",
436
435
  destination: e.href ?? "#",
@@ -443,8 +442,8 @@ const V = (r) => {
443
442
  })
444
443
  }
445
444
  ),
446
- /* @__PURE__ */ d("div", { className: "td-header__mobile-utilities", children: [
447
- /* @__PURE__ */ d(
445
+ /* @__PURE__ */ r("div", { className: "td-header__mobile-utilities", children: [
446
+ /* @__PURE__ */ r(
448
447
  h,
449
448
  {
450
449
  color: "tertiary",
@@ -452,7 +451,7 @@ const V = (r) => {
452
451
  size: "md",
453
452
  "aria-label": b,
454
453
  onButtonClick: () => {
455
- S?.(), p(!1);
454
+ z?.(), _(!1);
456
455
  },
457
456
  className: "td-header__mobile-action td-header__no-pop",
458
457
  children: [
@@ -461,25 +460,25 @@ const V = (r) => {
461
460
  ]
462
461
  }
463
462
  ),
464
- k.length > 0 && /* @__PURE__ */ a(
465
- $,
463
+ N.length > 0 && /* @__PURE__ */ a(
464
+ D,
466
465
  {
467
466
  bordered: !0,
468
467
  collapseId: "td-header-mobile-help",
469
468
  customClass: "td-header__mobile-collapse",
470
- expanded: !!A.__help,
469
+ expanded: !!H.__help,
471
470
  options: {
472
471
  title: y,
473
472
  icon: "question",
474
473
  iconAriaLabel: y,
475
474
  size: "md"
476
475
  },
477
- onExpandedChange: (e) => H((t) => ({
476
+ onExpandedChange: (e) => q((t) => ({
478
477
  ...t,
479
478
  __help: e.detail.expanded
480
479
  })),
481
- children: /* @__PURE__ */ a("div", { slot: "content", className: "td-header__mobile-sub", children: k.map((e) => /* @__PURE__ */ a(
482
- _,
480
+ children: /* @__PURE__ */ a("div", { slot: "content", className: "td-header__mobile-sub", children: N.map((e) => /* @__PURE__ */ a(
481
+ p,
483
482
  {
484
483
  className: "td-header__mobile-link td-header__mobile-link--child",
485
484
  destination: e.href ?? "#",
@@ -491,7 +490,7 @@ const V = (r) => {
491
490
  )) })
492
491
  }
493
492
  ),
494
- l && /* @__PURE__ */ d(
493
+ n && /* @__PURE__ */ r(
495
494
  h,
496
495
  {
497
496
  color: "tertiary",
@@ -499,7 +498,7 @@ const V = (r) => {
499
498
  size: "md",
500
499
  "aria-label": M,
501
500
  onButtonClick: () => {
502
- z?.(), p(!1);
501
+ E?.(), _(!1);
503
502
  },
504
503
  className: "td-header__mobile-action",
505
504
  children: [
@@ -516,8 +515,8 @@ const V = (r) => {
516
515
  ]
517
516
  }
518
517
  ),
519
- /* @__PURE__ */ d("div", { className: "td-header__mobile-theme", children: [
520
- /* @__PURE__ */ d(
518
+ /* @__PURE__ */ r("div", { className: "td-header__mobile-theme", children: [
519
+ /* @__PURE__ */ r(
521
520
  "span",
522
521
  {
523
522
  className: `td-header__theme-switch td-header__theme-switch--${s}`,
@@ -548,10 +547,10 @@ const V = (r) => {
548
547
  {
549
548
  type: "button",
550
549
  className: "td-header__mobile-theme-label",
551
- onClick: I,
550
+ onClick: A,
552
551
  "aria-hidden": "true",
553
552
  tabIndex: -1,
554
- children: s === "dark" ? L : j
553
+ children: s === "dark" ? J : j
555
554
  }
556
555
  )
557
556
  ] })
@@ -562,5 +561,5 @@ const V = (r) => {
562
561
  ] }) });
563
562
  };
564
563
  export {
565
- Ne as TDHeader
564
+ ke as TDHeader
566
565
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trimble-terra",
3
- "version": "1.1.20",
3
+ "version": "1.1.22",
4
4
  "description": "Trimble Terra — React component library for Trimble MXP2 web experiences",
5
5
  "publishConfig": {
6
6
  "access": "public"