mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-22 09:05:42 +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,15 +1,15 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Prefix } from '@polkadot/util-crypto/address/types';
|
||||
import type { Prefix } from '@pezkuwi/util-crypto/address/types';
|
||||
import type { IdentityProps as Props, Props as ComponentProps } from './types.js';
|
||||
|
||||
import React from 'react';
|
||||
import CopyToClipboard from 'react-copy-to-clipboard';
|
||||
|
||||
import { ICON_DEFAULT_HOST, settings } from '@polkadot/ui-settings';
|
||||
import { isHex, isU8a, u8aToHex } from '@polkadot/util';
|
||||
import { decodeAddress, encodeAddress, ethereumEncode } from '@polkadot/util-crypto';
|
||||
import { ICON_DEFAULT_HOST, settings } from '@pezkuwi/ui-settings';
|
||||
import { isHex, isU8a, u8aToHex } from '@pezkuwi/util';
|
||||
import { decodeAddress, encodeAddress, ethereumEncode } from '@pezkuwi/util-crypto';
|
||||
|
||||
import { Beachball, Empty, Ethereum, Jdenticon, Polkadot } from './icons/index.js';
|
||||
import { styled } from './styled.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export * from './icons/index.js';
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Props } from '../types.js';
|
||||
|
||||
import React, { useCallback } from 'react';
|
||||
|
||||
import { beachballIcon } from '@polkadot/ui-shared';
|
||||
import { beachballIcon } from '@pezkuwi/ui-shared';
|
||||
|
||||
function Identicon ({ address, className = '', size, style = {} }: Props): React.ReactElement<Props> {
|
||||
const updateElem = useCallback(
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Props } from '../types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Props } from '../types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Props } from '../types.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2018-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2018-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
// Copyright 2018 Paritytech via paritytech/oo7/polkadot-identicon
|
||||
@@ -16,12 +16,12 @@
|
||||
// - Move constants to file-level
|
||||
// - Overall it is now just a static component, expecting an address as an input value
|
||||
|
||||
import type { Circle } from '@polkadot/ui-shared/icons/types';
|
||||
import type { Circle } from '@pezkuwi/ui-shared/icons/types';
|
||||
import type { Props } from '../types.js';
|
||||
|
||||
import React, { useMemo } from 'react';
|
||||
|
||||
import { polkadotIcon } from '@polkadot/ui-shared';
|
||||
import { polkadotIcon } from '@pezkuwi/ui-shared';
|
||||
|
||||
function renderCircle ({ cx, cy, fill, r }: Circle, key: number): React.ReactNode {
|
||||
return (
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { Beachball } from './Beachball.js';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import './packageDetect.js';
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/react-identicon 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 { packageInfo as settingsInfo } from '@polkadot/ui-settings/packageInfo';
|
||||
import { packageInfo as sharedInfo } from '@polkadot/ui-shared/packageInfo';
|
||||
import { detectPackage } from '@polkadot/util';
|
||||
import { packageInfo as settingsInfo } from '@pezkuwi/ui-settings/packageInfo';
|
||||
import { packageInfo as sharedInfo } from '@pezkuwi/ui-shared/packageInfo';
|
||||
import { detectPackage } from '@pezkuwi/util';
|
||||
|
||||
import { packageInfo } from './packageInfo.js';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2026 @pezkuwi/react-identicon 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/react-identicon', path: 'auto', type: 'auto', version: '3.16.6' };
|
||||
export const packageInfo = { name: '@pezkuwi/react-identicon', path: 'auto', type: 'auto', version: '3.16.6' };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2017-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2017-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
export { styled } from 'styled-components';
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Copyright 2018-2025 @polkadot/react-identicon authors & contributors
|
||||
// Copyright 2018-2025 @pezkuwi/react-identicon authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type React from 'react';
|
||||
import type { Prefix } from '@polkadot/util-crypto/address/types';
|
||||
import type { Prefix } from '@pezkuwi/util-crypto/address/types';
|
||||
|
||||
export interface BaseProps {
|
||||
className?: string;
|
||||
|
||||
Reference in New Issue
Block a user