@sendgrid/ui-components
Advanced tools
Comparing version 1.43.4 to 1.43.5
@@ -17,2 +17,3 @@ import React, { Component } from 'react'; | ||
tooltipLength?: TooltipLength; | ||
scrollContainerRef?: React.MutableRefObject<any>; | ||
} | ||
@@ -19,0 +20,0 @@ export declare class FullscreenModal extends Component<FullScreenModelProps> { |
@@ -10,3 +10,3 @@ var __rest = (this && this.__rest) || function (s, e) { | ||
}; | ||
import React, { Component } from 'react'; | ||
import React, { Component, createRef } from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
@@ -23,3 +23,3 @@ import FlexHeader from './flexHeader'; | ||
render() { | ||
const _a = this.props, { bodyNode, children, className, creditsCount, hasPadding, isOpen, modalContainer, onClose, renderHeaderActions, headerTabs, title, tooltipText, tooltipLength, noKeyboardNavigation, returnFocusOnClose, dontSetFocus } = _a, attributes = __rest(_a, ["bodyNode", "children", "className", "creditsCount", "hasPadding", "isOpen", "modalContainer", "onClose", "renderHeaderActions", "headerTabs", "title", "tooltipText", "tooltipLength", "noKeyboardNavigation", "returnFocusOnClose", "dontSetFocus"]); | ||
const _a = this.props, { bodyNode, children, className, creditsCount, hasPadding, isOpen, modalContainer, onClose, renderHeaderActions, headerTabs, title, tooltipText, tooltipLength, noKeyboardNavigation, returnFocusOnClose, dontSetFocus, scrollContainerRef } = _a, attributes = __rest(_a, ["bodyNode", "children", "className", "creditsCount", "hasPadding", "isOpen", "modalContainer", "onClose", "renderHeaderActions", "headerTabs", "title", "tooltipText", "tooltipLength", "noKeyboardNavigation", "returnFocusOnClose", "dontSetFocus", "scrollContainerRef"]); | ||
const headerActions = renderHeaderActions && renderHeaderActions(); | ||
@@ -31,3 +31,3 @@ const keyboardProps = getModalKeyboardProps(this, onClose, '.modal-fullscreen'); | ||
'has-padding': hasPadding, | ||
}) }, children)), modalContainer); | ||
}), ref: scrollContainerRef || createRef() }, children)), modalContainer); | ||
} | ||
@@ -34,0 +34,0 @@ } |
{ | ||
"name": "@sendgrid/ui-components", | ||
"version": "1.43.4", | ||
"version": "1.43.5", | ||
"description": "Reusable UI components for Sendgrid's applications.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
978044
9343