Bundled output for commit 4bb3b2235d

Includes transpiled JS/TS, and Typescript declaration files (typings).

[skip ci]
This commit is contained in:
flarum-bot 2023-01-17 20:01:25 +00:00
parent 4bb3b2235d
commit ccf9442d79
16 changed files with 23 additions and 16 deletions

View File

@ -1,2 +1,2 @@
declare const _default: any[];
declare const _default: import("flarum/common/extenders/Routes").default[];
export default _default;

View File

@ -1,2 +1,2 @@
declare const _default: any[];
declare const _default: (import("flarum/common/extenders/PostTypes").default | import("flarum/common/extenders/Routes").default)[];
export default _default;

2
extensions/tags/js/dist/admin.js generated vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
extensions/tags/js/dist/forum.js generated vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -129,6 +129,7 @@ declare const _default: {
'helpers/username': typeof import("../common/helpers/username").default;
'helpers/userOnline': typeof import("../common/helpers/userOnline").default;
'helpers/listItems': typeof import("../common/helpers/listItems").default;
'helpers/textContrastClass': typeof import("../common/helpers/textContrastClass").default;
'resolvers/DefaultResolver': typeof import("../common/resolvers/DefaultResolver").default;
'states/PaginatedListState': typeof import("../common/states/PaginatedListState").default;
'states/AlertManagerState': typeof import("../common/states/AlertManagerState").default;

View File

@ -77,6 +77,7 @@ import highlight from './helpers/highlight';
import username from './helpers/username';
import userOnline from './helpers/userOnline';
import listItems from './helpers/listItems';
import textContrastClass from './helpers/textContrastClass';
import Fragment from './Fragment';
import DefaultResolver from './resolvers/DefaultResolver';
import PaginatedListState from './states/PaginatedListState';
@ -180,6 +181,7 @@ declare const _default: {
'helpers/username': typeof username;
'helpers/userOnline': typeof userOnline;
'helpers/listItems': typeof listItems;
'helpers/textContrastClass': typeof textContrastClass;
'resolvers/DefaultResolver': typeof DefaultResolver;
'states/PaginatedListState': typeof PaginatedListState;
'states/AlertManagerState': typeof AlertManagerState;

View File

@ -0,0 +1 @@
export default function textContrastClass(hexcolor: string): string;

View File

@ -1,7 +1,10 @@
/**
* The `isDark` utility converts a hex color to rgb, and then calcul a YIQ
* value in order to get the appropriate brightness value (is it dark or is it
* light?) See https://www.w3.org/TR/AERT/#color-contrast for references. A YIQ
* value >= 128 is a light color.
* The `isDark` utility converts a hex color to rgb, and then calculates a YIQ
* value in order to get the appropriate brightness value. See
* https://www.w3.org/TR/AERT/#color-contrast for references.
*
* A YIQ value >= 128 corresponds to a light color according to the W3C
* standards, but we use a custom threshold for each light and dark modes
* to preserve design consistency.
*/
export default function isDark(hexcolor: String): boolean;
export default function isDark(hexcolor: string): boolean;

View File

@ -165,6 +165,7 @@ declare const _default: {
'helpers/username': typeof import("../common/helpers/username").default;
'helpers/userOnline': typeof import("../common/helpers/userOnline").default;
'helpers/listItems': typeof import("../common/helpers/listItems").default;
'helpers/textContrastClass': typeof import("../common/helpers/textContrastClass").default;
'resolvers/DefaultResolver': typeof import("../common/resolvers/DefaultResolver").default;
'states/PaginatedListState': typeof import("../common/states/PaginatedListState").default;
'states/AlertManagerState': typeof import("../common/states/AlertManagerState").default;

View File

@ -9,7 +9,6 @@
export default class DiscussionRenamedPost extends EventPost {
description(data: any): JSX.Element;
descriptionData(): {
old: string;
new: JSX.Element;
};
}

2
framework/core/js/dist/admin.js generated vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
framework/core/js/dist/forum.js generated vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long