@opentiny/vue-popover
Advanced tools
Comparing version 3.13.0 to 3.14.0
@@ -124,3 +124,3 @@ function _extends() { | ||
}); | ||
var version = "3.13.0"; | ||
var version = "3.14.0"; | ||
Popover.install = function(Vue) { | ||
@@ -127,0 +127,0 @@ Vue.component(Popover.name, Popover); |
@@ -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.13.0", | ||
"version": "3.14.0", | ||
"description": "", | ||
@@ -10,4 +10,7 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~3.13.0", | ||
"@opentiny/vue-renderless": "~3.13.0" | ||
"@opentiny/vue-common": "~3.14.0", | ||
"@opentiny/vue-renderless": "~3.14.0", | ||
"@opentiny/vue-icon": "~3.14.0", | ||
"@opentiny/vue-theme": "~3.14.0", | ||
"@opentiny/vue-theme-mobile": "~3.14.0" | ||
}, | ||
@@ -14,0 +17,0 @@ "license": "MIT", |
@@ -246,8 +246,8 @@ import type { IPopoverApi } from '@opentiny/vue-renderless/types/popover.type'; | ||
offset: number; | ||
popperOptions: Record<string, any>; | ||
boundariesPadding: number; | ||
closeDelay: number; | ||
openDelay: number; | ||
popperOptions: Record<string, any>; | ||
genArrowByHtml: boolean; | ||
}, {}>; | ||
export default _default; |
@@ -23,8 +23,8 @@ declare const _default: import("@vue/runtime-core").DefineComponent<Readonly<{ | ||
offset?: any; | ||
popperOptions?: any; | ||
reference?: any; | ||
popper?: any; | ||
reference?: any; | ||
boundariesPadding?: any; | ||
closeDelay?: any; | ||
openDelay?: any; | ||
popperOptions?: any; | ||
listData?: any; | ||
@@ -39,3 +39,3 @@ }>, { | ||
gcls: (key: any) => any; | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "hide" | "after-leave" | "created" | "after-enter" | "show" | "itemClick")[], "update:modelValue" | "hide" | "after-leave" | "created" | "after-enter" | "show" | "itemClick", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "hide" | "after-enter" | "after-leave" | "show" | "created" | "itemClick")[], "update:modelValue" | "hide" | "after-enter" | "after-leave" | "show" | "created" | "itemClick", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
title?: any; | ||
@@ -62,8 +62,8 @@ transition?: any; | ||
offset?: any; | ||
popperOptions?: any; | ||
reference?: any; | ||
popper?: any; | ||
reference?: any; | ||
boundariesPadding?: any; | ||
closeDelay?: any; | ||
openDelay?: any; | ||
popperOptions?: any; | ||
listData?: any; | ||
@@ -73,5 +73,5 @@ }>>> & { | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
onHide?: ((...args: any[]) => any) | undefined; | ||
onCreated?: ((...args: any[]) => any) | undefined; | ||
"onAfter-leave"?: ((...args: any[]) => any) | undefined; | ||
onHide?: ((...args: any[]) => any) | undefined; | ||
onShow?: ((...args: any[]) => any) | undefined; | ||
@@ -101,10 +101,10 @@ "onAfter-enter"?: ((...args: any[]) => any) | undefined; | ||
readonly offset?: any; | ||
readonly popperOptions?: any; | ||
readonly reference?: any; | ||
readonly popper?: any; | ||
readonly reference?: any; | ||
readonly boundariesPadding?: any; | ||
readonly closeDelay?: any; | ||
readonly openDelay?: any; | ||
readonly popperOptions?: any; | ||
readonly listData?: any; | ||
}, {}>; | ||
export default _default; |
@@ -24,10 +24,10 @@ import type { IPopoverApi } from '@opentiny/vue-renderless/types/popover.type'; | ||
offset?: any; | ||
content?: any; | ||
popperOptions?: any; | ||
reference?: any; | ||
popper?: any; | ||
reference?: any; | ||
boundariesPadding?: any; | ||
closeDelay?: any; | ||
content?: any; | ||
openDelay?: any; | ||
}>, IPopoverApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "hide" | "after-leave" | "created" | "after-enter" | "show")[], "update:modelValue" | "hide" | "after-leave" | "created" | "after-enter" | "show", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
popperOptions?: any; | ||
}>, IPopoverApi, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, ("update:modelValue" | "hide" | "after-enter" | "after-leave" | "show" | "created")[], "update:modelValue" | "hide" | "after-enter" | "after-leave" | "show" | "created", import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<Readonly<{ | ||
title?: any; | ||
@@ -54,14 +54,14 @@ transition?: any; | ||
offset?: any; | ||
content?: any; | ||
popperOptions?: any; | ||
reference?: any; | ||
popper?: any; | ||
reference?: any; | ||
boundariesPadding?: any; | ||
closeDelay?: any; | ||
content?: any; | ||
openDelay?: any; | ||
popperOptions?: any; | ||
}>>> & { | ||
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; | ||
onHide?: ((...args: any[]) => any) | undefined; | ||
onCreated?: ((...args: any[]) => any) | undefined; | ||
"onAfter-leave"?: ((...args: any[]) => any) | undefined; | ||
onHide?: ((...args: any[]) => any) | undefined; | ||
onShow?: ((...args: any[]) => any) | undefined; | ||
@@ -91,10 +91,10 @@ "onAfter-enter"?: ((...args: any[]) => any) | undefined; | ||
readonly offset?: any; | ||
readonly content?: any; | ||
readonly popperOptions?: any; | ||
readonly reference?: any; | ||
readonly popper?: any; | ||
readonly reference?: any; | ||
readonly boundariesPadding?: any; | ||
readonly closeDelay?: any; | ||
readonly content?: any; | ||
readonly openDelay?: any; | ||
readonly popperOptions?: any; | ||
}, {}>; | ||
export default _default; |
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
39744
5
+ Added@opentiny/vue-icon@~3.14.0
+ Added@opentiny/vue-theme@~3.14.0
+ Added@opentiny/vue-common@3.14.0(transitive)
+ Added@opentiny/vue-icon@3.14.0(transitive)
+ Added@opentiny/vue-locale@3.14.0(transitive)
+ Added@opentiny/vue-renderless@3.14.1(transitive)
+ Added@opentiny/vue-theme@3.14.1(transitive)
+ Added@opentiny/vue-theme-mobile@3.14.2(transitive)
- Removed@opentiny/vue-common@3.13.1(transitive)
- Removed@opentiny/vue-locale@3.13.0(transitive)
- Removed@opentiny/vue-renderless@3.13.2(transitive)
- Removed@opentiny/vue-theme@3.13.3(transitive)
- Removed@opentiny/vue-theme-mobile@3.13.0(transitive)
Updated@opentiny/vue-common@~3.14.0