@apptegy/nuxt-navigation 0.1.37 → 0.1.39

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/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apptegy/nuxt-navigation",
3
3
  "configKey": "@apptegy/nuxt-navigation",
4
- "version": "0.1.37",
4
+ "version": "0.1.39",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "0.8.4",
7
7
  "unbuild": "unknown"
@@ -1,12 +1,12 @@
1
1
  <template>
2
2
  <svg width="160" height="30" viewBox="0 0 160 30" fill="none" xmlns="http://www.w3.org/2000/svg">
3
- <path d="M60.9906 6.78871C61.8265 6.30075 62.8356 6.03796 64.0397 6.03796C65.1978 6.03796 66.2423 6.26559 67.1739 6.72065C68.1049 7.1759 68.9053 7.8074 69.5756 8.61496C70.2452 9.42299 70.7563 10.3958 71.1086 11.5335C71.4605 12.6717 71.6367 13.9228 71.6367 15.2884C71.6367 16.6993 71.4547 17.9796 71.0916 19.1284C70.7279 20.2777 70.2112 21.2506 69.5414 22.0466C68.8713 22.8435 68.0707 23.458 67.1397 23.89C66.2082 24.322 65.1862 24.5385 64.0736 24.5385C62.8473 24.5385 61.9207 24.3739 60.9967 23.9109C60.9967 23.9109 60.079 23.5431 59.0317 22.4739H58.9635V30H54.5205V6.51553H58.7931V8.42128H58.8953C58.8954 8.42128 59.7499 7.51303 60.9906 6.78871ZM63.3763 20.8265C64.5466 20.8265 65.4755 20.3512 66.1624 19.4011C66.849 18.4506 67.1925 17.1192 67.1925 15.4058C67.1925 13.6935 66.8829 12.297 66.2638 11.2174C65.6443 10.1382 64.6258 9.59821 63.2074 9.59821C62.4864 9.59821 61.8733 9.75121 61.3667 10.0557C60.8602 10.3612 60.4433 10.7717 60.1172 11.2877C59.7905 11.8042 59.5541 12.4204 59.408 13.1359C59.2613 13.8518 59.1885 14.6086 59.1885 15.406C59.1885 17.049 59.543 18.3629 60.2522 19.3483C60.9615 20.3337 62.0026 20.8265 63.3763 20.8265Z" fill="white"/>
4
- <path d="M80.2101 6.78871C81.046 6.30075 82.055 6.03796 83.2591 6.03796C84.4173 6.03796 85.4618 6.26559 86.3934 6.72065C87.3244 7.1759 88.1248 7.8074 88.795 8.61496C89.4647 9.42299 89.9758 10.3958 90.328 11.5335C90.68 12.6717 90.8561 13.9228 90.8561 15.2884C90.8561 16.6993 90.6741 17.9796 90.3111 19.1284C89.9474 20.2777 89.4306 21.2506 88.7609 22.0466C88.0909 22.8435 87.2902 23.458 86.3592 23.89C85.4276 24.322 84.4057 24.5385 83.2931 24.5385C82.0668 24.5385 81.1402 24.3739 80.2161 23.9109C80.2161 23.9109 79.2984 23.5431 78.2511 22.4739H78.1829V30H73.74V6.51553H78.0125V8.42128H78.1148C78.1148 8.42128 78.9693 7.51303 80.2101 6.78871ZM82.5957 20.8265C83.766 20.8265 84.6948 20.3512 85.3818 19.4011C86.0684 18.4506 86.4119 17.1192 86.4119 15.4058C86.4119 13.6935 86.1023 12.297 85.4831 11.2174C84.8637 10.1382 83.8451 9.59821 82.4268 9.59821C81.7058 9.59821 81.0927 9.75121 80.5861 10.0557C80.0795 10.3612 79.6627 10.7717 79.3366 11.2877C79.0099 11.8042 78.7735 12.4204 78.6274 13.1359C78.4807 13.8518 78.4079 14.6086 78.4079 15.406C78.4079 17.049 78.7624 18.3629 79.4716 19.3483C80.181 20.3337 81.222 20.8265 82.5957 20.8265Z" fill="white"/>
5
- <path d="M145.15 26.1086H146.268C147.199 26.1086 147.863 25.8922 148.261 25.4602C148.658 25.0277 148.857 24.4473 148.857 23.7193C148.857 23.492 148.834 23.2359 148.789 22.9513C148.743 22.667 148.669 22.3426 148.567 21.9785C148.465 21.6146 148.329 21.188 148.159 20.6985C147.988 20.2093 147.778 19.635 147.529 18.9746L142.827 6.51553H147.699L150.288 14.4006C150.424 14.8103 150.554 15.2369 150.68 15.6808C150.804 16.1244 150.924 16.5399 151.037 16.9267C151.151 17.3591 151.276 17.7916 151.412 18.2236H151.48C151.571 17.7916 151.673 17.3591 151.787 16.9267C151.877 16.54 151.985 16.1244 152.11 15.6808C152.235 15.2369 152.366 14.8103 152.502 14.4006L154.955 6.51553H159.622L153.524 24.4702C153.183 25.4483 152.837 26.2735 152.485 26.9451C152.133 27.6158 151.872 28.162 151.407 28.5833C150.941 29.0042 150.396 29.3055 149.771 29.488C149.146 29.6698 148.391 29.761 147.506 29.761H143.745L145.15 26.1086Z" fill="white"/>
6
- <path d="M117.362 18.8106C117.112 19.4677 116.716 19.9888 116.173 20.3741C115.628 20.7613 114.901 20.9545 113.992 20.9545C112.675 20.9545 111.647 20.5678 110.909 19.7938C110.171 19.0204 109.711 17.9506 109.53 16.5853H122.203C122.203 15.0152 122.015 13.5872 121.641 12.3014C121.266 11.0162 120.715 9.90665 119.988 8.97318C119.261 8.04037 118.364 7.31765 117.297 6.80568C116.229 6.29371 114.991 6.03796 113.584 6.03796C112.311 6.03796 111.148 6.27675 110.092 6.7545C109.035 7.23253 108.127 7.88109 107.366 8.70018C106.605 9.51946 106.015 10.4924 105.595 11.6186C105.174 12.745 104.964 13.9567 104.964 15.2538C104.964 16.551 105.163 17.7688 105.561 18.9062C105.958 20.0443 106.543 21.0283 107.315 21.8588C108.087 22.6898 109.035 23.3438 110.16 23.8216C111.284 24.2993 112.573 24.5384 114.026 24.5384C115.139 24.5384 116.15 24.3847 117.059 24.0775C117.967 23.7704 118.756 23.3555 119.426 22.8318C120.096 22.3087 120.641 21.6999 121.061 21.0055C121.35 20.5293 121.572 20.0328 121.737 19.5187L117.362 18.8106ZM110.858 10.6287C111.493 9.95793 112.425 9.62193 113.651 9.62193C114.719 9.62193 115.588 9.96909 116.258 10.6631C116.927 11.3575 117.297 12.2618 117.365 13.3765H109.598C109.802 12.2162 110.222 11.3002 110.858 10.6287Z" fill="white"/>
7
- <path d="M131.547 6.03787C130.434 6.03787 129.418 6.23718 128.498 6.63496C127.578 7.03359 126.783 7.60781 126.113 8.35884C125.443 9.10987 124.921 10.0144 124.546 11.0725C124.172 12.1307 123.984 13.3081 123.984 14.6053C123.984 15.9253 124.205 17.103 124.648 18.1385C125.091 19.1741 125.67 20.0496 126.386 20.7666C127.101 21.4834 127.919 22.0296 128.839 22.4051C129.759 22.7806 130.706 22.9683 131.684 22.9683C131.684 22.9683 134.335 23.1772 136.248 21.2821H136.351V22.8318C136.351 25.2665 135.056 26.4842 132.467 26.4842C131.377 26.4842 130.565 26.2963 130.031 25.921C129.527 25.5668 129.186 25.1338 128.997 24.6278L124.958 26.3515C125.426 27.2226 126.12 27.9561 126.976 28.5491C128.373 29.5161 130.502 30 132.909 30C134.204 30 135.17 29.8404 136.26 29.5219C137.35 29.2031 138.258 28.7028 138.985 28.0201C139.644 27.4281 140.007 26.7001 140.371 25.8356C140.734 24.9704 140.916 23.9242 140.916 22.6953V6.51552H136.453V8.09071H136.385C134.894 5.86406 131.547 6.03787 131.547 6.03787ZM136.351 16.3462C136.191 16.9155 135.947 17.4163 135.618 17.8483C135.289 18.2808 134.863 18.6221 134.341 18.8722C133.818 19.1229 133.193 19.2475 132.467 19.2475C131.263 19.2475 130.304 18.8381 129.588 18.0189C128.873 17.1996 128.515 16.039 128.515 14.5372C128.515 13.0582 128.873 11.8916 129.588 11.0384C130.304 10.1851 131.252 9.75834 132.433 9.75834C133.137 9.75834 133.75 9.88368 134.273 10.1339C134.795 10.3846 135.226 10.7258 135.567 11.1578C135.908 11.5903 136.164 12.0965 136.334 12.6769C136.504 13.257 136.589 13.8662 136.589 14.503C136.589 15.1632 136.509 15.7777 136.351 16.3462Z" fill="white"/>
8
- <path d="M94.6873 0V6.36891H92.1914V10.3194H94.6873V19.4389C94.6873 19.4389 94.5194 23.0661 98.2874 24.0014C101.188 24.6844 104.383 23.4487 104.383 23.4487L102.771 19.2945C102.771 19.2945 99.2184 21.0497 99.2184 17.8761C99.2184 14.55 99.2184 10.3195 99.2184 10.3195L102.853 10.2931L104.383 6.369H99.2184V0H94.6873Z" fill="white"/>
9
- <path d="M51.5358 21.4676V12.5586L51.5339 12.5642V12.5575C51.5339 10.5095 50.9603 8.92239 49.8138 7.7958C48.6664 6.6692 46.787 6.10614 44.1755 6.10614C42.9034 6.10614 41.802 6.2657 40.871 6.58417C39.9395 6.90292 39.1676 7.32377 38.5546 7.84689C37.941 8.37077 37.4754 8.9793 37.1577 9.67305C37.0622 9.88164 36.9843 10.095 36.9153 10.3107L40.5799 11.8747H40.7687C40.8369 11.033 41.1435 10.4126 41.6888 10.0146C42.2337 9.61652 43.0511 9.41692 44.1415 9.41692C45.1177 9.41692 45.8501 9.6048 46.3389 9.98008C46.8268 10.3558 47.0713 10.8623 47.0713 11.499C47.0713 12.1595 46.7308 12.6033 46.0491 12.8302C45.3679 13.0581 44.3002 13.2741 42.8467 13.4789C41.87 13.6154 40.9562 13.8031 40.1043 14.0421C39.2529 14.2811 38.5084 14.617 37.8728 15.0491C37.2368 15.4817 36.7369 16.0278 36.3738 16.6876C36.0103 17.3478 35.8289 18.1553 35.8289 19.1109C35.8289 20.8636 36.3963 22.1948 37.5322 23.1045C38.6677 24.0151 40.1327 24.4701 41.9271 24.4701C41.9271 24.4701 43.1162 24.4701 44.202 24.2948C45.516 24.0522 46.754 23.3524 47.5116 22.5742L47.6843 24.0602H47.6864L47.6861 24.0613H52.149V23.8907C51.7402 23.5956 51.5358 22.7875 51.5358 21.4676ZM47.1736 17.8825C47.1736 18.315 47.0825 18.7303 46.9011 19.1284C46.7189 19.5267 46.4522 19.8794 46.1005 20.1865C45.7479 20.4937 45.3168 20.7444 44.8058 20.9373C44.2949 21.131 43.7097 21.2275 43.0511 21.2275C42.2337 21.2275 41.5746 21.0626 41.0753 20.7326C40.5754 20.4029 40.326 19.828 40.326 19.0088C40.326 18.1897 40.621 17.5982 41.2119 17.2337C41.8019 16.87 42.7104 16.5511 43.937 16.2781C44.5275 16.1413 45.1122 15.9996 45.6918 15.8512C46.2708 15.7038 46.7648 15.5048 47.1735 15.2541V17.8825H47.1736Z" fill="white"/>
3
+ <path d="M60.9906 6.78871C61.8265 6.30075 62.8356 6.03796 64.0397 6.03796C65.1978 6.03796 66.2423 6.26559 67.1739 6.72065C68.1049 7.1759 68.9053 7.8074 69.5756 8.61496C70.2452 9.42299 70.7563 10.3958 71.1086 11.5335C71.4605 12.6717 71.6367 13.9228 71.6367 15.2884C71.6367 16.6993 71.4547 17.9796 71.0916 19.1284C70.7279 20.2777 70.2112 21.2506 69.5414 22.0466C68.8713 22.8435 68.0707 23.458 67.1397 23.89C66.2082 24.322 65.1862 24.5385 64.0736 24.5385C62.8473 24.5385 61.9207 24.3739 60.9967 23.9109C60.9967 23.9109 60.079 23.5431 59.0317 22.4739H58.9635V30H54.5205V6.51553H58.7931V8.42128H58.8953C58.8954 8.42128 59.7499 7.51303 60.9906 6.78871ZM63.3763 20.8265C64.5466 20.8265 65.4755 20.3512 66.1624 19.4011C66.849 18.4506 67.1925 17.1192 67.1925 15.4058C67.1925 13.6935 66.8829 12.297 66.2638 11.2174C65.6443 10.1382 64.6258 9.59821 63.2074 9.59821C62.4864 9.59821 61.8733 9.75121 61.3667 10.0557C60.8602 10.3612 60.4433 10.7717 60.1172 11.2877C59.7905 11.8042 59.5541 12.4204 59.408 13.1359C59.2613 13.8518 59.1885 14.6086 59.1885 15.406C59.1885 17.049 59.543 18.3629 60.2522 19.3483C60.9615 20.3337 62.0026 20.8265 63.3763 20.8265Z" fill="#503462"/>
4
+ <path d="M80.2101 6.78871C81.046 6.30075 82.055 6.03796 83.2591 6.03796C84.4173 6.03796 85.4618 6.26559 86.3934 6.72065C87.3244 7.1759 88.1248 7.8074 88.795 8.61496C89.4647 9.42299 89.9758 10.3958 90.328 11.5335C90.68 12.6717 90.8561 13.9228 90.8561 15.2884C90.8561 16.6993 90.6741 17.9796 90.3111 19.1284C89.9474 20.2777 89.4306 21.2506 88.7609 22.0466C88.0909 22.8435 87.2902 23.458 86.3592 23.89C85.4276 24.322 84.4057 24.5385 83.2931 24.5385C82.0668 24.5385 81.1402 24.3739 80.2161 23.9109C80.2161 23.9109 79.2984 23.5431 78.2511 22.4739H78.1829V30H73.74V6.51553H78.0125V8.42128H78.1148C78.1148 8.42128 78.9693 7.51303 80.2101 6.78871ZM82.5957 20.8265C83.766 20.8265 84.6948 20.3512 85.3818 19.4011C86.0684 18.4506 86.4119 17.1192 86.4119 15.4058C86.4119 13.6935 86.1023 12.297 85.4831 11.2174C84.8637 10.1382 83.8451 9.59821 82.4268 9.59821C81.7058 9.59821 81.0927 9.75121 80.5861 10.0557C80.0795 10.3612 79.6627 10.7717 79.3366 11.2877C79.0099 11.8042 78.7735 12.4204 78.6274 13.1359C78.4807 13.8518 78.4079 14.6086 78.4079 15.406C78.4079 17.049 78.7624 18.3629 79.4716 19.3483C80.181 20.3337 81.222 20.8265 82.5957 20.8265Z" fill="#503462"/>
5
+ <path d="M145.15 26.1086H146.268C147.199 26.1086 147.863 25.8922 148.261 25.4602C148.658 25.0277 148.857 24.4473 148.857 23.7193C148.857 23.492 148.834 23.2359 148.789 22.9513C148.743 22.667 148.669 22.3426 148.567 21.9785C148.465 21.6146 148.329 21.188 148.159 20.6985C147.988 20.2093 147.778 19.635 147.529 18.9746L142.827 6.51553H147.699L150.288 14.4006C150.424 14.8103 150.554 15.2369 150.68 15.6808C150.804 16.1244 150.924 16.5399 151.037 16.9267C151.151 17.3591 151.276 17.7916 151.412 18.2236H151.48C151.571 17.7916 151.673 17.3591 151.787 16.9267C151.877 16.54 151.985 16.1244 152.11 15.6808C152.235 15.2369 152.366 14.8103 152.502 14.4006L154.955 6.51553H159.622L153.524 24.4702C153.183 25.4483 152.837 26.2735 152.485 26.9451C152.133 27.6158 151.872 28.162 151.407 28.5833C150.941 29.0042 150.396 29.3055 149.771 29.488C149.146 29.6698 148.391 29.761 147.506 29.761H143.745L145.15 26.1086Z" fill="#503462"/>
6
+ <path d="M117.362 18.8106C117.112 19.4677 116.716 19.9888 116.173 20.3741C115.628 20.7613 114.901 20.9545 113.992 20.9545C112.675 20.9545 111.647 20.5678 110.909 19.7938C110.171 19.0204 109.711 17.9506 109.53 16.5853H122.203C122.203 15.0152 122.015 13.5872 121.641 12.3014C121.266 11.0162 120.715 9.90665 119.988 8.97318C119.261 8.04037 118.364 7.31765 117.297 6.80568C116.229 6.29371 114.991 6.03796 113.584 6.03796C112.311 6.03796 111.148 6.27675 110.092 6.7545C109.035 7.23253 108.127 7.88109 107.366 8.70018C106.605 9.51946 106.015 10.4924 105.595 11.6186C105.174 12.745 104.964 13.9567 104.964 15.2538C104.964 16.551 105.163 17.7688 105.561 18.9062C105.958 20.0443 106.543 21.0283 107.315 21.8588C108.087 22.6898 109.035 23.3438 110.16 23.8216C111.284 24.2993 112.573 24.5384 114.026 24.5384C115.139 24.5384 116.15 24.3847 117.059 24.0775C117.967 23.7704 118.756 23.3555 119.426 22.8318C120.096 22.3087 120.641 21.6999 121.061 21.0055C121.35 20.5293 121.572 20.0328 121.737 19.5187L117.362 18.8106ZM110.858 10.6287C111.493 9.95793 112.425 9.62193 113.651 9.62193C114.719 9.62193 115.588 9.96909 116.258 10.6631C116.927 11.3575 117.297 12.2618 117.365 13.3765H109.598C109.802 12.2162 110.222 11.3002 110.858 10.6287Z" fill="#503462"/>
7
+ <path d="M131.547 6.03787C130.434 6.03787 129.418 6.23718 128.498 6.63496C127.578 7.03359 126.783 7.60781 126.113 8.35884C125.443 9.10987 124.921 10.0144 124.546 11.0725C124.172 12.1307 123.984 13.3081 123.984 14.6053C123.984 15.9253 124.205 17.103 124.648 18.1385C125.091 19.1741 125.67 20.0496 126.386 20.7666C127.101 21.4834 127.919 22.0296 128.839 22.4051C129.759 22.7806 130.706 22.9683 131.684 22.9683C131.684 22.9683 134.335 23.1772 136.248 21.2821H136.351V22.8318C136.351 25.2665 135.056 26.4842 132.467 26.4842C131.377 26.4842 130.565 26.2963 130.031 25.921C129.527 25.5668 129.186 25.1338 128.997 24.6278L124.958 26.3515C125.426 27.2226 126.12 27.9561 126.976 28.5491C128.373 29.5161 130.502 30 132.909 30C134.204 30 135.17 29.8404 136.26 29.5219C137.35 29.2031 138.258 28.7028 138.985 28.0201C139.644 27.4281 140.007 26.7001 140.371 25.8356C140.734 24.9704 140.916 23.9242 140.916 22.6953V6.51552H136.453V8.09071H136.385C134.894 5.86406 131.547 6.03787 131.547 6.03787ZM136.351 16.3462C136.191 16.9155 135.947 17.4163 135.618 17.8483C135.289 18.2808 134.863 18.6221 134.341 18.8722C133.818 19.1229 133.193 19.2475 132.467 19.2475C131.263 19.2475 130.304 18.8381 129.588 18.0189C128.873 17.1996 128.515 16.039 128.515 14.5372C128.515 13.0582 128.873 11.8916 129.588 11.0384C130.304 10.1851 131.252 9.75834 132.433 9.75834C133.137 9.75834 133.75 9.88368 134.273 10.1339C134.795 10.3846 135.226 10.7258 135.567 11.1578C135.908 11.5903 136.164 12.0965 136.334 12.6769C136.504 13.257 136.589 13.8662 136.589 14.503C136.589 15.1632 136.509 15.7777 136.351 16.3462Z" fill="#503462"/>
8
+ <path d="M94.6873 0V6.36891H92.1914V10.3194H94.6873V19.4389C94.6873 19.4389 94.5194 23.0661 98.2874 24.0014C101.188 24.6844 104.383 23.4487 104.383 23.4487L102.771 19.2945C102.771 19.2945 99.2184 21.0497 99.2184 17.8761C99.2184 14.55 99.2184 10.3195 99.2184 10.3195L102.853 10.2931L104.383 6.369H99.2184V0H94.6873Z" fill="#503462"/>
9
+ <path d="M51.5358 21.4676V12.5586L51.5339 12.5642V12.5575C51.5339 10.5095 50.9603 8.92239 49.8138 7.7958C48.6664 6.6692 46.787 6.10614 44.1755 6.10614C42.9034 6.10614 41.802 6.2657 40.871 6.58417C39.9395 6.90292 39.1676 7.32377 38.5546 7.84689C37.941 8.37077 37.4754 8.9793 37.1577 9.67305C37.0622 9.88164 36.9843 10.095 36.9153 10.3107L40.5799 11.8747H40.7687C40.8369 11.033 41.1435 10.4126 41.6888 10.0146C42.2337 9.61652 43.0511 9.41692 44.1415 9.41692C45.1177 9.41692 45.8501 9.6048 46.3389 9.98008C46.8268 10.3558 47.0713 10.8623 47.0713 11.499C47.0713 12.1595 46.7308 12.6033 46.0491 12.8302C45.3679 13.0581 44.3002 13.2741 42.8467 13.4789C41.87 13.6154 40.9562 13.8031 40.1043 14.0421C39.2529 14.2811 38.5084 14.617 37.8728 15.0491C37.2368 15.4817 36.7369 16.0278 36.3738 16.6876C36.0103 17.3478 35.8289 18.1553 35.8289 19.1109C35.8289 20.8636 36.3963 22.1948 37.5322 23.1045C38.6677 24.0151 40.1327 24.4701 41.9271 24.4701C41.9271 24.4701 43.1162 24.4701 44.202 24.2948C45.516 24.0522 46.754 23.3524 47.5116 22.5742L47.6843 24.0602H47.6864L47.6861 24.0613H52.149V23.8907C51.7402 23.5956 51.5358 22.7875 51.5358 21.4676ZM47.1736 17.8825C47.1736 18.315 47.0825 18.7303 46.9011 19.1284C46.7189 19.5267 46.4522 19.8794 46.1005 20.1865C45.7479 20.4937 45.3168 20.7444 44.8058 20.9373C44.2949 21.131 43.7097 21.2275 43.0511 21.2275C42.2337 21.2275 41.5746 21.0626 41.0753 20.7326C40.5754 20.4029 40.326 19.828 40.326 19.0088C40.326 18.1897 40.621 17.5982 41.2119 17.2337C41.8019 16.87 42.7104 16.5511 43.937 16.2781C44.5275 16.1413 45.1122 15.9996 45.6918 15.8512C46.2708 15.7038 46.7648 15.5048 47.1735 15.2541V17.8825H47.1736Z" fill="#503462"/>
10
10
  <path d="M15.1075 0C6.76369 0 0 6.77691 0 15.1371C0 22.3661 5.85273 28.3827 12.6579 29.8851C12.8083 29.9182 12.9036 29.7331 12.7895 29.6293C8.46026 25.6903 5.36159 19.4008 5.2363 15.6519C5.20019 14.571 5.48865 13.7126 5.9666 12.8605C6.87457 11.2425 7.90989 9.69272 8.75761 8.04544C9.69422 6.22584 10.3925 5.98941 12.2764 5.93878C14.1382 5.88863 16.0027 5.93756 17.8652 5.92509C19.9026 5.91141 20.5702 6.33375 21.5648 8.14978C22.5969 10.0327 23.5348 11.2176 24.5722 13.0973C25.2731 14.3658 25.2043 15.9127 24.5007 17.1737C23.6155 18.7633 21.6269 22.0862 21.4613 22.4098C20.6142 24.0712 19.6315 24.4122 17.8205 24.4632C17.4187 24.4739 16.5983 24.4714 16.1971 24.4632C15.1623 24.4392 14.2504 24.9263 13.6369 25.8412C12.5681 27.4342 14.1449 30.1178 16.175 29.996C24.0494 29.517 30.2149 23.1723 30.2149 15.1371C30.2149 6.77691 23.4512 0 15.1075 0Z" fill="#F5897F"/>
