@integry/sdk 4.5.26 → 4.5.27

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@integry/sdk",
3
- "version": "4.5.26",
3
+ "version": "4.5.27",
4
4
  "description": "Integry SDK",
5
5
  "main": "dist/umd/index.umd.js",
6
6
  "module": "dist/esm/index.csm.js",
@@ -8,7 +8,6 @@ import { isScrolledIntoView } from '@/utils/common';
8
8
  import { searchJSON } from '@/utils/searchJson';
9
9
  import { Input } from '@/components/Input';
10
10
  import { createElement } from 'preact/compat';
11
- import { renderToString } from 'react-dom/server';
12
11
  import { TagOptions } from '../TagOptions';
13
12
  import { ThreeDotLoader } from '../../ThreeDotLoader';
14
13
  import styles from './styles.module.scss';
@@ -345,7 +344,7 @@ const FieldDropdown = (props: FieldMenuProps) => {
345
344
  </div>`
346
345
  : html` <div className="${styles.mappedFieldMenu}">
347
346
  ${tagsComponent
348
- ? html`<div>${renderToString(tagsComponentRender)}</div>`
347
+ ? html`<div>${tagsComponentRender}</div>`
349
348
  : html`${Object.keys(
350
349
  !isEditable ? searchJSON(tags, searchValue) : tags,
351
350
  ).length > 0
package/src/index.ts CHANGED
@@ -2018,7 +2018,7 @@ export class IntegryJS {
2018
2018
  isReadOnly="${false}"
2019
2019
  selectedAuthId="${options.connectedAccountId}"
2020
2020
  accountConnected=${true}
2021
- tagsComponent=${options.tagsComponent}
2021
+ tagsComponent=${TestComponent}
2022
2022
  onFieldChangeCallback=${options.onFieldChangeCallback}
2023
2023
  tagsTree=${options.tagsTree}
2024
2024
  />