northants-design-system 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +7 -2
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +7 -2
- package/build/index.mjs.js.map +1 -1
- package/build/library/components/Input/Input.test.d.ts +1 -0
- package/build/library/components/Panel/Panel.d.ts +7 -0
- package/build/library/components/Panel/Panel.test.d.ts +1 -0
- package/build/library/components/Panel/Panel.types.d.ts +11 -0
- package/build/library/components/Textarea/Textarea.d.ts +8 -0
- package/build/library/components/Textarea/Textarea.test.d.ts +1 -0
- package/build/library/components/Textarea/Textarea.types.d.ts +45 -0
- package/build/library/slices/StreamingVideo/StreamingVideo.d.ts +8 -0
- package/build/library/slices/StreamingVideo/StreamingVideo.test.d.ts +1 -0
- package/build/library/slices/StreamingVideo/StreamingVideo.types.d.ts +34 -0
- package/build/library/structure/RateThisPage/RateThisPage.d.ts +22 -0
- package/build/library/structure/RateThisPage/RateThisPage.test.d.ts +1 -0
- package/build/library/structure/RateThisPage/RateThisPage.types.d.ts +26 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -25014,6 +25014,10 @@ const InputWrapper = styled__default.default.div`
|
|
|
25014
25014
|
position: relative;
|
|
25015
25015
|
width: auto;
|
|
25016
25016
|
max-width: 750px;
|
|
25017
|
+
|
|
25018
|
+
p {
|
|
25019
|
+
margin-bottom: 5px !important;
|
|
25020
|
+
}
|
|
25017
25021
|
`;
|
|
25018
25022
|
|
|
25019
25023
|
const Button$3 = styled__default.default.button`
|
|
@@ -25022,7 +25026,7 @@ const Button$3 = styled__default.default.button`
|
|
|
25022
25026
|
right: ${(props) => (props.$isLarge ? '-5rem' : '-3rem')};
|
|
25023
25027
|
cursor: pointer;
|
|
25024
25028
|
margin: 0;
|
|
25025
|
-
margin-top: ${(props) => (props.$isErrored ? '
|
|
25029
|
+
margin-top: ${(props) => (props.$isErrored ? (props.$isLarge ? '20px' : '20px') : 0)};
|
|
25026
25030
|
padding: ${(props) => props.theme.theme_vars.spacingSizes.small};
|
|
25027
25031
|
background: ${(props) =>
|
|
25028
25032
|
props.$isLight ? props.theme.theme_vars.colours.action : props.theme.theme_vars.colours.grey_darkest};
|
|
@@ -25036,6 +25040,7 @@ const Button$3 = styled__default.default.button`
|
|
|
25036
25040
|
height: ${(props) => (props.$isLarge ? '2.9rem' : '2.28rem')};
|
|
25037
25041
|
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
|
|
25038
25042
|
height: ${(props) => (props.$isLarge ? '3.22rem' : '2.6rem')};
|
|
25043
|
+
margin-top: ${(props) => (props.$isErrored ? (props.$isLarge ? '26px' : '26px') : 0)};
|
|
25039
25044
|
}
|
|
25040
25045
|
|
|
25041
25046
|
&:hover {
|
|
@@ -28890,7 +28895,7 @@ var generate_theme = function (theme_vars) {
|
|
|
28890
28895
|
linkStyles: "\n color: ".concat(theme_vars.colours.action, ";\n font-weight: 700;\n text-decoration: underline;\n "),
|
|
28891
28896
|
linkStylesHover: "\n color: ".concat(theme_vars.colours.action_dark, ";\n text-decoration: underline;\n text-decoration-style: dotted;\n "),
|
|
28892
28897
|
linkStylesFocus: styled.css(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n color: ", ";\n background: ", ";\n outline: none;\n text-decoration: none !important;\n box-shadow: 0 0 0 1px ", ", 0 0 0 3px ", ";\n -webkit-box-shadow: 0 0 0 1px ", ", 0 0 0 3px ", ";\n -moz-box-shadow: 0 0 0 1px ", ", 0 0 0 3px ", ";\n "], ["\n color: ", ";\n background: ", ";\n outline: none;\n text-decoration: none !important;\n box-shadow: 0 0 0 1px ", ", 0 0 0 3px ", ";\n -webkit-box-shadow: 0 0 0 1px ", ", 0 0 0 3px ", ";\n -moz-box-shadow: 0 0 0 1px ", ", 0 0 0 3px ", ";\n "])), theme_vars.colours.black, theme_vars.colours.focus, theme_vars.colours.focus, theme_vars.colours.black, theme_vars.colours.focus, theme_vars.colours.black, theme_vars.colours.focus, theme_vars.colours.black),
|
|
28893
|
-
linkStylesActive: styled.css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n background: ", ";\n outline: none;\n text-decoration: none !important;\n
|
|
28898
|
+
linkStylesActive: styled.css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n color: ", ";\n background: ", ";\n outline: none;\n text-decoration: none !important;\n top: 2px;\n box-shadow: 0 -6px ", ", 0 1px ", ";\n -webkit-box-shadow: 0 -6px ", ", 0 1px ", ";\n -moz-box-shadow: 0 -6px ", ", 0 1px ", ";\n "], ["\n color: ", ";\n background: ", ";\n outline: none;\n text-decoration: none !important;\n top: 2px;\n box-shadow: 0 -6px ", ", 0 1px ", ";\n -webkit-box-shadow: 0 -6px ", ", 0 1px ", ";\n -moz-box-shadow: 0 -6px ", ", 0 1px ", ";\n "])), theme_vars.colours.black, theme_vars.colours.focus, theme_vars.colours.focus, theme_vars.colours.black, theme_vars.colours.focus, theme_vars.colours.black, theme_vars.colours.focus, theme_vars.colours.black),
|
|
28894
28899
|
elementBaseStyles: "\n border-bottom: 2px solid transparent;\n ",
|
|
28895
28900
|
elementFocusStyles: "\n outline: none;\n ",
|
|
28896
28901
|
visuallyHidden: "\n position: absolute !important;\n width: 1px !important;\n height: 1px !important;\n margin: 0 !important;\n padding: 0 !important;\n overflow: hidden !important;\n clip: rect(0 0 0 0) !important;\n -webkit-clip-path: inset(50%) !important;\n clip-path: inset(50%) !important;\n border: 0 !important;\n white-space: nowrap !important;\n ",
|