Socket
Socket
Sign inDemoInstall

@chasi/ui

Package Overview
Dependencies
40
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.93 to 0.2.94

2

dist/CNotify/CNotifier.d.ts
type CNotifierParamsObj = {
title: string;
title?: string;
text?: string;

@@ -4,0 +4,0 @@ html?: string;

@@ -13,4 +13,3 @@ export { default as CIcon } from './CIcon/CIcon.svelte';

export { default as CAvatar } from './CAvatar/CAvatar.svelte';
export * from './CGraph/index.js';
export type { Rule } from './CForms/rules.js';
export type { ThemeGeneratorConfig } from './theme.js';

@@ -13,2 +13,1 @@ export { default as CIcon } from './CIcon/CIcon.svelte';

export { default as CAvatar } from './CAvatar/CAvatar.svelte';
export * from './CGraph/index.js';
export declare function isEqual(a: any, b: any): boolean;
export declare function distance(p1: [number, number], p2: [number, number]): number;
export declare function isInside(point: [number, number], polygonVertices: [number, number][]): boolean;
export declare function randomNumber(min?: number, max?: number): number;
export declare function polyArea(vertices: [number, number][]): number;

@@ -10,2 +9,4 @@ export declare function max(data: number[]): number;

export declare function zoom(point: number, z: number, centroid: number): number;
export declare function randomString(): string;
export declare function randomNumber(min?: number, max?: number): number;
export declare function randomColor(): string;

@@ -12,0 +13,0 @@ export declare function ticks(min: number, max: number, count: number): number[];

@@ -50,5 +50,2 @@ import d3Ticks from './CGraph/ticks.js';

}
export function randomNumber(min = 0, max = 1) {
return Math.random() * (max - min) + min;
}
export function polyArea(vertices) {

@@ -93,2 +90,8 @@ let total = 0;

}
export function randomString() {
return Math.random().toString(36).substring(2, 9);
}
export function randomNumber(min = 0, max = 1) {
return Math.random() * (max - min) + min;
}
export function randomColor() {

@@ -95,0 +98,0 @@ return `hsla(${Math.floor(Math.random() * 360)}, 100%, 50%, 1)`;

{
"name": "@chasi/ui",
"version": "0.2.93",
"version": "0.2.94",
"bin": {

@@ -5,0 +5,0 @@ "gen-theme": "./dist/bin/theme.js"

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc