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

@opentiny/vue-common

Package Overview
Dependencies
Maintainers
0
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@opentiny/vue-common - npm Package Compare versions

Comparing version 2.17.0 to 2.18.0

10

package.json
{
"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

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