Socket
Socket
Sign inDemoInstall

@paprika/radio

Package Overview
Dependencies
11
Maintainers
3
Versions
111
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.22 to 1.0.23-next.0

6

CHANGELOG.md
# Changelog
## 1.0.23-next.0
### Patch Changes
- b7b291a: Added hook so user can update checkIndex via ref
## 1.0.22

@@ -4,0 +10,0 @@

12

lib/components/Group/Group.js

@@ -51,3 +51,3 @@ "use strict";

function Group(props) {
var Group = /*#__PURE__*/_react["default"].forwardRef(function (props, ref) {
var canDeselect = props.canDeselect,

@@ -92,2 +92,10 @@ children = props.children,

_react["default"].useImperativeHandle(ref, function () {
return {
updateCheckedIndex: function updateCheckedIndex(index) {
setCheckedIndex(index);
}
};
});
return /*#__PURE__*/_react["default"].createElement("div", (0, _extends2["default"])({

@@ -112,3 +120,3 @@ "data-pka-anchor": "radio.group"

}));
}
});

@@ -115,0 +123,0 @@ Group.displayName = "Radio.Group";

2

package.json
{
"name": "@paprika/radio",
"version": "1.0.22",
"version": "1.0.23-next.0",
"description": "Radio component displays a radio input and label text beside it. When clicked it selects the input and deselects any other radio input in its group",

@@ -5,0 +5,0 @@ "author": "@paprika",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc