@uniformdev/mesh-sdk-react 18.13.1-alpha.1 → 18.15.0

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/dist/index.d.ts CHANGED
@@ -451,8 +451,10 @@ type InputVariablesProps = {
451
451
  /** called when the field is pasted into */
452
452
  onPaste?: (newValue: string) => void;
453
453
  disableVariables?: boolean;
454
+ onVariableClick: (selectedVariable: string) => void;
455
+ showAddVariableMenuOption?: boolean;
454
456
  };
455
- declare function InputVariables({ 'aria-label': ariaLabel, value, disableVariables, onChange, onPaste, }: InputVariablesProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
457
+ declare function InputVariables({ 'aria-label': ariaLabel, value, onChange, onPaste, onVariableClick, showAddVariableMenuOption, ...inputProps }: InputVariablesProps): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
456
458
 
457
459
  type DataVariableDefinitionWithName = {
458
460
  name: string;
@@ -651,7 +653,7 @@ declare function RequestUrl(): _emotion_react_types_jsx_namespace.EmotionJSX.Ele
651
653
  * Editor to modify the current URL of the request
652
654
  * Note: entering query string parameters automatically converts them and syncs the request state with them
653
655
  */
654
- declare function RequestUrlInput(props: Omit<InputVariablesProps, 'value' | 'onChange'>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
656
+ declare function RequestUrlInput(props: Omit<InputVariablesProps, 'value' | 'onChange' | 'onVariableClick'>): _emotion_react_types_jsx_namespace.EmotionJSX.Element;
655
657
 
656
658
  declare function urlEncodeRequestUrl(url: string, varValues?: Record<string, DataVariableDefinition>): string;
657
659
  declare function urlEncodeRequestParameter(parameter: RequestParameter, varValues?: Record<string, DataVariableDefinition>): RequestParameter;