11
11
  </svg>
12
12
  </template>
@@ -15,61 +15,63 @@
15
15
  >
16
16
  {{ $t('navigation.skipToContent') }}
17
17
  </a>
18
- <div class="navbar--header">
19
- <div class="header-actions">
20
- <NuxtLink v-if="expanded" class="no-link-style" :to="homepageUrl">
21
- <slot name="logo">
22
- <div class="navbar--logo">
23
- <img v-if="brandLogo" :src="brandLogo" :alt="$t('navigation.brandLogoAlt')">
24
- <component
25
- :is="useApptegyLogo ? ApptegyLogo : ThrillshareLogo"
26
- v-else
27
- :alt="$t('navigation.brandLogoAlt')"
28
- />
29
- <div v-if="!brand?.hide_school_name">
30
- <div class="school-name"> {{ brand?.school_name }} </div>
31
- <div v-if="brand?.school_tag_line" class="school-tag">{{ brand.school_tag_line }}</div>
18
+ <div :class="['navbar--wrapper', fixed && 'fixed']" >
19
+ <div class="navbar--header">
20
+ <div class="header-actions">
21
+ <NuxtLink v-if="expanded" class="no-link-style" :to="homepageUrl">
22
+ <slot name="logo">
23
+ <div class="navbar--logo">
24
+ <img v-if="brandLogo" :src="brandLogo" :alt="$t('navigation.brandLogoAlt')">
25
+ <component
26
+ :is="useApptegyLogo ? ApptegyLogo : ThrillshareLogo"
27
+ v-else
28
+ :alt="$t('navigation.brandLogoAlt')"
29
+ />
30
+ <div v-if="!brand?.hide_school_name">
31
+ <div class="school-name"> {{ brand?.school_name }} </div>
32
+ <div v-if="brand?.school_tag_line" class="school-tag">{{ brand.school_tag_line }}</div>
32
33
  </div>
