@penn-libraries/web 0.1.0-dev.1 → 0.1.0
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-4f0a0453.js → index-262bf56b.js} +4 -2
- package/dist/cjs/index-262bf56b.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/pennlibs-banner.cjs.entry.js +23 -0
- package/dist/cjs/pennlibs-banner.cjs.entry.js.map +1 -0
- package/dist/cjs/{pennlibs-banner_3.cjs.entry.js → pennlibs-colors_3.cjs.entry.js} +19 -23
- package/dist/cjs/pennlibs-colors_3.cjs.entry.js.map +1 -0
- package/dist/cjs/web.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/pennlibs-banner/pennlibs-banner.css +2 -1
- package/dist/collection/components/pennlibs-colors/pennlibs-colors.css +51 -0
- package/dist/collection/components/pennlibs-colors/pennlibs-colors.js +46 -0
- package/dist/collection/components/pennlibs-colors/pennlibs-colors.js.map +1 -0
- package/dist/collection/components/pennlibs-footer/pennlibs-footer.css +2 -1
- package/dist/collection/components/pennlibs-header/pennlibs-header.css +5 -4
- package/dist/collection/components/pennlibs-header/pennlibs-header.js +11 -12
- package/dist/collection/components/pennlibs-header/pennlibs-header.js.map +1 -1
- package/dist/{web/p-dd3ab4f7.js → esm/index-96c7e79f.js} +4 -2
- package/dist/esm/index-96c7e79f.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/pennlibs-banner.entry.js +19 -0
- package/dist/esm/pennlibs-banner.entry.js.map +1 -0
- package/dist/{web/p-455fb837.entry.js → esm/pennlibs-colors_3.entry.js} +19 -23
- package/dist/{cjs/pennlibs-banner_3.cjs.entry.js.map → esm/pennlibs-colors_3.entry.js.map} +1 -1
- package/dist/esm/web.js +3 -3
- package/dist/types/components/pennlibs-colors/pennlibs-colors.d.ts +13 -0
- package/dist/types/components/pennlibs-header/pennlibs-header.d.ts +0 -1
- package/dist/types/components.d.ts +33 -0
- package/dist/{esm/index-51b7707e.js → web/p-0e5df322.js} +4 -2
- package/dist/web/p-0e5df322.js.map +1 -0
- package/dist/{esm/pennlibs-banner_3.entry.js → web/p-a1b13893.entry.js} +19 -23
- package/dist/web/p-a1b13893.entry.js.map +1 -0
- package/dist/web/p-c3230a3f.entry.js +19 -0
- package/dist/web/p-c3230a3f.entry.js.map +1 -0
- package/dist/web/web.esm.js +3 -3
- package/package.json +1 -1
- package/dist/cjs/index-4f0a0453.js.map +0 -1
- package/dist/esm/index-51b7707e.js.map +0 -1
- package/dist/esm/pennlibs-banner_3.entry.js.map +0 -1
- package/dist/web/p-455fb837.entry.js.map +0 -1
- package/dist/web/p-dd3ab4f7.js.map +0 -1
|
@@ -7,6 +7,18 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
export namespace Components {
|
|
9
9
|
interface PennlibsBanner {
|
|
10
|
+
}
|
|
11
|
+
interface PennlibsColors {
|
|
12
|
+
/**
|
|
13
|
+
* The navigation sections.
|
|
14
|
+
*/
|
|
15
|
+
"navigation": Array<{
|
|
16
|
+
heading: string;
|
|
17
|
+
links: Array<{
|
|
18
|
+
label: string;
|
|
19
|
+
href: string;
|
|
20
|
+
}>;
|
|
21
|
+
}>;
|
|
10
22
|
}
|
|
11
23
|
interface PennlibsFooter {
|
|
12
24
|
/**
|
|
@@ -42,6 +54,12 @@ declare global {
|
|
|
42
54
|
prototype: HTMLPennlibsBannerElement;
|
|
43
55
|
new (): HTMLPennlibsBannerElement;
|
|
44
56
|
};
|
|
57
|
+
interface HTMLPennlibsColorsElement extends Components.PennlibsColors, HTMLStencilElement {
|
|
58
|
+
}
|
|
59
|
+
var HTMLPennlibsColorsElement: {
|
|
60
|
+
prototype: HTMLPennlibsColorsElement;
|
|
61
|
+
new (): HTMLPennlibsColorsElement;
|
|
62
|
+
};
|
|
45
63
|
interface HTMLPennlibsFooterElement extends Components.PennlibsFooter, HTMLStencilElement {
|
|
46
64
|
}
|
|
47
65
|
var HTMLPennlibsFooterElement: {
|
|
@@ -56,12 +74,25 @@ declare global {
|
|
|
56
74
|
};
|
|
57
75
|
interface HTMLElementTagNameMap {
|
|
58
76
|
"pennlibs-banner": HTMLPennlibsBannerElement;
|
|
77
|
+
"pennlibs-colors": HTMLPennlibsColorsElement;
|
|
59
78
|
"pennlibs-footer": HTMLPennlibsFooterElement;
|
|
60
79
|
"pennlibs-header": HTMLPennlibsHeaderElement;
|
|
61
80
|
}
|
|
62
81
|
}
|
|
63
82
|
declare namespace LocalJSX {
|
|
64
83
|
interface PennlibsBanner {
|
|
84
|
+
}
|
|
85
|
+
interface PennlibsColors {
|
|
86
|
+
/**
|
|
87
|
+
* The navigation sections.
|
|
88
|
+
*/
|
|
89
|
+
"navigation"?: Array<{
|
|
90
|
+
heading: string;
|
|
91
|
+
links: Array<{
|
|
92
|
+
label: string;
|
|
93
|
+
href: string;
|
|
94
|
+
}>;
|
|
95
|
+
}>;
|
|
65
96
|
}
|
|
66
97
|
interface PennlibsFooter {
|
|
67
98
|
/**
|
|
@@ -91,6 +122,7 @@ declare namespace LocalJSX {
|
|
|
91
122
|
}
|
|
92
123
|
interface IntrinsicElements {
|
|
93
124
|
"pennlibs-banner": PennlibsBanner;
|
|
125
|
+
"pennlibs-colors": PennlibsColors;
|
|
94
126
|
"pennlibs-footer": PennlibsFooter;
|
|
95
127
|
"pennlibs-header": PennlibsHeader;
|
|
96
128
|
}
|
|
@@ -100,6 +132,7 @@ declare module "@stencil/core" {
|
|
|
100
132
|
export namespace JSX {
|
|
101
133
|
interface IntrinsicElements {
|
|
102
134
|
"pennlibs-banner": LocalJSX.PennlibsBanner & JSXBase.HTMLAttributes<HTMLPennlibsBannerElement>;
|
|
135
|
+
"pennlibs-colors": LocalJSX.PennlibsColors & JSXBase.HTMLAttributes<HTMLPennlibsColorsElement>;
|
|
103
136
|
"pennlibs-footer": LocalJSX.PennlibsFooter & JSXBase.HTMLAttributes<HTMLPennlibsFooterElement>;
|
|
104
137
|
"pennlibs-header": LocalJSX.PennlibsHeader & JSXBase.HTMLAttributes<HTMLPennlibsHeaderElement>;
|
|
105
138
|
}
|
|
@@ -812,7 +812,9 @@ const patch = (oldVNode, newVNode, isInitialRender = false) => {
|
|
|
812
812
|
isSvgMode = tag === 'svg' ? true : tag === 'foreignObject' ? false : isSvgMode;
|
|
813
813
|
}
|
|
814
814
|
{
|
|
815
|
-
|
|
815
|
+
if (tag === 'slot')
|
|
816
|
+
;
|
|
817
|
+
else {
|
|
816
818
|
// either this is the first render of an element OR it's an update
|
|
817
819
|
// AND we already know it's possible it could have changed
|
|
818
820
|
// this updates the element's css classes, attrs, props, listeners, etc.
|
|
@@ -1744,4 +1746,4 @@ const writeTask = /*@__PURE__*/ queueTask(queueDomWrites, true);
|
|
|
1744
1746
|
|
|
1745
1747
|
export { getElement as a, bootstrapLazy as b, getAssetPath as g, h, promiseResolve as p, registerInstance as r, setNonce as s };
|
|
1746
1748
|
|
|
1747
|
-
//# sourceMappingURL=
|
|
1749
|
+
//# sourceMappingURL=p-0e5df322.js.map
|