From 1a81f4b0973e80f34d6383107000ed2ae29a2fe5 Mon Sep 17 00:00:00 2001
From: Erwan Jugand <47392755+erwanjugand@users.noreply.github.com>
Date: Sat, 17 May 2025 01:03:23 +0200
Subject: [PATCH 01/14] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#72598=20[chr?=
=?UTF-8?q?ome]=20update=20Notifications=20namespace=20by=20@erwanjugand?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
types/chrome/index.d.ts | 283 ++++++++++++++++++-------------------
types/chrome/test/index.ts | 114 +++++++++++++--
2 files changed, 246 insertions(+), 151 deletions(-)
diff --git a/types/chrome/index.d.ts b/types/chrome/index.d.ts
index 89a9c435ac92dd..e8d8deedb2581d 100644
--- a/types/chrome/index.d.ts
+++ b/types/chrome/index.d.ts
@@ -2,6 +2,9 @@
///
///
+// Helpers
+type SetRequired = Omit & Required>;
+
////////////////////
// Global object
////////////////////
@@ -7019,181 +7022,177 @@ declare namespace chrome {
* Permissions: "notifications"
*/
export namespace notifications {
- export type TemplateType = "basic" | "image" | "list" | "progress";
-
- export interface ButtonOptions {
+ export interface NotificationButton {
+ /** @deprecated since Chrome 59. Button icons not visible for Mac OS X users. */
+ iconUrl?: string;
title: string;
- iconUrl?: string | undefined;
}
- export interface ItemOptions {
- /** Title of one item of a list notification. */
- title: string;
+ export interface NotificationItem {
/** Additional details about this item. */
message: string;
+ /** Title of one item of a list notification. */
+ title: string;
}
- export type NotificationOptions =
- & {
- /**
- * Optional.
- * Alternate notification content with a lower-weight font.
- * @since Chrome 31
- */
- contextMessage?: string | undefined;
- /** Optional. Priority ranges from -2 to 2. -2 is lowest priority. 2 is highest. Zero is default. */
- priority?: number | undefined;
- /** Optional. A timestamp associated with the notification, in milliseconds past the epoch (e.g. Date.now() + n). */
- eventTime?: number | undefined;
- /** Optional. Text and icons for up to two notification action buttons. */
- buttons?: ButtonOptions[] | undefined;
- /** Optional. Items for multi-item notifications. */
- items?: ItemOptions[] | undefined;
- /**
- * Optional.
- * Current progress ranges from 0 to 100.
- * @since Chrome 30
- */
- progress?: number | undefined;
- /**
- * Optional.
- * Whether to show UI indicating that the app will visibly respond to clicks on the body of a notification.
- * @since Chrome 32
- */
- isClickable?: boolean | undefined;
- /**
- * Optional.
- * A URL to the app icon mask. URLs have the same restrictions as iconUrl. The app icon mask should be in alpha channel, as only the alpha channel of the image will be considered.
- * @since Chrome 38
- */
- appIconMaskUrl?: string | undefined;
- /** Optional. A URL to the image thumbnail for image-type notifications. URLs have the same restrictions as iconUrl. */
- imageUrl?: string | undefined;
- /**
- * Indicates that the notification should remain visible on screen until the user activates or dismisses the notification.
- * This defaults to false.
- * @since Chrome 50
- */
- requireInteraction?: boolean | undefined;
- /**
- * Optional.
- * Indicates that no sounds or vibrations should be made when the notification is being shown. This defaults to false.
- * @since Chrome 70
- */
- silent?: boolean | undefined;
- }
- & (T extends true ? {
- /**
- * A URL to the sender's avatar, app icon, or a thumbnail for image notifications.
- * URLs can be a data URL, a blob URL, or a URL relative to a resource within this extension's .crx file. Required for notifications.create method.
- */
- iconUrl: string;
- /** Main notification content. Required for notifications.create method. */
- message: string;
- /** Which type of notification to display. Required for notifications.create method. */
- type: TemplateType;
- /** Title of the notification (e.g. sender name for email). Required for notifications.create method. */
- title: string;
- }
- : {
- /**
- * Optional.
- * A URL to the sender's avatar, app icon, or a thumbnail for image notifications.
- * URLs can be a data URL, a blob URL, or a URL relative to a resource within this extension's .crx file. Required for notifications.create method.
- */
- iconUrl?: string | undefined;
- /** Optional. Main notification content. Required for notifications.create method. */
- message?: string | undefined;
- /** Optional. Which type of notification to display. Required for notifications.create method. */
- type?: TemplateType | undefined;
- /** Optional. Title of the notification (e.g. sender name for email). Required for notifications.create method. */
- title?: string | undefined;
- });
-
- export interface NotificationClosedEvent
- extends chrome.events.Event<(notificationId: string, byUser: boolean) => void>
- {}
-
- export interface NotificationClickedEvent extends chrome.events.Event<(notificationId: string) => void> {}
+ export interface NotificationOptions {
+ /**
+ * A URL to the app icon mask. URLs have the same restrictions as {@link notifications.NotificationOptions.iconUrl iconUrl}.
+ *
+ * The app icon mask should be in alpha channel, as only the alpha channel of the image will be considered.
+ * @deprecated since Chrome 59. The app icon mask is not visible for Mac OS X users.
+ */
+ appIconMaskUrl?: string;
+ /** Text and icons for up to two notification action buttons. */
+ buttons?: NotificationButton[];
+ /** Alternate notification content with a lower-weight font. */
+ contextMessage?: string;
+ /** A timestamp associated with the notification, in milliseconds past the epoch (e.g. `Date.now() + n`). */
+ eventTime?: number;
+ /**
+ * A URL to the sender's avatar, app icon, or a thumbnail for image notifications.
+ *
+ * URLs can be a data URL, a blob URL, or a URL relative to a resource within this extension's .crx file
+ *
+ * **Note:** This value is required for the {@link notifications.create}() method.
+ */
+ iconUrl?: string;
+ /**
+ * A URL to the image thumbnail for image-type notifications. URLs have the same restrictions as {@link notifications.NotificationOptions.iconUrl iconUrl}.
+ * @deprecated since Chrome 59. The image is not visible for Mac OS X users.
+ */
+ imageUrl?: string;
+ /** @deprecated since Chrome 67. This UI hint is ignored as of Chrome 67 */
+ isClickable?: boolean;
+ /** Items for multi-item notifications. Users on Mac OS X only see the first item. */
+ items?: NotificationItem[];
+ /**
+ * Main notification content.
+ *
+ * **Note:** This value is required for the {@link notifications.create}() method.
+ */
+ message?: string;
+ /** Priority ranges from -2 to 2. -2 is lowest priority. 2 is highest. Zero is default. On platforms that don't support a notification center (Windows, Linux & Mac), -2 and -1 result in an error as notifications with those priorities will not be shown at all. */
+ priority?: number;
+ /** Current progress ranges from 0 to 100. */
+ progress?: number;
+ /**
+ * Indicates that the notification should remain visible on screen until the user activates or dismisses the notification. This defaults to false.
+ * @since Chrome 50
+ */
+ requireInteraction?: boolean;
+ /**
+ * Indicates that no sounds or vibrations should be made when the notification is being shown. This defaults to false.
+ * @since Chrome 70
+ */
+ silent?: boolean;
+ /**
+ * Title of the notification (e.g. sender name for email).
+ *
+ * **Note:** This value is required for the {@link notifications.create}() method.
+ */
+ title?: string;
+ /** Which type of notification to display.
+ *
+ * **Note:** This value is required for the {@link notifications.create}() method.
+ */
+ type?: `${TemplateType}`;
+ }
- export interface NotificationButtonClickedEvent
- extends chrome.events.Event<(notificationId: string, buttonIndex: number) => void>
- {}
+ type NotificationCreateOptions = SetRequired;
- export interface NotificationPermissionLevelChangedEvent extends chrome.events.Event<(level: string) => void> {}
+ export enum PermissionLevel {
+ /** Specifies that the user has elected to show notifications from the app or extension. This is the default at install time. */
+ GRANTED = "granted",
+ /** Specifies that the user has elected not to show notifications from the app or extension. */
+ DENIED = "denied",
+ }
- export interface NotificationShowSettingsEvent extends chrome.events.Event<() => void> {}
+ export enum TemplateType {
+ /** Contains an icon, title, message, expandedMessage, and up to two buttons. */
+ BASIC = "basic",
+ /** Contains an icon, title, message, expandedMessage, image, and up to two buttons. */
+ IMAGE = "image",
+ /** Contains an icon, title, message, items, and up to two buttons. Users on Mac OS X only see the first item. */
+ LIST = "list",
+ /** Contains an icon, title, message, progress, and up to two buttons. */
+ PROGRESS = "progress",
+ }
- /** The notification closed, either by the system or by user action. */
- export var onClosed: NotificationClosedEvent;
- /** The user clicked in a non-button area of the notification. */
- export var onClicked: NotificationClickedEvent;
- /** The user pressed a button in the notification. */
- export var onButtonClicked: NotificationButtonClickedEvent;
- /**
- * The user changes the permission level.
- * @since Chrome 32
- */
- export var onPermissionLevelChanged: NotificationPermissionLevelChangedEvent;
/**
- * The user clicked on a link for the app's notification settings.
- * @since Chrome 32
+ * Clears the specified notification.
+ * @param notificationId The id of the notification to be cleared. This is returned by {@link notifications.create} method.
+ *
+ * Can return its result via Promise since Chrome 116
*/
- export var onShowSettings: NotificationShowSettingsEvent;
+ export function clear(notificationId: string): Promise;
+ export function clear(notificationId: string, callback: (wasCleared: boolean) => void): void;
/**
* Creates and displays a notification.
- * @param notificationId Identifier of the notification. If not set or empty, an ID will automatically be generated. If it matches an existing notification, this method first clears that notification before proceeding with the create operation.
- * The notificationId parameter is required before Chrome 42.
+ * @param notificationId Identifier of the notification. If not set or empty, an ID will automatically be generated. If it matches an existing notification, this method first clears that notification before proceeding with the create operation. The identifier may not be longer than 500 characters.
+ *
+ * The `notificationId` parameter is required before Chrome 42.
* @param options Contents of the notification.
- * @param callback Returns the notification id (either supplied or generated) that represents the created notification.
- * The callback is required before Chrome 42.
+ *
+ * Can return its result via Promise since Chrome 116
*/
+ export function create(notificationId: string, options: NotificationCreateOptions): Promise;
+ export function create(options: NotificationCreateOptions): Promise;
export function create(
notificationId: string,
- options: NotificationOptions,
- callback?: (notificationId: string) => void,
+ options: NotificationCreateOptions,
+ callback: (notificationId: string) => void,
): void;
+ export function create(options: NotificationCreateOptions, callback: (notificationId: string) => void): void;
+
/**
- * Creates and displays a notification.
- * @param notificationId Identifier of the notification. If not set or empty, an ID will automatically be generated. If it matches an existing notification, this method first clears that notification before proceeding with the create operation.
- * The notificationId parameter is required before Chrome 42.
- * @param options Contents of the notification.
- * @param callback Returns the notification id (either supplied or generated) that represents the created notification.
- * The callback is required before Chrome 42.
+ * Retrieves all the notifications of this app or extension.
+ *
+ * Can return its result via Promise since Chrome 116
+ */
+ export function getAll(): Promise<{ [key: string]: true }>;
+ export function getAll(callback: (notifications: { [key: string]: true }) => void): void;
+
+ /**
+ * Retrieves whether the user has enabled notifications from this app or extension.
+ *
+ * Can return its result via Promise since Chrome 116
*/
- export function create(options: NotificationOptions, callback?: (notificationId: string) => void): void;
+ export function getPermissionLevel(): Promise<`${PermissionLevel}`>;
+ export function getPermissionLevel(callback: (level: `${PermissionLevel}`) => void): void;
+
/**
* Updates an existing notification.
- * @param notificationId The id of the notification to be updated. This is returned by notifications.create method.
+ * @param notificationId The id of the notification to be updated. This is returned by {@link notifications.create} method.
* @param options Contents of the notification to update to.
- * @param callback Called to indicate whether a matching notification existed.
- * The callback is required before Chrome 42.
+ *
+ * Can return its result via Promise since Chrome 116
*/
+ export function update(notificationId: string, options: NotificationOptions): Promise;
export function update(
notificationId: string,
options: NotificationOptions,
- callback?: (wasUpdated: boolean) => void,
+ callback: (wasUpdated: boolean) => void,
): void;
+
+ /** The user pressed a button in the notification. */
+ export const onButtonClicked: events.Event<(notificationId: string, buttonIndex: number) => void>;
+
+ /** The user clicked in a non-button area of the notification. */
+ export const onClicked: events.Event<(notificationId: string) => void>;
+
+ /** The notification closed, either by the system or by user action. */
+ export const onClosed: events.Event<(notificationId: string, byUser: boolean) => void>;
+
+ /** The user changes the permission level. As of Chrome 47, only ChromeOS has UI that dispatches this event. */
+ export const onPermissionLevelChanged: events.Event<(level: `${PermissionLevel}`) => void>;
+
/**
- * Clears the specified notification.
- * @param notificationId The id of the notification to be cleared. This is returned by notifications.create method.
- * @param callback Called to indicate whether a matching notification existed.
- * The callback is required before Chrome 42.
- */
- export function clear(notificationId: string, callback?: (wasCleared: boolean) => void): void;
- /**
- * Retrieves all the notifications.
- * @since Chrome 29
- * @param callback Returns the set of notification_ids currently in the system.
- */
- export function getAll(callback: (notifications: { [key: string]: true }) => void): void;
- /**
- * Retrieves whether the user has enabled notifications from this app or extension.
- * @since Chrome 32
- * @param callback Returns the current permission level.
+ * The user clicked on a link for the app's notification settings. As of Chrome 47, only ChromeOS has UI that dispatches this event. As of Chrome 65, that UI has been removed from ChromeOS, too.
+ * @deprecated since Chrome 65. Custom notification settings button is no longer supported.
*/
- export function getPermissionLevel(callback: (level: string) => void): void;
+ export const onShowSettings: events.Event<() => void>;
}
////////////////////
diff --git a/types/chrome/test/index.ts b/types/chrome/test/index.ts
index b2f38ab3874302..8ce20db0ca0d99 100644
--- a/types/chrome/test/index.ts
+++ b/types/chrome/test/index.ts
@@ -320,20 +320,116 @@ function proxySettings() {
chrome.proxy.settings.onChange.hasListeners(); // $ExpectType boolean
}
-function testNotificationCreation() {
- // @ts-expect-error
- chrome.notifications.create("id", {});
+// https://developer.chrome.com/docs/extensions/reference/api/notifications
+function testNotification() {
+ chrome.notifications.PermissionLevel.DENIED === "denied";
+ chrome.notifications.PermissionLevel.GRANTED === "granted";
+
+ chrome.notifications.TemplateType.BASIC === "basic";
+ chrome.notifications.TemplateType.IMAGE === "image";
+ chrome.notifications.TemplateType.LIST === "list";
+ chrome.notifications.TemplateType.PROGRESS === "progress";
+
+ const notificationId = "2199ce04-c5ca-4651-a8a9-5f4afd4c5a05";
+
+ chrome.notifications.clear(notificationId); // $ExpectType Promise
+ chrome.notifications.clear(notificationId, (wasCleared) => { // $ExpectType void
+ wasCleared; // $ExpectType boolean
+ });
// @ts-expect-error
- chrome.notifications.create("id", { message: "", type: "", title: "" });
+ chrome.notifications.clear(notificationId, () => {}).then(() => {});
+
+ const notificationCreateOptions: chrome.notifications.NotificationCreateOptions = {
+ title: "Title",
+ message: "Message",
+ iconUrl: "https://fakeimg.pl/300",
+ type: "basic",
+ };
+
+ chrome.notifications.create(notificationId, notificationCreateOptions); // $ExpectType Promise
+ chrome.notifications.create(notificationId, notificationCreateOptions, (notificationId) => { // $ExpectType void
+ notificationId; // $ExpectType string
+ });
+ // @ts-expect-error Some of the required properties are missing: type, iconUrl, title and message.
+ chrome.notifications.create(notificationId, {});
// @ts-expect-error
- chrome.notifications.create("id", { iconUrl: "", type: "", title: "" });
+ chrome.notifications.create(notificationId, notificationCreateOptions, () => {}).then(() => {});
+
+ chrome.notifications.getAll(); // $ExpectType Promise<{ [key: string]: true }>
+ chrome.notifications.getAll((notifications) => { // $ExpectType void
+ notifications; // $ExpectType { [key: string]: true }
+ });
// @ts-expect-error
- chrome.notifications.create("id", { iconUrl: "", message: "", title: "" });
+ chrome.notifications.getAll(() => {}).then(() => {});
+
+ chrome.notifications.getPermissionLevel(); // $ExpectType Promise<"denied" | "granted">
+ chrome.notifications.getPermissionLevel((permissionLevel) => { // $ExpectType void
+ permissionLevel; // $ExpectType "denied" | "granted"
+ });
// @ts-expect-error
- chrome.notifications.create("id", { iconUrl: "", message: "", type: "" });
+ chrome.notifications.getPermissionLevel(() => {}).then(() => {});
+
+ chrome.notifications.onButtonClicked.addListener((notificationId, buttonIndex) => { // $ExpectType void
+ notificationId; // $ExpectType string
+ buttonIndex; // $ExpectType number
+ });
+ chrome.notifications.onButtonClicked.removeListener((notificationId, buttonIndex) => { // $ExpectType void
+ notificationId; // $ExpectType string
+ buttonIndex; // $ExpectType number
+ });
+ chrome.notifications.onButtonClicked.hasListener((notificationId, buttonIndex) => { // $ExpectType boolean
+ notificationId; // $ExpectType string
+ buttonIndex; // $ExpectType number
+ });
+ chrome.notifications.onButtonClicked.hasListeners(); // $ExpectType boolean
+
+ chrome.notifications.onClicked.addListener((notificationId) => { // $ExpectType void
+ notificationId; // $ExpectType string
+ });
+ chrome.notifications.onClicked.removeListener((notificationId) => { // $ExpectType void
+ notificationId; // $ExpectType string
+ });
+ chrome.notifications.onClicked.hasListener((notificationId) => { // $ExpectType boolean
+ notificationId; // $ExpectType string
+ });
+ chrome.notifications.onClicked.hasListeners(); // $ExpectType boolean
+
+ chrome.notifications.onClosed.addListener((notificationId, byUser) => { // $ExpectType void
+ notificationId; // $ExpectType string
+ byUser; // $ExpectType boolean
+ });
+ chrome.notifications.onClosed.removeListener((notificationId, byUser) => { // $ExpectType void
+ notificationId; // $ExpectType string
+ byUser; // $ExpectType boolean
+ });
+ chrome.notifications.onClosed.hasListener((notificationId, byUser) => { // $ExpectType boolean
+ notificationId; // $ExpectType string
+ byUser; // $ExpectType boolean
+ });
+ chrome.notifications.onClosed.hasListeners(); // $ExpectType boolean
+
+ chrome.notifications.onPermissionLevelChanged.addListener((permissionLevel) => { // $ExpectType void
+ permissionLevel; // $ExpectType "denied" | "granted"
+ });
+ chrome.notifications.onPermissionLevelChanged.removeListener((permissionLevel) => { // $ExpectType void
+ permissionLevel; // $ExpectType "denied" | "granted"
+ });
+ chrome.notifications.onPermissionLevelChanged.hasListener((permissionLevel) => { // $ExpectType boolean
+ permissionLevel; // $ExpectType "denied" | "granted"
+ });
+ chrome.notifications.onPermissionLevelChanged.hasListeners(); // $ExpectType boolean
+
+ chrome.notifications.onShowSettings.addListener(() => {}); // $ExpectType void
+ chrome.notifications.onShowSettings.removeListener(() => {}); // $ExpectType void
+ chrome.notifications.onShowSettings.hasListener(() => {}); // $ExpectType boolean
+ chrome.notifications.onShowSettings.hasListeners(); // $ExpectType boolean
+
+ chrome.notifications.update(notificationId, {}); // $ExpectType Promise
+ chrome.notifications.update(notificationId, {}, (wasUpdated) => { // $ExpectType void
+ wasUpdated; // $ExpectType boolean
+ });
// @ts-expect-error
- chrome.notifications.create("id", { iconUrl: "", message: "", type: "", title: "" });
- chrome.notifications.create("id", { iconUrl: "", message: "", type: "basic", title: "" });
+ chrome.notifications.update(notificationId, {}, () => {}).then(() => {});
}
// https://developer.chrome.com/docs/extensions/reference/api/contentSettings
From ac4fa7a1c22116c476ef4620203da6f896f257a6 Mon Sep 17 00:00:00 2001
From: JP <5290648+Juarrow@users.noreply.github.com>
Date: Sat, 17 May 2025 01:04:39 +0200
Subject: [PATCH 02/14] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#72626=20Remo?=
=?UTF-8?q?ve=20myself=20from=20owners=20of=20swagger-ui=20by=20@Juarrow?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
types/swagger-ui/package.json | 4 ----
1 file changed, 4 deletions(-)
diff --git a/types/swagger-ui/package.json b/types/swagger-ui/package.json
index 2a37b55ce013be..98c68b2941243e 100644
--- a/types/swagger-ui/package.json
+++ b/types/swagger-ui/package.json
@@ -23,10 +23,6 @@
"@types/swagger-ui": "workspace:."
},
"owners": [
- {
- "name": "Julian Pfeil",
- "githubUsername": "juarrow"
- },
{
"name": "Piotr Błażejewicz",
"githubUsername": "peterblazejewicz"
From 366832d039289bff15abc3e3e6c218434d0c6a9a Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Fri, 16 May 2025 16:10:12 -0700
Subject: [PATCH 03/14] Remove contributors with deleted accounts (#72757)
Co-authored-by: TypeScript Bot
---
types/express/package.json | 4 ----
types/express/v4/package.json | 4 ----
types/imagesloaded/package.json | 4 ----
types/jsuri/package.json | 4 ----
types/node-red__flow-parser/package.json | 7 +------
types/promise-pg/package.json | 7 +------
6 files changed, 2 insertions(+), 28 deletions(-)
diff --git a/types/express/package.json b/types/express/package.json
index cab10478d09cb3..b014dd3687df2b 100644
--- a/types/express/package.json
+++ b/types/express/package.json
@@ -19,10 +19,6 @@
"name": "Boris Yankov",
"githubUsername": "borisyankov"
},
- {
- "name": "China Medical University Hospital",
- "githubUsername": "CMUH"
- },
{
"name": "Puneet Arora",
"githubUsername": "puneetar"
diff --git a/types/express/v4/package.json b/types/express/v4/package.json
index c49565f33ed9f3..eb898b5dbbba5c 100644
--- a/types/express/v4/package.json
+++ b/types/express/v4/package.json
@@ -20,10 +20,6 @@
"name": "Boris Yankov",
"githubUsername": "borisyankov"
},
- {
- "name": "China Medical University Hospital",
- "githubUsername": "CMUH"
- },
{
"name": "Puneet Arora",
"githubUsername": "puneetar"
diff --git a/types/imagesloaded/package.json b/types/imagesloaded/package.json
index 260efcb97879d8..2527b78cff9cf0 100644
--- a/types/imagesloaded/package.json
+++ b/types/imagesloaded/package.json
@@ -12,10 +12,6 @@
"@types/imagesloaded": "workspace:."
},
"owners": [
- {
- "name": "Chris Charabaruk",
- "githubUsername": "coldacid"
- },
{
"name": "Cameron Little",
"githubUsername": "apexskier"
diff --git a/types/jsuri/package.json b/types/jsuri/package.json
index 5a869129ccc488..a7d127823aa951 100644
--- a/types/jsuri/package.json
+++ b/types/jsuri/package.json
@@ -9,10 +9,6 @@
"@types/jsuri": "workspace:."
},
"owners": [
- {
- "name": "Chris Charabaruk",
- "githubUsername": "coldacid"
- },
{
"name": "Florian Wagner",
"githubUsername": "flqw"
diff --git a/types/node-red__flow-parser/package.json b/types/node-red__flow-parser/package.json
index ba1a27caaccf1a..cc736b69965a7f 100644
--- a/types/node-red__flow-parser/package.json
+++ b/types/node-red__flow-parser/package.json
@@ -8,10 +8,5 @@
"devDependencies": {
"@types/node-red__flow-parser": "workspace:."
},
- "owners": [
- {
- "name": "Nasser Oloumi",
- "githubUsername": "noloumi"
- }
- ]
+ "owners": []
}
diff --git a/types/promise-pg/package.json b/types/promise-pg/package.json
index 99d558fb70f664..45904ed31058ea 100644
--- a/types/promise-pg/package.json
+++ b/types/promise-pg/package.json
@@ -13,10 +13,5 @@
"devDependencies": {
"@types/promise-pg": "workspace:."
},
- "owners": [
- {
- "name": "Chris Charabaruk",
- "githubUsername": "coldacid"
- }
- ]
+ "owners": []
}
From 6d75474de4677af6adb7d34ea4ca4052a01142a8 Mon Sep 17 00:00:00 2001
From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com>
Date: Sat, 17 May 2025 09:10:03 +0800
Subject: [PATCH 04/14] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#72742=20feat?=
=?UTF-8?q?(overlayscrollbars):=20remove=20types=20by=20@hkleungai?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
notNeededPackages.json | 4 +
types/overlayscrollbars/.npmignore | 5 -
types/overlayscrollbars/index.d.ts | 412 ------------------
.../overlayscrollbars-tests.ts | 41 --
types/overlayscrollbars/package.json | 17 -
types/overlayscrollbars/tsconfig.json | 20 -
6 files changed, 4 insertions(+), 495 deletions(-)
delete mode 100644 types/overlayscrollbars/.npmignore
delete mode 100644 types/overlayscrollbars/index.d.ts
delete mode 100644 types/overlayscrollbars/overlayscrollbars-tests.ts
delete mode 100644 types/overlayscrollbars/package.json
delete mode 100644 types/overlayscrollbars/tsconfig.json
diff --git a/notNeededPackages.json b/notNeededPackages.json
index eb46f0f99bd9ec..3caee32a61b631 100644
--- a/notNeededPackages.json
+++ b/notNeededPackages.json
@@ -4701,6 +4701,10 @@
"libraryName": "otplib",
"asOfVersion": "10.0.0"
},
+ "overlayscrollbars": {
+ "libraryName": "overlayscrollbars",
+ "asOfVersion": "2.0.0"
+ },
"overwatch-api": {
"libraryName": "overwatch-api",
"asOfVersion": "0.7.1"
diff --git a/types/overlayscrollbars/.npmignore b/types/overlayscrollbars/.npmignore
deleted file mode 100644
index 93e307400a5456..00000000000000
--- a/types/overlayscrollbars/.npmignore
+++ /dev/null
@@ -1,5 +0,0 @@
-*
-!**/*.d.ts
-!**/*.d.cts
-!**/*.d.mts
-!**/*.d.*.ts
diff --git a/types/overlayscrollbars/index.d.ts b/types/overlayscrollbars/index.d.ts
deleted file mode 100644
index c11e1b13b180bf..00000000000000
--- a/types/overlayscrollbars/index.d.ts
+++ /dev/null
@@ -1,412 +0,0 @@
-declare namespace OverlayScrollbars {
- type ResizeBehavior = "none" | "both" | "horizontal" | "vertical" | "n" | "b" | "h" | "v";
-
- type OverflowBehavior = "hidden" | "scroll" | "visible-hidden" | "visible-scroll" | "h" | "s" | "v-h" | "v-s";
-
- type VisibilityBehavior = "visible" | "hidden" | "auto" | "v" | "h" | "a";
-
- type AutoHideBehavior = "never" | "scroll" | "leave" | "move" | "n" | "s" | "l" | "m";
-
- type ScrollBehavior = "always" | "ifneeded" | "never";
-
- type BlockBehavior = "begin" | "end" | "center" | "nearest";
-
- type Easing = string | null | undefined;
-
- type Margin = number | boolean;
-
- type Position = number | string;
-
- type Extensions = string | readonly string[] | { [extensionName: string]: {} };
-
- type BasicEventCallback = (this: OverlayScrollbars) => void;
-
- type ScrollEventCallback = (this: OverlayScrollbars, args?: UIEvent) => void;
-
- type OverflowChangedCallback = (this: OverlayScrollbars, args?: OverflowChangedArgs) => void;
-
- type OverflowAmountChangedCallback = (this: OverlayScrollbars, args?: OverflowAmountChangedArgs) => void;
-
- type DirectionChangedCallback = (this: OverlayScrollbars, args?: DirectionChangedArgs) => void;
-
- type SizeChangedCallback = (this: OverlayScrollbars, args?: SizeChangedArgs) => void;
-
- type UpdatedCallback = (this: OverlayScrollbars, args?: UpdatedArgs) => void;
-
- type Coordinates =
- | { x?: Position | undefined; y?: Position | undefined }
- | { l?: Position | undefined; t?: Position | undefined }
- | { left?: Position | undefined; top?: Position | undefined }
- | [Position, Position]
- | Position
- | HTMLElement
- | JQuery
- | {
- el: HTMLElement | JQuery;
- scroll?: ScrollBehavior | { x?: ScrollBehavior | undefined; y?: ScrollBehavior | undefined } | [
- ScrollBehavior,
- ScrollBehavior,
- ] | undefined;
- block?: BlockBehavior | { x?: BlockBehavior | undefined; y?: BlockBehavior | undefined } | [
- BlockBehavior,
- BlockBehavior,
- ] | undefined;
- margin?:
- | Margin
- | {
- top?: Margin | undefined;
- right?: Margin | undefined;
- bottom?: Margin | undefined;
- left?: Margin | undefined;
- }
- | [Margin, Margin]
- | [Margin, Margin, Margin, Margin]
- | undefined;
- };
-
- interface OverflowChangedArgs {
- x: boolean;
- y: boolean;
- xScrollable: boolean;
- yScrollable: boolean;
- clipped: boolean;
- }
-
- interface OverflowAmountChangedArgs {
- x: number;
- y: number;
- }
-
- interface DirectionChangedArgs {
- isRTL: number;
- dir: string;
- }
-
- interface SizeChangedArgs {
- width: number;
- height: number;
- }
-
- interface UpdatedArgs {
- forced: boolean;
- }
-
- interface Options {
- className?: string | null | undefined;
- resize?: ResizeBehavior | undefined;
- sizeAutoCapable?: boolean | undefined;
- clipAlways?: boolean | undefined;
- normalizeRTL?: boolean | undefined;
- paddingAbsolute?: boolean | undefined;
- autoUpdate?: boolean | null | undefined;
- autoUpdateInterval?: number | undefined;
- updateOnLoad?: string | readonly string[] | null | undefined;
- nativeScrollbarsOverlaid?: {
- showNativeScrollbars?: boolean | undefined;
- initialize?: boolean | undefined;
- } | undefined;
- overflowBehavior?: {
- x?: OverflowBehavior | undefined;
- y?: OverflowBehavior | undefined;
- } | undefined;
- scrollbars?: {
- visibility?: VisibilityBehavior | undefined;
- autoHide?: AutoHideBehavior | undefined;
- autoHideDelay?: number | undefined;
- dragScrolling?: boolean | undefined;
- clickScrolling?: boolean | undefined;
- touchSupport?: boolean | undefined;
- snapHandle?: boolean | undefined;
- } | undefined;
- textarea?: {
- dynWidth?: boolean | undefined;
- dynHeight?: boolean | undefined;
- inheritedAttrs?: string | readonly string[] | null | undefined;
- } | undefined;
- callbacks?: {
- onInitialized?: BasicEventCallback | null | undefined;
- onInitializationWithdrawn?: BasicEventCallback | null | undefined;
- onDestroyed?: BasicEventCallback | null | undefined;
- onScrollStart?: ScrollEventCallback | null | undefined;
- onScroll?: ScrollEventCallback | null | undefined;
- onScrollStop?: ScrollEventCallback | null | undefined;
- onOverflowChanged?: OverflowChangedCallback | null | undefined;
- onOverflowAmountChanged?: OverflowAmountChangedCallback | null | undefined;
- onDirectionChanged?: DirectionChangedCallback | null | undefined;
- onContentSizeChanged?: SizeChangedCallback | null | undefined;
- onHostSizeChanged?: SizeChangedCallback | null | undefined;
- onUpdated?: UpdatedCallback | null | undefined;
- } | undefined;
- }
-
- interface ScrollInfo {
- position: {
- x: number;
- y: number;
- };
- ratio: {
- x: number;
- y: number;
- };
- max: {
- x: number;
- y: number;
- };
- handleOffset: {
- x: number;
- y: number;
- };
- handleLength: {
- x: number;
- y: number;
- };
- handleLengthRatio: {
- x: number;
- y: number;
- };
- trackLength: {
- x: number;
- y: number;
- };
- snappedHandleOffset: {
- x: number;
- y: number;
- };
- isRTL: boolean;
- isRTLNormalized: boolean;
- }
-
- interface Elements {
- target: HTMLElement;
- host: HTMLElement;
- padding: HTMLElement;
- viewport: HTMLElement;
- content: HTMLElement;
- scrollbarHorizontal: {
- scrollbar: HTMLElement;
- track: HTMLElement;
- handle: HTMLElement;
- };
- scrollbarVertical: {
- scrollbar: HTMLElement;
- track: HTMLElement;
- handle: HTMLElement;
- };
- scrollbarCorner: HTMLElement;
- }
-
- interface State {
- destroyed: boolean;
- sleeping: boolean;
- autoUpdate: boolean;
- widthAuto: boolean;
- heightAuto: boolean;
- documentMixed: boolean;
- padding: {
- t: number;
- r: number;
- b: number;
- l: number;
- };
- overflowAmount: {
- x: number;
- y: number;
- };
- hideOverflow: {
- x: boolean;
- y: boolean;
- xs: boolean;
- ys: boolean;
- };
- hasOverflow: {
- x: boolean;
- y: boolean;
- };
- contentScrollSize: {
- width: number;
- height: number;
- };
- viewportSize: {
- width: number;
- height: number;
- };
- hostSize: {
- width: number;
- height: number;
- };
- }
-
- interface Extension {
- contract(global: any): boolean;
-
- added(options?: {}): void;
-
- removed(): void;
-
- on(
- callbackName: string,
- callbackArgs?:
- | UIEvent
- | OverflowChangedArgs
- | OverflowAmountChangedArgs
- | DirectionChangedArgs
- | SizeChangedArgs
- | UpdatedArgs,
- ): void;
- }
-
- interface ExtensionInfo {
- name: string;
- extensionFactory: (
- this: OverlayScrollbars,
- defaultOptions: {},
- compatibility: Compatibility,
- framework: any,
- ) => Extension;
- defaultOptions?: {} | undefined;
- }
-
- interface Globals {
- defaultOptions: {};
- autoUpdateLoop: boolean;
- autoUpdateRecommended: boolean;
- supportMutationObserver: boolean;
- supportResizeObserver: boolean;
- supportPassiveEvents: boolean;
- supportTransform: boolean;
- supportTransition: boolean;
- restrictedMeasuring: boolean;
- nativeScrollbarStyling: boolean;
- cssCalc: string | null;
- nativeScrollbarSize: {
- x: number;
- y: number;
- };
- nativeScrollbarIsOverlaid: {
- x: boolean;
- y: boolean;
- };
- overlayScrollbarDummySize: {
- x: number;
- y: number;
- };
- rtlScrollBehavior: {
- i: boolean;
- n: boolean;
- };
- }
-
- interface Compatibility {
- wW(): number;
- wH(): number;
- mO(): any;
- rO(): any;
- rAF(): (callback: (...args: any[]) => any) => number;
- cAF(): (requestID: number) => void;
- now(): number;
- stpP(event: Event): void;
- prvD(event: Event): void;
- page(event: MouseEvent): { x: number; y: number };
- mBtn(event: MouseEvent): number;
- inA(item: T, array: T[]): number;
- isA(obj: any): boolean;
- type(obj: any): string;
- bind(func: (...args: any[]) => any, thisObj: any, ...args: any[]): any;
- }
-}
-
-interface OverlayScrollbars {
- options(): OverlayScrollbars.Options;
- options(options: OverlayScrollbars.Options): void;
- options(optionName: string): any;
- options(optionName: string, optionValue: {} | null): void;
-
- update(force?: boolean): void;
-
- sleep(): void;
-
- scroll(): OverlayScrollbars.ScrollInfo;
- scroll(
- coordinates: OverlayScrollbars.Coordinates,
- duration?: number,
- easing?: OverlayScrollbars.Easing | {
- x?: OverlayScrollbars.Easing | undefined;
- y?: OverlayScrollbars.Easing | undefined;
- } | [OverlayScrollbars.Easing, OverlayScrollbars.Easing],
- complete?: (...args: any[]) => any,
- ): void;
- scroll(coordinates: OverlayScrollbars.Coordinates, options: {}): void;
-
- scrollStop(): OverlayScrollbars;
-
- getElements(): OverlayScrollbars.Elements;
- getElements(elementName: string): any;
-
- getState(): OverlayScrollbars.State;
- getState(stateProperty: string): any;
-
- destroy(): void;
-
- ext(): {};
- ext(extensionName: string): OverlayScrollbars.Extension;
-
- addExt(extensionName: string, options: {}): OverlayScrollbars.Extension;
-
- removeExt(extensionName: string): boolean;
-}
-
-interface OverlayScrollbarsStatic {
- (
- element: HTMLElement | Element | JQuery,
- options: OverlayScrollbars.Options,
- extensions?: OverlayScrollbars.Extensions,
- ): OverlayScrollbars;
- (
- element: HTMLElement | Element | JQuery | null,
- ): OverlayScrollbars | undefined;
-
- (
- elements: NodeListOf | readonly Element[] | JQuery,
- options: OverlayScrollbars.Options,
- extensions?: OverlayScrollbars.Extensions,
- ): OverlayScrollbars | OverlayScrollbars[] | undefined;
- (
- elements: NodeListOf | readonly Element[] | JQuery,
- filter?: string | ((element: Element, instance: OverlayScrollbars) => boolean),
- ): OverlayScrollbars | OverlayScrollbars[] | undefined;
-
- globals(): OverlayScrollbars.Globals;
-
- defaultOptions(): OverlayScrollbars.Options;
- defaultOptions(newDefaultOptions: OverlayScrollbars.Options): void;
-
- extension(): { [index: number]: OverlayScrollbars.ExtensionInfo; length: number };
- extension(extensionName: string): OverlayScrollbars.ExtensionInfo;
- extension(
- extensionName: string,
- extensionFactory: (
- this: OverlayScrollbars,
- defaultOptions: {},
- compatibility: OverlayScrollbars.Compatibility,
- framework: any,
- ) => OverlayScrollbars.Extension,
- defaultOptions?: {},
- ): void;
- extension(extensionName: string, extensionFactory: null | undefined): void;
-
- valid(osInstance: any): boolean;
-}
-
-interface JQuery {
- overlayScrollbars(
- options: OverlayScrollbars.Options,
- extensions?: OverlayScrollbars.Extensions,
- ): JQuery;
- overlayScrollbars(
- filter?: string | ((element: Element, instance: OverlayScrollbars) => boolean),
- ): OverlayScrollbars | OverlayScrollbars[] | undefined;
-}
-
-export as namespace OverlayScrollbars;
-export = OverlayScrollbars;
-declare const OverlayScrollbars: OverlayScrollbarsStatic;
diff --git a/types/overlayscrollbars/overlayscrollbars-tests.ts b/types/overlayscrollbars/overlayscrollbars-tests.ts
deleted file mode 100644
index 49a84bddd94346..00000000000000
--- a/types/overlayscrollbars/overlayscrollbars-tests.ts
+++ /dev/null
@@ -1,41 +0,0 @@
-function test_init() {
- // body is guaranteed a single element
- const osInstanceBody: OverlayScrollbars = OverlayScrollbars(document.body, {});
-
- // elementById is a single element or null
- const elementById: HTMLElement | null = document.getElementById("os");
- if (elementById != null) {
- // OverlayScrollbars can't be initialized with null as element
- const osInstanceId: OverlayScrollbars = OverlayScrollbars(elementById, {});
- }
-
- // elementsQuerySelector can be a empty-array, a single-item-array or a multi-item-array
- const elementsQuerySelector: NodeListOf = document.querySelectorAll(".os");
- if (elementsQuerySelector.length > 0) {
- // its up to the user to cast the result properly
- if (elementsQuerySelector.length === 1) {
- const osInstance: OverlayScrollbars = OverlayScrollbars(elementsQuerySelector, {});
- } else {
- const osInstances: OverlayScrollbars[] = OverlayScrollbars(elementsQuerySelector, {});
- }
- }
-}
-
-function test_getInstance() {
- // body is guaranteed a single element, but the plugin might not be initialized to it
- const osInstanceBody: OverlayScrollbars | undefined = OverlayScrollbars(document.body);
-
- // elementById is a single element or null, but the plugin might not be initialized to it if not null
- const osInstanceId: OverlayScrollbars | undefined = OverlayScrollbars(document.getElementById("os"));
-
- // elementsQuerySelector can be a empty-array, a single-item-array or a multi-item-array
- const elementsQuerySelector: NodeListOf = document.querySelectorAll(".os");
- if (elementsQuerySelector.length > 0) {
- // its up to the user to cast the result properly
- if (elementsQuerySelector.length === 1) {
- const osInstance: OverlayScrollbars = OverlayScrollbars(elementsQuerySelector);
- } else {
- const osInstances: OverlayScrollbars[] = OverlayScrollbars(elementsQuerySelector);
- }
- }
-}
diff --git a/types/overlayscrollbars/package.json b/types/overlayscrollbars/package.json
deleted file mode 100644
index e3f0d88b7953e0..00000000000000
--- a/types/overlayscrollbars/package.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "private": true,
- "name": "@types/overlayscrollbars",
- "version": "1.12.9999",
- "projects": [
- "https://kingsora.github.io/OverlayScrollbars"
- ],
- "devDependencies": {
- "@types/overlayscrollbars": "workspace:."
- },
- "owners": [
- {
- "name": "KingSora",
- "githubUsername": "KingSora"
- }
- ]
-}
diff --git a/types/overlayscrollbars/tsconfig.json b/types/overlayscrollbars/tsconfig.json
deleted file mode 100644
index af74f3f292ab69..00000000000000
--- a/types/overlayscrollbars/tsconfig.json
+++ /dev/null
@@ -1,20 +0,0 @@
-{
- "compilerOptions": {
- "module": "commonjs",
- "lib": [
- "es6",
- "dom"
- ],
- "noImplicitAny": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "strictFunctionTypes": true,
- "types": [],
- "noEmit": true,
- "forceConsistentCasingInFileNames": true
- },
- "files": [
- "index.d.ts",
- "overlayscrollbars-tests.ts"
- ]
-}
From e29c0782835f675d6087552b7cd3ad08e4a762ba Mon Sep 17 00:00:00 2001
From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com>
Date: Sat, 17 May 2025 09:10:39 +0800
Subject: [PATCH 05/14] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#72743=20feat?=
=?UTF-8?q?(chordsheetjs):=20remove=20types=20by=20@hkleungai?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
notNeededPackages.json | 4 +
types/chordsheetjs/.npmignore | 5 -
types/chordsheetjs/chordsheetjs-tests.ts | 5 -
types/chordsheetjs/index.d.ts | 366 -----------------------
types/chordsheetjs/package.json | 17 --
types/chordsheetjs/tsconfig.json | 19 --
6 files changed, 4 insertions(+), 412 deletions(-)
delete mode 100644 types/chordsheetjs/.npmignore
delete mode 100644 types/chordsheetjs/chordsheetjs-tests.ts
delete mode 100644 types/chordsheetjs/index.d.ts
delete mode 100644 types/chordsheetjs/package.json
delete mode 100644 types/chordsheetjs/tsconfig.json
diff --git a/notNeededPackages.json b/notNeededPackages.json
index 3caee32a61b631..2ef2080c8fe3d1 100644
--- a/notNeededPackages.json
+++ b/notNeededPackages.json
@@ -728,6 +728,10 @@
"libraryName": "chokidar",
"asOfVersion": "2.1.3"
},
+ "chordsheetjs": {
+ "libraryName": "chordsheetjs",
+ "asOfVersion": "6.2.0"
+ },
"chunked-dc": {
"libraryName": "chunked-dc",
"asOfVersion": "0.2.2"
diff --git a/types/chordsheetjs/.npmignore b/types/chordsheetjs/.npmignore
deleted file mode 100644
index 93e307400a5456..00000000000000
--- a/types/chordsheetjs/.npmignore
+++ /dev/null
@@ -1,5 +0,0 @@
-*
-!**/*.d.ts
-!**/*.d.cts
-!**/*.d.mts
-!**/*.d.*.ts
diff --git a/types/chordsheetjs/chordsheetjs-tests.ts b/types/chordsheetjs/chordsheetjs-tests.ts
deleted file mode 100644
index a61971459ec07b..00000000000000
--- a/types/chordsheetjs/chordsheetjs-tests.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import { HtmlTableFormatter, Song } from "chordsheetjs";
-
-const song = new Song({ key: "value" });
-const formatter = new HtmlTableFormatter();
-formatter.format(song);
diff --git a/types/chordsheetjs/index.d.ts b/types/chordsheetjs/index.d.ts
deleted file mode 100644
index eabb3185f06681..00000000000000
--- a/types/chordsheetjs/index.d.ts
+++ /dev/null
@@ -1,366 +0,0 @@
-/**
- * Represents a chord with the corresponding (partial) lyrics
- */
-export class ChordLyricsPair {
- /**
- * Initialises a ChordLyricsPair
- * @param chords The chords
- * @param lyrics The lyrics
- */
- constructor(chords: string, lyrics: string);
-
- chords: string;
- lyrics: string;
-
- /**
- * Indicates whether a ChordLyricsPair should be visible in a formatted chord sheet (except for ChordPro sheets)
- */
- isRenderable: () => boolean;
-
- /**
- * Returns a deep copy of the ChordLyricsPair, useful when programmatically transforming a song
- */
- clone: () => ChordLyricsPair;
-
- toString: () => string;
-}
-
-/**
- * Represents a tag/directive. See https://www.chordpro.org/chordpro/ChordPro-Directives.html
- */
-export class Tag {
- constructor(name: string, value: string | null);
-
- /**
- * The tag full name. When the original tag used the short name, `name` will return the full name.
- */
- name: string;
-
- /**
- * The tag value
- */
- value: string | null;
-
- static parse(tag: string): Tag | null;
- static parseWithRegex(tag: string, regex: string): Tag | null;
-
- /**
- * The original tag name that was used to construct the tag.
- */
- originalName: string;
-
- /**
- * Checks whether the tag value is a non-empty string.
- */
- hasValue(): boolean;
-
- /**
- * Checks whether the tag is usually rendered inline. It currently only applies to comment tags.
- */
- isRenderable(): boolean;
-
- /**
- * Checks whether the tag is either a standard meta tag or a custom meta directive (`{x_some_name}`)
- */
- isMetaTag(): boolean;
-
- /**
- * Returns a clone of the tag.
- */
- clone(): Tag;
-
- toString(): string;
-}
-
-/**
- * Represents a line in a chord sheet, consisting of items of type ChordLyricsPair or Tag
- */
-export class Line {
- constructor();
-
- /**
- * The items (ChordLyricsPair or Tag) of which the line consists
- */
- items: Array;
-
- /**
- * The line type, This is set by the ChordProParser when it read tags like {start_of_chorus} or {start_of_verse}
- * Values can be 'verse', 'chorus' or 'none'
- */
- type: "verse" | "chorus" | "none";
-
- /**
- * Indicates whether the line contains any items
- */
- isEmpty(): boolean;
-
- /**
- * Adds an item to the line
- * @param item The item to be added
- */
- addItem(item: ChordLyricsPair | Tag): void;
-
- /**
- * Indicates whether the line contains items that are renderable
- */
- hasRenderableItems(): boolean;
-
- /**
- * Returns a deep copy of the line and all of its items
- */
- clone(): Line;
-
- /**
- * Indicates whether the line type is 'verse'
- */
- isVerse(): boolean;
-
- /**
- * Indicates whether the line type is 'chorus'
- */
- isChorus(): boolean;
-
- /**
- * Indicates whether the line contains items that are renderable. Please use hasRenderableItems
- * @deprecated
- */
- hasContent(): boolean;
-
- addChordLyricsPair(
- chords: ChordLyricsPair | string,
- lyrics: string,
- ): ChordLyricsPair;
- ensureChordLyricsPair(): void;
- chords(chr: string): void;
- lyrics(chr: string): void;
- addTag(name: Tag | string, value: string | null): Tag;
-}
-
-/**
- * Represents a paragraph of lines in a chord sheet
- */
-export class Paragraph {
- constructor();
-
- /**
- * The Line items of which the paragraph consists
- */
- lines: Line[];
-
- addLine(line: Line): void;
-
- /**
- * Tries to determine the common type for all lines. If the types for all lines are equal, it returns that type.
- * If not, it returns 'indeterminate'.
- */
- type: string;
-}
-
-/**
- * Represents a song in a chord sheet. Currently a chord sheet can only have one song.
- */
-export class Song {
- constructor(metadata: object);
-
- /**
- * The Line items of which the song consists
- */
- lines: Line[];
-
- /**
- * The Paragraph items of which the song consists
- */
- paragraphs: Paragraph[];
-
- currentLine: Line;
- currentParagraph: Paragraph;
- assignMetaData(metadata: object): void;
-
- /**
- * Returns the song lines, skipping the leading empty lines (empty as in not rendering any content). This is useful
- * if you want to skip the "header lines": the lines that only contain meta data.
- */
- bodyLines: Line[];
-
- chords(chr: string): void;
- lyrics(chr: string): void;
- addLine(): Line;
- setCurrentLineType(type: string): void;
- flushLine(): void;
- finish(): void;
- addChordLyricsPair(): ChordLyricsPair;
- ensureLine(): void;
- addParagraph(): Paragraph;
- ensureParagraph(): void;
- addTag(tagContents: string): Tag;
-
- /**
- * Returns a deep clone of the song
- */
- clone(): Song;
-
- setMetaData(name: string, value: string): void;
- metaData: object;
- optimizedMetaData: object;
- getOptimizedMetaData(): object;
- optimizeMetaDataValue(
- valueSet: string[] | undefined,
- ): string | string[] | null;
- getMetaData(name: string): string | null;
-}
-
-/**
- * Represents a parser warning, currently only used by ChordProParser.
- */
-export class ParserWarning {
- /**
- * The warning message
- */
- message: string;
-
- /**
- * The line number on which the warning occurred
- */
- lineNumber: string;
-
- toString(): string;
-}
-
-/**
- * Parses a ChordPro chord sheet
- */
-export class ChordProParser {
- /**
- * Parses a ChordPro chord sheet into a song
- * @param chordProChordSheet The ChordPro chord sheet
- */
- parse(chordProChordSheet: string): Song;
-
- song: Song;
- lineNumber: number;
- sectionType: string;
- warnings: ParserWarning[];
-
- parseDocument(document: string): void;
- readLyrics(chr: string): void;
- readChords(chr: string): void;
- readTag(chr: string): void;
- readComment(chr: string): void;
- finishTag(): void;
- resetTag(): void;
- applyTag(tag: Tag): void;
- startSection(sectionType: string, tag: Tag): void;
- endSection(sectionType: string, tag: Tag): void;
- checkCurrentSectionType(sectionType: string, tag: Tag): void;
- addWarning(message: string): void;
-}
-
-export interface ChordSheetParserProps {
- preserveWhitespace: boolean;
-}
-
-/**
- * Formats a song into a plain text chord sheet
- */
-export class ChordSheetParser {
- constructor(props: ChordSheetParserProps);
-
- song: Song;
- lines: Line[];
- songLine: Line;
- chordLyricsPair: ChordLyricsPair;
- currentLine: number;
- lineCount: number;
- processingText: string;
- preserveWhitespace: boolean;
-
- /**
- * Parses a chord sheet into a song
- * @param chordSheet The ChordPro chord sheet
- */
- parse(chordSheet: string): Song;
-
- parseLine(line: string): void;
- parseNonEmptyLine(line: string): void;
- initialize(document: string): void;
- readLine(): Line;
- hasNextLine(): boolean;
- parseLyricsWithChords(chordsLine: string, lyricsLine: string): void;
- processCharacters(chordsLine: string, lyricsLine: string): void;
- addCharacter(chr: string, nextChar: string): void;
- shouldAddCharacterToChords(nextChar: string): boolean;
- ensureChordLyricsPairInitialized(): void;
-}
-
-export interface SongHeader {
- title: string;
- subtitle: string;
-}
-
-export class TextFormatter {
- constructor();
- /**
- * Formats a song into a plain text chord sheet
- * @param song The song to be formatted
- */
- format(song: Song): string;
- formatHeader(header: SongHeader): string;
- formatParagraphs(song: Song): string;
- formatParagraph(paragraph: Paragraph): string;
- formatLine(line: Line): string;
- formatTitle(title: string): string;
- formatSubtitle(subtitle: string): string;
- formatTopLine(line: Line): string | null;
- chordLyricsPairLength(chordLyricsPair: ChordLyricsPair): number;
- formatItemTop(item: Tag | ChordLyricsPair | Line): string;
- formatLineBottom(line: Line): string;
- formatLineWithFormatter(
- line: Line,
- formatter: (x: string) => string,
- ): string;
- formatItemBottom(item: Tag | ChordLyricsPair | Line): string;
-}
-
-/**
- * Formats a song into HTML. It uses TABLEs to align lyrics with chords, which makes the HTML for things like
- * PDF conversion.
- */
-export class HtmlTableFormatter {
- constructor();
- /**
- * Formats a song into HTML.
- * @param song The song to be formatted
- */
- format(song: Song): string;
-}
-
-/**
- * Formats a song into HTML. It uses DIVs to align lyrics with chords, which makes it useful for responsive web pages.
- */
-export class HtmlDivFormatter {
- constructor();
- /**
- * Formats a song into HTML.
- * @param song The song to be formatted
- */
- format(song: Song): string;
-}
-
-/**
- * Formats a song into a ChordPro chord sheet
- */
-export class ChordProFormatter {
- constructor();
- /**
- * Formats a song into a ChordPro chord sheet.
- * @param song The song to be formatted
- */
- format(song: Song): string;
-
- formatLine(line: Line): string;
- formatItem(item: Tag | ChordLyricsPair | Line): string;
- formatTag(tag: Tag): string;
- formatChordLyricsPair(chordLyricsPair: ChordLyricsPair): string;
- formatChordLyricsPairChords(chordLyricsPair: ChordLyricsPair): string;
- formatChordLyricsPairLyrics(chordLyricsPair: ChordLyricsPair): string;
-}
diff --git a/types/chordsheetjs/package.json b/types/chordsheetjs/package.json
deleted file mode 100644
index 7b467422daba1b..00000000000000
--- a/types/chordsheetjs/package.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "private": true,
- "name": "@types/chordsheetjs",
- "version": "2.8.9999",
- "projects": [
- "https://github.com/martijnversluis/ChordSheetJS"
- ],
- "devDependencies": {
- "@types/chordsheetjs": "workspace:."
- },
- "owners": [
- {
- "name": "Adam Bloom",
- "githubUsername": "adamsbloom"
- }
- ]
-}
diff --git a/types/chordsheetjs/tsconfig.json b/types/chordsheetjs/tsconfig.json
deleted file mode 100644
index f24ea3bcae8ba2..00000000000000
--- a/types/chordsheetjs/tsconfig.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "compilerOptions": {
- "module": "node16",
- "lib": [
- "es6"
- ],
- "noImplicitAny": true,
- "noImplicitThis": true,
- "strictNullChecks": true,
- "strictFunctionTypes": true,
- "types": [],
- "noEmit": true,
- "forceConsistentCasingInFileNames": true
- },
- "files": [
- "index.d.ts",
- "chordsheetjs-tests.ts"
- ]
-}
From 615d4b45ea8e4f3c2e74e7a688acb5d8442cddbd Mon Sep 17 00:00:00 2001
From: Jimmy Leung <43258070+hkleungai@users.noreply.github.com>
Date: Sat, 17 May 2025 09:11:38 +0800
Subject: [PATCH 06/14] =?UTF-8?q?=F0=9F=A4=96=20Merge=20PR=20#72745=20feat?=
=?UTF-8?q?(dhis2=5F=5Fui-*):=20remove=20types=20by=20@hkleungai?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
notNeededPackages.json | 8 +
types/dhis2__ui-constants/.npmignore | 5 -
.../dhis2__ui-constants-tests.ts | 29 --
types/dhis2__ui-constants/index.d.ts | 47 ----
types/dhis2__ui-constants/package.json | 17 --
types/dhis2__ui-constants/tsconfig.json | 19 --
types/dhis2__ui-icons/.npmignore | 5 -
.../dhis2__ui-icons/dhis2__ui-icons-tests.tsx | 7 -
types/dhis2__ui-icons/index.d.ts | 261 ------------------
types/dhis2__ui-icons/package.json | 21 --
types/dhis2__ui-icons/tsconfig.json | 21 --
11 files changed, 8 insertions(+), 432 deletions(-)
delete mode 100644 types/dhis2__ui-constants/.npmignore
delete mode 100644 types/dhis2__ui-constants/dhis2__ui-constants-tests.ts
delete mode 100644 types/dhis2__ui-constants/index.d.ts
delete mode 100644 types/dhis2__ui-constants/package.json
delete mode 100644 types/dhis2__ui-constants/tsconfig.json
delete mode 100644 types/dhis2__ui-icons/.npmignore
delete mode 100644 types/dhis2__ui-icons/dhis2__ui-icons-tests.tsx
delete mode 100644 types/dhis2__ui-icons/index.d.ts
delete mode 100644 types/dhis2__ui-icons/package.json
delete mode 100644 types/dhis2__ui-icons/tsconfig.json
diff --git a/notNeededPackages.json b/notNeededPackages.json
index 2ef2080c8fe3d1..4f2772bc226e2d 100644
--- a/notNeededPackages.json
+++ b/notNeededPackages.json
@@ -1565,6 +1565,14 @@
"libraryName": "dexie",
"asOfVersion": "1.3.1"
},
+ "dhis2__ui-constants": {
+ "libraryName": "@dhis2/ui-constants",
+ "asOfVersion": "9.0.0"
+ },
+ "dhis2__ui-icons": {
+ "libraryName": "@dhis2/ui-icons",
+ "asOfVersion": "9.0.0"
+ },
"dialog-polyfill": {
"libraryName": "dialog-polyfill",
"asOfVersion": "0.5.2"
diff --git a/types/dhis2__ui-constants/.npmignore b/types/dhis2__ui-constants/.npmignore
deleted file mode 100644
index 93e307400a5456..00000000000000
--- a/types/dhis2__ui-constants/.npmignore
+++ /dev/null
@@ -1,5 +0,0 @@
-*
-!**/*.d.ts
-!**/*.d.cts
-!**/*.d.mts
-!**/*.d.*.ts
diff --git a/types/dhis2__ui-constants/dhis2__ui-constants-tests.ts b/types/dhis2__ui-constants/dhis2__ui-constants-tests.ts
deleted file mode 100644
index 26dffd645c847b..00000000000000
--- a/types/dhis2__ui-constants/dhis2__ui-constants-tests.ts
+++ /dev/null
@@ -1,29 +0,0 @@
-import { colors, elevations, layer, theme } from "@dhis2/ui-constants";
-
-colors.blue050;
-colors.blue100;
-colors.blue200;
-colors.blue300;
-colors.blue400;
-colors.blue500;
-colors.blue600;
-colors.blue700;
-colors.blue800;
-colors.blue900;
-
-elevations.e100;
-elevations.e200;
-elevations.e300;
-elevations.e400;
-
-layer.alert;
-layer.applicationTop;
-layer.blocking;
-
-theme.default;
-theme.error;
-theme.valid;
-theme.warning;
-theme.disabled;
-theme.focus;
-theme.fonts;
diff --git a/types/dhis2__ui-constants/index.d.ts b/types/dhis2__ui-constants/index.d.ts
deleted file mode 100644
index 0982ea621bc35f..00000000000000
--- a/types/dhis2__ui-constants/index.d.ts
+++ /dev/null
@@ -1,47 +0,0 @@
-// https://github.com/dhis2/ui/blob/master/constants/src/colors.js
-export type ColorBase = "blue" | "teal" | "red" | "yellow" | "green" | "grey";
-export type ColorVariant = "900" | "800" | "700" | "600" | "500" | "400" | "300" | "200" | "100" | "050";
-export type ColorProp = `${ColorBase}${ColorVariant}` | "white";
-export const colors: Record;
-
-// https://github.com/dhis2/ui/blob/master/constants/src/elevations.js
-export type ElevantionVariant = "e100" | "e200" | "e300" | "e400";
-export const elevations: Record;
-
-// https://github.com/dhis2/ui/blob/master/constants/src/theme.js
-export type ThemeBase = "primary" | "secondary";
-export type ThemeVariant = "900" | "800" | "700" | "600" | "500" | "400" | "300" | "200" | "100" | "050";
-export type ThemeProp =
- | `${ThemeBase}${ThemeVariant}`
- | "default"
- | "error"
- | "valid"
- | "warning"
- | "disabled"
- | "focus"
- | "fonts";
-export const theme: Record;
-
-// https://github.com/dhis2/ui/blob/master/constants/src/spacers.js
-export type SpacerVariant =
- | "dp4"
- | "dp8"
- | "dp12"
- | "dp16"
- | "dp24"
- | "dp32"
- | "dp48"
- | "dp64"
- | "dp96"
- | "dp128"
- | "dp192"
- | "dp256"
- | "dp384"
- | "dp512"
- | "dp640";
-export const spacersNum: Record;
-export const spacers: Record;
-
-// https://github.com/dhis2/ui/blob/master/constants/src/layers.js
-export type LayerVariant = "applicationTop" | "blocking" | "alert";
-export const layer: Record;
diff --git a/types/dhis2__ui-constants/package.json b/types/dhis2__ui-constants/package.json
deleted file mode 100644
index 78ab29670b577e..00000000000000
--- a/types/dhis2__ui-constants/package.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "private": true,
- "name": "@types/dhis2__ui-constants",
- "version": "7.8.9999",
- "projects": [
- "https://github.com/dhis2/ui/tree/master/constants"
- ],
- "devDependencies": {
- "@types/dhis2__ui-constants": "workspace:."
- },
- "owners": [
- {
- "name": "Alexis Rico",
- "githubUsername": "SferaDev"
- }
- ]
-}
diff --git a/types/dhis2__ui-constants/tsconfig.json b/types/dhis2__ui-constants/tsconfig.json
deleted file mode 100644
index da01e82712ff66..00000000000000
--- a/types/dhis2__ui-constants/tsconfig.json
+++ /dev/null
@@ -1,19 +0,0 @@
-{
- "compilerOptions": {
- "module": "node16",
- "lib": [
- "es6"
- ],
- "noImplicitAny": true,
- "noImplicitThis": true,
- "strictFunctionTypes": true,
- "strictNullChecks": true,
- "types": [],
- "noEmit": true,
- "forceConsistentCasingInFileNames": true
- },
- "files": [
- "index.d.ts",
- "dhis2__ui-constants-tests.ts"
- ]
-}
diff --git a/types/dhis2__ui-icons/.npmignore b/types/dhis2__ui-icons/.npmignore
deleted file mode 100644
index 93e307400a5456..00000000000000
--- a/types/dhis2__ui-icons/.npmignore
+++ /dev/null
@@ -1,5 +0,0 @@
-*
-!**/*.d.ts
-!**/*.d.cts
-!**/*.d.mts
-!**/*.d.*.ts
diff --git a/types/dhis2__ui-icons/dhis2__ui-icons-tests.tsx b/types/dhis2__ui-icons/dhis2__ui-icons-tests.tsx
deleted file mode 100644
index bf5c85b91cc8e7..00000000000000
--- a/types/dhis2__ui-icons/dhis2__ui-icons-tests.tsx
+++ /dev/null
@@ -1,7 +0,0 @@
-import { IconAdd16 } from "@dhis2/ui-icons";
-import * as React from "react";
-
-const icon = ;
-const iconWithColor = ;
-// @ts-expect-error
-const iconWithInvalidProp = ;
diff --git a/types/dhis2__ui-icons/index.d.ts b/types/dhis2__ui-icons/index.d.ts
deleted file mode 100644
index a0d0e338fcc30b..00000000000000
--- a/types/dhis2__ui-icons/index.d.ts
+++ /dev/null
@@ -1,261 +0,0 @@
-import * as React from "react";
-
-// https://github.com/dhis2/ui/blob/master/icons/templates/icon-template.js
-export interface IconProps {
- color?: string;
-}
-
-// https://github.com/dhis2/ui/tree/master/icons/src/svg
-export const IconAdd16: React.FC;
-export const IconAdd24: React.FC;
-export const IconAddCircle16: React.FC;
-export const IconAddCircle24: React.FC;
-export const IconApps16: React.FC;
-export const IconApps24: React.FC;
-export const IconArchive16: React.FC;
-export const IconArchive24: React.FC;
-export const IconArrowDown16: React.FC;
-export const IconArrowDown24: React.FC;
-export const IconArrowLeft16: React.FC;
-export const IconArrowLeft24: React.FC;
-export const IconArrowLeftMulti16: React.FC;
-export const IconArrowLeftMulti24: React.FC;
-export const IconArrowRight16: React.FC;
-export const IconArrowRight24: React.FC;
-export const IconArrowRightMulti16: React.FC;
-export const IconArrowRightMulti24: React.FC;
-export const IconArrowUp16: React.FC;
-export const IconArrowUp24: React.FC;
-export const IconAt16: React.FC;
-export const IconAt24: React.FC;
-export const IconAttachment16: React.FC;
-export const IconAttachment24: React.FC;
-export const IconBlock16: React.FC;
-export const IconBlock24: React.FC;
-export const IconCalendar16: React.FC;
-export const IconCalendar24: React.FC;
-export const IconCheckmark12: React.FC;
-export const IconCheckmark16: React.FC;
-export const IconCheckmark24: React.FC;
-export const IconCheckmarkCircle16: React.FC;
-export const IconCheckmarkCircle24: React.FC;
-export const IconChevronDown16: React.FC;
-export const IconChevronDown24: React.FC;
-export const IconChevronLeft16: React.FC;
-export const IconChevronLeft24: React.FC;
-export const IconChevronRight16: React.FC;
-export const IconChevronRight24: React.FC;
-export const IconChevronUp16: React.FC;
-export const IconChevronUp24: React.FC;
-export const IconClock16: React.FC;
-export const IconClock24: React.FC;
-export const IconClockHistory16: React.FC;
-export const IconClockHistory24: React.FC;
-export const IconColor16: React.FC;
-export const IconColor24: React.FC;
-export const IconCopy16: React.FC;
-export const IconCopy24: React.FC;
-export const IconCross16: React.FC;
-export const IconCross24: React.FC;
-export const IconDashboardWindow16: React.FC;
-export const IconDashboardWindow24: React.FC;
-export const IconDataInteger16: React.FC;
-export const IconDataInteger24: React.FC;
-export const IconDataString16: React.FC;
-export const IconDataString24: React.FC;
-export const IconDelete16: React.FC;
-export const IconDelete24: React.FC;
-export const IconDimensionCategoryOptionGroupset16: React.FC;
-export const IconDimensionData16: React.FC;
-export const IconDimensionDataElementGroupset16: React.FC;
-export const IconDimensionDataSet16: React.FC;
-export const IconDimensionEventDataItem16: React.FC;
-export const IconDimensionIndicator16: React.FC;
-export const IconDimensionOrgUnit16: React.FC;
-export const IconDimensionOrgUnitGroupset16: React.FC;
-export const IconDimensionProgramIndicator16: React.FC;
-export const IconDimensionValidationRule16: React.FC;
-export const IconDirectionNorth16: React.FC;
-export const IconDirectionNorth24: React.FC;
-export const IconDownload16: React.FC;
-export const IconDownload24: React.FC;
-export const IconDragHandle16: React.FC;
-export const IconDragHandle24: React.FC;
-export const IconDuplicate16: React.FC;
-export const IconDuplicate24: React.FC;
-export const IconEdit16: React.FC;
-export const IconEdit24: React.FC;
-export const IconEditItems16: React.FC;
-export const IconEditItems24: React.FC;
-export const IconEmptyFrame16: React.FC;
-export const IconEmptyFrame24: React.FC;
-export const IconError16: React.FC;
-export const IconError24: React.FC;
-export const IconErrorFilled16: React.FC;
-export const IconErrorFilled24: React.FC;
-export const IconExportItems24: React.FC;
-export const IconFaceAdd16: React.FC;
-export const IconFaceAdd24: React.FC;
-export const IconFile16: React.FC;
-export const IconFile24: React.FC;
-export const IconFileDocument16: React.FC;
-export const IconFileDocument24: React.FC;
-export const IconFilter16: React.FC;
-export const IconFilter24: React.FC;
-export const IconFlag16: React.FC;
-export const IconFlag24: React.FC;
-export const IconFolder16: React.FC;
-export const IconFolder24: React.FC;
-export const IconFolderOpen16: React.FC;
-export const IconFolderOpen24: React.FC;
-export const IconFullscreen16: React.FC;
-export const IconFullscreen24: React.FC;
-export const IconFullscreenExit16: React.FC;
-export const IconFullscreenExit24: React.FC;
-export const IconHome16: React.FC;
-export const IconHome24: React.FC;
-export const IconImage16: React.FC;
-export const IconImage24: React.FC;
-export const IconImportItems24: React.FC;
-export const IconInfo16: React.FC;
-export const IconInfo24: React.FC;
-export const IconInfoFilled16: React.FC;
-export const IconInfoFilled24: React.FC;
-export const IconLaunch16: React.FC;
-export const IconLaunch24: React.FC;
-export const IconLayoutColumns16: React.FC;
-export const IconLayoutColumns24: React.FC;
-export const IconLayoutRows16: React.FC;
-export const IconLayoutRows24: React.FC;
-export const IconLegend16: React.FC;
-export const IconLegend24: React.FC;
-export const IconLink16: React.FC;
-export const IconLink24: React.FC;
-export const IconList16: React.FC;
-export const IconList24: React.FC;
-export const IconLocation16: React.FC;
-export const IconLocation24: React.FC;
-export const IconLock16: React.FC;
-export const IconLock24: React.FC;
-export const IconLockOpen16: React.FC;
-export const IconLockOpen24: React.FC;
-export const IconLogOut16: React.FC;
-export const IconLogOut24: React.FC;
-export const IconMail16: React.FC;
-export const IconMail24: React.FC;
-export const IconMailOpen16: React.FC;
-export const IconMailOpen24: React.FC;
-export const IconMessages16: React.FC;
-export const IconMessages24: React.FC;
-export const IconMore16: React.FC;
-export const IconMore24: React.FC;
-export const IconMove16: React.FC;
-export const IconMove24: React.FC;
-export const IconPushLeft16: React.FC;
-export const IconPushLeft24: React.FC;
-export const IconPushRight16: React.FC;
-export const IconPushRight24: React.FC;
-export const IconQuestion16: React.FC;
-export const IconQuestion24: React.FC;
-export const IconQuestionFilled16: React.FC;
-export const IconQuestionFilled24: React.FC;
-export const IconQueue16: React.FC;
-export const IconQueue24: React.FC;
-export const IconRedo16: React.FC;
-export const IconRedo24: React.FC;
-export const IconReorder16: React.FC;
-export const IconReorder24: React.FC;
-export const IconReply16: React.FC;
-export const IconReply24: React.FC;
-export const IconRuler16: React.FC;
-export const IconRuler24: React.FC;
-export const IconSave16: React.FC;
-export const IconSave24: React.FC;
-export const IconSearch16: React.FC;
-export const IconSearch24: React.FC;
-export const IconSettings16: React.FC;
-export const IconSettings24: React.FC;
-export const IconShare16: React.FC;
-export const IconShare24: React.FC;
-export const IconStar16: React.FC;
-export const IconStar24: React.FC;
-export const IconStarFilled16: React.FC;
-export const IconStarFilled24: React.FC;
-export const IconSubscribe16: React.FC;
-export const IconSubscribe24: React.FC;
-export const IconSubscribeOff16: React.FC;
-export const IconSubscribeOff24: React.FC;
-export const IconSubtractCircle16: React.FC;
-export const IconSubtractCircle24: React.FC;
-export const IconSync16: React.FC;
-export const IconSync24: React.FC;
-export const IconTable16: React.FC;
-export const IconTable24: React.FC;
-export const IconTerminalWindow16: React.FC;
-export const IconTerminalWindow24: React.FC;
-export const IconTextBold16: React.FC;
-export const IconTextBold24: React.FC;
-export const IconTextBox16: React.FC;
-export const IconTextBox24: React.FC;
-export const IconTextHeading16: React.FC;
-export const IconTextHeading24: React.FC;
-export const IconTextItalic16: React.FC;
-export const IconTextItalic24: React.FC;
-export const IconTextListOrdered16: React.FC;
-export const IconTextListOrdered24: React.FC;
-export const IconTextListUnordered16: React.FC;
-export const IconTextListUnordered24: React.FC;
-export const IconThumbDown16: React.FC;
-export const IconThumbDown24: React.FC;
-export const IconThumbUp16: React.FC;
-export const IconThumbUp24: React.FC;
-export const IconTranslate16: React.FC;
-export const IconTranslate24: React.FC;
-export const IconUndo16: React.FC;
-export const IconUndo24: React.FC;
-export const IconUpload16: React.FC;
-export const IconUpload24: React.FC;
-export const IconUser16: React.FC;
-export const IconUser24: React.FC;
-export const IconUserGroup16: React.FC;
-export const IconUserGroup24: React.FC;
-export const IconView16: React.FC;
-export const IconView24: React.FC;
-export const IconViewOff16: React.FC;
-export const IconViewOff24: React.FC;
-export const IconVisualizationArea16: React.FC;
-export const IconVisualizationArea24: React.FC;
-export const IconVisualizationAreaStacked16: React.FC;
-export const IconVisualizationAreaStacked24: React.FC;
-export const IconVisualizationBar16: React.FC;
-export const IconVisualizationBar24: React.FC;
-export const IconVisualizationBarStacked16: React.FC