mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-04-22 03:17:58 +00:00
Rebrand: polkadot → pezkuwi
- Updated all package references - Fixed react-identicon and related packages - Version 3.16.8
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
# @polkadot/ui-shared
|
||||
# @pezkuwi/ui-shared
|
||||
|
||||
Shared logic for various logic. For identicon generation used inside the `@polkadot/{react, reactnative, vue}-identicon` icons.
|
||||
Shared logic for various logic. For identicon generation used inside the `@pezkuwi/{react, reactnative, vue}-identicon` icons.
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
{
|
||||
"author": "Jaco Greeff <jacogr@gmail.com>",
|
||||
"bugs": "https://github.com/polkadot-js/ui/issues",
|
||||
"bugs": "https://github.com/pezkuwichain/ui/issues",
|
||||
"description": "Shared logic that is usable accross all frameworks-specific areas",
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"homepage": "https://github.com/polkadot-js/ui/tree/master/packages/ui-shared#readme",
|
||||
"homepage": "https://github.com/pezkuwichain/ui/tree/master/packages/ui-shared#readme",
|
||||
"license": "Apache-2.0",
|
||||
"name": "@polkadot/ui-shared",
|
||||
"name": "@pezkuwi/ui-shared",
|
||||
"repository": {
|
||||
"directory": "packages/ui-shared",
|
||||
"type": "git",
|
||||
"url": "https://github.com/polkadot-js/ui.git"
|
||||
"url": "https://github.com/pezkuwichain/ui.git"
|
||||
},
|
||||
"sideEffects": [
|
||||
"./packageDetect.js",
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "3.16.6",
|
||||
"version": "3.16.8",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"colord": "^2.9.3",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/util": "^14.0.1",
|
||||
"@polkadot/util-crypto": "^14.0.1",
|
||||
"@pezkuwi/util": "^14.0.5",
|
||||
"@pezkuwi/util-crypto": "^14.0.5",
|
||||
"@types/xmlserializer": "^0.6.6",
|
||||
"xmlserializer": "^0.6.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@polkadot/util": "*",
|
||||
"@polkadot/util-crypto": "*"
|
||||
"@pezkuwi/util": "*",
|
||||
"@pezkuwi/util-crypto": "*"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2018-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export * from './icons/index.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# @polkadot/ui-shared/beachball
|
||||
# @pezkuwi/ui-shared/beachball
|
||||
|
||||
Adapted from [Jazzicon](https://github.com/danfinlay/jazzicon) by Dan Finlay with the following changes -
|
||||
|
||||
@@ -16,4 +16,4 @@ Adapted from [Jazzicon](https://github.com/danfinlay/jazzicon) by Dan Finlay wit
|
||||
|
||||
Also see [src/demo.js](src/demo.js) for a randomly generated example.
|
||||
|
||||

|
||||

|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import type { ColorGen } from './types.js';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import { container } from './container.js';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
import { isNull } from '@polkadot/util';
|
||||
import { encodeAddress, randomAsU8a } from '@polkadot/util-crypto';
|
||||
import { isNull } from '@pezkuwi/util';
|
||||
import { encodeAddress, randomAsU8a } from '@pezkuwi/util-crypto';
|
||||
|
||||
import { beachballIcon } from './index.js';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import xmlserializer from 'xmlserializer';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import type { Seeder } from './types.js';
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Seeder } from './types.js';
|
||||
|
||||
import { isU8a, stringToU8a } from '@polkadot/util';
|
||||
import { isU8a, stringToU8a } from '@pezkuwi/util';
|
||||
|
||||
const DIVISOR = 256 * 256;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import xmlserializer from 'xmlserializer';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import xs from 'xmlserializer';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { svg } from './svg.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import xs from 'xmlserializer';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import xs from 'xmlserializer';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import { element } from './element.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import xs from 'xmlserializer';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2016 Dan Finlay
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export type Seeder = () => number;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2018-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { beachballIcon } from './beachball/index.js';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright 2018-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2018-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
/// <reference types="@polkadot/dev-test/globals.d.ts" />
|
||||
/// <reference types="@pezkuwi/dev-test/globals.d.ts" />
|
||||
|
||||
import { polkadotIcon } from './polkadot.js';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2018-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
import type { Circle, Options } from './types.js';
|
||||
|
||||
import { blake2AsU8a, decodeAddress } from '@polkadot/util-crypto';
|
||||
import { blake2AsU8a, decodeAddress } from '@pezkuwi/util-crypto';
|
||||
|
||||
interface Scheme {
|
||||
freq: number;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2018-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export interface Circle {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2018-2025 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import './packageDetect.js';
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
// (packageInfo imports will be kept as-is, user-editable)
|
||||
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
import { detectPackage } from '@pezkuwi/util';
|
||||
|
||||
import { packageInfo } from './packageInfo.js';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2017-2025 @polkadot/ui-shared authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/ui-shared authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
// Do not edit, auto-generated by @pezkuwi/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/ui-shared', path: 'auto', type: 'auto', version: '3.16.6' };
|
||||
export const packageInfo = { name: '@pezkuwi/ui-shared', path: 'auto', type: 'auto', version: '3.16.6' };
|
||||
|
||||
Reference in New Issue
Block a user