@opentiny/vue-common
Advanced tools
Comparing version 2.17.0 to 2.18.0
{ | ||
"name": "@opentiny/vue-common", | ||
"version": "2.17.0", | ||
"version": "2.18.0", | ||
"description": "An enterprise-class UI component library, support both Vue.js 2 and Vue.js 3, as well as PC and mobile.", | ||
@@ -30,6 +30,6 @@ "homepage": "https://opentiny.design/tiny-vue", | ||
"dependencies": { | ||
"@opentiny/vue-locale": "~2.17.0", | ||
"@opentiny/vue-renderless": "~3.17.0", | ||
"@opentiny/vue-theme": "~3.17.0", | ||
"@opentiny/vue-theme-mobile": "~3.17.0", | ||
"@opentiny/vue-locale": "~2.18.0", | ||
"@opentiny/vue-renderless": "~3.18.0", | ||
"@opentiny/vue-theme": "~3.18.0", | ||
"@opentiny/vue-theme-mobile": "~3.18.0", | ||
"tailwind-merge": "^1.8.0", | ||
@@ -36,0 +36,0 @@ "@vue/composition-api": "1.7.2" |
@@ -7,2 +7,16 @@ interface CssClassObject { | ||
/** | ||
* 简单合并 tailwind 类对象为字符串值 | ||
* | ||
* @param cssClassObject tailwind 类对象 | ||
* @returns string | ||
*/ | ||
export declare const stringifyCssClassObject: (cssClassObject: CssClassObject) => string; | ||
/** | ||
* 简单合并 tailwind 类数组为字符串值 | ||
* | ||
* @param cssClassArray tailwind 类数组 | ||
* @returns string | ||
*/ | ||
export declare const stringifyCssClassArray: (cssClassArray: CssClassArray) => string; | ||
/** | ||
* 简单合并 tailwind 类对象为字符串值,去重处理留给 tailwind-merge 处理 | ||
@@ -13,3 +27,10 @@ * | ||
*/ | ||
export declare const stringifyCssClass: (cssClasses: Array<CssClass>) => string; | ||
export declare const stringifyCssClass: (cssClasses: Array<CssClass> | CssClass) => string; | ||
/** | ||
* 对类名做一个简单去重处理 | ||
* | ||
* @param cssClasses 类集合 | ||
* @returns string | ||
*/ | ||
export declare const deduplicateCssClass: (cssClasses: Array<CssClass> | CssClass) => string; | ||
export {}; |
@@ -5,2 +5,3 @@ import hooks from './adapter'; | ||
import { parseVnode, isEmptyVnode, useRouter, isVnode } from './adapter'; | ||
import { stringifyCssClass, stringifyCssClassObject, stringifyCssClassArray, deduplicateCssClass } from './csscls'; | ||
import { defineComponent, isVue2, isVue3 } from './adapter'; | ||
@@ -10,3 +11,3 @@ import { useBreakpoint } from './breakpoint'; | ||
export declare const useInstanceSlots: () => void; | ||
export declare const useRelation: ({ relationKey, relationContainer, onChange, childrenKey }?: { | ||
export declare const useRelation: ({ relationKey, relationContainer, onChange, childrenKey, delivery }?: { | ||
relationKey: any; | ||
@@ -16,5 +17,9 @@ relationContainer: any; | ||
childrenKey: any; | ||
delivery: any; | ||
}) => { | ||
children: any; | ||
index: any; | ||
delivery: any; | ||
}; | ||
export { stringifyCssClass, stringifyCssClassObject, stringifyCssClassArray, deduplicateCssClass }; | ||
export { useBreakpoint, useDefer }; | ||
@@ -21,0 +26,0 @@ export { version } from '../package.json'; |
Sorry, the diff of this file is too big to display
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
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
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
125027
4063
+ Added@opentiny/vue-locale@2.18.0(transitive)
+ Added@opentiny/vue-renderless@3.18.6(transitive)
+ Added@opentiny/vue-theme@3.18.4(transitive)
+ Added@opentiny/vue-theme-mobile@3.18.0(transitive)
- Removed@opentiny/vue-locale@2.17.0(transitive)
- Removed@opentiny/vue-renderless@3.17.6(transitive)
- Removed@opentiny/vue-theme@3.17.5(transitive)
- Removed@opentiny/vue-theme-mobile@3.17.0(transitive)
Updated@opentiny/vue-locale@~2.18.0
Updated@opentiny/vue-theme@~3.18.0