New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pcln-design-system

Package Overview
Dependencies
Maintainers
5
Versions
544
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pcln-design-system - npm Package Compare versions

Comparing version 1.0.0-67 to 1.0.0-68

44

dist/FormField.js

@@ -147,5 +147,3 @@ 'use strict';

_react2.default.Children.forEach(children, function (child, index) {
if (!child) {
return;
}
if (!child) return;

@@ -155,23 +153,23 @@ var type = child.type,

if (type === _Label2.default) {
LabelChild = child;
switch (type) {
case _Label2.default:
LabelChild = child;
break;
case _Input2.default:
case _Select2.default:
position = index;
FieldChild = child;
fieldId = props.id;
// For aria-label when Label child is not rendered
fieldPlaceholder = props.placeholder;
break;
case _Icon2.default:
if (position < 0) {
BeforeIcon = child;
iconAdjustment = props.size - 24;
} else {
AfterIcon = child;
}
break;
}
if (type === _Input2.default || type === _Select2.default) {
position = index;
FieldChild = child;
fieldId = props.id;
// For aria-label when Label child is not rendered
fieldPlaceholder = props.placeholder;
}
if (type === _Icon2.default) {
if (position < 0) {
BeforeIcon = child;
iconAdjustment = props.size - 24;
} else {
AfterIcon = child;
}
}
});

@@ -178,0 +176,0 @@

{
"name": "pcln-design-system",
"version": "1.0.0-67",
"version": "1.0.0-68",
"description": "Priceline Design System",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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