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

nav-frontend-alertstriper

Package Overview
Dependencies
Maintainers
20
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nav-frontend-alertstriper - npm Package Compare versions

Comparing version 3.0.9 to 3.0.10

5

lib/alertstripe.d.ts
import * as React from 'react';
import 'nav-frontend-alertstriper-style';
export declare type AlertStripeType = 'info' | 'suksess' | 'advarsel' | 'feil';
export declare type AlertStripeForm = 'inline' | 'default';
export interface AlertStripeProps {

@@ -23,2 +24,6 @@ /**

type: AlertStripeType;
/**
* Form - enten 'default' eller 'inline'
*/
form?: AlertStripeForm;
}

@@ -25,0 +30,0 @@ declare type Props = AlertStripeBaseProps & React.HTMLAttributes<HTMLDivElement>;

15

lib/alertstripe.js

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

require("nav-frontend-alertstriper-style");
var cls = function cls(type, className) {
var cls = function cls(type, form, className) {
return classNames('alertstripe', className, {

@@ -26,3 +26,4 @@ 'alertstripe--info': type === 'info',

'alertstripe--advarsel': type === 'advarsel',
'alertstripe--feil': type === 'feil'
'alertstripe--feil': type === 'feil',
'alertstripe--inline': form === 'inline'
});

@@ -57,8 +58,9 @@ };

type = _props.type,
form = _props.form,
size = _props.size,
className = _props.className,
children = _props.children,
props = _objectWithoutProperties(_props, ["type", "size", "className", "children"]);
props = _objectWithoutProperties(_props, ["type", "form", "size", "className", "children"]);
return React.createElement("div", Object.assign({ className: cls(type, className) }, props), React.createElement("span", { className: "alertstripe__ikon", "aria-label": type }, React.createElement(nav_frontend_ikoner_assets_1.default, { kind: ikonKind(type), size: size })), React.createElement(nav_frontend_typografi_1.Normaltekst, { className: "alertstripe__tekst", tag: "div" }, children));
return React.createElement("div", Object.assign({ className: cls(type, form, className) }, props), React.createElement("span", { className: "alertstripe__ikon", "aria-label": type }, React.createElement(nav_frontend_ikoner_assets_1.default, { kind: ikonKind(type), size: size })), React.createElement(nav_frontend_typografi_1.Normaltekst, { className: "alertstripe__tekst", tag: "div" }, children));
}

@@ -78,3 +80,4 @@ }]);

className: undefined,
size: '1.5em'
size: '1.5em',
form: 'default'
};

@@ -90,2 +93,2 @@ exports.default = AlertStripe;

