@govuk-react/caption
Advanced tools
Comparing version 0.10.6 to 0.10.7
export * from "./declarations/src/index"; | ||
export { default } from "./declarations/src/index"; | ||
//# sourceMappingURL=govuk-react-caption.cjs.d.ts.map | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ292dWstcmVhY3QtY2FwdGlvbi5janMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4vZGVjbGFyYXRpb25zL3NyYy9pbmRleC5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBIn0= |
@@ -32,3 +32,3 @@ 'use strict'; | ||
let { | ||
size | ||
size = 'XL' | ||
} = _ref; | ||
@@ -44,3 +44,3 @@ const actualSize = Number.isNaN(Number(size)) ? constants.CAPTION_SIZES[size] : size; | ||
let { | ||
size | ||
size = 'XL' | ||
} = _ref2; | ||
@@ -66,5 +66,2 @@ const actualSize = Number.isNaN(Number(size)) ? constants.CAPTION_SIZES[size] : size; | ||
}, lib.spacing.withWhiteSpace()); | ||
Caption.defaultProps = { | ||
size: 'XL' | ||
}; | ||
Caption.displayName = 'Caption'; | ||
@@ -71,0 +68,0 @@ |
@@ -32,3 +32,3 @@ 'use strict'; | ||
let { | ||
size | ||
size = 'XL' | ||
} = _ref; | ||
@@ -44,3 +44,3 @@ const actualSize = Number.isNaN(Number(size)) ? constants.CAPTION_SIZES[size] : size; | ||
let { | ||
size | ||
size = 'XL' | ||
} = _ref2; | ||
@@ -66,5 +66,2 @@ const actualSize = Number.isNaN(Number(size)) ? constants.CAPTION_SIZES[size] : size; | ||
}, lib.spacing.withWhiteSpace()); | ||
Caption.defaultProps = { | ||
size: 'XL' | ||
}; | ||
Caption.displayName = 'Caption'; | ||
@@ -71,0 +68,0 @@ |
@@ -24,3 +24,3 @@ import styled from 'styled-components'; | ||
let { | ||
size | ||
size = 'XL' | ||
} = _ref; | ||
@@ -36,3 +36,3 @@ const actualSize = Number.isNaN(Number(size)) ? CAPTION_SIZES[size] : size; | ||
let { | ||
size | ||
size = 'XL' | ||
} = _ref2; | ||
@@ -58,7 +58,4 @@ const actualSize = Number.isNaN(Number(size)) ? CAPTION_SIZES[size] : size; | ||
}, spacing.withWhiteSpace()); | ||
Caption.defaultProps = { | ||
size: 'XL' | ||
}; | ||
Caption.displayName = 'Caption'; | ||
export { Caption, Caption as default }; |
{ | ||
"name": "@govuk-react/caption", | ||
"version": "0.10.6", | ||
"version": "0.10.7", | ||
"dependencies": { | ||
"@govuk-react/constants": "^0.10.6", | ||
"@govuk-react/lib": "^0.10.6", | ||
"@govuk-react/constants": "^0.10.7", | ||
"@govuk-react/lib": "^0.10.7", | ||
"govuk-colours": "^1.1.0" | ||
@@ -8,0 +8,0 @@ }, |
@@ -22,3 +22,3 @@ Caption | ||
`aria-atomic` | | | boolean \| "true" \| "false" | 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. | ||
`aria-autocomplete` | | | "list" \| "none" \| "inline" \| "both" | 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<br/>presented if they are made. | ||
`aria-autocomplete` | | | "inline" \| "none" \| "list" \| "both" | 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<br/>presented if they are made. | ||
`aria-busy` | | | boolean \| "true" \| "false" | 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. | ||
@@ -39,3 +39,3 @@ `aria-checked` | | | boolean \| "true" \| "false" \| "mixed" | Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.<br/>@see aria-pressed<br/>@see aria-selected. | ||
`aria-grabbed` | | | boolean \| "true" \| "false" | Indicates an element's "grabbed" state in a drag-and-drop operation.<br/>@deprecated in ARIA 1.1 | ||
`aria-haspopup` | | | boolean \| "dialog" \| "menu" \| "true" \| "false" \| "grid" \| "listbox" \| "tree" | Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. | ||
`aria-haspopup` | | | boolean \| "dialog" \| "menu" \| "grid" \| "true" \| "false" \| "listbox" \| "tree" | Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element. | ||
`aria-hidden` | | | boolean \| "true" \| "false" | Indicates whether the element is exposed to an accessibility API.<br/>@see aria-disabled. | ||
@@ -76,3 +76,3 @@ `aria-invalid` | | | boolean \| "true" \| "false" \| "grammar" \| "spelling" | Indicates the entered value does not conform to the format expected by the application.<br/>@see aria-errormessage. | ||
`color` | | | string | | ||
`contentEditable` | | | Booleanish \| "inherit" | | ||
`contentEditable` | | | "inherit" \| Booleanish | | ||
`contextMenu` | | | string | | ||
@@ -89,3 +89,3 @@ `dangerouslySetInnerHTML` | | | { __html: string; } | | ||
`inlist` | | | any | | ||
`inputMode` | | | "text" \| "search" \| "none" \| "tel" \| "url" \| "email" \| "numeric" \| "decimal" | Hints at the type of data that might be entered by the user while editing the element or its contents<br/>@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute | ||
`inputMode` | | | "text" \| "none" \| "search" \| "tel" \| "url" \| "email" \| "numeric" \| "decimal" | Hints at the type of data that might be entered by the user while editing the element or its contents<br/>@see https://html.spec.whatwg.org/multipage/interaction.html#input-modalities:-the-inputmode-attribute | ||
`is` | | | string | Specify that a standard HTML element should behave like a defined custom built-in element<br/>@see https://html.spec.whatwg.org/multipage/custom-elements.html#attr-is | ||
@@ -92,0 +92,0 @@ `itemID` | | | string | |
Sorry, the diff of this file is not supported yet
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
35171
11
380
Updated@govuk-react/lib@^0.10.7