@wastedondestiny/destiny-library 1.7.3 → 1.7.5

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/index.js CHANGED
@@ -1122,7 +1122,7 @@ function XA(j) {
1122
1122
  return A > 1 ? `${Math.floor(A)} ${U(Math.floor(A), "year")} ago` : (A = M / 2592e3, A > 1 ? `${Math.floor(A)} ${U(Math.floor(A), "month")} ago` : (A = M / 86400, A > 1 ? `${Math.floor(A)} ${U(Math.floor(A), "day")} ago` : (A = M / 3600, A > 1 ? `${Math.floor(A)} ${U(Math.floor(A), "hour")} ago` : (A = M / 60, A > 1 ? `${Math.floor(A)} ${U(Math.floor(A), "minute")} ago` : `${Math.floor(M)} ${U(Math.floor(M), "second")} ago`))));
1123
1123
  }
1124
1124
  function $A(j) {
1125
- if (!j)
1125
+ if (!j || j < 60)
1126
1126
  return "0h";
1127
1127
  const M = Math.floor(j / 3600), A = Math.floor(j / 60 % 60);
1128
1128
  return (M ? `${rA(M)}h ` : "") + `${A}m`.padStart(3, "0");
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- @font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:400;src:url(./NeueHaasDisplayLight.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:400;src:url(./NeueHaasDisplayLightItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:100;src:url(./NeueHaasDisplayXXThin.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:100;src:url(./NeueHaasDisplayXXThinItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:200;src:url(./NeueHaasDisplayXThin.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:200;src:url(./NeueHaasDisplayXThinItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:300;src:url(./NeueHaasDisplayThin.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:300;src:url(./NeueHaasDisplayThinItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:500;src:url(./NeueHaasDisplayRoman.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:500;src:url(./NeueHaasDisplayRomanItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:600;src:url(./NeueHaasDisplayMediu.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:600;src:url(./NeueHaasDisplayMediumItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:700;src:url(./NeueHaasDisplayBold.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:700;src:url(./NeueHaasDisplayBoldItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:900;src:url(./NeueHaasDisplayBlack.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:900;src:url(./NeueHaasDisplayBlackItalic.ttf) format("truetype")}@font-face{font-family:Maratype;src:url(./Maratype.otf) format("truetype")}a[href]:not(.no-underline){-webkit-text-decoration:revert;text-decoration:revert}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#e4e4e7;z-index:1}html.dark .tippy-arrow{color:#27272a}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;z-index:1}.splide__arrows{position:sticky!important;width:100%!important;top:50%!important}@media screen and (min-width: 1280px){.splide__arrow--prev{left:-3rem!important}.splide__arrow--next{right:-3rem!important}}.dialog-md p{margin-top:.75rem}.dialog-md ul{margin-left:.75rem;font-size:1.125rem;line-height:1.75rem}.markdown-content h1{font-size:1.875rem;font-weight:700;line-height:2.25rem;margin-top:1rem;margin-bottom:1rem}.markdown-content h2{font-size:1.5rem;line-height:2rem;margin-top:.5rem;margin-bottom:.5rem}.markdown-content h3{font-size:1.25rem;line-height:1.75rem;margin-top:.5rem;margin-bottom:.5rem}.markdown-content p{margin-top:.5rem;margin-bottom:.5rem}.markdown-content ul{list-style-type:disc;list-style-position:inside;padding-bottom:.5rem}.markdown-content a{text-decoration-line:underline}.markdown-content hr{max-width:24rem;margin-left:auto;margin-right:auto;border-color:#71717a;margin-top:1rem;margin-bottom:1rem}.markdown-content em{font-style:italic}.fun *{cursor:url(./assets/spo16.ani),url(./assets/spo16.png),auto!important}
1
+ @font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:400;src:url(./NeueHaasDisplayLight.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:400;src:url(./NeueHaasDisplayLightItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:100;src:url(./NeueHaasDisplayXXThin.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:100;src:url(./NeueHaasDisplayXXThinItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:200;src:url(./NeueHaasDisplayXThin.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:200;src:url(./NeueHaasDisplayXThinItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:300;src:url(./NeueHaasDisplayThin.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:300;src:url(./NeueHaasDisplayThinItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:500;src:url(./NeueHaasDisplayRoman.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:500;src:url(./NeueHaasDisplayRomanItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:600;src:url(./NeueHaasDisplayMediu.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:600;src:url(./NeueHaasDisplayMediumItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:700;src:url(./NeueHaasDisplayBold.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:700;src:url(./NeueHaasDisplayBoldItalic.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:normal;font-weight:900;src:url(./NeueHaasDisplayBlack.ttf) format("truetype")}@font-face{font-family:Neue Haas Grotesk Display Pro;font-style:italic;font-weight:900;src:url(./NeueHaasDisplayBlackItalic.ttf) format("truetype")}@font-face{font-family:Maratype;src:url(./Maratype.otf) format("truetype")}a[href]:not(.no-underline){-webkit-text-decoration:revert;text-decoration:revert}.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#e4e4e7;z-index:1}html.dark .tippy-arrow{color:#27272a}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;z-index:1}.splide__arrows{position:sticky!important;width:100%!important;top:50%!important}@media screen and (min-width: 1280px){.splide__arrow--prev{left:-3rem!important}.splide__arrow--next{right:-3rem!important}}.dialog-md p{margin-top:.75rem}.dialog-md ul{margin-left:.75rem;font-size:1.125rem;line-height:1.75rem}.markdown-content h1{font-size:1.875rem;font-weight:700;line-height:2.25rem;margin-top:1rem;margin-bottom:1rem}.markdown-content h2{font-size:1.5rem;line-height:2rem;margin-top:.5rem;margin-bottom:.5rem}.markdown-content h3{font-size:1.25rem;line-height:1.75rem;margin-top:.5rem;margin-bottom:.5rem}.markdown-content p{margin-top:.5rem;margin-bottom:.5rem}.markdown-content ul{list-style-type:disc;list-style-position:inside;padding-bottom:.5rem}.markdown-content a{text-decoration-line:underline}.markdown-content hr{max-width:24rem;margin-left:auto;margin-right:auto;border-color:#71717a;margin-top:1rem;margin-bottom:1rem}.markdown-content em{font-style:italic}.fun *{cursor:url(./spo16.ani),url(./spo16.png),auto!important}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wastedondestiny/destiny-library",
3
- "version": "1.7.3",
3
+ "version": "1.7.5",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"