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

@nativescript-community/ui-material-slider

Package Overview
Dependencies
Maintainers
19
Versions
251
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 7.2.11 to 7.2.12

6

package.json
{
"name": "@nativescript-community/ui-material-slider",
"version": "7.2.11",
"version": "7.2.12",
"description": "Material Design Sliders allow users to make selections from a range of values.",

@@ -49,5 +49,5 @@ "main": "./slider",

"dependencies": {
"@nativescript-community/ui-material-core": "^7.2.11"
"@nativescript-community/ui-material-core": "^7.2.12"
},
"gitHead": "2d8613c50d7388aa86eb9e7ff1613d322b3a432d"
"gitHead": "6a5bdc8e9ce9e545feebf93fb624ed7055feaebc"
}

@@ -1,5 +0,6 @@

import { cssProperty, rippleColorProperty, themer } from '@nativescript-community/ui-material-core';
import { cssProperty, rippleColorAlphaProperty, rippleColorProperty, themer } from '@nativescript-community/ui-material-core';
import { getColorStateList, getEnabledColorStateList, state } from '@nativescript-community/ui-material-core/android/utils';
import { CoercibleProperty, Color, Property, View, backgroundColorProperty, backgroundInternalProperty, colorProperty } from '@nativescript/core';
import { stepSizeProperty, thumbColorProperty, trackBackgroundColorProperty, trackFillColorProperty } from './cssproperties';
import { getRippleColor } from '@nativescript-community/ui-material-core/index.android';
let ASlider;

@@ -177,4 +178,9 @@ const DEFAULT_MIN = 0;

[rippleColorProperty.setNative](color) {
this.nativeViewProtected.setHaloTintList(color ? getColorStateList(color.android) : null);
this.nativeViewProtected.setHaloTintList(color ? getColorStateList(getRippleColor(color, this.rippleColorAlpha)) : null);
}
[rippleColorAlphaProperty.setNative](value) {
if (this.rippleColor) {
this[rippleColorProperty.setNative](this.rippleColor);
}
}
[thumbColorProperty.setNative](color) {

@@ -181,0 +187,0 @@ this.nativeViewProtected.setThumbTintList(sliderGetEnabledColorStateList(color));

@@ -1,2 +0,2 @@

import { elevationProperty, rippleColorProperty, themer } from '@nativescript-community/ui-material-core';
import { elevationProperty, getRippleColor, rippleColorAlphaProperty, rippleColorProperty, themer } from '@nativescript-community/ui-material-core';
import { Color, backgroundColorProperty, colorProperty } from '@nativescript/core';

@@ -37,4 +37,9 @@ import { maxValueProperty } from '@nativescript/core/ui/progress';

[rippleColorProperty.setNative](color) {
this.nativeViewProtected.rippleColor = color ? color.ios.colorWithAlphaComponent(0.26) : null;
this.nativeViewProtected.rippleColor = color ? getRippleColor(color, this.rippleColorAlpha) : null;
}
[rippleColorAlphaProperty.setNative](value) {
if (this.rippleColor) {
this[rippleColorProperty.setNative](this.rippleColor);
}
}
[thumbColorProperty.setNative](color) {

@@ -41,0 +46,0 @@ this.nativeViewProtected.setThumbColorForState(color ? color.ios : null, 0 /* UIControlState.Normal */);

Sorry, the diff of this file is not supported yet

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