33
- </div>
34
- </slot>
35
- </NuxtLink>
36
- <NavSidebarToggle />
37
- </div>
38
- <slot name="switcher" />
39
- </div>
40
- <div class="navbar--content">
41
- <ul class="navbar-applications">
42
- <li v-for="application of applications" :key="application.id">
43
- <NavSidebarSection
44
- :application="application"
45
- :active="currentApplication === application.text"
46
- >
47
- <slot v-if="currentApplication === application.text" />
48
- </NavSidebarSection>
49
- </li>
50
- <li>
51
- <NavHelpArticles
52
- v-if="showHelpArticles"
53
- :help-article-options="helpArticleOptions"
34
+ </div>
35
+ </slot>
36
+ </NuxtLink>
37
+ <NavSidebarToggle />
38
+ </div>
39
+ <slot name="switcher" />
40
+ </div>
41
+ <div class="navbar--content">
42
+ <ul class="navbar-applications">
43
+ <li v-for="application of applications" :key="application.id">
44
+ <NavSidebarSection
45
+ :application="application"
46
+ :active="currentApplication === application.text"
47
+ >
48
+ <slot v-if="currentApplication === application.text" />
49
+ </NavSidebarSection>
50
+ </li>
51
+ <li>
52
+ <NavHelpArticles
53
+ v-if="showHelpArticles"
54
+ :help-article-options="helpArticleOptions"
55
+ />
56
+ </li>
57
+ </ul>
58
+ </div>
59
+ <div class="navbar--footer">
60
+ <NavImpersonateInfoPanel
61
+ v-if="impersonatedUser.show"
62
+ :impersonated-user="impersonatedUser"
54
63
  />
