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

@rc-component/trigger

Package Overview
Dependencies
Maintainers
4
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rc-component/trigger - npm Package Compare versions

Comparing version 1.15.6 to 1.16.0

13

es/interface.d.ts

@@ -16,11 +16,2 @@ /// <reference types="react" />

/**
* @private Do not use in your production code
*/
_experimental?: {
/**
* @private Do not use in your production code. Auto adjust align logic
*/
dynamicInset?: boolean;
};
/**
* offset source node by offset[0] in x and offset[1] in y.

@@ -61,2 +52,6 @@ * If offset contains percentage string value, it is relative to sourceNode region.

/**
* Auto chose position with `top` or `bottom` by the align result
*/
dynamicInset?: boolean;
/**
* Whether use css right instead of left to position

@@ -63,0 +58,0 @@ */

@@ -82,5 +82,5 @@ import _extends from "@babel/runtime/helpers/esm/extends";

if (ready || !open) {
var points = align.points,
_experimental = align._experimental;
var dynamicInset = _experimental === null || _experimental === void 0 ? void 0 : _experimental.dynamicInset;
var _experimental;
var points = align.points;
var dynamicInset = align.dynamicInset || ((_experimental = align._experimental) === null || _experimental === void 0 ? void 0 : _experimental.dynamicInset);
var alignRight = dynamicInset && points[0][1] === 'r';

@@ -87,0 +87,0 @@ var alignBottom = dynamicInset && points[0][0] === 'b';

@@ -16,11 +16,2 @@ /// <reference types="react" />

/**
* @private Do not use in your production code
*/
_experimental?: {
/**
* @private Do not use in your production code. Auto adjust align logic
*/
dynamicInset?: boolean;
};
/**
* offset source node by offset[0] in x and offset[1] in y.

@@ -61,2 +52,6 @@ * If offset contains percentage string value, it is relative to sourceNode region.

/**
* Auto chose position with `top` or `bottom` by the align result
*/
dynamicInset?: boolean;
/**
* Whether use css right instead of left to position

@@ -63,0 +58,0 @@ */

@@ -90,5 +90,5 @@ "use strict";

if (ready || !open) {
var points = align.points,
_experimental = align._experimental;
var dynamicInset = _experimental === null || _experimental === void 0 ? void 0 : _experimental.dynamicInset;
var _experimental;
var points = align.points;
var dynamicInset = align.dynamicInset || ((_experimental = align._experimental) === null || _experimental === void 0 ? void 0 : _experimental.dynamicInset);
var alignRight = dynamicInset && points[0][1] === 'r';

@@ -95,0 +95,0 @@ var alignBottom = dynamicInset && points[0][0] === 'b';

{
"name": "@rc-component/trigger",
"version": "1.15.6",
"version": "1.16.0",
"description": "base abstract trigger component for react",

@@ -5,0 +5,0 @@ "engines": {

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