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 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 ? '25px' : 0)};
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 transform: translateY(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 transform: translateY(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),
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 ",