55
- </li>
56
- </ul>
57
- </div>
58
- <div class="navbar--footer">
59
- <NavImpersonateInfoPanel
60
- v-if="impersonatedUser.show"
61
- :impersonated-user="impersonatedUser"
62
- />
63
64
 
64
- <slot name="logo">
65
- <template v-if="brand">
66
- <NuxtLink v-if="expanded ? logo.src : logo.iconSrc" :to="homepageUrl">
67
- <div class="navbar--footer-logo">
68
- <img :src="expanded ? logo.src : logo.iconSrc" :alt="logo.alt || $t('navigation.logoAlt')">
69
- </div>
70
- </NuxtLink>
71
- </template>
72
- </slot>
65
+ <slot name="logo">
66
+ <template v-if="brand">
67
+ <NuxtLink v-if="expanded ? logo.src : logo.iconSrc" :to="homepageUrl">
68
+ <div class="navbar--footer-logo">
69
+ <img :src="expanded ? logo.src : logo.iconSrc" :alt="logo.alt || $t('navigation.logoAlt')">
70
+ </div>
71
+ </NuxtLink>
72
+ </template>
73
+ </slot>
74
+ </div>
73
75
  </div>
74
76
  </nav>
75
77
  </template>
@@ -97,6 +99,7 @@ interface ISidebarProps {
97
99
  logo?: ILogo;
98
100
  skipToContent: string;
99
101
  useApptegyLogo?: boolean;
102
+ fixed?: boolean;
100
103
  }
