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

@nativescript-community/ui-material-core

Package Overview
Dependencies
Maintainers
19
Versions
252
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript-community/ui-material-core - npm Package Compare versions

Comparing version 7.2.12 to 7.2.13

6

index.android.js

@@ -190,9 +190,9 @@ import { Background, Button, Color, Length, PercentLength, Utils, View, androidDynamicElevationOffsetProperty, androidElevationProperty, backgroundInternalProperty } from '@nativescript/core';

export function install() { }
export function getRippleColor(color, alpha = 61.5) {
export function getRippleColor(color, alpha = 0) {
if (color) {
const temp = color instanceof Color ? color : new Color(color);
if (temp.a !== 255) {
if (temp.a !== 255 && alpha === 0) {
return temp.android;
}
return temp.setAlpha(alpha).android;
return temp.setAlpha(alpha || 61.5).android;
}

@@ -199,0 +199,0 @@ return null;

{
"name": "@nativescript-community/ui-material-core",
"version": "7.2.12",
"version": "7.2.13",
"description": "Material Core component",

@@ -41,3 +41,3 @@ "main": "./index",

"readmeFilename": "README.md",
"gitHead": "6a5bdc8e9ce9e545feebf93fb624ed7055feaebc"
"gitHead": "28202deef8ed033ef61b1e765f5e4d6a1fc56c52"
}

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