exports.AlertStripeFeil = feil_alertstripe_1.default;
AlertStripe.__docgenInfo = {"description":"","displayName":"AlertStripe","methods":[],"props":{"type":{"defaultValue":null,"description":"Varianter å velge mellom","name":"type","parent":{"fileName":"nav-frontend-moduler/packages/node_modules/nav-frontend-alertstriper/src/alertstripe.tsx","name":"AlertStripeBaseProps"},"required":true,"type":{"name":"AlertStripeType"}},"children":{"defaultValue":null,"description":"-","name":"children","parent":{"fileName":"nav-frontend-moduler/packages/node_modules/nav-frontend-alertstriper/src/alertstripe.tsx","name":"AlertStripeProps"},"required":true,"type":{"name":"string | number | boolean | {} | ReactElement<any, string | ((props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<...>)> | ... 155 more ... | (ReactChildren & ... 1 more ... & ReactNodeArray)"}},"size":{"defaultValue":null,"description":"-","name":"size","parent":{"fileName":"nav-frontend-moduler/packages/node_modules/nav-frontend-alertstriper/src/alertstripe.tsx","name":"AlertStripeProps"},"required":false,"type":{"name":"ReactText"}},"className":{"defaultValue":null,"description":"-","name":"className","parent":{"fileName":"nav-frontend-moduler/packages/node_modules/nav-frontend-alertstriper/src/alertstripe.tsx","name":"AlertStripeProps"},"required":false,"type":{"name":"string"}},"inputMode":{"defaultValue":null,"description":"Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute","name":"inputMode","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"HTMLAttributes"},"required":false,"type":{"name":"\"none\" | \"text\" | \"tel\" | \"url\" | \"email\" | \"numeric\" | \"decimal\" | \"search\""}},"is":{"defaultValue":null,"description":"Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is","name":"is","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"HTMLAttributes"},"required":false,"type":{"name":"string"}},"aria-activedescendant":{"defaultValue":null,"description":"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.","name":"aria-activedescendant","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-atomic":{"defaultValue":null,"description":"Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.","name":"aria-atomic","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-autocomplete":{"defaultValue":null,"description":"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be\npresented if they are made.","name":"aria-autocomplete","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"none\" | \"inline\" | \"list\" | \"both\""}},"aria-busy":{"defaultValue":null,"description":"Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.","name":"aria-busy","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-checked":{"defaultValue":null,"description":"Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.","name":"aria-checked","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"mixed\""}},"aria-colcount":{"defaultValue":null,"description":"Defines the total number of columns in a table, grid, or treegrid.\n@see aria-colindex.","name":"aria-colcount","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-colindex":{"defaultValue":null,"description":"Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.\n@see aria-colcount\n@see aria-colspan.","name":"aria-colindex","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-colspan":{"defaultValue":null,"description":"Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-colindex\n@see aria-rowspan.","name":"aria-colspan","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-controls":{"defaultValue":null,"description":"Identifies the element (or elements) whose contents or presence are controlled by the current element.\n@see aria-owns.","name":"aria-controls","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-current":{"defaultValue":null,"description":"Indicates the element that represents the current item within a container or set of related elements.","name":"aria-current","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"page\" | \"step\" | \"location\" | \"date\" | \"time\""}},"aria-describedby":{"defaultValue":null,"description":"Identifies the element (or elements) that describes the object.\n@see aria-labelledby","name":"aria-describedby","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-details":{"defaultValue":null,"description":"Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.","name":"aria-details","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-disabled":{"defaultValue":null,"description":"Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.\n@see aria-hidden\n@see aria-readonly.","name":"aria-disabled","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-dropeffect":{"defaultValue":null,"description":"Indicates what functions can be performed when a dragged object is released on the drop target.\n@deprecated in ARIA 1.1","name":"aria-dropeffect","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"none\" | \"copy\" | \"execute\" | \"link\" | \"move\" | \"popup\""}},"aria-errormessage":{"defaultValue":null,"description":"Identifies the element that provides an error message for the object.\n@see aria-invalid\n@see aria-describedby.","name":"aria-errormessage","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-expanded":{"defaultValue":null,"description":"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.","name":"aria-expanded","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-flowto":{"defaultValue":null,"description":"Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.","name":"aria-flowto","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-grabbed":{"defaultValue":null,"description":"Indicates an element's \"grabbed\" state in a drag-and-drop operation.\n@deprecated in ARIA 1.1","name":"aria-grabbed","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-haspopup":{"defaultValue":null,"description":"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.","name":"aria-haspopup","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"menu\" | \"listbox\" | \"tree\" | \"grid\" | \"dialog\""}},"aria-hidden":{"defaultValue":null,"description":"Indicates whether the element is exposed to an accessibility API.\n@see aria-disabled.","name":"aria-hidden","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-invalid":{"defaultValue":null,"description":"Indicates the entered value does not conform to the format expected by the application.\n@see aria-errormessage.","name":"aria-invalid","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"grammar\" | \"spelling\""}},"aria-keyshortcuts":{"defaultValue":null,"description":"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.","name":"aria-keyshortcuts","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-label":{"defaultValue":null,"description":"Defines a string value that labels the current element.\n@see aria-labelledby.","name":"aria-label","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-labelledby":{"defaultValue":null,"description":"Identifies the element (or elements) that labels the current element.\n@see aria-describedby.","name":"aria-labelledby","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-level":{"defaultValue":null,"description":"Defines the hierarchical level of an element within a structure.","name":"aria-level","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-live":{"defaultValue":null,"description":"Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.","name":"aria-live","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"off\" | \"assertive\" | \"polite\""}},"aria-modal":{"defaultValue":null,"description":"Indicates whether an element is modal when displayed.","name":"aria-modal","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-multiline":{"defaultValue":null,"description":"Indicates whether a text box accepts multiple lines of input or only a single line.","name":"aria-multiline","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-multiselectable":{"defaultValue":null,"description":"Indicates that the user may select more than one item from the current selectable descendants.","name":"aria-multiselectable","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-orientation":{"defaultValue":null,"description":"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.","name":"aria-orientation","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"horizontal\" | \"vertical\""}},"aria-owns":{"defaultValue":null,"description":"Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship\nbetween DOM elements where the DOM hierarchy cannot be used to represent the relationship.\n@see aria-controls.","name":"aria-owns","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-placeholder":{"defaultValue":null,"description":"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.\nA hint could be a sample value or a brief description of the expected format.","name":"aria-placeholder","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-posinset":{"defaultValue":null,"description":"Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-setsize.","name":"aria-posinset","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-pressed":{"defaultValue":null,"description":"Indicates the current \"pressed\" state of toggle buttons.\n@see aria-checked\n@see aria-selected.","name":"aria-pressed","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"mixed\""}},"aria-readonly":{"defaultValue":null,"description":"Indicates that the element is not editable, but is otherwise operable.\n@see aria-disabled.","name":"aria-readonly","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-relevant":{"defaultValue":null,"description":"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n@see aria-atomic.","name":"aria-relevant","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"text\" | \"additions\" | \"additions text\" | \"all\" | \"removals\""}},"aria-required":{"defaultValue":null,"description":"Indicates that user input is required on the element before a form may be submitted.","name":"aria-required","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-roledescription":{"defaultValue":null,"description":"Defines a human-readable, author-localized description for the role of an element.","name":"aria-roledescription","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-rowcount":{"defaultValue":null,"description":"Defines the total number of rows in a table, grid, or treegrid.\n@see aria-rowindex.","name":"aria-rowcount","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-rowindex":{"defaultValue":null,"description":"Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.\n@see aria-rowcount\n@see aria-rowspan.","name":"aria-rowindex","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-rowspan":{"defaultValue":null,"description":"Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-rowindex\n@see aria-colspan.","name":"aria-rowspan","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-selected":{"defaultValue":null,"description":"Indicates the current \"selected\" state of various widgets.\n@see aria-checked\n@see aria-pressed.","name":"aria-selected","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-setsize":{"defaultValue":null,"description":"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-posinset.","name":"aria-setsize","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-sort":{"defaultValue":null,"description":"Indicates if items in a table or grid are sorted in ascending or descending order.","name":"aria-sort","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"none\" | \"ascending\" | \"descending\" | \"other\""}},"aria-valuemax":{"defaultValue":null,"description":"Defines the maximum allowed value for a range widget.","name":"aria-valuemax","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-valuemin":{"defaultValue":null,"description":"Defines the minimum allowed value for a range widget.","name":"aria-valuemin","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-valuenow":{"defaultValue":null,"description":"Defines the current value for a range widget.\n@see aria-valuetext.","name":"aria-valuenow","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-valuetext":{"defaultValue":null,"description":"Defines the human readable text alternative of aria-valuenow for a range widget.","name":"aria-valuetext","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}}}}
AlertStripe.__docgenInfo = {"description":"","displayName":"AlertStripe","methods":[],"props":{"type":{"defaultValue":null,"description":"Varianter å velge mellom","name":"type","parent":{"fileName":"nav-frontend-moduler/packages/node_modules/nav-frontend-alertstriper/src/alertstripe.tsx","name":"AlertStripeBaseProps"},"required":true,"type":{"name":"AlertStripeType"}},"form":{"defaultValue":null,"description":"Form - enten 'default' eller 'inline'","name":"form","parent":{"fileName":"nav-frontend-moduler/packages/node_modules/nav-frontend-alertstriper/src/alertstripe.tsx","name":"AlertStripeBaseProps"},"required":false,"type":{"name":"AlertStripeForm"}},"children":{"defaultValue":null,"description":"-","name":"children","parent":{"fileName":"nav-frontend-moduler/packages/node_modules/nav-frontend-alertstriper/src/alertstripe.tsx","name":"AlertStripeProps"},"required":true,"type":{"name":"string | number | boolean | {} | ReactElement<any, string | ((props: any) => ReactElement<any, string | ... | (new (props: any) => Component<any, any, any>)>) | (new (props: any) => Component<...>)> | ... 155 more ... | (ReactChildren & ... 1 more ... & ReactNodeArray)"}},"size":{"defaultValue":null,"description":"-","name":"size","parent":{"fileName":"nav-frontend-moduler/packages/node_modules/nav-frontend-alertstriper/src/alertstripe.tsx","name":"AlertStripeProps"},"required":false,"type":{"name":"ReactText"}},"className":{"defaultValue":null,"description":"-","name":"className","parent":{"fileName":"nav-frontend-moduler/packages/node_modules/nav-frontend-alertstriper/src/alertstripe.tsx","name":"AlertStripeProps"},"required":false,"type":{"name":"string"}},"inputMode":{"defaultValue":null,"description":"Hints at the type of data that might be entered by the user while editing the element or its contents\n@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute","name":"inputMode","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"HTMLAttributes"},"required":false,"type":{"name":"\"none\" | \"text\" | \"tel\" | \"url\" | \"email\" | \"numeric\" | \"decimal\" | \"search\""}},"is":{"defaultValue":null,"description":"Specify that a standard HTML element should behave like a defined custom built-in element\n@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is","name":"is","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"HTMLAttributes"},"required":false,"type":{"name":"string"}},"aria-activedescendant":{"defaultValue":null,"description":"Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.","name":"aria-activedescendant","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-atomic":{"defaultValue":null,"description":"Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.","name":"aria-atomic","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-autocomplete":{"defaultValue":null,"description":"Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be\npresented if they are made.","name":"aria-autocomplete","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"inline\" | \"none\" | \"list\" | \"both\""}},"aria-busy":{"defaultValue":null,"description":"Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.","name":"aria-busy","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-checked":{"defaultValue":null,"description":"Indicates the current \"checked\" state of checkboxes, radio buttons, and other widgets.\n@see aria-pressed\n@see aria-selected.","name":"aria-checked","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"mixed\""}},"aria-colcount":{"defaultValue":null,"description":"Defines the total number of columns in a table, grid, or treegrid.\n@see aria-colindex.","name":"aria-colcount","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-colindex":{"defaultValue":null,"description":"Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.\n@see aria-colcount\n@see aria-colspan.","name":"aria-colindex","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-colspan":{"defaultValue":null,"description":"Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-colindex\n@see aria-rowspan.","name":"aria-colspan","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-controls":{"defaultValue":null,"description":"Identifies the element (or elements) whose contents or presence are controlled by the current element.\n@see aria-owns.","name":"aria-controls","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-current":{"defaultValue":null,"description":"Indicates the element that represents the current item within a container or set of related elements.","name":"aria-current","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"page\" | \"step\" | \"location\" | \"date\" | \"time\""}},"aria-describedby":{"defaultValue":null,"description":"Identifies the element (or elements) that describes the object.\n@see aria-labelledby","name":"aria-describedby","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-details":{"defaultValue":null,"description":"Identifies the element that provides a detailed, extended description for the object.\n@see aria-describedby.","name":"aria-details","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-disabled":{"defaultValue":null,"description":"Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.\n@see aria-hidden\n@see aria-readonly.","name":"aria-disabled","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-dropeffect":{"defaultValue":null,"description":"Indicates what functions can be performed when a dragged object is released on the drop target.\n@deprecated in ARIA 1.1","name":"aria-dropeffect","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"none\" | \"copy\" | \"execute\" | \"link\" | \"move\" | \"popup\""}},"aria-errormessage":{"defaultValue":null,"description":"Identifies the element that provides an error message for the object.\n@see aria-invalid\n@see aria-describedby.","name":"aria-errormessage","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-expanded":{"defaultValue":null,"description":"Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.","name":"aria-expanded","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-flowto":{"defaultValue":null,"description":"Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,\nallows assistive technology to override the general default of reading in document source order.","name":"aria-flowto","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-grabbed":{"defaultValue":null,"description":"Indicates an element's \"grabbed\" state in a drag-and-drop operation.\n@deprecated in ARIA 1.1","name":"aria-grabbed","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-haspopup":{"defaultValue":null,"description":"Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.","name":"aria-haspopup","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"menu\" | \"listbox\" | \"tree\" | \"grid\" | \"dialog\""}},"aria-hidden":{"defaultValue":null,"description":"Indicates whether the element is exposed to an accessibility API.\n@see aria-disabled.","name":"aria-hidden","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-invalid":{"defaultValue":null,"description":"Indicates the entered value does not conform to the format expected by the application.\n@see aria-errormessage.","name":"aria-invalid","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"grammar\" | \"spelling\""}},"aria-keyshortcuts":{"defaultValue":null,"description":"Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.","name":"aria-keyshortcuts","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-label":{"defaultValue":null,"description":"Defines a string value that labels the current element.\n@see aria-labelledby.","name":"aria-label","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-labelledby":{"defaultValue":null,"description":"Identifies the element (or elements) that labels the current element.\n@see aria-describedby.","name":"aria-labelledby","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-level":{"defaultValue":null,"description":"Defines the hierarchical level of an element within a structure.","name":"aria-level","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-live":{"defaultValue":null,"description":"Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.","name":"aria-live","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"off\" | \"assertive\" | \"polite\""}},"aria-modal":{"defaultValue":null,"description":"Indicates whether an element is modal when displayed.","name":"aria-modal","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-multiline":{"defaultValue":null,"description":"Indicates whether a text box accepts multiple lines of input or only a single line.","name":"aria-multiline","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-multiselectable":{"defaultValue":null,"description":"Indicates that the user may select more than one item from the current selectable descendants.","name":"aria-multiselectable","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-orientation":{"defaultValue":null,"description":"Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.","name":"aria-orientation","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"horizontal\" | \"vertical\""}},"aria-owns":{"defaultValue":null,"description":"Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship\nbetween DOM elements where the DOM hierarchy cannot be used to represent the relationship.\n@see aria-controls.","name":"aria-owns","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-placeholder":{"defaultValue":null,"description":"Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.\nA hint could be a sample value or a brief description of the expected format.","name":"aria-placeholder","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-posinset":{"defaultValue":null,"description":"Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-setsize.","name":"aria-posinset","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-pressed":{"defaultValue":null,"description":"Indicates the current \"pressed\" state of toggle buttons.\n@see aria-checked\n@see aria-selected.","name":"aria-pressed","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"boolean | \"true\" | \"false\" | \"mixed\""}},"aria-readonly":{"defaultValue":null,"description":"Indicates that the element is not editable, but is otherwise operable.\n@see aria-disabled.","name":"aria-readonly","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-relevant":{"defaultValue":null,"description":"Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.\n@see aria-atomic.","name":"aria-relevant","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"text\" | \"additions\" | \"additions text\" | \"all\" | \"removals\""}},"aria-required":{"defaultValue":null,"description":"Indicates that user input is required on the element before a form may be submitted.","name":"aria-required","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-roledescription":{"defaultValue":null,"description":"Defines a human-readable, author-localized description for the role of an element.","name":"aria-roledescription","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}},"aria-rowcount":{"defaultValue":null,"description":"Defines the total number of rows in a table, grid, or treegrid.\n@see aria-rowindex.","name":"aria-rowcount","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-rowindex":{"defaultValue":null,"description":"Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.\n@see aria-rowcount\n@see aria-rowspan.","name":"aria-rowindex","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-rowspan":{"defaultValue":null,"description":"Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.\n@see aria-rowindex\n@see aria-colspan.","name":"aria-rowspan","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-selected":{"defaultValue":null,"description":"Indicates the current \"selected\" state of various widgets.\n@see aria-checked\n@see aria-pressed.","name":"aria-selected","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"Booleanish"}},"aria-setsize":{"defaultValue":null,"description":"Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.\n@see aria-posinset.","name":"aria-setsize","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-sort":{"defaultValue":null,"description":"Indicates if items in a table or grid are sorted in ascending or descending order.","name":"aria-sort","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"\"none\" | \"ascending\" | \"descending\" | \"other\""}},"aria-valuemax":{"defaultValue":null,"description":"Defines the maximum allowed value for a range widget.","name":"aria-valuemax","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-valuemin":{"defaultValue":null,"description":"Defines the minimum allowed value for a range widget.","name":"aria-valuemin","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-valuenow":{"defaultValue":null,"description":"Defines the current value for a range widget.\n@see aria-valuetext.","name":"aria-valuenow","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"number"}},"aria-valuetext":{"defaultValue":null,"description":"Defines the human readable text alternative of aria-valuenow for a range widget.","name":"aria-valuetext","parent":{"fileName":"nav-frontend-moduler/node_modules/@types/react/index.d.ts","name":"AriaAttributes"},"required":false,"type":{"name":"string"}}}}

10

package.json
{
"name": "nav-frontend-alertstriper",
"version": "3.0.9",
"version": "3.0.10",
"main": "lib/alertstripe.js",

@@ -17,4 +17,4 @@ "types": "lib/alertstripe.d.ts",

"classnames": "^2.2.5",
"nav-frontend-alertstriper-style": "^2.0.7",
"nav-frontend-ikoner-assets": "^1.0.3",
"nav-frontend-alertstriper-style": "^2.0.8",
"nav-frontend-ikoner-assets": "^1.0.4",
"nav-frontend-typografi": "^2.0.17",

@@ -27,4 +27,4 @@ "prop-types": "^15.5.10",

"@types/react": "15.0.23 || ^16.0.0",
"nav-frontend-alertstriper-style": "^2.0.7",
"nav-frontend-ikoner-assets": "^1.0.3",
"nav-frontend-alertstriper-style": "^2.0.8",
"nav-frontend-ikoner-assets": "^1.0.4",
"nav-frontend-typografi": "^2.0.17",

@@ -31,0 +31,0 @@ "react": "^15.4.2 || ^16.0.0"

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