@qualtrics/plugin-ui-react 1.4.0-alpha.11 → 1.4.0-alpha.12

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,7 +1,6 @@
1
1
  import './field-mapper-row.scss';
2
2
  import React from 'react';
3
3
  import { FieldMapperItem } from '../../../lib/models/field-mapper-item';
4
- import { PipedTextItem } from '../../../lib/models/piped-text';
5
4
  export declare type FieldMapperRowProps = {
6
5
  className?: string;
7
6
  children?: React.ReactNode;
@@ -10,7 +9,7 @@ export declare type FieldMapperRowProps = {
10
9
  onFieldValueChange?: (fieldItem: FieldMapperItem, inputValue: string) => void;
11
10
  onFieldRemove?: (fieldItem: FieldMapperItem) => void;
12
11
  availableFields?: FieldMapperItem[];
13
- pipedTextItems?: PipedTextItem[];
12
+ pipedTextItems?: any[];
14
13
  showRemove?: boolean;
15
14
  };
16
15
  export declare const FieldMapperRow: React.ForwardRefExoticComponent<FieldMapperRowProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,13 +1,12 @@
1
1
  import './field-mapper-value.scss';
2
2
  import React from 'react';
3
- import { PipedTextItem } from '../../../lib/models/piped-text';
4
3
  import { InputProps } from '@qualtrics/ui-react';
5
4
  export declare type FieldMapperValueProps = {
6
5
  children?: React.ReactNode;
7
6
  className?: string;
8
7
  inputProps?: Omit<InputProps, 'onChange' | 'value'>;
9
8
  inputValue?: string;
10
- pipedTextItems?: PipedTextItem[];
9
+ pipedTextItems?: any[];
11
10
  tooltip?: React.ReactNode;
12
11
  onChange?: (value: string) => void;
13
12
  };
@@ -1,7 +1,6 @@
1
1
  import './field-mapper.scss';
2
2
  import React from 'react';
3
3
  import { FieldMapperItem } from '../../lib/models/field-mapper-item';
4
- import { PipedTextItem } from '../../lib/models/piped-text';
5
4
  export declare type FieldMapperProps = {
6
5
  children: React.ReactNode;
7
6
  addFieldLabel: string;
@@ -13,6 +12,6 @@ export declare type FieldMapperProps = {
13
12
  fieldKeysHeaderText?: string;
14
13
  fieldValuesHeaderText?: string;
15
14
  availableFields?: FieldMapperItem[];
16
- pipedTextItems?: PipedTextItem[];
15
+ pipedTextItems?: any[];
17
16
  };
18
17
  export declare const FieldMapper: React.ForwardRefExoticComponent<FieldMapperProps & React.RefAttributes<HTMLDivElement>>;
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @license @qualtrics/plugin-ui-react 1.4.0-alpha.11
1
+ /*! @license @qualtrics/plugin-ui-react 1.4.0-alpha.12
2
2
  Qualtrics Software License Agreement
3
3
 
4
4
  1. General.
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! @license @qualtrics/plugin-ui-react 1.4.0-alpha.11
1
+ /*! @license @qualtrics/plugin-ui-react 1.4.0-alpha.12
2
2
  Qualtrics Software License Agreement
3
3
 
4
4
  1. General.
@@ -1,5 +1,5 @@
1
1
  export declare type PipedTextLocator = {
2
- value: string;
2
+ locator: string;
3
3
  };
4
4
  export declare type LocalizedText = {
5
5
  emptyText: string;
@@ -7,10 +7,10 @@ export declare type LocalizedText = {
7
7
  };
8
8
  export declare type PipedTextItem = {
9
9
  label: string;
10
- locator: PipedTextLocator;
10
+ value?: PipedTextLocator;
11
11
  submenu?: {
12
12
  searchable?: boolean;
13
13
  localizedText?: LocalizedText;
14
- items: PipedTextItem[];
14
+ items?: PipedTextItem[];
15
15
  };
16
16
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qualtrics/plugin-ui-react",
3
- "version": "1.4.0-alpha.11",
3
+ "version": "1.4.0-alpha.12",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.es.js",