react-likert-scale
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -987,3 +987,4 @@ import React from 'react'; | ||
question = _this$props.question, | ||
responses = _this$props.responses; | ||
responses = _this$props.responses, | ||
fieldsetId = _this$props.fieldsetId; | ||
const sha = String(sha1(question)).substring(0, 7); | ||
@@ -1014,2 +1015,3 @@ const radios = responses.map((response, idx) => { | ||
return React.createElement("fieldset", { | ||
id: fieldsetId || Math.random().toString(36).substr(2), | ||
className: `likertScale${this.state.isKeyboardUser ? ' isKeyboardUser' : ''}` | ||
@@ -1016,0 +1018,0 @@ }, React.createElement("legend", null, question), React.createElement("div", { |
@@ -993,3 +993,4 @@ (function (global, factory) { | ||
question = _this$props.question, | ||
responses = _this$props.responses; | ||
responses = _this$props.responses, | ||
fieldsetId = _this$props.fieldsetId; | ||
const sha = String(sha1(question)).substring(0, 7); | ||
@@ -1020,2 +1021,3 @@ const radios = responses.map((response, idx) => { | ||
return React.createElement("fieldset", { | ||
id: fieldsetId || Math.random().toString(36).substr(2), | ||
className: `likertScale${this.state.isKeyboardUser ? ' isKeyboardUser' : ''}` | ||
@@ -1022,0 +1024,0 @@ }, React.createElement("legend", null, question), React.createElement("div", { |
{ | ||
"name": "react-likert-scale", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "A React-based Likert Scale to collect data.", | ||
@@ -5,0 +5,0 @@ "main": "dist/likert.umd.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67348
1808