@stellar-expert/ui-framework 1.9.3 → 1.9.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,5 @@
1
1
  import React from 'react'
2
+ import cn from 'classnames'
2
3
  import {xdr, scValToBigInt} from '@stellar/stellar-base'
3
4
  import {xdrParserUtils} from '@stellar-expert/tx-meta-effects-parser'
4
5
  import {shortenString} from '@stellar-expert/formatter'
@@ -7,7 +8,7 @@ import './sc-val.scss'
7
8
 
8
9
  export const ScVal = React.memo(function ScVal({value, nested = false, indent = false}) {
9
10
  if (!nested)
10
- return <code className="sc-val"><ScVal value={value} indent={indent} nested/></code>
11
+ return <code className={cn('sc-val', {block: indent})}><ScVal value={value} indent={indent} nested/></code>
11
12
  if (!value)
12
13
  return 'void'
13
14
  if (typeof value === 'string') {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stellar-expert/ui-framework",
3
- "version": "1.9.3",
3
+ "version": "1.9.4",
4
4
  "description": "StellarExpert shared UI components library",
5
5
  "main": "index.js",
6
6
  "module": "./index.js",