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

nav-frontend-skjema

Package Overview
Dependencies
Maintainers
2
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nav-frontend-skjema - npm Package Compare versions

Comparing version 4.0.4 to 4.0.5

2

lib/checkboks-panel.d.ts

@@ -5,3 +5,3 @@ import * as React from "react";

label: React.ReactNode;
subtext?: string;
subtext?: React.ReactNode;
feil?: boolean;

@@ -8,0 +8,0 @@ }

@@ -10,2 +10,3 @@ import * as React from "react";

feil?: boolean;
subtext?: React.ReactNode;
}

@@ -12,0 +13,0 @@ export interface RadioPanelState {

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

render() {
const _a = this.props, { id, label, checked, disabled, radioRef, feil } = _a, other = __rest(_a, ["id", "label", "checked", "disabled", "radioRef", "feil"]);
const _a = this.props, { id, label, checked, disabled, radioRef, feil, subtext } = _a, other = __rest(_a, ["id", "label", "checked", "disabled", "radioRef", "feil", "subtext"]);
const { hasFocus } = this.state;

@@ -64,3 +64,4 @@ const inputId = id || (0, nav_frontend_js_utils_1.guid)();

React.createElement("input", Object.assign({ id: inputId, className: "inputPanel__field", type: "radio", checked: checked, "aria-checked": checked, disabled: disabled, "aria-invalid": !!context.feil, "aria-errormessage": context.feilmeldingId, ref: radioRef }, other, { onFocus: () => this.toggleOutline(), onBlur: () => this.toggleOutline() })),
React.createElement("span", { className: "inputPanel__label" }, label)))));
React.createElement("span", { className: "inputPanel__label" }, label),
subtext && React.createElement("span", { className: "inputPanel__subtext" }, subtext)))));
}

@@ -67,0 +68,0 @@ }

{
"name": "nav-frontend-skjema",
"version": "4.0.4",
"version": "4.0.5",
"main": "lib/index.js",

@@ -39,3 +39,3 @@ "types": "lib/index.d.ts",

},
"gitHead": "5fd28b01316ea6651a8983b87aaaf7d29db3e797"
"gitHead": "7a9820ffa6e0c791a3de10e38ba2722ec99e1c46"
}

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