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

onu-ui

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onu-ui - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8-beta.0

89

dist/index.js

@@ -36,3 +36,3 @@ // src/plugin.ts

// ../../node_modules/.pnpm/@unocss+core@0.45.8/node_modules/@unocss/core/dist/index.mjs
// ../../node_modules/.pnpm/@unocss+core@0.45.13/node_modules/@unocss/core/dist/index.mjs
function escapeRegExp(string) {

@@ -112,3 +112,3 @@ return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");

// ../../node_modules/.pnpm/@unocss+preset-mini@0.45.8/node_modules/@unocss/preset-mini/dist/chunks/colors.mjs
// ../../node_modules/.pnpm/@unocss+preset-mini@0.45.13/node_modules/@unocss/preset-mini/dist/shared/preset-mini.d6dbef00.mjs
var directionMap = {

@@ -675,2 +675,3 @@ "l": ["-left"],

"fsc": "flex justify-start items-center",
"fse": "flex justify-start items-end",
"fe": "flex justify-end",

@@ -720,21 +721,30 @@ "fec": "flex justify-end items-center",

rules: [
[/^o-(.*)$/, ([, body], { theme }) => {
var _a;
const color = parseColor$1(body, theme);
if (((_a = color == null ? void 0 : color.cssColor) == null ? void 0 : _a.type) === "rgb" && color.cssColor.components) {
return {
"--onu-c-context": `${color.cssColor.components.join(",")}`
};
[
/^o-(.*)$/,
([, body], { theme }) => {
var _a;
const color = parseColor$1(body, theme);
if (((_a = color == null ? void 0 : color.cssColor) == null ? void 0 : _a.type) === "rgb" && color.cssColor.components) {
return {
"--onu-c-context": `${color.cssColor.components.join(",")}`
};
}
}
}],
],
["o-dashed", { "border-style": "dashed" }],
["o-solid", {
"background-color": "rgba(var(--onu-c-context), 1) !important",
"border-color": "rgba(var(--onu-c-context), 1)",
"color": "white !important"
}],
["o-disabled", {
opacity: 0.4,
cursor: "not-allowed"
}]
[
"o-solid",
{
"background-color": "rgba(var(--onu-c-context), 1) !important",
"border-color": "rgba(var(--onu-c-context), 1)",
"color": "white !important"
}
],
[
"o-disabled",
{
opacity: 0.4,
cursor: "not-allowed"
}
]
],

@@ -787,3 +797,3 @@ variants: [

"o-button-lg": "px-4 h-9 text-md shadow-lg",
"o-avatar-base": "fcc overflow-hidden shadow-sm aspect-square rounded-full bg-context text-white",
"o-avatar-base": "fcc of-hidden shadow-sm aspect-square rounded-full bg-context text-white",
"o-avatar-mode-bg": "bg-cover",

@@ -796,3 +806,17 @@ "o-avatar-mode-img": "object-cover select-none",

"o-avatar-group-base": "flex space-x--4 children-relative",
"o-card-base": "rounded-lg shadow-lg p-8 bg-gradient-from-rgba(255, 255, 255, 0.2) bg-gradient-to-rgba(255, 255, 255, 0.035) backdrop-blur-lg overflow-hidden",
"o-card-bg": "bg-gradient-from-rgba(255, 255, 255, 0.2) bg-gradient-to-rgba(255, 255, 255, 0.035) backdrop-blur-lg",
"o-card-base": "o-transition list-none relative rounded-md c-context w-full of-hidden",
"o-card": "o-card-base h-fit",
"o-card-md": "rounded-md shadow-md text-sm",
"o-card-sm": "rounded-sm shadow-sm text-xs",
"o-card-cover": "children-w-full children-aspect-video",
"o-card-header": "fb px-4 py-2.5",
"o-card-header-wrapper": "flex flex-col flex-1 gap-1.5",
"o-card-header-title": "text-md",
"o-card-header-description": "text-xs c-context:60 break-all",
"o-card-header-extra": "",
"o-card-body": "p-4 pt-1.5 leading-normal text-sm",
"o-card-actions": "p-4 pt-2",
"o-card-bordered": "border b-context:50 important-shadow-none hover-important-shadow-md",
"o-card-hoverable": "hover-translate-y--1",
"o-icon-base": "c-context text-md",

@@ -814,3 +838,9 @@ "o-switch": "!animate-count-1 relative flex rounded-999px cursor-pointer items-center bg-context",

"o-switch-medium-slot-uncheck": "mr-0.25em ml-1.25em",
"o-switch-large-slot-uncheck": "mr-0.25em ml-1.5em"
"o-switch-large-slot-uncheck": "mr-0.25em ml-1.5em",
"o-checkbox-base": "fsc gap-1 inline-flex cursor-pointer",
"o-checkbox": "o-transition text-md rounded border fcc peer-checked-(bg-context b-context scale-full children-scale-full)",
"o-checkbox-icon": "o-transition scale-0 text-(white md)",
"o-checkbox-md": "w-4 h-4",
"o-checkbox-lg": "w-5 h-5",
"o-checkbox-disabled": "o-disabled"
},

@@ -852,3 +882,15 @@ [/^o-avatar-group-(.*)$/, ([, s]) => {

// ../utils/index.ts
// ../utils/shared/common.ts
function hash(str) {
let i;
let l;
let hval = 2166136261;
for (i = 0, l = str.length; i < l; i++) {
hval ^= str.charCodeAt(i);
hval += (hval << 1) + (hval << 4) + (hval << 7) + (hval << 8) + (hval << 24);
}
return `00000${(hval >>> 0).toString(36)}`.slice(-6);
}
// ../utils/shared/is.ts
var toTypeString = (v) => Object.prototype.toString.call(v);

@@ -876,2 +918,3 @@ var isDef = (val) => typeof val !== "undefined";

src_default as default,
hash,
isArray,

@@ -878,0 +921,0 @@ isBoolean,

{
"name": "onu-ui",
"type": "module",
"version": "1.0.7",
"version": "1.0.8-beta.0",
"description": "Onu-UI for web glassmorphism components generate by UnoCSS.",

@@ -35,3 +35,3 @@ "keywords": [

"dependencies": {
"@onu-ui/components": "1.0.7"
"@onu-ui/components": "1.0.8-beta.0"
},

@@ -38,0 +38,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

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