@elvia/elvis-toolbox
Advanced tools
Comparing version 7.4.2 to 7.4.3
@@ -5,2 +5,12 @@ { | ||
{ | ||
"date": "15.12.22", | ||
"version": "7.4.3", | ||
"changelog": [ | ||
{ | ||
"type": "patch", | ||
"changes": ["Remove unused <span class=\"code-text\">useLongPress</span> hook."] | ||
} | ||
] | ||
}, | ||
{ | ||
"date": "14.12.22", | ||
@@ -7,0 +17,0 @@ "version": "7.4.2", |
@@ -22,8 +22,8 @@ import React from 'react'; | ||
*/ | ||
export declare const useSlot: <TValue extends HTMLElement, TWebcomponent extends { | ||
getSlot: (...args: unknown[]) => Node; | ||
export declare const useSlot: <TRefElement extends HTMLElement, TWebcomponent extends { | ||
getSlot: (slotName: string) => Element; | ||
} = { | ||
getSlot: (...args: unknown[]) => Node; | ||
getSlot: (slotName: string) => Element; | ||
}>(slot: string, webcomponent: TWebcomponent | undefined, options?: { | ||
ref?: React.RefObject<TValue> | undefined; | ||
ref?: React.RefObject<TRefElement> | undefined; | ||
/** | ||
@@ -38,5 +38,5 @@ * Called when a slot is found or not, with whether it was found or not as argument. | ||
*/ | ||
useEffectDependencies?: unknown[] | undefined; | ||
useEffectDependencies?: React.DependencyList | undefined; | ||
} | undefined) => { | ||
ref: React.RefObject<TValue>; | ||
ref: React.RefObject<TRefElement>; | ||
}; |
@@ -18,3 +18,2 @@ export { isSsr } from './isSsr'; | ||
export { useInputModeDetection } from './hooks/useInputModeDetection'; | ||
export { useLongPress } from './hooks/useLongPress'; | ||
export { useIsOverflowing } from './hooks/useIsOverflowing'; | ||
@@ -21,0 +20,0 @@ export { useWebComponentState } from './hooks/useWebComponentState'; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Backdrop",{enumerable:!0,get:function get(){return _backdrop.Backdrop}}),Object.defineProperty(exports,"BaseProps",{enumerable:!0,get:function get(){return _baseProps.BaseProps}}),Object.defineProperty(exports,"ComponentAttribute",{enumerable:!0,get:function get(){return _componentConfig.ComponentAttribute}}),Object.defineProperty(exports,"ComponentConfig",{enumerable:!0,get:function get(){return _componentConfig.ComponentConfig}}),Object.defineProperty(exports,"DeprecatedDetails",{enumerable:!0,get:function get(){return _componentConfig.DeprecatedDetails}}),Object.defineProperty(exports,"ErrorOptions",{enumerable:!0,get:function get(){return _hasError.ErrorOptions}}),Object.defineProperty(exports,"FormFieldContainer",{enumerable:!0,get:function get(){return _formFieldStyles.FormFieldContainer}}),Object.defineProperty(exports,"FormFieldContainerProps",{enumerable:!0,get:function get(){return _formFieldStyles.FormFieldContainerProps}}),Object.defineProperty(exports,"FormFieldError",{enumerable:!0,get:function get(){return _errorStyles.FormFieldError}}),Object.defineProperty(exports,"FormFieldErrorContainer",{enumerable:!0,get:function get(){return _errorStyles.FormFieldErrorContainer}}),Object.defineProperty(exports,"FormFieldInput",{enumerable:!0,get:function get(){return _formFieldStyles.FormFieldInput}}),Object.defineProperty(exports,"FormFieldInputContainer",{enumerable:!0,get:function get(){return _formFieldStyles.FormFieldInputContainer}}),Object.defineProperty(exports,"FormFieldLabel",{enumerable:!0,get:function get(){return _formFieldStyles.FormFieldLabel}}),Object.defineProperty(exports,"HasError",{enumerable:!0,get:function get(){return _hasError.HasError}}),Object.defineProperty(exports,"HasValue",{enumerable:!0,get:function get(){return _hasValue.HasValue}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function get(){return _iconButton.IconButton}}),Object.defineProperty(exports,"IconWrapper",{enumerable:!0,get:function get(){return _iconWrapper.IconWrapper}}),Object.defineProperty(exports,"IconWrapperProps",{enumerable:!0,get:function get(){return _iconWrapper2.IconWrapperProps}}),Object.defineProperty(exports,"Overlay",{enumerable:!0,get:function get(){return _overlay.Overlay}}),Object.defineProperty(exports,"OverlayHorizontalPosition",{enumerable:!0,get:function get(){return _useConnectedOverlay.OverlayHorizontalPosition}}),Object.defineProperty(exports,"OverlayVerticalPosition",{enumerable:!0,get:function get(){return _useConnectedOverlay.OverlayVerticalPosition}}),Object.defineProperty(exports,"PrimaryButton",{enumerable:!0,get:function get(){return _button.PrimaryButton}}),Object.defineProperty(exports,"SecondaryButton",{enumerable:!0,get:function get(){return _button.SecondaryButton}}),Object.defineProperty(exports,"TertiaryButton",{enumerable:!0,get:function get(){return _button.TertiaryButton}}),Object.defineProperty(exports,"TooltipPopup",{enumerable:!0,get:function get(){return _tooltip.TooltipPopup}}),Object.defineProperty(exports,"TooltipPopupProps",{enumerable:!0,get:function get(){return _tooltip.TooltipPopupProps}}),Object.defineProperty(exports,"TooltipPosition",{enumerable:!0,get:function get(){return _tooltip.TooltipPosition}}),Object.defineProperty(exports,"isSsr",{enumerable:!0,get:function get(){return _isSsr.isSsr}}),Object.defineProperty(exports,"outlineListener",{enumerable:!0,get:function get(){return _outlineListener.outlineListener}}),Object.defineProperty(exports,"useBreakpoint",{enumerable:!0,get:function get(){return _useBreakpoint.useBreakpoint}}),Object.defineProperty(exports,"useConnectedOverlay",{enumerable:!0,get:function get(){return _useConnectedOverlay.useConnectedOverlay}}),Object.defineProperty(exports,"useFocusTrap",{enumerable:!0,get:function get(){return _useFocusTrap.useFocusTrap}}),Object.defineProperty(exports,"useInputModeDetection",{enumerable:!0,get:function get(){return _useInputModeDetection.useInputModeDetection}}),Object.defineProperty(exports,"useIsOverflowing",{enumerable:!0,get:function get(){return _useIsOverflowing.useIsOverflowing}}),Object.defineProperty(exports,"useLongPress",{enumerable:!0,get:function get(){return _useLongPress.useLongPress}}),Object.defineProperty(exports,"useRovingFocus",{enumerable:!0,get:function get(){return _useRovingFocus.useRovingFocus}}),Object.defineProperty(exports,"useSlot",{enumerable:!0,get:function get(){return _useSlot.useSlot}}),Object.defineProperty(exports,"useWebComponentState",{enumerable:!0,get:function get(){return _useWebComponentState.useWebComponentState}}),Object.defineProperty(exports,"warnDeprecatedProps",{enumerable:!0,get:function get(){return _warnDeprecatedProps.warnDeprecatedProps}});var _isSsr=require("./isSsr"),_outlineListener=require("./outlineListener"),_warnDeprecatedProps=require("./warnDeprecatedProps"),_componentConfig=require("./componentConfig.types"),_backdrop=require("./components/backdrop/backdrop"),_button=require("./components/button/button"),_iconButton=require("./components/button/iconButton"),_formFieldStyles=require("./components/form-field/formFieldStyles"),_errorStyles=require("./components/form-field/errorStyles"),_overlay=require("./components/overlay/overlay"),_tooltip=require("./components/tooltip/tooltip"),_iconWrapper=require("./components/iconWrapper/iconWrapper"),_iconWrapper2=require("./components/iconWrapper/iconWrapper.types"),_useBreakpoint=require("./hooks/useBreakpoint"),_useConnectedOverlay=require("./hooks/useConnectedOverlay"),_useFocusTrap=require("./hooks/useFocusTrap"),_useInputModeDetection=require("./hooks/useInputModeDetection"),_useLongPress=require("./hooks/useLongPress"),_useIsOverflowing=require("./hooks/useIsOverflowing"),_useWebComponentState=require("./hooks/useWebComponentState"),_useSlot=require("./hooks/useSlot"),_useRovingFocus=require("./hooks/useRovingFocus"),_baseProps=require("./prop-blocks/baseProps"),_hasError=require("./prop-blocks/hasError"),_hasValue=require("./prop-blocks/hasValue"); | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),Object.defineProperty(exports,"Backdrop",{enumerable:!0,get:function get(){return _backdrop.Backdrop}}),Object.defineProperty(exports,"BaseProps",{enumerable:!0,get:function get(){return _baseProps.BaseProps}}),Object.defineProperty(exports,"ComponentAttribute",{enumerable:!0,get:function get(){return _componentConfig.ComponentAttribute}}),Object.defineProperty(exports,"ComponentConfig",{enumerable:!0,get:function get(){return _componentConfig.ComponentConfig}}),Object.defineProperty(exports,"DeprecatedDetails",{enumerable:!0,get:function get(){return _componentConfig.DeprecatedDetails}}),Object.defineProperty(exports,"ErrorOptions",{enumerable:!0,get:function get(){return _hasError.ErrorOptions}}),Object.defineProperty(exports,"FormFieldContainer",{enumerable:!0,get:function get(){return _formFieldStyles.FormFieldContainer}}),Object.defineProperty(exports,"FormFieldContainerProps",{enumerable:!0,get:function get(){return _formFieldStyles.FormFieldContainerProps}}),Object.defineProperty(exports,"FormFieldError",{enumerable:!0,get:function get(){return _errorStyles.FormFieldError}}),Object.defineProperty(exports,"FormFieldErrorContainer",{enumerable:!0,get:function get(){return _errorStyles.FormFieldErrorContainer}}),Object.defineProperty(exports,"FormFieldInput",{enumerable:!0,get:function get(){return _formFieldStyles.FormFieldInput}}),Object.defineProperty(exports,"FormFieldInputContainer",{enumerable:!0,get:function get(){return _formFieldStyles.FormFieldInputContainer}}),Object.defineProperty(exports,"FormFieldLabel",{enumerable:!0,get:function get(){return _formFieldStyles.FormFieldLabel}}),Object.defineProperty(exports,"HasError",{enumerable:!0,get:function get(){return _hasError.HasError}}),Object.defineProperty(exports,"HasValue",{enumerable:!0,get:function get(){return _hasValue.HasValue}}),Object.defineProperty(exports,"IconButton",{enumerable:!0,get:function get(){return _iconButton.IconButton}}),Object.defineProperty(exports,"IconWrapper",{enumerable:!0,get:function get(){return _iconWrapper.IconWrapper}}),Object.defineProperty(exports,"IconWrapperProps",{enumerable:!0,get:function get(){return _iconWrapper2.IconWrapperProps}}),Object.defineProperty(exports,"Overlay",{enumerable:!0,get:function get(){return _overlay.Overlay}}),Object.defineProperty(exports,"OverlayHorizontalPosition",{enumerable:!0,get:function get(){return _useConnectedOverlay.OverlayHorizontalPosition}}),Object.defineProperty(exports,"OverlayVerticalPosition",{enumerable:!0,get:function get(){return _useConnectedOverlay.OverlayVerticalPosition}}),Object.defineProperty(exports,"PrimaryButton",{enumerable:!0,get:function get(){return _button.PrimaryButton}}),Object.defineProperty(exports,"SecondaryButton",{enumerable:!0,get:function get(){return _button.SecondaryButton}}),Object.defineProperty(exports,"TertiaryButton",{enumerable:!0,get:function get(){return _button.TertiaryButton}}),Object.defineProperty(exports,"TooltipPopup",{enumerable:!0,get:function get(){return _tooltip.TooltipPopup}}),Object.defineProperty(exports,"TooltipPopupProps",{enumerable:!0,get:function get(){return _tooltip.TooltipPopupProps}}),Object.defineProperty(exports,"TooltipPosition",{enumerable:!0,get:function get(){return _tooltip.TooltipPosition}}),Object.defineProperty(exports,"isSsr",{enumerable:!0,get:function get(){return _isSsr.isSsr}}),Object.defineProperty(exports,"outlineListener",{enumerable:!0,get:function get(){return _outlineListener.outlineListener}}),Object.defineProperty(exports,"useBreakpoint",{enumerable:!0,get:function get(){return _useBreakpoint.useBreakpoint}}),Object.defineProperty(exports,"useConnectedOverlay",{enumerable:!0,get:function get(){return _useConnectedOverlay.useConnectedOverlay}}),Object.defineProperty(exports,"useFocusTrap",{enumerable:!0,get:function get(){return _useFocusTrap.useFocusTrap}}),Object.defineProperty(exports,"useInputModeDetection",{enumerable:!0,get:function get(){return _useInputModeDetection.useInputModeDetection}}),Object.defineProperty(exports,"useIsOverflowing",{enumerable:!0,get:function get(){return _useIsOverflowing.useIsOverflowing}}),Object.defineProperty(exports,"useRovingFocus",{enumerable:!0,get:function get(){return _useRovingFocus.useRovingFocus}}),Object.defineProperty(exports,"useSlot",{enumerable:!0,get:function get(){return _useSlot.useSlot}}),Object.defineProperty(exports,"useWebComponentState",{enumerable:!0,get:function get(){return _useWebComponentState.useWebComponentState}}),Object.defineProperty(exports,"warnDeprecatedProps",{enumerable:!0,get:function get(){return _warnDeprecatedProps.warnDeprecatedProps}});var _isSsr=require("./isSsr"),_outlineListener=require("./outlineListener"),_warnDeprecatedProps=require("./warnDeprecatedProps"),_componentConfig=require("./componentConfig.types"),_backdrop=require("./components/backdrop/backdrop"),_button=require("./components/button/button"),_iconButton=require("./components/button/iconButton"),_formFieldStyles=require("./components/form-field/formFieldStyles"),_errorStyles=require("./components/form-field/errorStyles"),_overlay=require("./components/overlay/overlay"),_tooltip=require("./components/tooltip/tooltip"),_iconWrapper=require("./components/iconWrapper/iconWrapper"),_iconWrapper2=require("./components/iconWrapper/iconWrapper.types"),_useBreakpoint=require("./hooks/useBreakpoint"),_useConnectedOverlay=require("./hooks/useConnectedOverlay"),_useFocusTrap=require("./hooks/useFocusTrap"),_useInputModeDetection=require("./hooks/useInputModeDetection"),_useIsOverflowing=require("./hooks/useIsOverflowing"),_useWebComponentState=require("./hooks/useWebComponentState"),_useSlot=require("./hooks/useSlot"),_useRovingFocus=require("./hooks/useRovingFocus"),_baseProps=require("./prop-blocks/baseProps"),_hasError=require("./prop-blocks/hasError"),_hasValue=require("./prop-blocks/hasValue"); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@elvia/elvis-toolbox", | ||
"version": "7.4.2", | ||
"version": "7.4.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
19
181807
81
1239