101
104
 
102
105
  const props = withDefaults(defineProps<ISidebarProps>(), {
@@ -120,6 +123,7 @@ const props = withDefaults(defineProps<ISidebarProps>(), {
120
123
  skipToContent: '#main-content-section',
121
124
  clientId: undefined,
122
125
  useApptegyLogo: false,
126
+ fixed: false,
123
127
  });
124
128
 
125
129
  const emit = defineEmits<{
@@ -157,44 +161,46 @@ function onHoverLeave() {
157
161
  <style scoped>
158
162
  .navbar {
159
163
  grid-area: navsidebar;
160
- display: grid;
161
- grid-template-rows: 0fr auto 0fr;
162
164
  font: var(--font-regular);
163
- background-color: var(--nav-background-color, var(--purple-70));
164
165
  color: var(--nav-text-color, var(--primary-white));
165
- transition: width 0.3s ease-in-out, translate 0.2s ease-in-out;
166
+ transition: width 0.3s ease;
166
167
  height: 100%;
167
168
  overflow-y: auto;
168
169
  width: 64px;
170
+ position: relative;
169
171
  }
170
172
  .navbar a:focus-visible {
171
173
  outline: var(--orange) auto 2px;
172
174
  outline-offset: 0px;
173
175
  box-shadow: inset 0 0 0px 4px var(--primary-white);
174
176
  }
175
- .navbar.expanded {
176
- transition: width 0.3s ease-in-out, translate 0.2s ease-in-out;
177
- width: 264px;
178
- translate: 0px;
177
+ .navbar--wrapper {
178
+ display: grid;
179
+ grid-template-rows: 0fr auto 0fr;
180
+ background-color: var(--nav-background-color, var(--purple-70));
181
+ height: 100%;
182
+ overflow-y: auto;
179
183
  }
180
- .navbar.expanded .navbar--content ul {
181
- width: 264px;
184
+ .navbar--wrapper.fixed {
185
+ position: fixed;
186
+ top: 0;
187
+ left: 0;
188
+ bottom: 0;
189
+ height: unset;
190
+ overflow-y: unset;
191
+ z-index: 10;
182
192
  }
183
193
  .navbar--header {
184
194
  border-bottom: 1px solid var(--nav-border-colors, var(--purple-65));
185
- padding: 0px 16px;
186
195
  }
187
196
  .navbar--header .header-actions {
188
- padding: 12px 0px;
197
+ padding: 12px 16px;
189
198
  display: inline-flex;
190
199
  align-items: center;
191
- width: 100%;
192
- height: 64px;
200
+ width: 64px;
201
+ min-height: 64px;
193
202
  justify-content: space-between;
194
- }
195
- .navbar .no-link-style {
196
- text-decoration: none;
197
- color: inherit;
203
+ box-sizing: border-box;
198
204
  }
199
205
  .navbar--logo {
200
206
  display: flex;
@@ -205,11 +211,15 @@ function onHoverLeave() {
205
211
  font-size: 16px;
206
212
  font-style: normal;
207
213
  font-weight: 700;
214
+ overflow-wrap: break-word;
215
+ word-break: break-word;
208
216
  }
209
217
  .navbar--logo .school-tag {
210
218
  font-size: 14px;
211
219
  font-style: normal;
212
220
  font-weight: 400;
221
+ overflow-wrap: break-word;
222
+ word-break: break-word;
213
223
  }
214
224
  .navbar--logo img {
215
225
  display: inline;
@@ -239,6 +249,16 @@ function onHoverLeave() {
239
249
  height: 32px;
240
250
  width: clamp(0px, 100%, 180px);
241
251
  }
252
+ .navbar.expanded {
253
+ transition: width 0.3s ease;
254
+ width: 264px;
255
+ }
256
+ .navbar.expanded .navbar--content ul {
257
+ width: 264px;
258
+ }
259
+ .navbar.expanded .navbar--header .header-actions {
260
+ width: 264px;
261
+ }
242
262
  .navbar .skip-to-content {
243
263
  overflow: hidden;
244
264
  padding: 16px 24px 14px;
@@ -265,4 +285,9 @@ function onHoverLeave() {
265
285
  outline-offset: 0px;
266
286
  box-shadow: inset 0 0 0px 4px var(--primary-white);
267
287
  }
288
+ .navbar .no-link-style {
289
+ text-decoration: none;
290
+ color: inherit;
291
+ max-width: 200px;
292
+ }
268
293
  </style>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apptegy/nuxt-navigation",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -15,26 +15,26 @@
15
15
  "dist"
16
16
  ],
17
17
  "dependencies": {
18
- "@nuxt/kit": "^3.15.4",
19
- "@vueuse/components": "12.5.0",
18
+ "@nuxt/kit": "^3.16.1",
19
+ "@vueuse/components": "12.8.2",
20
20
  "lodash": "^4.17.21",
21
21
  "@apptegy/nuxt-intl": "2.1.2"
22
22
  },
23
23
  "devDependencies": {
24
- "@nuxt/devtools": "^2.0.0",
25
- "@nuxt/eslint-config": "^1.0.1",
24
+ "@nuxt/devtools": "^2.3.1",
25
+ "@nuxt/eslint-config": "^1.2.0",
26
26
  "@nuxt/module-builder": "^0.8.4",
27
- "@nuxt/schema": "^3.15.4",
28
- "@nuxt/test-utils": "^3.15.4",
29
- "@types/node": "^20.17.17",
27
+ "@nuxt/schema": "^3.16.1",
28
+ "@nuxt/test-utils": "^3.17.2",
29
+ "@types/node": "^20.17.24",
30
30
  "changelogen": "^0.5.7",
31
- "eslint": "^9.20.0",
32
- "nuxt": "^3.15.4",
33
- "sass": "^1.84.0",
34
- "typescript": "^5.6.3",
35
- "vitest": "^2.1.9",
31
+ "eslint": "^9.22.0",
32
+ "nuxt": "^3.16.1",
33
+ "sass": "^1.86.0",
34
+ "typescript": "^5.8.2",
35
+ "vitest": "^3.0.9",
36
36
  "vue": "^3.5.13",
37
- "vue-tsc": "^2.2.0"
37
+ "vue-tsc": "^2.2.8"
38
38
  },
39
39
  "scripts": {
40
40
  "dev": "nuxi dev playground",