feat: initial Pezkuwi Apps rebrand from polkadot-apps

Rebranded terminology:
- Polkadot → Pezkuwi
- Kusama → Dicle
- Westend → Zagros
- Rococo → PezkuwiChain
- Substrate → Bizinikiwi
- parachain → teyrchain

Custom logos with Kurdistan brand colors (#e6007a → #86e62a):
- bizinikiwi-hexagon.svg
- sora-bizinikiwi.svg
- hezscanner.svg
- heztreasury.svg
- pezkuwiscan.svg
- pezkuwistats.svg
- pezkuwiassembly.svg
- pezkuwiholic.svg
This commit is contained in:
2026-01-07 13:05:27 +03:00
commit d21bfb1320
5867 changed files with 329019 additions and 0 deletions
@@ -0,0 +1,64 @@
// Copyright 2017-2025 @pezkuwi/app-addresses authors & contributors
// SPDX-License-Identifier: Apache-2.0
/* global jest */
import type { Row } from '@pezkuwi/test-support/pagesElements';
import type { AccountOverrides as ContactOverrides } from '@pezkuwi/test-support/types';
import React from 'react';
import { aContact } from '@pezkuwi/test-support/creation/contact';
import { Page } from '@pezkuwi/test-support/pages/Page';
import { mockAccountHooks } from '@pezkuwi/test-support/utils';
import AddressOverview from '../../src/Contacts/index.js';
const NOOP_CHANGE = () => undefined;
jest.mock('@pezkuwi/react-hooks/useAddresses', () => ({
useAddresses: () => ({
allAddresses: mockAccountHooks.useAccounts.allAccounts,
hasAddresses: mockAccountHooks.useAccounts.hasAccounts,
isAddress: true
})
}));
export class AddressesPage extends Page {
constructor () {
super(
<AddressOverview onStatusChange={NOOP_CHANGE} />,
'Address-'
);
}
async getAddressesRows (): Promise<Row[]> {
const addressesTable = await this.getTable();
return addressesTable.getRows();
}
renderDefaultContacts (contactsNumber: number): void {
const contacts = Array.from({ length: contactsNumber },
(_, index) => [this.defaultAddresses[index], aContact()] as [string, ContactOverrides]);
this.render(contacts);
}
renderContactsWithDefaultAddresses (...overrides: ContactOverrides[]): void {
const contacts = overrides.map((contactProperties, index) =>
[this.defaultAddresses[index], contactProperties] as [string, ContactOverrides]);
this.render(contacts);
}
renderContactsForAddresses (...addresses: string[]): void {
const contacts = addresses.map((address) => [address, aContact()] as [string, ContactOverrides]);
this.render(contacts);
}
renderContacts (contacts: [string, ContactOverrides][]): void {
this.render(contacts);
}
}