New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vueless

Package Overview
Dependencies
Maintainers
0
Versions
841
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vueless - npm Package Compare versions

Comparing version 0.0.797 to 0.0.798

2

index.ts

@@ -12,3 +12,3 @@ /* eslint-disable prettier/prettier */

export { cx, cva, compose, getDefaults } from "./utils/ui.ts";
export { getArgTypes, getSlotNames, getSlotsFragment, getSource } from "./utils/storybook.ts";
export { getArgTypes, getSlotNames, getSlotsFragment, getSource, getDocsDescription } from "./utils/storybook.ts";
export { isSSR, isCSR, getRandomId, setTitle, createDebounce, hasSlotContent } from "./utils/helper.ts";

@@ -15,0 +15,0 @@ export { isMac, isPWA, isIOS, isAndroid, isMobileApp, isWindows } from "./utils/platform.ts";

{
"name": "vueless",
"version": "0.0.797",
"version": "0.0.798",
"license": "MIT",

@@ -5,0 +5,0 @@ "description": "Vue Styleless UI Component Library, powered by Tailwind CSS.",

@@ -64,23 +64,2 @@ import { COMPONENTS } from "../constants.js";

/**
* Create story param config to show component description with a link on GitHub.
*/
export function getDocsDescription(componentName: string | undefined) {
if (!componentName) {
return {};
}
let viewOnGitHub = "";
if (COMPONENTS[componentName as ComponentNames]) {
viewOnGitHub = `| <a href="https://github.com/vuelessjs/vueless/tree/main/src/${COMPONENTS[componentName as ComponentNames]}" target="_blank">View on GitHub</a>`;
}
return {
description: {
component: `The \`${componentName}\` component. ${viewOnGitHub}`,
},
};
}
export function getArgTypes(componentName: string | undefined) {

@@ -328,1 +307,22 @@ if (!componentName) return;

}
/**
* Create story param config to show component description with a link on GitHub.
*/
export function getDocsDescription(componentName: string | undefined) {
if (!componentName) {
return {};
}
let viewOnGitHub = "";
if (COMPONENTS[componentName as ComponentNames]) {
viewOnGitHub = `| <a href="https://github.com/vuelessjs/vueless/tree/main/src/${COMPONENTS[componentName as ComponentNames]}" target="_blank">View on GitHub</a>`;
}
return {
description: {
component: `The \`${componentName}\` component. ${viewOnGitHub}`,
},
};
}
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