Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@typeform/embed-react

Package Overview
Dependencies
Maintainers
2
Versions
97
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typeform/embed-react - npm Package Compare versions

Comparing version 3.16.0 to 3.17.0

9

build/components/make-button-component.d.ts

@@ -1,11 +0,12 @@

import React, { CSSProperties, ReactNode, ReactHTML, HTMLAttributes } from 'react';
import React, { CSSProperties, ReactNode, ReactHTML, AriaAttributes } from 'react';
import { ButtonProps } from '@typeform/embed';
type ButtonComponentBaseProps = {
id: string;
as?: keyof ReactHTML;
buttonProps?: HTMLAttributes<HTMLElement> & Record<string, string>;
buttonProps?: ButtonProps & AriaAttributes;
style?: CSSProperties;
className?: string;
children: ReactNode;
children?: ReactNode;
};
type ButtonComponentProps<T> = T & ButtonComponentBaseProps;
export type ButtonComponentProps<T> = T & ButtonComponentBaseProps;
type CreateFnProps<T> = Omit<ButtonComponentProps<T>, keyof ButtonComponentBaseProps>;

@@ -12,0 +13,0 @@ type CreateFn<T> = (id: string, props: CreateFnProps<T>) => GenericEmbed;

@@ -5,3 +5,3 @@ import React from 'react';

};
type InitializerComponentProps<T> = T & InitializerComponentBaseProps;
export type InitializerComponentProps<T> = T & InitializerComponentBaseProps;
type CreateFnProps<T> = Omit<InitializerComponentProps<T>, keyof InitializerComponentBaseProps>;

@@ -8,0 +8,0 @@ type CreateFn<T> = (id: string, props: CreateFnProps<T>) => GenericEmbed;

