Skip to content

Commit

Permalink
Release v2.2.8
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Aug 12, 2024
1 parent c2de2a9 commit 2483ac6
Show file tree
Hide file tree
Showing 16 changed files with 179 additions and 104 deletions.
2 changes: 1 addition & 1 deletion dist/blogger-tweaks.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/layouts/block-duo.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Block Duo layout -- Two big columns followed by a single footer
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/color-blocks.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Color Blocks layout -- Two columns of colorful blocks
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/color-slide.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Color Slide layout -- Top to botttom color transition
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/letterbox.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Letterbox layout -- Edge-to-edge semi-opaque bar over cover background image
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/modern.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Modern layout -- Clean blog post page
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/neon.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Neon layout -- For hackers and space junkies
Expand Down
2 changes: 1 addition & 1 deletion dist/layouts/neon.min.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//! web-ignition v2.2.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License
const numNeonImages=8;const randomImage=Date.now()%numNeonImages+1;globalThis.document.body.classList.add("neon-image-"+String(randomImage));
2 changes: 1 addition & 1 deletion dist/layouts/vertical-bars.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Vertical Bars layout -- traditional boring old-school webpage
Expand Down
20 changes: 11 additions & 9 deletions dist/layouts/zebra-sections.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! web-ignition v2.2.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

/*
Zebra Sections layout -- Edge-to-edge blocks with alternating background colors
Expand All @@ -8,11 +8,11 @@ Usage:
<style>
body >header nav a { color: white; text-shadow: 0px 0px 0.6em black; }
body >header nav a.current, body >header nav a:hover { color: white; border-color: gold; }
body >header { background-image: url(bkgnd.jpg); }
body >header { background-image: url(background-banner.jpg); }
body main >section[data-background=cat] { background-image: url(cat.jpg); }
</style>
HTML (<body>):
header
header.responsive-avatar
nav
a.current
h1, h2, h4, img[alt=avatar]
Expand Down Expand Up @@ -226,12 +226,14 @@ body >footer i[data-brand] {

/* Mobile devices */
@media (max-width: 667px) { /* selects iPhone 6/6s/7/8/SE2/SE3 landscape and anything narrower */
body >header img {
bottom: -50px;
width: 100px;
}
main >section:first-child {
padding-top: 80px;
body >header.responsive-avatar {
img {
bottom: -50px;
width: 100px;
}
&+main >section:first-child {
padding-top: 80px;
}
}
}
/******************************************************************************/
Expand Down
25 changes: 18 additions & 7 deletions dist/lib-x.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v2.2.7 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.2.8 ~~ https://github.com/center-key/web-ignition ~~ MIT License

export type GlobalKey = keyof typeof globalThis;
export type Json = string | number | boolean | null | undefined | JsonObject | Json[];
Expand Down Expand Up @@ -90,7 +90,7 @@ declare const libX: {
[key: symbol]: unknown;
};
removeState(elem: Element): Element;
create<K extends keyof HTMLElementTagNameMap | string>(tag: K, options?: {
createCustom(tag: string, options?: {
id?: string;
subTags?: string[];
class?: string;
Expand All @@ -101,7 +101,19 @@ declare const libX: {
src?: string;
text?: string;
type?: string;
}): K extends keyof HTMLElementTagNameMap ? HTMLElementTagNameMap[K] : HTMLElement;
}): HTMLElement;
create(tag: keyof HTMLElementTagNameMap, options?: {
id?: string;
subTags?: string[];
class?: string;
href?: string;
html?: string;
name?: string;
rel?: string;
src?: string;
text?: string;
type?: string;
}): HTMLElement | HTMLCanvasElement | HTMLImageElement | HTMLVideoElement | HTMLAnchorElement | HTMLScriptElement | HTMLEmbedElement | HTMLFormElement | HTMLHeadElement | HTMLAreaElement | HTMLObjectElement | HTMLLinkElement | HTMLMapElement | HTMLInputElement | HTMLBaseElement | HTMLTimeElement | HTMLDataElement | HTMLProgressElement | HTMLTrackElement | HTMLSourceElement | HTMLButtonElement | HTMLAudioElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLTableCaptionElement | HTMLTableColElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDialogElement | HTMLDivElement | HTMLDListElement | HTMLFieldSetElement | HTMLHeadingElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLabelElement | HTMLLegendElement | HTMLLIElement | HTMLMenuElement | HTMLMetaElement | HTMLMeterElement | HTMLOListElement | HTMLOptGroupElement | HTMLOptionElement | HTMLOutputElement | HTMLParagraphElement | HTMLPictureElement | HTMLPreElement | HTMLSelectElement | HTMLSlotElement | HTMLSpanElement | HTMLStyleElement | HTMLTableElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTemplateElement | HTMLTextAreaElement | HTMLTitleElement | HTMLTableRowElement | HTMLUListElement;
select(selector: string): HTMLElement | null;
selectAll(selector: string): HTMLElement[];
hasClass(elems: Element[] | HTMLCollection | NodeListOf<Element>, className: string): boolean;
Expand All @@ -118,7 +130,7 @@ declare const libX: {
indexOf(elems: NodeListOf<Element>, elem: Element): number;
findIndex(elems: HTMLCollection | NodeListOf<Element>, selector: string): number;
isElem(elem: unknown): boolean;
getAttrs(elem: Element): Attr[];
getAttrs(elem?: Element): Attr[];
toElem(elemOrEvent: Element | Event): HTMLElement;
on(type: string, listener: LibXEventListener, options?: Partial<LibXSettingsEventsOn>): void;
onClick(listener: LibXEventListener, selector?: string): void;
Expand Down Expand Up @@ -166,13 +178,13 @@ declare const libX: {
loadImageFadeIn(elem: Element, url: string, duration?: number): Promise<Element>;
setupVideos(): void;
setupForkMe(): Element | null;
getComponent(elem: Element): Element | null;
getComponent(elem?: Element): Element | null;
};
util: {
cleanupEmail(email: string): string | null;
isObj(thing: unknown): boolean;
removeWhitespace(text: string): string;
assert(ok: boolean | unknown, message: string, info: unknown): void;
assert(ok: unknown, message: string, info: unknown): void;
};
nav: {
setupLinkMenu(): HTMLElement | null;
Expand Down Expand Up @@ -222,7 +234,6 @@ declare const libX: {
};
extra: {
blogger(websiteUrl: string): void;
gTags(scriptTag: HTMLScriptElement): void;
};
initialize(): void;
};
Expand Down
Loading

0 comments on commit 2483ac6

Please sign in to comment.