Skip to content
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [[0.1.6](https://github.com/multiversx/mx-sdk-dapp-ui/pull/277)] - 2025-12-09

- [Fixed compatibility issue on stencil/core](https://github.com/multiversx/mx-sdk-dapp-ui/pull/279)
- [Sync development with main](https://github.com/multiversx/mx-sdk-dapp-ui/pull/278)
- [Fixed copy button](https://github.com/multiversx/mx-sdk-dapp-ui/pull/276)

## [[0.1.5](https://github.com/multiversx/mx-sdk-dapp-ui/pull/275)] - 2025-12-08

- [Refactored transaction list item](https://github.com/multiversx/mx-sdk-dapp-ui/pull/274)
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@multiversx/sdk-dapp-ui",
"version": "0.1.5",
"version": "0.1.6",
"description": "A library to hold UI components for a dApp on the MultiversX blockchain",
"author": "MultiversX",
"license": "MIT",
Expand Down Expand Up @@ -102,7 +102,7 @@
"storybook-build": "yarn run build && yarn run storybook-build-tailwind && storybook build"
},
"dependencies": {
"@stencil/core": "^4.36.2",
"@stencil/core": "4.38.1",
"@stencil/react-output-target": "1.2.0",
"@stencil/vue-output-target": "0.11.8",
"classnames": ">=2.5.1",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions src/common/CopyButton/CopyButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,19 @@ interface CopyButtonPropsType {
class?: string;
text: string;
isSuccessOnCopy?: boolean;
handleCopyButtonClick?: (event: MouseEvent) => void;
handleCopyButtonClick?: (event: MouseEvent, text?: string) => void;
}

export function CopyButton({
iconClass,
class: className,
isSuccessOnCopy,
handleCopyButtonClick,
text,
}: CopyButtonPropsType) {
return (
<div
onClick={event => handleCopyButtonClick?.(event)}
onClick={event => handleCopyButtonClick?.(event, text)}
class={{
[styles.copyButton]: true,
[className]: Boolean(className),
Expand Down