@penn-libraries/web 1.4.0-dev.3 → 1.4.0-dev.4
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/cjs/{index-DuAtidph.js → index-BKWYkqL-.js} +3 -3
- package/dist/cjs/index-BKWYkqL-.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/pennlibs-accordion_5.cjs.entry.js +1 -1
- package/dist/cjs/pennlibs-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/pennlibs-banner.cjs.entry.js +1 -1
- package/dist/cjs/pennlibs-chat.cjs.entry.js +1 -1
- package/dist/cjs/pennlibs-fallback-img.cjs.entry.js +1 -1
- package/dist/cjs/pennlibs-hero.cjs.entry.js +1 -1
- package/dist/cjs/pennlibs-iiif-img.cjs.entry.js +1 -1
- package/dist/cjs/web.cjs.js +1 -1
- package/dist/docs.json +1 -1
- package/dist/esm/{index-BXL8iX4F.js → index-Cw9fYoti.js} +3 -3
- package/dist/esm/index-Cw9fYoti.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/pennlibs-accordion_5.entry.js +1 -1
- package/dist/esm/pennlibs-autocomplete.entry.js +1 -1
- package/dist/esm/pennlibs-banner.entry.js +1 -1
- package/dist/esm/pennlibs-chat.entry.js +1 -1
- package/dist/esm/pennlibs-fallback-img.entry.js +1 -1
- package/dist/esm/pennlibs-hero.entry.js +1 -1
- package/dist/esm/pennlibs-iiif-img.entry.js +1 -1
- package/dist/esm/web.js +2 -2
- package/dist/web/index.esm.js +1 -1
- package/dist/web/{p-8b17cc4d.entry.js → p-0eb9e4fa.entry.js} +1 -1
- package/dist/web/{p-61ae9fb2.entry.js → p-1c284e42.entry.js} +1 -1
- package/dist/web/{p-64e74684.entry.js → p-4f2ff6ec.entry.js} +1 -1
- package/dist/web/{p-5bf6e5f8.entry.js → p-85b7d695.entry.js} +1 -1
- package/dist/web/{p-9de28f5c.entry.js → p-8d7c5424.entry.js} +1 -1
- package/dist/web/{p-BXL8iX4F.js → p-Cw9fYoti.js} +3 -3
- package/dist/web/p-Cw9fYoti.js.map +1 -0
- package/dist/web/{p-5f1cef00.entry.js → p-af10bd16.entry.js} +1 -1
- package/dist/web/{p-ed1b5ac4.entry.js → p-ca1412b5.entry.js} +1 -1
- package/dist/web/web.css +25 -0
- package/dist/web/web.esm.js +3 -3
- package/package.json +1 -1
- package/dist/cjs/index-DuAtidph.js.map +0 -1
- package/dist/esm/index-BXL8iX4F.js.map +0 -1
- package/dist/web/p-BXL8iX4F.js.map +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h, a as getElement } from './p-
|
|
1
|
+
import { r as registerInstance, h, a as getElement } from './p-Cw9fYoti.js';
|
|
2
2
|
|
|
3
3
|
const pennlibsHeroCss = ":host{--pl-hero-height:clamp(42vh, 32rem, 26rem);--pl-hero-heading-font:var(--pl-font-serif);--pl-hero-color:var(--pl-color-fg-on-emphasis)}*,*:before,*:after{box-sizing:inherit}.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0}.viewport-margins{width:100%;max-width:var(--pl-viewport-margins-max-width);margin:0 auto;padding:0 var(--pl-viewport-margins-gutter, 1em)}.hero{position:relative;min-height:var(--pl-hero-height);height:100%;background-size:cover;background-repeat:no-repeat;background-position:50% 33%;display:flex;container-type:inline-size}.hero::before{content:\"\";display:flex;width:100%;height:100%;top:0;position:absolute;background:linear-gradient(360deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.4) 40%, rgba(0, 0, 0, 0.05) 100%);z-index:0}.hero::after{content:\"\";display:flex;width:100%;height:100%;top:0;position:absolute;background:linear-gradient(180deg, rgba(1, 31, 91, 1) 0%, rgba(1, 31, 91, 0.9) 10%, rgba(1, 31, 91, 0.8) 20%, rgba(1, 31, 91, 0.1) 50%, rgba(1, 31, 91, 0.0) 100%);z-index:0}.hero__content{position:relative;display:flex;flex-direction:column;width:100%;z-index:1}.hero__heading-container{margin-top:auto;padding-top:var(--pl-space-3xl);padding-bottom:var(--pl-space-3xl)}.hero__heading{text-shadow:1px 1px 2px var(--pl-color-fg-default);line-height:1;font-size:var(--pl-font-size-5xl);font-size:clamp(var(--pl-font-size-4xl), 3cqi + 1rem, var(--pl-font-size-5xl));font-weight:400;font-family:var(--pl-hero-heading-font);text-wrap:pretty;max-width:30ch;margin:0;color:var(--pl-hero-color)}.hero__sub-heading{font-size:1.25em;font-family:var(--pl-font-family);font-weight:400;color:var(--pl-hero-color);max-width:52ch;text-wrap:pretty;margin-top:var(--pl-space-s);margin-bottom:0}.hero__sub-heading a{text-decoration:underline;text-underline-offset:var(--pl-link-text-underline-offset);text-decoration-thickness:var(--pl-link-text-decoration-thickness);color:var(--pl-hero-color)}.hero__sub-heading a:hover{text-decoration-thickness:var(--pl-link-hover-text-decoration-thickness)}.hero__sub-heading strong{font-weight:bold}@media (max-width: 620px){.hero__sub-heading{font-size:1em}}";
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, a as getElement, h, H as Host, c as createEvent, d as getAssetPath } from './p-
|
|
1
|
+
import { r as registerInstance, a as getElement, h, H as Host, c as createEvent, d as getAssetPath } from './p-Cw9fYoti.js';
|
|
2
2
|
|
|
3
3
|
const pennlibsAccordionCss = "pennlibs-accordion{display:contents}";
|
|
4
4
|
|
package/dist/web/web.css
CHANGED
|
@@ -483,6 +483,26 @@
|
|
|
483
483
|
font-size: var(--pl-font-size-5xl);
|
|
484
484
|
}
|
|
485
485
|
|
|
486
|
+
/*
|
|
487
|
+
Caps
|
|
488
|
+
|
|
489
|
+
Small uppercase label type used throughout the site, such as table headers
|
|
490
|
+
and section labels. The subtle variant dims it with the subtle foreground.
|
|
491
|
+
*/
|
|
492
|
+
|
|
493
|
+
.pl-caps,
|
|
494
|
+
.pl-caps-subtle {
|
|
495
|
+
font-size: 0.8rem;
|
|
496
|
+
font-weight: 600;
|
|
497
|
+
letter-spacing: 0.075rem;
|
|
498
|
+
text-transform: uppercase;
|
|
499
|
+
vertical-align: middle;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.pl-caps-subtle {
|
|
503
|
+
color: var(--pl-color-fg-subtle);
|
|
504
|
+
}
|
|
505
|
+
|
|
486
506
|
/*
|
|
487
507
|
Line length
|
|
488
508
|
*/
|
|
@@ -721,6 +741,11 @@ a.pl-button {
|
|
|
721
741
|
padding: var(--pl-space-m);
|
|
722
742
|
background: var(--pl-color-bg-default);
|
|
723
743
|
border-radius: 0 0 var(--pl-border-radius) var(--pl-border-radius);
|
|
744
|
+
|
|
745
|
+
& > .pl-details:first-of-type,
|
|
746
|
+
& > pennlibs-accordion {
|
|
747
|
+
margin-top: var(--pl-space-m);
|
|
748
|
+
}
|
|
724
749
|
}
|
|
725
750
|
|
|
726
751
|
@media (prefers-reduced-motion: reduce) {
|
package/dist/web/web.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './p-
|
|
2
|
-
export { s as setNonce } from './p-
|
|
1
|
+
import { p as promiseResolve, g as globalScripts, b as bootstrapLazy } from './p-Cw9fYoti.js';
|
|
2
|
+
export { s as setNonce } from './p-Cw9fYoti.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
5
|
Stencil Client Patch Browser v4.38.1 | MIT Licensed | https://stenciljs.com
|
|
@@ -16,6 +16,6 @@ var patchBrowser = () => {
|
|
|
16
16
|
|
|
17
17
|
patchBrowser().then(async (options) => {
|
|
18
18
|
await globalScripts();
|
|
19
|
-
return bootstrapLazy([["p-
|
|
19
|
+
return bootstrapLazy([["p-1c284e42",[[257,"pennlibs-iiif-img",{"uuid":[1],"alt":[1],"region":[513],"rotation":[1],"quality":[1],"loading":[1],"showFallback":[4,"show-fallback"],"isLoaded":[32],"hasError":[32],"imageDimensions":[32],"observedWidth":[32]},null,{"region":["handleRegionChange"]}]]],["p-ca1412b5",[[0,"pennlibs-accordion",{"single":[4]},[[4,"click","onControlClick"]]],[257,"pennlibs-expand-text",{"lines":[2],"expandLabel":[1,"expand-label"],"collapseLabel":[1,"collapse-label"],"expanded":[32],"hasOverflow":[32],"measured":[32]}],[257,"pennlibs-feedback",{"hideQuestion":[4,"hide-question"],"answer":[32],"selected":[32]}],[257,"pennlibs-footer",{"showBuiltWith":[4,"show-built-with"],"navigationByChildren":[32]}],[257,"pennlibs-header",{"serviceName":[1,"service-name"],"serviceLede":[1,"service-lede"],"serviceHref":[1,"service-href"],"theme":[1],"isMenuOpen":[32],"navigation":[32]}]]],["p-4f2ff6ec",[[257,"pennlibs-autocomplete",{"for":[1],"showSuggestions":[32],"currentIndex":[32],"originalValue":[32],"options":[32]},[[0,"slotchange","handleSlotChange"],[16,"input","handleInputEvent"],[16,"focus","handleFocusEvent"],[16,"blur","handleBlurEvent"],[0,"focusout","handleFocusOut"],[4,"keydown","handleKeyDown"]]]]],["p-85b7d695",[[257,"pennlibs-banner"]]],["p-8d7c5424",[[257,"pennlibs-chat",{"href":[32]}]]],["p-af10bd16",[[257,"pennlibs-hero",{"heroPictureElement":[32],"heroHeadingElement":[32],"heroParagraphElement":[32],"heroSrc":[32]}]]],["p-0eb9e4fa",[[257,"pennlibs-fallback-img"]]]], options);
|
|
20
20
|
});
|
|
21
21
|
//# sourceMappingURL=web.esm.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@penn-libraries/web",
|
|
3
|
-
"version": "1.4.0-dev.
|
|
3
|
+
"version": "1.4.0-dev.4",
|
|
4
4
|
"description": "Reusable web designs for University of Pennsylvania Libraries websites. This package contains our code for shared Web Components and Cascading Style Sheets (CSS).",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|