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

@opentiny/vue-popover

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-popover - npm Package Compare versions

Comparing version 3.12.0 to 3.13.0-alpha.0

10

lib/index.js

@@ -21,9 +21,11 @@ function _extends() {

var template = function template2(mode) {
if ("pc" === (process.env.TINY_MODE || mode)) {
var _process$env;
var tinyMode = typeof process === "object" ? (_process$env = process.env) == null ? void 0 : _process$env.TINY_MODE : null;
if ("pc" === (tinyMode || mode)) {
return PcTemplate;
}
if ("mobile" === (process.env.TINY_MODE || mode)) {
if ("mobile" === (tinyMode || mode)) {
return MobileTemplate;
}
if ("mobile-first" === (process.env.TINY_MODE || mode)) {
if ("mobile-first" === (tinyMode || mode)) {
return MobileFirstTemplate;

@@ -123,3 +125,3 @@ }

});
var version = "3.12.0";
var version = "3.13.0-alpha.0";
Popover.install = function(Vue) {

@@ -126,0 +128,0 @@ Vue.component(Popover.name, Popover);

19

lib/mobile-first.js

@@ -67,7 +67,7 @@ function _extends() {

"popper": "sm:leading-5 sm:absolute sm:px-4 sm:py-3 sm:z-[2000] sm:text-justify sm:text-xs break-all sm:max-w-[theme(spacing.96)] sm:shadow-md sm:bg-color-bg-1 sm:rounded sm:[&[x-placement^=top]]:mb-2.5 sm:[&[x-placement^=bottom]]:mt-2.5 sm:[&[x-placement^=right]]:ml-2.5 sm:[&[x-placement^=left]]:mr-2.5",
"arrow": 'absolute block w-0 h-0 border-[0.375rem] border-transparent border-solid after:absolute after:block after:w-0 after:h-0 after:border-[0.3125rem] after:border-transparent after:border-solid after:content-[""]',
"placement-top": "-bottom-3 border-t-color-bg-1 drop-shadow-[0_2px_2px_rgba(0,0,0,0.08)] border-b-w-0 after:-bottom-[0.3125rem] after:-ml-[0.3125rem] after:border-t-color-bg-1 after:border-b-w-0",
"placement-bottom": "-top-3 border-t-w-0 border-b-color-bg-1 drop-shadow-[0_-2px_2px_rgba(0,0,0,0.08)] after:-top-[0.3125rem] after:-ml-[0.3125rem] after:border-t-w-0 after:border-b-color-bg-1",
"placement-right": "-left-3 border-r-color-bg-1 drop-shadow-[2px_0_2px_rgba(0,0,0,0.08)] border-l-w-0 after:-bottom-[0.3125rem] after:-left-[0.3125rem] after:border-r-color-bg-1 after:border-l-w-0",
"placement-left": "-right-3 border-l-color-bg-1 drop-shadow-[-2px_0px_2px_rgba(0,0,0,0.08)] border-r-w-0 after:-bottom-[0.375rem] after:-right-[0.3125rem] after:-ml-[0.3125rem] after:border-l-color-bg-1 after:border-r-w-0"
"arrow": 'absolute ml-0.5 border-b-color-bg-1 border-l-color-bg-1 rounded-bl-sm block w-0 h-0 border-4 border-transparent border-solid after:absolute after:block after:border-transparent after:border-solid after:content-[""]',
"placement-top": "-bottom-1 left-1/2 -rotate-45",
"placement-bottom": "-top-1 left-1/2 rotate-[135deg]",
"placement-right": "-left-1.5 top-1/2 rotate-45",
"placement-left": "top-1/2 -right-1 rotate-[225deg]"
};

@@ -167,3 +167,3 @@ var _sfc_main = defineComponent({

class: "hidden sm:block",
"data-tag": "tiny-popover-body"
"data-tag": "tiny-popover-arrow"
};

@@ -173,3 +173,3 @@ var _hoisted_3 = ["textContent"];

"data-tag": "tiny-popover-body",
class: /* @__PURE__ */ normalizeClass(["sm:hidden block fixed inset-0 text-sm text-color-text-primary transition-top ease-out duration-300", "before:content-[''] before:fixed before:inset-0 before:w-full before:h-full before:opacity-30 before:bg-black"])
class: /* @__PURE__ */ normalizeClass(["sm:hidden block fixed left-0 right-0 top-0 bottom-0 text-sm text-color-text-primary transition-top ease-out duration-300", "before:content-[''] before:fixed before:left-0 before:right-0 before:top-0 before:bottom-0 before:w-full before:h-full before:bg-color-bg-7"])
};

@@ -207,3 +207,2 @@ var _hoisted_5 = {

{
"data-tag": "tiny-popover",
ref: "root",

@@ -220,4 +219,4 @@ class: normalizeClass(_ctx.$attrs.class)

return [withDirectives(createElementVNode("div", {
"data-tag": "tiny-popover-content",
class: normalizeClass([_ctx.gcls("popper"), _ctx.popperClass]),
"data-tag": "tiny-popover tiny-popper",
class: normalizeClass([_ctx.m(_ctx.gcls("popper"), _ctx.popperClass)]),
ref: "popper",

@@ -224,0 +223,0 @@ style: normalizeStyle({

{
"name": "@opentiny/vue-popover",
"version": "3.12.0",
"version": "3.13.0-alpha.0",
"description": "",

@@ -10,4 +10,5 @@ "main": "./lib/index.js",

"dependencies": {
"@opentiny/vue-common": "~3.12.0",
"@opentiny/vue-renderless": "~3.12.0"
"@opentiny/vue-common": "~3.13.0-alpha.0",
"@opentiny/vue-renderless": "~3.13.0-alpha.0",
"@opentiny/vue-icon": "~3.13.0-alpha.0"
},

@@ -14,0 +15,0 @@ "license": "MIT",

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