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.800 to 0.0.801

2

package.json
{
"name": "vueless",
"version": "0.0.800",
"version": "0.0.801",
"license": "MIT",

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

@@ -52,3 +52,3 @@ export default /*tw*/ {

bodyRowAfter: "!p-0",
bodyRowDateDivider: "",
bodyRowDateDivider: "first:hidden",
bodyRowCheckedDateDivider: "{>bodyRowChecked} {>bodyRowChecked}",

@@ -55,0 +55,0 @@ bodyCellBase: {

@@ -67,12 +67,26 @@ import type { Meta, StoryFn } from "@storybook/vue3";

function getDateDividerRow() {
return {
id: getRandomId(),
isChecked: false,
rowDate: new Date().toString(),
key_1: "Info",
key_2: "Statistics",
key_3: "Reports",
key_4: "Discounts",
};
function getDateDividerRow(rowAmount: number) {
return Array(rowAmount)
.fill({})
.map((_, index) => {
let rowDate = new Date().toString();
if (index > Math.round(rowAmount / 2)) {
const date = new Date();
date.setFullYear(date.getFullYear() + 1);
rowDate = date.toDateString();
}
return {
id: getRandomId(),
isChecked: false,
rowDate,
key_1: "Info",
key_2: "Statistics",
key_3: "Reports",
key_4: "Discounts",
};
});
}

@@ -331,12 +345,13 @@

export const DateDivider = DefaultTemplate.bind({});
DateDivider.args = { dateDivider: true, row: getDateDividerRow };
DateDivider.args = { dateDivider: true, rows: getDateDividerRow(10) };
export const DateDividerCustomLabel = DefaultTemplate.bind({});
const dateDividerCustomLabelRows = getDateDividerRow(10);
DateDividerCustomLabel.args = {
rows: Array(10)
.fill({})
.map(() => getDateDividerRow()),
rows: dateDividerCustomLabelRows,
dateDivider: [
{
date: new Date().toString(),
date: dateDividerCustomLabelRows.at(6)!.rowDate,
label: "Custom label for specific date",

@@ -343,0 +358,0 @@ config: { label: "!text-orange-400", divider: "!border-orange-300" },

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