Skip to content

Commit

Permalink
Release v2.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Jun 27, 2024
1 parent 605bd7a commit b8539e1
Show file tree
Hide file tree
Showing 20 changed files with 72 additions and 43 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.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.4 ~~ 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.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.4 ~~ 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.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.4 ~~ 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.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.4 ~~ 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.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.4 ~~ 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.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.4 ~~ 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.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.2.4 ~~ 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.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License */
/*! web-ignition v2.2.4 ~~ https://github.com/center-key/web-ignition ~~ MIT License */

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

/*
Zebra Sections layout -- Edge-to-edge blocks with alternating background colors
Expand Down Expand Up @@ -98,7 +98,8 @@ body >header img { /* floating avatar */
}
main >section {
text-align: center;
padding: 50px 0px 30px 0px;
background-color: white;
padding: 50px 0px;
margin-bottom: 0px;
}
main >section[data-background] {
Expand All @@ -116,9 +117,6 @@ main >section:first-child {
main >section:nth-child(even) {
background-color: whitesmoke;
}
main >section:last-child {
padding-bottom: 50px;
}
main >section >h2 {
font-size: 1.6rem;
margin-top: -8px;
Expand Down
17 changes: 8 additions & 9 deletions dist/lib-x.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v2.2.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.2.4 ~~ 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 @@ -76,9 +76,7 @@ declare const libX: {
version: string;
dom: {
stateDepot: {
[key: string]: unknown;
[key: number]: unknown;
[key: symbol]: unknown;
[key: string | number | symbol]: unknown;
}[];
state(elem: Element): {
[key: string]: unknown;
Expand All @@ -92,7 +90,7 @@ declare const libX: {
[key: symbol]: unknown;
};
removeState(elem: Element): Element;
create<K extends string>(tag: K, options?: {
create<K extends keyof HTMLElementTagNameMap | string>(tag: K, options?: {
id?: string;
subTags?: string[];
class?: string;
Expand All @@ -109,9 +107,9 @@ declare const libX: {
hasClass(elems: Element[] | HTMLCollection | NodeListOf<Element>, className: string): boolean;
toggleClass(elem: Element, className: string, state?: boolean): Element;
replaceClass(elem: Element, oldName: string, newName: string): Element;
addClass<T extends HTMLCollection | Element[] | NodeListOf<Element>>(elems: T, className: string): T;
forEach<T_1 extends HTMLCollection>(elems: T_1, fn: (elem: Element, index: number, elems: unknown[]) => unknown): T_1;
map<T_2>(elems: HTMLCollection | NodeListOf<Element>, fn: (elem: Element, index: number, elems: unknown[]) => T_2): T_2[];
addClass<T extends Element[] | HTMLCollection | NodeListOf<Element>>(elems: T, className: string): T;
forEach<T extends HTMLCollection>(elems: T, fn: (elem: Element, index: number, elems: unknown[]) => unknown): T;
map<T>(elems: HTMLCollection | NodeListOf<Element>, fn: (elem: Element, index: number, elems: unknown[]) => T): T[];
filter(elems: HTMLCollection | NodeListOf<Element>, fn: (elem: Element, index: number, elems: unknown[]) => unknown): Element[];
filterBySelector(elems: Element[] | HTMLCollection, selector: string): Element[];
filterByClass(elems: Element[] | HTMLCollection, ...classNames: string[]): Element[];
Expand Down Expand Up @@ -140,7 +138,7 @@ declare const libX: {
onHoverOut(listener: LibXEventListener, selector: string): void;
onReady(callback: (...args: unknown[]) => unknown, options?: {
quiet?: boolean;
}): DocumentReadyState | 'browserless';
}): DocumentReadyState | "browserless";
};
ui: {
isHidden(elem: Element): boolean;
Expand Down Expand Up @@ -201,6 +199,7 @@ declare const libX: {
iOS(): boolean;
macOS(): boolean;
msWindows(): boolean;
darkModeRequested(): boolean;
};
popupImage: {
show(thumbnail: Element): Element;
Expand Down
7 changes: 5 additions & 2 deletions dist/lib-x.dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v2.2.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.2.4 ~~ https://github.com/center-key/web-ignition ~~ MIT License

const libXDom = {
stateDepot: [],
Expand Down Expand Up @@ -633,6 +633,9 @@ const libXBrowser = {
msWindows() {
return libX.browser.userAgentData().platform === 'Windows';
},
darkModeRequested() {
return window.matchMedia('(prefers-color-scheme: dark)').matches;
},
};
const libXPopupImage = {
show(thumbnail) {
Expand Down Expand Up @@ -839,7 +842,7 @@ const libXExtra = {
},
};
const libX = {
version: '2.2.3',
version: '2.2.4',
dom: libXDom,
ui: libXUi,
util: libXUtil,
Expand Down
7 changes: 5 additions & 2 deletions dist/lib-x.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! web-ignition v2.2.3 ~~ https://github.com/center-key/web-ignition ~~ MIT License
//! web-ignition v2.2.4 ~~ https://github.com/center-key/web-ignition ~~ MIT License

const libXDom = {
stateDepot: [],
Expand Down Expand Up @@ -633,6 +633,9 @@ const libXBrowser = {
msWindows() {
return libX.browser.userAgentData().platform === 'Windows';
},
darkModeRequested() {
return window.matchMedia('(prefers-color-scheme: dark)').matches;
},
};
const libXPopupImage = {
show(thumbnail) {
Expand Down Expand Up @@ -839,7 +842,7 @@ const libXExtra = {
},
};
const libX = {
version: '2.2.3',
version: '2.2.4',
dom: libXDom,
ui: libXUi,
util: libXUtil,
Expand Down
4 changes: 2 additions & 2 deletions dist/lib-x.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit b8539e1

Please sign in to comment.