import React, { CSSProperties } from 'react';
import { WidgetOptions } from '@typeform/embed';
type WidgetProps = Omit<WidgetOptions, 'container'> & {
export type WidgetProps = Omit<WidgetOptions, 'container'> & {
id: string;

@@ -9,3 +9,2 @@ style?: CSSProperties;

export declare const Widget: ({ id, style, className, ...props }: WidgetProps) => React.JSX.Element;
export {};
//# sourceMappingURL=widget.d.ts.map

@@ -1,62 +0,13 @@

declare const Widget: import("react").MemoExoticComponent<import("react").FC<Omit<import("@typeform/embed").WidgetOptions, "container"> & {
id: string;
style?: import("react").CSSProperties | undefined;
className?: string | undefined;
}>>;
declare const PopupButton: import("react").MemoExoticComponent<import("react").FC<import("@typeform/embed/types/base").BaseOptions & import("@typeform/embed/types/base").ModalWindowOptions & import("@typeform/embed/types/base").UrlOptions & import("@typeform/embed/types/base").ActionableOptions & import("@typeform/embed/types/base").BehavioralOptions & import("@typeform/embed/types/base").WidthOption & {
height?: string | number | undefined;
autoResize?: string | boolean | undefined;
fullScreen?: boolean | undefined;
} & import("@typeform/embed/types/base").IframeOptions & {
size?: number | undefined;
} & {
id: string;
as?: keyof import("react").ReactHTML | undefined;
buttonProps?: (import("react").HTMLAttributes<HTMLElement> & Record<string, string>) | undefined;
style?: import("react").CSSProperties | undefined;
className?: string | undefined;
children: import("react").ReactNode;
} & import("react").RefAttributes<unknown>>>;
declare const SliderButton: import("react").MemoExoticComponent<import("react").FC<import("@typeform/embed/types/base").BaseOptions & import("@typeform/embed/types/base").ModalWindowOptions & import("@typeform/embed/types/base").UrlOptions & import("@typeform/embed/types/base").ActionableOptions & import("@typeform/embed/types/base").BehavioralOptions & import("@typeform/embed/types/base").WidthOption & import("@typeform/embed/types/base").IframeOptions & {
position?: "right" | "left" | undefined;
} & {
id: string;
as?: keyof import("react").ReactHTML | undefined;
buttonProps?: (import("react").HTMLAttributes<HTMLElement> & Record<string, string>) | undefined;
style?: import("react").CSSProperties | undefined;
className?: string | undefined;
children: import("react").ReactNode;
} & import("react").RefAttributes<unknown>>>;
declare const Popover: import("react").MemoExoticComponent<import("react").FC<import("@typeform/embed/types/base").BaseOptions & import("@typeform/embed/types/base").ModalWindowOptions & import("@typeform/embed/types/base").UrlOptions & import("@typeform/embed/types/base").ActionableOptions & import("@typeform/embed/types/base").BehavioralOptions & import("@typeform/embed/types/base").WidthOption & {
height?: string | number | undefined;
autoResize?: string | boolean | undefined;
fullScreen?: boolean | undefined;
} & import("@typeform/embed/types/base").IframeOptions & import("@typeform/embed/types/base").ButtonOptions & {
size?: number | undefined;
buttonColor?: string | undefined;
customIcon?: string | undefined;
tooltip?: string | undefined;
notificationDays?: number | undefined;
} & {
id: string;
} & import("react").RefAttributes<unknown>>>;
declare const Sidetab: import("react").MemoExoticComponent<import("react").FC<import("@typeform/embed/types/base").BaseOptions & import("@typeform/embed/types/base").ModalWindowOptions & import("@typeform/embed/types/base").UrlOptions & import("@typeform/embed/types/base").ActionableOptions & import("@typeform/embed/types/base").BehavioralOptions & import("@typeform/embed/types/base").WidthOption & {
height?: string | number | undefined;
autoResize?: string | boolean | undefined;
fullScreen?: boolean | undefined;
} & import("@typeform/embed/types/base").IframeOptions & import("@typeform/embed/types/base").ButtonOptions & {
buttonText?: string | undefined;
buttonColor?: string | undefined;
buttonTextColor?: string | undefined;
buttonTextSize?: string | number | undefined;
buttonWidth?: string | number | undefined;
buttonHeight?: string | number | undefined;
buttonAlign?: "top" | "bottom" | "center" | undefined;
top?: string | number | undefined;
bottom?: string | number | undefined;
customIcon?: string | undefined;
} & {
id: string;
} & import("react").RefAttributes<unknown>>>;
export { Widget, PopupButton, SliderButton, Popover, Sidetab };
import { PopupOptions, SliderOptions, PopoverOptions, SidetabOptions } from '@typeform/embed';
import { ButtonComponentProps, InitializerComponentProps, WidgetProps } from './components';
export { WidgetProps };
export declare const Widget: import("react").MemoExoticComponent<import("react").FC<WidgetProps>>;
export type PopupButtonProps = ButtonComponentProps<PopupOptions>;
export declare const PopupButton: import("react").MemoExoticComponent<import("react").FC<PopupButtonProps>>;
export type SliderButtonProps = ButtonComponentProps<SliderOptions>;
export declare const SliderButton: import("react").MemoExoticComponent<import("react").FC<SliderButtonProps>>;
export type PopoverProps = InitializerComponentProps<PopoverOptions>;
export declare const Popover: import("react").MemoExoticComponent<import("react").FC<PopoverProps>>;
export type SidetabProps = InitializerComponentProps<SidetabOptions>;
export declare const Sidetab: import("react").MemoExoticComponent<import("react").FC<SidetabProps>>;
//# sourceMappingURL=index.d.ts.map
{
"name": "@typeform/embed-react",
"version": "3.16.0",
"version": "3.17.0",
"main": "./build/index.js",

@@ -27,3 +27,3 @@ "types": "./build/index.d.ts",

"dependencies": {
"@typeform/embed": "4.9.0",
"@typeform/embed": "4.10.0",
"fast-deep-equal": "^3.1.3"

@@ -30,0 +30,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc