@helsenorge/designsystem-react 1.0.0-beta81-ModalTest → 1.0.0-beta84

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.
Files changed (113) hide show
  1. package/{Button-e2087687.js → Button-835e9bea.js} +2 -2
  2. package/Button-835e9bea.js.map +1 -0
  3. package/Check-6291ad09.js +2 -0
  4. package/Check-6291ad09.js.map +1 -0
  5. package/Checkbox-817eff9c.js +2 -0
  6. package/Checkbox-817eff9c.js.map +1 -0
  7. package/FormGroup-2ca963a9.js +2 -0
  8. package/FormGroup-2ca963a9.js.map +1 -0
  9. package/Loader-9e099b42.js +2 -0
  10. package/Loader-9e099b42.js.map +1 -0
  11. package/Modal-9eafa1a2.js +2 -0
  12. package/Modal-9eafa1a2.js.map +1 -0
  13. package/Validation-e113da7e.js +2 -0
  14. package/Validation-e113da7e.js.map +1 -0
  15. package/components/AnchorLink/index.js +1 -1
  16. package/components/Avatar/index.js +1 -1
  17. package/components/Button/index.js +1 -1
  18. package/components/ButtonWithModal/ButtonWithModal.d.ts +1 -1
  19. package/components/ButtonWithModal/ButtonWithModal.d.ts.map +1 -1
  20. package/components/ButtonWithModal/index.js +1 -1
  21. package/components/Checkbox/Checkbox.d.ts +31 -0
  22. package/components/Checkbox/Checkbox.d.ts.map +1 -0
  23. package/components/Checkbox/componentdata.json +259 -0
  24. package/components/Checkbox/index.d.ts +3 -0
  25. package/components/Checkbox/index.d.ts.map +1 -0
  26. package/components/Checkbox/index.js +2 -0
  27. package/components/Checkbox/index.js.map +1 -0
  28. package/components/Checkbox/styles.module.scss +191 -0
  29. package/components/Checkbox/styles.module.scss.d.ts +25 -0
  30. package/components/ExpanderList/ExpanderList.d.ts.map +1 -1
  31. package/components/ExpanderList/index.js +1 -1
  32. package/components/FormExample/FormExample.d.ts +13 -0
  33. package/components/FormExample/FormExample.d.ts.map +1 -0
  34. package/components/FormExample/componentdata.json +63 -0
  35. package/components/FormExample/index.d.ts +3 -0
  36. package/components/FormExample/index.d.ts.map +1 -0
  37. package/components/FormExample/index.js +2 -0
  38. package/components/FormExample/index.js.map +1 -0
  39. package/components/FormGroup/FormGroup.d.ts +26 -0
  40. package/components/FormGroup/FormGroup.d.ts.map +1 -0
  41. package/components/FormGroup/componentdata.json +183 -0
  42. package/components/FormGroup/index.d.ts +3 -0
  43. package/components/FormGroup/index.d.ts.map +1 -0
  44. package/components/FormGroup/index.js +2 -0
  45. package/components/FormGroup/index.js.map +1 -0
  46. package/components/FormGroup/styles.module.scss +79 -0
  47. package/components/FormGroup/styles.module.scss.d.ts +22 -0
  48. package/components/Icons/AcupunctureBack.d.ts +5 -0
  49. package/components/Icons/AcupunctureBack.d.ts.map +1 -0
  50. package/components/Icons/AcupunctureBack.js +2 -0
  51. package/components/Icons/AcupunctureBack.js.map +1 -0
  52. package/components/Icons/AdditionalIconInformation.js +6 -0
  53. package/components/Icons/AdditionalIconInformation.js.map +1 -1
  54. package/components/Icons/Icon.d.ts +1 -0
  55. package/components/Icons/Icon.d.ts.map +1 -1
  56. package/components/Icons/Icon.js +1 -1
  57. package/components/Icons/NoEye.d.ts +5 -0
  58. package/components/Icons/NoEye.d.ts.map +1 -0
  59. package/components/Icons/NoEye.js +2 -0
  60. package/components/Icons/NoEye.js.map +1 -0
  61. package/components/Icons/SectionSign.d.ts +5 -0
  62. package/components/Icons/SectionSign.d.ts.map +1 -0
  63. package/components/Icons/SectionSign.js +2 -0
  64. package/components/Icons/SectionSign.js.map +1 -0
  65. package/components/Icons/SpeechBubble.d.ts +5 -0
  66. package/components/Icons/SpeechBubble.d.ts.map +1 -0
  67. package/components/Icons/SpeechBubble.js +2 -0
  68. package/components/Icons/SpeechBubble.js.map +1 -0
  69. package/components/Icons/SupportingPerson.d.ts +5 -0
  70. package/components/Icons/SupportingPerson.d.ts.map +1 -0
  71. package/components/Icons/SupportingPerson.js +2 -0
  72. package/components/Icons/SupportingPerson.js.map +1 -0
  73. package/components/Icons/Syringe.d.ts +5 -0
  74. package/components/Icons/Syringe.d.ts.map +1 -0
  75. package/components/Icons/Syringe.js +2 -0
  76. package/components/Icons/Syringe.js.map +1 -0
  77. package/components/Icons/index.js +1 -1
  78. package/components/LinkList/LinkList.d.ts.map +1 -1
  79. package/components/LinkList/index.js +1 -1
  80. package/components/LinkList/styles.module.scss +1 -4
  81. package/components/LinkList/styles.module.scss.d.ts +0 -1
  82. package/components/Loader/index.js +1 -1
  83. package/components/Modal/index.js +1 -1
  84. package/components/Modal/styles.module.scss +1 -0
  85. package/components/NotificationPanel/NotificationPanel.d.ts +2 -0
  86. package/components/NotificationPanel/NotificationPanel.d.ts.map +1 -1
  87. package/components/NotificationPanel/componentdata.json +19 -0
  88. package/components/NotificationPanel/index.js +1 -1
  89. package/components/NotificationPanel/styles.module.scss +4 -4
  90. package/components/Tile/index.js +1 -1
  91. package/components/Validation/Validation.d.ts +17 -0
  92. package/components/Validation/Validation.d.ts.map +1 -0
  93. package/components/Validation/componentdata.json +111 -0
  94. package/components/Validation/index.d.ts +3 -0
  95. package/components/Validation/index.d.ts.map +1 -0
  96. package/components/Validation/index.js +2 -0
  97. package/components/Validation/index.js.map +1 -0
  98. package/components/Validation/styles.module.scss +15 -0
  99. package/components/Validation/styles.module.scss.d.ts +10 -0
  100. package/constants-d919236e.js +2 -0
  101. package/constants-d919236e.js.map +1 -0
  102. package/package.json +2 -1
  103. package/scss/_palette.scss +1 -0
  104. package/uuid-484288be.js +2 -0
  105. package/uuid-484288be.js.map +1 -0
  106. package/Button-e2087687.js.map +0 -1
  107. package/Loader-3767cb6e.js +0 -2
  108. package/Loader-3767cb6e.js.map +0 -1
  109. package/Modal-459c67d7.js +0 -2
  110. package/Modal-459c67d7.js.map +0 -1
  111. package/components/Tabs/componentdata.json +0 -3
  112. package/constants-d1f48e8e.js +0 -2
  113. package/constants-d1f48e8e.js.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpeechBubble.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/SpeechBubble.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,YAAY,EAAE,MAAM,QAAQ,CAAC;AAElD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA0BxC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ import a from"react";import{r as v}from"../../constants-d919236e.js";import"../../_tslib-51c8a283.js";export default function(e){var l=e.isExtraSmall,h=e.isHovered;return v(l,h,a.createElement("path",{d:"M14.003 25.497H27.96v-1.301H14.003v1.3Zm0-4.572h19.602v-1.301H14.003v1.3Zm25.08 7.662A2.818 2.818 0 0 1 36.27 31.4h-4.996v3.33l-5.178-3.33H11.73a2.818 2.818 0 0 1-2.816-2.814V17.234a2.818 2.818 0 0 1 2.816-2.814h24.538a2.817 2.817 0 0 1 2.815 2.814v11.353ZM36.27 13.119H11.73a4.121 4.121 0 0 0-4.116 4.115v11.353a4.121 4.121 0 0 0 4.116 4.115h13.982l6.86 4.41v-4.41h3.696a4.12 4.12 0 0 0 4.115-4.115V17.234a4.12 4.12 0 0 0-4.115-4.115Z","fill-rule":"evenodd"}),a.createElement("path",{d:"M14.003 25.497h19.602v-1.301H14.003v1.3Zm0-4.572h19.602v-1.301H14.003v1.3Zm25.08 7.662A2.817 2.817 0 0 1 36.27 31.4h-4.997v3.33l-5.178-3.33H11.73a2.817 2.817 0 0 1-2.814-2.814V17.234a2.817 2.817 0 0 1 2.814-2.814h24.54a2.817 2.817 0 0 1 2.814 2.814v11.353ZM36.27 13.119H11.73a4.12 4.12 0 0 0-4.114 4.115v11.353a4.12 4.12 0 0 0 4.114 4.115h13.983l6.86 4.41v-4.41h3.697a4.12 4.12 0 0 0 4.114-4.115V17.234a4.12 4.12 0 0 0-4.114-4.115Z","fill-rule":"evenodd"}),a.createElement("path",{d:"M14.003 25.669h13.958v-1.644H14.003v1.644Zm0-4.574h19.602V19.45H14.003v1.644Zm24.91 7.492a2.647 2.647 0 0 1-2.644 2.643h-5.166v3.189l-4.958-3.189H11.73a2.647 2.647 0 0 1-2.644-2.643V17.236a2.646 2.646 0 0 1 2.644-2.644h24.538a2.646 2.646 0 0 1 2.644 2.644v11.35Zm-2.644-15.638H11.731a4.29 4.29 0 0 0-4.286 4.287v11.35a4.29 4.29 0 0 0 4.286 4.286h13.931l7.083 4.554v-4.554h3.524a4.29 4.29 0 0 0 4.286-4.285V17.236a4.29 4.29 0 0 0-4.286-4.287Z","fill-rule":"evenodd"}),a.createElement("path",{d:"M14.003 25.669h19.602v-1.644H14.003v1.644Zm0-4.574h19.602V19.45H14.003v1.644Zm24.91 7.492a2.647 2.647 0 0 1-2.644 2.643h-5.166v3.189l-4.958-3.189H11.73a2.647 2.647 0 0 1-2.644-2.643V17.236a2.646 2.646 0 0 1 2.644-2.644h24.538a2.646 2.646 0 0 1 2.644 2.644v11.35Zm-2.644-15.638H11.731a4.29 4.29 0 0 0-4.286 4.287v11.35a4.29 4.29 0 0 0 4.286 4.286h13.931l7.083 4.554v-4.554h3.524a4.29 4.29 0 0 0 4.286-4.285V17.236a4.29 4.29 0 0 0-4.286-4.287Z","fill-rule":"evenodd"}))}
2
+ //# sourceMappingURL=SpeechBubble.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SpeechBubble.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const SupportingPerson: React.FC<SvgPathProps>;
4
+ export default SupportingPerson;
5
+ //# sourceMappingURL=SupportingPerson.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingPerson.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/SupportingPerson.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,YAAY,EAAE,MAAM,QAAQ,CAAC;AAElD,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgB5C,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import a from"react";import{r as v}from"../../constants-d919236e.js";import"../../_tslib-51c8a283.js";export default function(h){h.isExtraSmall;var l=h.isHovered;return v(!1,l,a.createElement("path",{d:"M18.718 18.927a.45.45 0 1 1 .9 0 .45.45 0 0 1-.9 0Zm-4.742 0a.45.45 0 1 1 .9-.001.45.45 0 0 1-.9 0Zm-2.77-2.03h.584a3.665 3.665 0 0 0 3.173-1.834 3.711 3.711 0 0 0 3.201 1.835h4.161v1.757a5.387 5.387 0 0 1-5.382 5.38h-.356a5.387 5.387 0 0 1-5.38-5.38v-1.757Zm5.381-6.583h.356a5.387 5.387 0 0 1 5.382 5.38v.204h-4.16a2.714 2.714 0 0 1-2.712-2.711v-.191h-1v.239a2.666 2.666 0 0 1-2.663 2.663h-.584v-.203a5.387 5.387 0 0 1 5.381-5.381Zm.178-3.073c1.16 0 2.101.92 2.147 2.069a6.67 6.67 0 0 0-1.969-.296h-.356c-.685 0-1.346.104-1.968.296a2.152 2.152 0 0 1 2.146-2.07Zm-.178 18.096h.356a6.69 6.69 0 0 0 6.682-6.682v-2.96a6.683 6.683 0 0 0-3.404-5.816v-.483a3.46 3.46 0 0 0-3.456-3.456 3.46 3.46 0 0 0-3.455 3.456v.483a6.684 6.684 0 0 0-3.404 5.816v2.96a6.69 6.69 0 0 0 6.681 6.682Zm11.496-7.911a.459.459 0 1 1 0-.918.459.459 0 0 1 0 .918Zm4.38-.46a.458.458 0 1 1 .916 0 .458.458 0 0 1-.917 0Zm-6.242-2.078h2.887a3.778 3.778 0 0 0 3.266-1.882 3.727 3.727 0 0 0 3.236 1.882h1.98v1.8a5.508 5.508 0 0 1-5.503 5.504h-.363a5.508 5.508 0 0 1-5.503-5.503v-1.801Zm5.503-6.72h.363a5.508 5.508 0 0 1 5.503 5.502v.218h-1.98a2.73 2.73 0 0 1-2.726-2.727v-.244h-1v.194a2.78 2.78 0 0 1-2.776 2.777h-2.887v-.218a5.508 5.508 0 0 1 5.503-5.502Zm0 15.325h.363c3.751 0 6.803-3.053 6.803-6.804v-3.02a6.81 6.81 0 0 0-6.803-6.802h-.363a6.81 6.81 0 0 0-6.803 6.803v3.019c0 3.75 3.052 6.804 6.803 6.804Zm7.527 18.543h-11.5v-5.643c1.156 1.257 3.04 2.88 5.183 3.056.13.01.26.017.387.017 1.354 0 2.603-.596 3.72-1.775a43.985 43.985 0 0 0 2.21-2.495v6.84Zm-14.002 0h-1.512v-6.13h-.9v6.13h-12.1v-6.13h-.9v6.13H7.122V34.86a7.94 7.94 0 0 1 1.102-4.011c.355.27.827.436 1.352.464.054.003.108.004.162.004.6 0 1.15-.177 1.477-.458.096-.061.946-.627 1.172-1.663.123-.568.022-1.147-.276-1.725.18-.072.353-.158.536-.217a9.355 9.355 0 0 0 4.14.968c1.435 0 2.86-.334 4.14-.968.142.046.28.105.418.159-.323.597-.436 1.196-.308 1.783.226 1.036 1.075 1.602 1.103 1.612.39.328.947.509 1.547.509.053 0 .107-.001.161-.004.553-.03 1.043-.216 1.404-.513.764 1.295 1.2 2.717 1.2 4.06v7.176H25.25ZM8.04 28.224l1.6-1.34a.29.29 0 0 1 .411.039l.82.97c.673 1.074-.102 1.704-.42 1.919-.169.14-.483.23-.805.203-.31-.017-.59-.124-.716-.272l-.927-1.107c-.067-.081-.07-.17-.067-.214a.291.291 0 0 1 .104-.198Zm14.516-.331.82-.971a.293.293 0 0 1 .41-.037l1.601 1.34c.08.067.098.152.102.197a.286.286 0 0 1-.067.214l-.927 1.107c-.124.148-.405.255-.716.272-.32.019-.636-.062-.872-.253-.005-.003-.487-.33-.599-.842-.069-.317.012-.653.248-1.027Zm5.18-2.486c2.56 1.268 5.723 1.267 8.283-.001 2.227.693 3.606 1.776 4.331 3.4.755 1.688-.477 4.003-4.253 7.99-.949 1.005-1.947 1.438-3.053 1.358-2.59-.211-4.919-3.285-5.338-3.868-.11-1.528-.635-3.103-1.543-4.511l.256-.305c.091-.11.16-.23.218-.355 1.095 1.146 3.058 3.187 4.496 4.596a1.84 1.84 0 0 0 1.285.524c.041 0 .082-.002.124-.004a1.85 1.85 0 0 0 1.331-.71l2.47-3.176-.712-.553-2.469 3.178a.936.936 0 0 1-.68.363.911.911 0 0 1-.719-.265c-1.786-1.75-4.387-4.48-5.102-5.234a1.574 1.574 0 0 0-.44-.606l-.764-.64a8.077 8.077 0 0 1 2.28-1.181Zm13.801 2.867c-.906-2.027-2.673-3.398-5.4-4.19l-.255-.074-.233.125c-2.308 1.229-5.238 1.228-7.545 0l-.233-.125-.254.074a9.32 9.32 0 0 0-3.192 1.67 1.582 1.582 0 0 0-2.045.331l-.212.25a9.342 9.342 0 0 0-1.12-.404l-.254-.075-.233.125c-2.308 1.23-5.238 1.23-7.546 0l-.233-.125-.254.075a9.385 9.385 0 0 0-1.226.46l-.256-.305a1.581 1.581 0 0 0-1.079-.563 1.573 1.573 0 0 0-1.162.366l-1.599 1.338a1.587 1.587 0 0 0-.2 2.243l.304.363a9.248 9.248 0 0 0-1.487 5.027v8.477h34.729V33.42c1.218-1.898 1.68-3.592.985-5.146Z","fill-rule":"evenodd"}),a.createElement("path",{d:"M16.401 21.118h2.717a1.358 1.358 0 0 1-2.717 0Zm3.218-2.191a.45.45 0 1 1 .899-.001.45.45 0 0 1-.899.001Zm-4.743 0a.45.45 0 1 1 .9 0 .45.45 0 0 1-.9 0Zm-3.671-2.029h1.919a3.665 3.665 0 0 0 3.173-1.835 3.711 3.711 0 0 0 3.201 1.835h2.828v1.757a5.388 5.388 0 0 1-5.382 5.381h-.357a5.388 5.388 0 0 1-5.382-5.381v-1.757Zm5.382-6.584h.357a5.388 5.388 0 0 1 5.382 5.381v.203h-2.828a2.715 2.715 0 0 1-2.712-2.711v-.191h-1v.239a2.665 2.665 0 0 1-2.662 2.663h-1.919v-.203a5.388 5.388 0 0 1 5.382-5.381Zm-1.275-2.546a2.134 2.134 0 0 1 2.308 1.279 6.86 6.86 0 0 0-.676-.034h-.357a6.642 6.642 0 0 0-3.091.764 2.158 2.158 0 0 1 1.816-2.009Zm1.275 17.569h.357c3.684 0 6.681-2.999 6.681-6.682v-2.96c0-2.943-1.916-5.444-4.564-6.332l-.001-.001c-.295-1.883-2.072-3.18-3.949-2.879a3.46 3.46 0 0 0-2.878 3.95l.028.179a6.666 6.666 0 0 0-2.355 5.083v2.96c0 3.683 2.997 6.682 6.681 6.682Zm11.497-7.911a.46.46 0 1 1 0-.92.46.46 0 0 1 0 .92Zm4.378-.459a.46.46 0 1 1 .92 0 .46.46 0 0 1-.92 0Zm-6.241-2.08h2.887a3.776 3.776 0 0 0 3.265-1.882 3.73 3.73 0 0 0 3.237 1.882h1.981v1.802a5.51 5.51 0 0 1-5.504 5.503h-.363a5.51 5.51 0 0 1-5.503-5.503v-1.802Zm5.503-6.719h.363a5.508 5.508 0 0 1 5.504 5.502v.217H35.61a2.729 2.729 0 0 1-2.726-2.726v-.244h-1v.194a2.779 2.779 0 0 1-2.776 2.776h-2.887v-.217a5.508 5.508 0 0 1 5.503-5.502Zm0 15.325h.363a6.812 6.812 0 0 0 6.804-6.804V13.67a6.811 6.811 0 0 0-6.804-6.803h-.363a6.81 6.81 0 0 0-6.803 6.803v3.019c0 3.751 3.052 6.804 6.803 6.804Zm7.527 18.543H27.752v-5.644c1.155 1.257 3.038 2.881 5.182 3.057.13.011.26.016.388.016 1.353 0 2.603-.595 3.719-1.774a43.642 43.642 0 0 0 2.21-2.495v6.84Zm-14.002 0h-1.512v-6.129h-.9v6.129h-12.1v-6.129h-.9v6.129H7.122V34.86a7.94 7.94 0 0 1 1.102-4.011c.356.269.828.436 1.352.464.054.003.108.004.162.004.599 0 1.15-.178 1.477-.458.096-.062.946-.627 1.172-1.663.123-.568.022-1.147-.276-1.725.179-.073.353-.158.536-.218a9.355 9.355 0 0 0 4.14.968c1.435 0 2.86-.334 4.14-.968.142.047.279.105.417.16-.322.597-.435 1.196-.307 1.783.226 1.036 1.076 1.601 1.103 1.612.39.327.947.509 1.547.509.054 0 .107-.001.161-.004.553-.03 1.043-.217 1.405-.513.763 1.295 1.199 2.716 1.199 4.06v7.176h-1.203ZM8.038 28.224l1.601-1.34a.293.293 0 0 1 .411.038l.819.971c.674 1.073-.101 1.703-.42 1.919-.167.142-.478.223-.804.202-.31-.016-.591-.123-.715-.271l-.928-1.108a.29.29 0 0 1 .036-.411Zm14.517-.331.82-.973a.294.294 0 0 1 .411-.036l1.6 1.341a.292.292 0 0 1 .036.41l-.927 1.108c-.125.148-.406.255-.717.271a1.229 1.229 0 0 1-.867-.25c-.256-.168-1.03-.798-.356-1.871Zm5.181-2.486c2.56 1.267 5.722 1.265 8.281-.001 2.228.692 3.607 1.776 4.332 3.399.755 1.689-.477 4.004-4.252 7.991-.95 1.004-1.948 1.438-3.053 1.358-2.591-.212-4.92-3.285-5.339-3.868-.11-1.528-.634-3.103-1.542-4.511l.256-.306a1.6 1.6 0 0 0 .218-.354c1.094 1.146 3.058 3.187 4.496 4.596a1.84 1.84 0 0 0 1.284.524c.042 0 .083-.002.125-.004a1.849 1.849 0 0 0 1.33-.709l2.47-3.178-.711-.552-2.47 3.177a.932.932 0 0 1-.68.364.904.904 0 0 1-.719-.265c-1.786-1.751-4.388-4.482-5.103-5.235a1.568 1.568 0 0 0-.439-.605l-.764-.64a8.03 8.03 0 0 1 2.28-1.181Zm13.8 2.867c-.906-2.027-2.673-3.398-5.401-4.19l-.254-.075-.233.125c-2.306 1.231-5.237 1.229-7.545 0l-.233-.125-.254.075a9.32 9.32 0 0 0-3.192 1.67 1.574 1.574 0 0 0-2.044.331l-.212.251a9.474 9.474 0 0 0-1.121-.406l-.254-.074-.234.125c-2.307 1.229-5.237 1.229-7.544 0l-.234-.125-.254.074a9.48 9.48 0 0 0-1.226.461l-.255-.304a1.575 1.575 0 0 0-1.08-.564 1.575 1.575 0 0 0-1.162.365l-1.6 1.339a1.583 1.583 0 0 0-.564 1.08c-.037.423.092.836.365 1.162l.304.364a9.25 9.25 0 0 0-1.487 5.027v8.477h34.729V33.42c1.218-1.897 1.679-3.593.985-5.146Z","fill-rule":"evenodd"}))}
2
+ //# sourceMappingURL=SupportingPerson.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SupportingPerson.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { SvgPathProps } from './Icon';
3
+ declare const Syringe: React.FC<SvgPathProps>;
4
+ export default Syringe;
5
+ //# sourceMappingURL=Syringe.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Syringe.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Syringe.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAc,YAAY,EAAE,MAAM,QAAQ,CAAC;AAElD,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAgBnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,2 @@
1
+ import a from"react";import{r as l}from"../../constants-d919236e.js";import"../../_tslib-51c8a283.js";export default function(e){e.isExtraSmall;var t=e.isHovered;return l(!1,t,a.createElement("path",{d:"m35.619 14.844-2.356-2.342 3.135-3.155 2.356 2.342-3.135 3.155Zm-6.847 9.932-5.397-5.363 2.405-2.419 2.797 2.78.705-.709-2.798-2.78 4.343-4.37 5.396 5.361-7.451 7.5Zm-6.036 6.074a3.776 3.776 0 0 1-2.686 1.122h-.012a3.78 3.78 0 0 1-2.681-1.106 3.777 3.777 0 0 1-1.123-2.685 3.78 3.78 0 0 1 1.106-2.693l1.724-1.735 2.598 2.582.706-.709-2.6-2.583 2.69-2.708 5.398 5.363-5.12 5.152Zm-5.526 2.558a1.688 1.688 0 0 1-2.394-2.378l.643-.647c.248.512.566.992.982 1.405.415.413.898.73 1.412.974l-.643.646Zm24-19.28.916-.923-7.267-7.219-.916.921 1.533 1.524-3.135 3.155-3.523-3.5-.916.922 2.003 1.99-13.487 13.574a5.07 5.07 0 0 0-1.484 3.613c0 .272.039.537.08.801l-1.12 1.128a2.988 2.988 0 0 0-.393 3.712l-6.365 6.406.922.916 6.365-6.406a2.977 2.977 0 0 0 3.709-.418l1.122-1.128c.258.04.517.076.783.076h.018a5.069 5.069 0 0 0 3.603-1.506l13.487-13.574 2.002 1.99.916-.922-3.522-3.5 3.136-3.156 1.533 1.523Z","fill-rule":"evenodd"}),a.createElement("path",{d:"m25.27 28.3-5.397-5.363 2.614-2.63 2.684 2.667.86-.865-2.685-2.667 2.433-2.448 2.798 2.78.705-.71-2.798-2.78 4.342-4.37 5.397 5.363L25.27 28.3Zm-2.534 2.55a3.778 3.778 0 0 1-2.687 1.122h-.012a3.78 3.78 0 0 1-2.68-1.105 3.78 3.78 0 0 1-1.123-2.686 3.778 3.778 0 0 1 1.105-2.693l1.618-1.63 5.397 5.364-1.618 1.628Zm-5.527 2.559a1.691 1.691 0 0 1-2.385.008 1.69 1.69 0 0 1-.008-2.387l.642-.647a5.1 5.1 0 0 0 .982 1.406 5.09 5.09 0 0 0 1.412.973l-.643.647ZM35.076 10.67l2.356 2.34-1.814 1.833-2.357-2.342 1.815-1.831Zm3.278 3.257 1.533 1.523.916-.922-1.534-1.524-2.133-2.12-3.6-3.577-.916.922 1.534 1.524-1.815 1.832-3.522-3.5-.916.922 2.003 1.99-13.487 13.574a5.066 5.066 0 0 0-1.483 3.613c0 .272.038.538.08.8l-1.12 1.129a2.99 2.99 0 0 0-.394 3.713l-6.364 6.405.922.916 6.364-6.405a2.983 2.983 0 0 0 3.71-.418l1.121-1.13c.258.04.517.077.784.077h.017a5.07 5.07 0 0 0 3.604-1.506l13.487-13.573 2.002 1.989.916-.922-3.523-3.5 1.814-1.832Z","fill-rule":"evenodd"}))}
2
+ //# sourceMappingURL=Syringe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Syringe.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{I as s}from"../../constants-d1f48e8e.js";export{I as Icon,a as IconSize,I as default}from"../../constants-d1f48e8e.js";import"../../_tslib-51c8a283.js";import"react";
1
+ import{I as s}from"../../constants-d919236e.js";export{I as Icon,a as IconSize,I as default,r as returnIcon}from"../../constants-d919236e.js";import"../../_tslib-51c8a283.js";import"react";
2
2
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"LinkList.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQnD,oBAAY,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD,oBAAY,cAAc,GAAG,YAAY,CAAC;AAC1C,oBAAY,QAAQ,GAAG,KAAK,CAAC,yBAAyB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;AACvG,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC/H,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,4BAA4B;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,EAAE,cAAc,CAAC;IACtB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IACxE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA6CD,eAAO,MAAM,QAAQ,mBAqBE,CAAC;AAKxB,eAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"LinkList.d.ts","sourceRoot":"","sources":["../../../src/components/LinkList/LinkList.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAQnD,oBAAY,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAExD,oBAAY,cAAc,GAAG,YAAY,CAAC;AAC1C,oBAAY,QAAQ,GAAG,KAAK,CAAC,yBAAyB,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;AACvG,MAAM,WAAW,iBAAkB,SAAQ,KAAK,CAAC,yBAAyB,CAAC,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,CAAC;IAC/H,IAAI,EAAE,QAAQ,CAAC;CAChB;AAED,UAAU,aAAa;IACrB,4BAA4B;IAC5B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,EAAE,cAAc,CAAC;IACtB,sCAAsC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,2DAA2D;IAC3D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,yDAAyD;IACzD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oCAAoC;IACpC,IAAI,CAAC,EAAE,YAAY,CAAC;CACrB;AAED,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,cAAc,CAAC,iBAAiB,CAAC;IACxE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,KAAK,CAAC,YAAY,CAAC;IAC1B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AA4CD,eAAO,MAAM,QAAQ,mBAqBE,CAAC;AAKxB,eAAe,QAAQ,CAAC"}
@@ -1,2 +1,2 @@
1
- import{a as e}from"../../_rollupPluginBabelHelpers-e1c7fe69.js";import{_ as l}from"../../_tslib-51c8a283.js";import r from"react";import{c as a}from"../../index-9b84fabc.js";import{a as i,I as o}from"../../constants-d1f48e8e.js";import{u as s,B as t}from"../../useBreakpoint-a8fa8a61.js";import{u as n}from"../../useHover-57ad4df9.js";import m from"./styles.module.scss";import"../../useWindowSize-c22d7634.js";import"../../grid-11a70eb7.js";var c=function(e){var l=e.isExtraSmall,a=e.isHovered,i=r.createElement("path",{d:"M19.171 32.951l1.409 1.42L31.031 24 20.58 13.63l-1.409 1.42 9.02 8.95z"}),o=r.createElement("path",{d:"M24.479 11.63L36.93 23.999 24.479 36.37l-1.409-1.419L33.083 25H13v-2h20.085L23.07 13.049z"}),s=r.createElement("path",{d:"M17.885 32.577l1.779 1.793 10.451-10.371L19.664 13.63l-1.779 1.793 8.644 8.576z"});return l?a?r.createElement("path",{d:"M25.98 11.103l12.977 12.896L25.98 36.897l-1.78-1.794 9.899-9.841-20.204.001v-2.526l20.204-.001-9.899-9.839z"}):s:a?o:i},d=r.forwardRef((function(d,f){var v,p=d.children,h=d.className,u=void 0===h?"":h,_=d.color,k=void 0===_?"neutral":_,E=d.icon,z=d.size,b=void 0===z?"medium":z,L=d.chevron,j=void 0!==L&&L,N=l(d,["children","className","color","icon","size","chevron"]),H=n(),g=H.hoverRef,B=H.isHovered,S=s(),M="small"!==b&&!(!j&&!E);return r.createElement("li",{ref:f},r.createElement("a",Object.assign({className:a(m["link-list__anchor"],m["link-list__anchor--"+k],(v={},e(v,m["link-list__anchor--hasicon"],M),e(v,m["link-list__anchor--small"],"small"===b),e(v,m["link-list__anchor--medium"],"medium"===b),e(v,m["link-list__anchor--large"],"large"===b),v),u),ref:g},N),M&&E&&r.createElement("span",{className:m["link-list__icon"]},r.cloneElement(E,{size:S===t.Xs?i.XSmall:i.Small,isHovered:B})),r.createElement("span",{className:m["link-list__content"]},p),M&&j&&r.createElement("span",{className:m["link-list__chevron"]},r.createElement(o,{svgIcon:c,isHovered:B,size:i.XSmall}))))})),f=r.forwardRef((function(l,i){var o,s=l.children,t=l.className,n=void 0===t?"":t,c=l.chevron,f=void 0!==c&&c,v=l.size,p=void 0===v?"medium":v,h=l.color,u=l.topBorder,_=void 0===u||u,k=l.bottomBorder,E=void 0===k||k;return r.createElement("ul",{ref:i,className:a(m["link-list"],(o={},e(o,m["link-list--hastopborder"],_),e(o,m["link-list--nobottomborder"],!E),o),n||"")},r.Children.map(s,(function(e){if(e.type===d)return r.cloneElement(e,{color:h,size:p,chevron:f})})))}));f.Link=d,d.displayName="LinkList.Link";export default f;
1
+ import{a as e}from"../../_rollupPluginBabelHelpers-e1c7fe69.js";import{_ as l}from"../../_tslib-51c8a283.js";import r from"react";import{c as a}from"../../index-9b84fabc.js";import{a as i,I as o}from"../../constants-d919236e.js";import{u as s,B as t}from"../../useBreakpoint-a8fa8a61.js";import{u as n}from"../../useHover-57ad4df9.js";import m from"./styles.module.scss";import"../../useWindowSize-c22d7634.js";import"../../grid-11a70eb7.js";var c=function(e){var l=e.isExtraSmall,a=e.isHovered,i=r.createElement("path",{d:"M19.171 32.951l1.409 1.42L31.031 24 20.58 13.63l-1.409 1.42 9.02 8.95z"}),o=r.createElement("path",{d:"M24.479 11.63L36.93 23.999 24.479 36.37l-1.409-1.419L33.083 25H13v-2h20.085L23.07 13.049z"}),s=r.createElement("path",{d:"M17.885 32.577l1.779 1.793 10.451-10.371L19.664 13.63l-1.779 1.793 8.644 8.576z"});return l?a?r.createElement("path",{d:"M25.98 11.103l12.977 12.896L25.98 36.897l-1.78-1.794 9.899-9.841-20.204.001v-2.526l20.204-.001-9.899-9.839z"}):s:a?o:i},d=r.forwardRef((function(d,v){var f,p=d.children,u=d.className,h=void 0===u?"":u,_=d.color,k=void 0===_?"neutral":_,E=d.icon,z=d.size,b=void 0===z?"medium":z,L=d.chevron,j=void 0!==L&&L,N=l(d,["children","className","color","icon","size","chevron"]),H=n(),g=H.hoverRef,B=H.isHovered,S=s(),M="small"!==b&&!(!j&&!E);return r.createElement("li",{ref:v},r.createElement("a",Object.assign({className:a(m["link-list__anchor"],m["link-list__anchor--"+k],(f={},e(f,m["link-list__anchor--small"],"small"===b),e(f,m["link-list__anchor--medium"],"medium"===b),e(f,m["link-list__anchor--large"],"large"===b),f),h),ref:g},N),M&&E&&r.createElement("span",{className:m["link-list__icon"]},r.cloneElement(E,{size:S===t.Xs?i.XSmall:i.Small,isHovered:B})),r.createElement("span",{className:m["link-list__content"]},p),M&&j&&r.createElement("span",{className:m["link-list__chevron"]},r.createElement(o,{svgIcon:c,isHovered:B,size:i.XSmall}))))})),v=r.forwardRef((function(l,i){var o,s=l.children,t=l.className,n=void 0===t?"":t,c=l.chevron,v=void 0!==c&&c,f=l.size,p=void 0===f?"medium":f,u=l.color,h=l.topBorder,_=void 0===h||h,k=l.bottomBorder,E=void 0===k||k;return r.createElement("ul",{ref:i,className:a(m["link-list"],(o={},e(o,m["link-list--hastopborder"],_),e(o,m["link-list--nobottomborder"],!E),o),n||"")},r.Children.map(s,(function(e){if(e.type===d)return r.cloneElement(e,{color:u,size:p,chevron:v})})))}));v.Link=d,d.displayName="LinkList.Link";export default v;
2
2
  //# sourceMappingURL=index.js.map
@@ -25,15 +25,12 @@
25
25
 
26
26
  &__anchor {
27
27
  display: flex;
28
- min-height: 4.5rem;
28
+ min-height: 4rem;
29
29
  text-decoration: none;
30
30
  align-items: center;
31
31
  color: $black;
32
32
  cursor: pointer;
33
33
 
34
- &--hasicon {
35
- min-height: unset;
36
- }
37
34
  &--small {
38
35
  padding: getSpacer(xs) 0 getSpacer(xs) 0;
39
36
  font-size: $font-size-xs;
@@ -5,7 +5,6 @@ export type Styles = {
5
5
  'link-list__anchor--black': string;
6
6
  'link-list__anchor--blueberry': string;
7
7
  'link-list__anchor--cherry': string;
8
- 'link-list__anchor--hasicon': string;
9
8
  'link-list__anchor--kiwi': string;
10
9
  'link-list__anchor--large': string;
11
10
  'link-list__anchor--medium': string;
@@ -1,2 +1,2 @@
1
- import{L as e}from"../../Loader-3767cb6e.js";export{L as default}from"../../Loader-3767cb6e.js";import"../../_rollupPluginBabelHelpers-e1c7fe69.js";import"react";import"../../index-9b84fabc.js";import"./styles.module.scss";
1
+ import{L as e}from"../../Loader-9e099b42.js";export{L as default}from"../../Loader-9e099b42.js";import"../../_rollupPluginBabelHelpers-e1c7fe69.js";import"react";import"../../index-9b84fabc.js";import"../../uuid-484288be.js";import"./styles.module.scss";
2
2
  //# sourceMappingURL=index.js.map
@@ -1,2 +1,2 @@
1
- import{M as s}from"../../Modal-459c67d7.js";export{M as default}from"../../Modal-459c67d7.js";import"react";import"../../index-9b84fabc.js";import"../../Loader-3767cb6e.js";import"../../_rollupPluginBabelHelpers-e1c7fe69.js";import"../Loader/styles.module.scss";import"../../palette-f206f488.js";import"../../Button-e2087687.js";import"../../_tslib-51c8a283.js";import"../../color-acb834c6.js";import"../../index-19b48c51.js";import"../../grid-11a70eb7.js";import"../../constants-d1f48e8e.js";import"../../useHover-57ad4df9.js";import"../../useWindowSize-c22d7634.js";import"../Button/styles.module.scss";import"../../AlertSignFill-64bfef57.js";import"./styles.module.scss";import"../../Title-863af332.js";import"../Title/styles.module.scss";
1
+ import{M as s}from"../../Modal-9eafa1a2.js";export{M as default}from"../../Modal-9eafa1a2.js";import"react";import"../../index-9b84fabc.js";import"../../uuid-484288be.js";import"../../palette-f206f488.js";import"../../Button-835e9bea.js";import"../../_rollupPluginBabelHelpers-e1c7fe69.js";import"../../_tslib-51c8a283.js";import"../../color-acb834c6.js";import"../../index-19b48c51.js";import"../../grid-11a70eb7.js";import"../../constants-d919236e.js";import"../../Loader-9e099b42.js";import"../Loader/styles.module.scss";import"../../useHover-57ad4df9.js";import"../../useWindowSize-c22d7634.js";import"../Button/styles.module.scss";import"../../AlertSignFill-64bfef57.js";import"./styles.module.scss";import"../../Title-863af332.js";import"../Title/styles.module.scss";
2
2
  //# sourceMappingURL=index.js.map
@@ -86,6 +86,7 @@
86
86
  &--image {
87
87
  max-height: calc(100vh - 24px);
88
88
  max-width: calc(100vw - 24px);
89
+ width: 100%;
89
90
 
90
91
  &__img {
91
92
  line-height: 0;
@@ -20,6 +20,8 @@ interface NotificationPanelProps {
20
20
  fluid?: boolean;
21
21
  /** Sets a label for the notification panel. */
22
22
  label?: string;
23
+ /** Close button aria-label */
24
+ ariaLabelCloseBtn?: string;
23
25
  }
24
26
  export declare const variantToColorMap: {
25
27
  info: {
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationPanel.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationPanel/NotificationPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,oBAAY,yBAAyB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC7E,oBAAY,sBAAsB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElE,UAAU,sBAAsB;IAC9B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,mEAAmE;IACnE,OAAO,CAAC,EAAE,yBAAyB,CAAC;IACpC,0DAA0D;IAC1D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mDAAmD;IACnD,IAAI,CAAC,EAAE,sBAAsB,CAAC;IAC9B,sFAAsF;IACtF,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAClE,wDAAwD;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAK7B,CAAC;AAUF,QAAA,MAAM,iBAAiB,+FAwFrB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"NotificationPanel.d.ts","sourceRoot":"","sources":["../../../src/components/NotificationPanel/NotificationPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,oBAAY,yBAAyB,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,QAAQ,CAAC;AAC7E,oBAAY,sBAAsB,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,CAAC;AAElE,UAAU,sBAAsB;IAC9B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,mEAAmE;IACnE,OAAO,CAAC,EAAE,yBAAyB,CAAC;IACpC,0DAA0D;IAC1D,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,mDAAmD;IACnD,IAAI,CAAC,EAAE,sBAAsB,CAAC;IAC9B,sFAAsF;IACtF,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,UAAU,CAAC,KAAK,IAAI,CAAC;IAClE,wDAAwD;IACxD,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6EAA6E;IAC7E,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;CAK7B,CAAC;AAUF,QAAA,MAAM,iBAAiB,+FAwFrB,CAAC;AAEH,eAAe,iBAAiB,CAAC"}
@@ -203,6 +203,25 @@
203
203
  "type": {
204
204
  "name": "string"
205
205
  }
206
+ },
207
+ "ariaLabelCloseBtn": {
208
+ "defaultValue": null,
209
+ "description": "Close button aria-label",
210
+ "name": "ariaLabelCloseBtn",
211
+ "parent": {
212
+ "fileName": "src/components/NotificationPanel/NotificationPanel.tsx",
213
+ "name": "NotificationPanelProps"
214
+ },
215
+ "declarations": [
216
+ {
217
+ "fileName": "src/components/NotificationPanel/NotificationPanel.tsx",
218
+ "name": "NotificationPanelProps"
219
+ }
220
+ ],
221
+ "required": false,
222
+ "type": {
223
+ "name": "string"
224
+ }
206
225
  }
207
226
  }
208
227
  }
@@ -1,2 +1,2 @@
1
- import{a as e}from"../../_rollupPluginBabelHelpers-e1c7fe69.js";import a from"react";import{c as o}from"../../index-9b84fabc.js";import{p as t}from"../../palette-f206f488.js";import{I as n,a as i}from"../../constants-d1f48e8e.js";import{u as r}from"../../useHover-57ad4df9.js";import{a as l,A as c,X as s}from"../../AlertSignFill-64bfef57.js";import m from"./styles.module.scss";import"../../_tslib-51c8a283.js";var f={info:a.createElement(n,{svgIcon:function(e){var o=e.isExtraSmall,t=e.isHovered,n=a.createElement("path",{d:"M25.672 30.501a.682.682 0 01-.322-.272.835.835 0 01-.11-.443v-7.917l-.112-.112-3.651.194v.544c.148.015.314.05.495.104.18.055.316.112.406.172a.994.994 0 01.299.316.88.88 0 01.119.459v6.337a.879.879 0 01-.098.443.623.623 0 01-.335.257c-.09.035-.197.06-.32.074a8.883 8.883 0 01-.38.038v.544h4.709v-.544a2.45 2.45 0 01-.7-.194M24 37.604c-7.5 0-13.604-6.103-13.604-13.604 0-7.501 6.104-13.603 13.604-13.603 7.502 0 13.602 6.102 13.602 13.603 0 7.501-6.1 13.604-13.601 13.604m0-28.909C15.56 8.695 8.694 15.562 8.694 24c0 8.438 6.867 15.305 15.305 15.305 8.438 0 15.304-6.867 15.304-15.305 0-8.438-6.866-15.305-15.304-15.305m-.274 10.632a1.559 1.559 0 100-3.118 1.559 1.559 0 000 3.118"}),i=a.createElement("path",{d:"M25.672 30.501a.682.682 0 01-.322-.272.835.835 0 01-.11-.443v-7.917l-.112-.112-3.651.194v.544c.148.015.314.05.495.104.18.055.316.112.406.172a.994.994 0 01.299.316.88.88 0 01.119.459v6.337a.879.879 0 01-.098.443.623.623 0 01-.335.257c-.09.035-.197.06-.32.074a8.883 8.883 0 01-.38.038v.544h4.709v-.544a2.45 2.45 0 01-.7-.194M24 37.604c-7.5 0-13.604-6.103-13.604-13.604 0-7.501 6.104-13.603 13.604-13.603 7.502 0 13.602 6.102 13.602 13.603 0 7.501-6.1 13.604-13.601 13.604m0-28.909C15.56 8.695 8.694 15.562 8.694 24c0 8.438 6.867 15.305 15.305 15.305 8.438 0 15.304-6.867 15.304-15.305 0-8.438-6.866-15.305-15.304-15.305m-.274 8.632a1.559 1.559 0 100-3.118 1.559 1.559 0 000 3.118"}),r=a.createElement("path",{d:"M25.668 30.487a.68.68 0 01-.32-.271.833.833 0 01-.111-.442v-7.9l-.112-.112-3.643.193v.543c.148.015.313.05.495.104.18.055.315.112.405.172a.991.991 0 01.297.315.877.877 0 01.119.458v6.324c0 .182-.032.33-.097.442a.622.622 0 01-.334.256c-.09.035-.197.06-.32.074-.124.015-.25.028-.38.038v.543h4.7v-.543a2.445 2.445 0 01-.699-.194M24 37.575c-7.485 0-13.575-6.09-13.575-13.575 0-7.485 6.09-13.574 13.575-13.574 7.486 0 13.574 6.089 13.574 13.574 0 7.485-6.088 13.575-13.574 13.575m0-28.848C15.58 8.727 8.728 15.58 8.728 24S15.579 39.273 24 39.273c8.42 0 15.272-6.853 15.272-15.273S32.421 8.727 24 8.727m-.274 10.61a1.556 1.556 0 100-3.112 1.556 1.556 0 000 3.112"});return o?t?a.createElement("path",{d:"M25.668 30.487a.68.68 0 01-.32-.271.833.833 0 01-.111-.442v-7.9l-.112-.112-3.643.193v.543c.148.015.313.05.495.104.18.055.315.112.405.172a.991.991 0 01.297.315.877.877 0 01.119.458v6.324c0 .182-.032.33-.097.442a.622.622 0 01-.334.256c-.09.035-.197.06-.32.074-.124.015-.25.028-.38.038v.543h4.7v-.543a2.445 2.445 0 01-.699-.194M24 37.575c-7.485 0-13.575-6.09-13.575-13.575 0-7.485 6.09-13.574 13.575-13.574 7.486 0 13.574 6.089 13.574 13.574 0 7.485-6.088 13.575-13.574 13.575m0-28.848C15.58 8.727 8.728 15.58 8.728 24S15.579 39.273 24 39.273c8.42 0 15.272-6.853 15.272-15.273S32.421 8.727 24 8.727m-.274 8.084a1.556 1.556 0 100-3.112 1.556 1.556 0 000 3.112"}):r:t?i:n},color:t.kiwi900,hoverColor:t.kiwi900}),warn:a.createElement(n,{svgIcon:l,color:"black",hoverColor:"black"}),alert:a.createElement(n,{svgIcon:c,color:t.cherry500,hoverColor:t.cherry500}),alertLabel:a.createElement(n,{svgIcon:l,color:t.cherry500,hoverColor:t.cherry500}),crisis:a.createElement(n,{svgIcon:c,color:t.banana200,hoverColor:t.banana200})},v=a.forwardRef((function(l,c){var v,p,d=l.children,h=l.variant,_=void 0===h?"info":h,u=l.shadow,b=void 0!==u&&u,E=l.dismissable,C=void 0!==E&&E,w=l.onClick,g=l.label,y=l.fluid,M=void 0!==y&&y,I=l.size,N=l.className,S=r(void 0,C),j=S.hoverRef,k=S.isHovered,H=o(m["notification-panel__close-button"],"crisis"===_?m["notification-panel__close-button--crisis"]:"");var x;return x=a.createElement("div",{ref:c,className:o(m["notification-panel"],m["notification-panel--"+I],m["notification-panel--"+_],(v={},e(v,m["notification-panel--shadow"],!M&&b),e(v,m["notification-panel--haslabel"],!!g&&!d),e(v,m["notification-panel--dismissable"],C),v),N||"")},a.createElement("span",{className:m["notification-panel__icon"]},f["alert"===_&&g&&!d?"alertLabel":_]),a.createElement("section",{"aria-label":function(){if(d){var e="";return a.Children.map(d,(function(a){"string"==typeof a&&(e+=a)})),e}return""}(),className:o(m["notification-panel__content"],(p={},e(p,m["notification-panel__content--crisis"],"crisis"===_),e(p,m["notification-panel__content--haslabel"],!!g&&!d),e(p,m["notification-panel__content--isred"],"alert"===_&&!!g&&!d),p))},g?a.createElement("h1",{className:m["notification-panel__label"],dangerouslySetInnerHTML:{__html:g}}):null,d),C?a.createElement("span",{className:m["notification-panel__action-column"]},a.createElement("button",{className:H,onClick:w,ref:j},a.createElement(n,{svgIcon:s,isHovered:k,size:i.XSmall,color:"crisis"===_?t.white:t.blueberry500,hoverColor:"crisis"===_?t.white:t.blueberry700}))):null),M?a.createElement("div",{className:o(m["notification-panel__fluidwrapper"],m["notification-panel__fluidwrapper--"+_],e({},m["notification-panel__fluidwrapper--shadow"],b))},x):x}));export default v;
1
+ import{a as e}from"../../_rollupPluginBabelHelpers-e1c7fe69.js";import a from"react";import{c as o}from"../../index-9b84fabc.js";import{p as n}from"../../palette-f206f488.js";import{I as t,a as i}from"../../constants-d919236e.js";import{u as l}from"../../useHover-57ad4df9.js";import{a as r,A as c,X as s}from"../../AlertSignFill-64bfef57.js";import m from"./styles.module.scss";import"../../_tslib-51c8a283.js";var f={info:a.createElement(t,{svgIcon:function(e){var o=e.isExtraSmall,n=e.isHovered,t=a.createElement("path",{d:"M25.672 30.501a.682.682 0 01-.322-.272.835.835 0 01-.11-.443v-7.917l-.112-.112-3.651.194v.544c.148.015.314.05.495.104.18.055.316.112.406.172a.994.994 0 01.299.316.88.88 0 01.119.459v6.337a.879.879 0 01-.098.443.623.623 0 01-.335.257c-.09.035-.197.06-.32.074a8.883 8.883 0 01-.38.038v.544h4.709v-.544a2.45 2.45 0 01-.7-.194M24 37.604c-7.5 0-13.604-6.103-13.604-13.604 0-7.501 6.104-13.603 13.604-13.603 7.502 0 13.602 6.102 13.602 13.603 0 7.501-6.1 13.604-13.601 13.604m0-28.909C15.56 8.695 8.694 15.562 8.694 24c0 8.438 6.867 15.305 15.305 15.305 8.438 0 15.304-6.867 15.304-15.305 0-8.438-6.866-15.305-15.304-15.305m-.274 10.632a1.559 1.559 0 100-3.118 1.559 1.559 0 000 3.118"}),i=a.createElement("path",{d:"M25.672 30.501a.682.682 0 01-.322-.272.835.835 0 01-.11-.443v-7.917l-.112-.112-3.651.194v.544c.148.015.314.05.495.104.18.055.316.112.406.172a.994.994 0 01.299.316.88.88 0 01.119.459v6.337a.879.879 0 01-.098.443.623.623 0 01-.335.257c-.09.035-.197.06-.32.074a8.883 8.883 0 01-.38.038v.544h4.709v-.544a2.45 2.45 0 01-.7-.194M24 37.604c-7.5 0-13.604-6.103-13.604-13.604 0-7.501 6.104-13.603 13.604-13.603 7.502 0 13.602 6.102 13.602 13.603 0 7.501-6.1 13.604-13.601 13.604m0-28.909C15.56 8.695 8.694 15.562 8.694 24c0 8.438 6.867 15.305 15.305 15.305 8.438 0 15.304-6.867 15.304-15.305 0-8.438-6.866-15.305-15.304-15.305m-.274 8.632a1.559 1.559 0 100-3.118 1.559 1.559 0 000 3.118"}),l=a.createElement("path",{d:"M25.668 30.487a.68.68 0 01-.32-.271.833.833 0 01-.111-.442v-7.9l-.112-.112-3.643.193v.543c.148.015.313.05.495.104.18.055.315.112.405.172a.991.991 0 01.297.315.877.877 0 01.119.458v6.324c0 .182-.032.33-.097.442a.622.622 0 01-.334.256c-.09.035-.197.06-.32.074-.124.015-.25.028-.38.038v.543h4.7v-.543a2.445 2.445 0 01-.699-.194M24 37.575c-7.485 0-13.575-6.09-13.575-13.575 0-7.485 6.09-13.574 13.575-13.574 7.486 0 13.574 6.089 13.574 13.574 0 7.485-6.088 13.575-13.574 13.575m0-28.848C15.58 8.727 8.728 15.58 8.728 24S15.579 39.273 24 39.273c8.42 0 15.272-6.853 15.272-15.273S32.421 8.727 24 8.727m-.274 10.61a1.556 1.556 0 100-3.112 1.556 1.556 0 000 3.112"});return o?n?a.createElement("path",{d:"M25.668 30.487a.68.68 0 01-.32-.271.833.833 0 01-.111-.442v-7.9l-.112-.112-3.643.193v.543c.148.015.313.05.495.104.18.055.315.112.405.172a.991.991 0 01.297.315.877.877 0 01.119.458v6.324c0 .182-.032.33-.097.442a.622.622 0 01-.334.256c-.09.035-.197.06-.32.074-.124.015-.25.028-.38.038v.543h4.7v-.543a2.445 2.445 0 01-.699-.194M24 37.575c-7.485 0-13.575-6.09-13.575-13.575 0-7.485 6.09-13.574 13.575-13.574 7.486 0 13.574 6.089 13.574 13.574 0 7.485-6.088 13.575-13.574 13.575m0-28.848C15.58 8.727 8.728 15.58 8.728 24S15.579 39.273 24 39.273c8.42 0 15.272-6.853 15.272-15.273S32.421 8.727 24 8.727m-.274 8.084a1.556 1.556 0 100-3.112 1.556 1.556 0 000 3.112"}):l:n?i:t},color:n.kiwi900,hoverColor:n.kiwi900}),warn:a.createElement(t,{svgIcon:r,color:"black",hoverColor:"black"}),alert:a.createElement(t,{svgIcon:c,color:n.cherry500,hoverColor:n.cherry500}),alertLabel:a.createElement(t,{svgIcon:r,color:n.cherry500,hoverColor:n.cherry500}),crisis:a.createElement(t,{svgIcon:c,color:n.banana200,hoverColor:n.banana200})},v=a.forwardRef((function(r,c){var v,p,d,h=r.children,u=r.variant,_=void 0===u?"info":u,b=r.shadow,E=void 0!==b&&b,C=r.dismissable,w=void 0!==C&&C,g=r.onClick,y=r.label,M=r.fluid,k=void 0!==M&&M,I=r.size,N=r.className,S=l(void 0,w),j=S.hoverRef,H=S.isHovered,L=o(m["notification-panel__close-button"],"crisis"===_?m["notification-panel__close-button--crisis"]:"");var x;return x=a.createElement("div",{ref:c,className:o(m["notification-panel"],m["notification-panel--"+I],m["notification-panel--"+_],(v={},e(v,m["notification-panel--shadow"],!k&&E),e(v,m["notification-panel--haslabel"],!!y&&!h),e(v,m["notification-panel--dismissable"],w),v),N||"")},a.createElement("span",{className:m["notification-panel__icon"]},f["alert"===_&&y&&!h?"alertLabel":_]),a.createElement("section",{"aria-label":function(){if(h){var e="";return a.Children.map(h,(function(a){"string"==typeof a&&(e+=a)})),e}return""}(),className:o(m["notification-panel__content"],(p={},e(p,m["notification-panel__content--crisis"],"crisis"===_),e(p,m["notification-panel__content--haslabel"],!!y&&!h),e(p,m["notification-panel__content--isred"],"alert"===_&&!!y&&!h),p))},y?a.createElement("h1",{className:m["notification-panel__label"],dangerouslySetInnerHTML:{__html:y}}):null,h),w?a.createElement("span",{className:m["notification-panel__action-column"]},a.createElement("button",{className:L,onClick:g,ref:j,"aria-label":null!==(d=r.ariaLabelCloseBtn)&&void 0!==d?d:"Lukk"},a.createElement(t,{svgIcon:s,isHovered:H,size:i.XSmall,color:"crisis"===_?n.white:n.blueberry500,hoverColor:"crisis"===_?n.white:n.blueberry700}))):null),k?a.createElement("div",{className:o(m["notification-panel__fluidwrapper"],m["notification-panel__fluidwrapper--"+_],e({},m["notification-panel__fluidwrapper--shadow"],E))},x):x}));export default v;
2
2
  //# sourceMappingURL=index.js.map
@@ -164,8 +164,8 @@
164
164
  border: 2px solid transparent;
165
165
  }
166
166
  &:hover,
167
- :active,
168
- :focus {
167
+ &:active,
168
+ &:focus {
169
169
  background-color: rgba(8, 102, 124, 0.05);
170
170
  border-color: transparent;
171
171
  &:after {
@@ -177,8 +177,8 @@
177
177
  border-color: $white;
178
178
 
179
179
  &:hover,
180
- :active,
181
- :focus {
180
+ &:active,
181
+ &:focus {
182
182
  border-color: transparent;
183
183
  &:after {
184
184
  border-color: $white;
@@ -1,2 +1,2 @@
1
- import{_ as e,a as t}from"../../_rollupPluginBabelHelpers-e1c7fe69.js";import{_ as i}from"../../_tslib-51c8a283.js";import r,{useState as l}from"react";import{c as o}from"../../index-9b84fabc.js";import{a}from"../../constants-d1f48e8e.js";import c from"./styles.module.scss";var n=r.forwardRef((function(e,i){var l,a=e.children,n=e.className,s=e.htmlMarkup,m=void 0===s?"span":s,d=e.highlighted,f=e.compact,p=o(c.tile__title,(t(l={},c["tile__title--highlighted"],d),t(l,c["tile__title--compact"],f),l),n),u=m;return r.createElement(u,{className:p,ref:i},a)})),s=r.forwardRef((function(n,s){var m,d=n.icon,f=n.title,p=n.className,u=void 0===p?"":p,h=n.description,g=n.fixed,_=void 0!==g&&g,v=n.highlighted,E=void 0!==v&&v,N=i(n,["icon","title","className","description","fixed","highlighted"]),b=l(!1),j=e(b,2),w=j[0],x=j[1],M=!h,k=o(c.tile,(t(m={},c["tile--fixed"],_),t(m,c["tile--compact"],M),t(m,c["tile--highlighted"],E),m),u),B=o(c["title-wrapper"],t({},c["title-wrapper--compact"],M));return r.createElement("a",Object.assign({ref:s,className:k,onMouseEnter:function(){return x(!0)},onMouseLeave:function(){return x(!1)},onFocus:function(){return x(!0)},onBlur:function(){return x(!1)}},N),r.createElement("div",{className:B},r.cloneElement(d,{size:a.Medium,isHovered:w,color:E?"white":"black"}),r.cloneElement(f,{highlighted:E,compact:M})),h?r.createElement("p",{className:c.tile__description},h):null)}));s.Title=n;export default s;
1
+ import{_ as e,a as t}from"../../_rollupPluginBabelHelpers-e1c7fe69.js";import{_ as i}from"../../_tslib-51c8a283.js";import r,{useState as l}from"react";import{c as o}from"../../index-9b84fabc.js";import{a}from"../../constants-d919236e.js";import c from"./styles.module.scss";var n=r.forwardRef((function(e,i){var l,a=e.children,n=e.className,s=e.htmlMarkup,m=void 0===s?"span":s,d=e.highlighted,f=e.compact,p=o(c.tile__title,(t(l={},c["tile__title--highlighted"],d),t(l,c["tile__title--compact"],f),l),n),u=m;return r.createElement(u,{className:p,ref:i},a)})),s=r.forwardRef((function(n,s){var m,d=n.icon,f=n.title,p=n.className,u=void 0===p?"":p,h=n.description,g=n.fixed,_=void 0!==g&&g,v=n.highlighted,E=void 0!==v&&v,N=i(n,["icon","title","className","description","fixed","highlighted"]),b=l(!1),j=e(b,2),w=j[0],x=j[1],M=!h,k=o(c.tile,(t(m={},c["tile--fixed"],_),t(m,c["tile--compact"],M),t(m,c["tile--highlighted"],E),m),u),B=o(c["title-wrapper"],t({},c["title-wrapper--compact"],M));return r.createElement("a",Object.assign({ref:s,className:k,onMouseEnter:function(){return x(!0)},onMouseLeave:function(){return x(!1)},onFocus:function(){return x(!0)},onBlur:function(){return x(!1)}},N),r.createElement("div",{className:B},r.cloneElement(d,{size:a.Medium,isHovered:w,color:E?"white":"black"}),r.cloneElement(f,{highlighted:E,compact:M})),h?r.createElement("p",{className:c.tile__description},h):null)}));s.Title=n;export default s;
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { FormVariant } from '../FormGroup/FormGroup';
3
+ interface ValidationProps {
4
+ /** text placed in the legend tag of the fieldset */
5
+ errorSummary?: string;
6
+ /** Items in the ExpanderList */
7
+ children?: React.ReactNode;
8
+ /** Adds custom classes to the element. */
9
+ className?: string;
10
+ /** Changes the visuals of the formgroup */
11
+ variant?: FormVariant;
12
+ /** Sets the data-testid attribute. */
13
+ testId?: string;
14
+ }
15
+ export declare const Validation: React.ForwardRefExoticComponent<ValidationProps & React.RefAttributes<HTMLElement>>;
16
+ export default Validation;
17
+ //# sourceMappingURL=Validation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Validation.d.ts","sourceRoot":"","sources":["../../../src/components/Validation/Validation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAIrD,UAAU,eAAe;IACvB,oDAAoD;IACpD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,0CAA0C;IAC1C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,sCAAsC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,UAAU,qFAgBrB,CAAC;AAEH,eAAe,UAAU,CAAC"}
@@ -0,0 +1,111 @@
1
+ {
2
+ "props": {
3
+ "errorSummary": {
4
+ "defaultValue": null,
5
+ "description": "text placed in the legend tag of the fieldset",
6
+ "name": "errorSummary",
7
+ "parent": {
8
+ "fileName": "src/components/Validation/Validation.tsx",
9
+ "name": "ValidationProps"
10
+ },
11
+ "declarations": [
12
+ {
13
+ "fileName": "src/components/Validation/Validation.tsx",
14
+ "name": "ValidationProps"
15
+ }
16
+ ],
17
+ "required": false,
18
+ "type": {
19
+ "name": "string"
20
+ }
21
+ },
22
+ "children": {
23
+ "defaultValue": null,
24
+ "description": "Items in the ExpanderList",
25
+ "name": "children",
26
+ "parent": {
27
+ "fileName": "src/components/Validation/Validation.tsx",
28
+ "name": "ValidationProps"
29
+ },
30
+ "declarations": [
31
+ {
32
+ "fileName": "src/components/Validation/Validation.tsx",
33
+ "name": "ValidationProps"
34
+ }
35
+ ],
36
+ "required": false,
37
+ "type": {
38
+ "name": "ReactNode"
39
+ }
40
+ },
41
+ "className": {
42
+ "defaultValue": null,
43
+ "description": "Adds custom classes to the element.",
44
+ "name": "className",
45
+ "parent": {
46
+ "fileName": "src/components/Validation/Validation.tsx",
47
+ "name": "ValidationProps"
48
+ },
49
+ "declarations": [
50
+ {
51
+ "fileName": "src/components/Validation/Validation.tsx",
52
+ "name": "ValidationProps"
53
+ }
54
+ ],
55
+ "required": false,
56
+ "type": {
57
+ "name": "string"
58
+ }
59
+ },
60
+ "variant": {
61
+ "defaultValue": null,
62
+ "description": "Changes the visuals of the formgroup",
63
+ "name": "variant",
64
+ "parent": {
65
+ "fileName": "src/components/Validation/Validation.tsx",
66
+ "name": "ValidationProps"
67
+ },
68
+ "declarations": [
69
+ {
70
+ "fileName": "src/components/Validation/Validation.tsx",
71
+ "name": "ValidationProps"
72
+ }
73
+ ],
74
+ "required": false,
75
+ "type": {
76
+ "name": "enum",
77
+ "raw": "\"normal\" | \"bigform\" | undefined",
78
+ "value": [
79
+ {
80
+ "value": "undefined"
81
+ },
82
+ {
83
+ "value": "\"normal\""
84
+ },
85
+ {
86
+ "value": "\"bigform\""
87
+ }
88
+ ]
89
+ }
90
+ },
91
+ "testId": {
92
+ "defaultValue": null,
93
+ "description": "Sets the data-testid attribute.",
94
+ "name": "testId",
95
+ "parent": {
96
+ "fileName": "src/components/Validation/Validation.tsx",
97
+ "name": "ValidationProps"
98
+ },
99
+ "declarations": [
100
+ {
101
+ "fileName": "src/components/Validation/Validation.tsx",
102
+ "name": "ValidationProps"
103
+ }
104
+ ],
105
+ "required": false,
106
+ "type": {
107
+ "name": "string"
108
+ }
109
+ }
110
+ }
111
+ }
@@ -0,0 +1,3 @@
1
+ import Validation from './Validation';
2
+ export default Validation;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Validation/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,cAAc,CAAC;AACtC,eAAe,UAAU,CAAC"}
@@ -0,0 +1,2 @@
1
+ import{V as e}from"../../Validation-e113da7e.js";export{V as default}from"../../Validation-e113da7e.js";import"../../_rollupPluginBabelHelpers-e1c7fe69.js";import"react";import"../../index-9b84fabc.js";import"./styles.module.scss";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ @import '../../scss/_spacers.scss';
2
+ @import '../../scss/_palette.scss';
3
+ @import '../../scss/font-settings.scss';
4
+
5
+ .validation {
6
+ &__errors {
7
+ font-size: $font-size-sm;
8
+ font-weight: 600;
9
+ color: $cherry500;
10
+
11
+ &--bigform {
12
+ margin-left: getSpacer(l);
13
+ }
14
+ }
15
+ }
@@ -0,0 +1,10 @@
1
+ export type Styles = {
2
+ validation__errors: string;
3
+ 'validation__errors--bigform': string;
4
+ };
5
+
6
+ export type ClassNames = keyof Styles;
7
+
8
+ declare const styles: Styles;
9
+
10
+ export default styles;
@@ -0,0 +1,2 @@
1
+ import{_ as e}from"./_tslib-51c8a283.js";import a from"react";var i,l=function(e,a,i,l,r,t){return e&&r&&t?a?t:r:a?l:i},r=a.forwardRef((function(l,r){var t=l.svgIcon,o=l.ariaLabel,s=l.id,d=l.className,c=void 0===d?"":d,m=l.size,n=void 0===m?i.Small:m,v=l.color,g=void 0===v?"black":v,b=l.hoverColor,f=void 0===b?g||"black":b,h=l.isHovered,u=void 0!==h&&h,S=l.testId,I=e(l,["svgIcon","ariaLabel","id","className","size","color","hoverColor","isHovered","testId"]),L=a.createElement(t,{isExtraSmall:n<=i.XSmall,isHovered:u}),X=s&&o?"title-".concat(s):void 0;return a.createElement("svg",Object.assign({id:s,"data-testid":S,ref:r,className:"hnds-style-icon ".concat(c),role:"img","aria-label":!s&&o?o:void 0,"aria-labelledby":X,"aria-hidden":"true",viewBox:"0 0 48 48",style:{minWidth:n,minHeight:n},width:n,height:n,fill:u?f:g},I),X&&a.createElement("title",{id:X},o),L)}));r.displayName="Icon",function(e){e[e.XSmall=38]="XSmall",e[e.Small=48]="Small",e[e.Medium=64]="Medium",e[e.Large=80]="Large",e[e.XLarge=130]="XLarge"}(i||(i={}));export{r as I,i as a,l as r};
2
+ //# sourceMappingURL=constants-d919236e.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants-d919236e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@helsenorge/designsystem-react",
3
3
  "sideEffects": false,
4
- "version": "1.0.0-beta81-ModalTest",
4
+ "version": "1.0.0-beta84",
5
5
  "description": "The official design system for Helsenorge built with React.",
6
6
  "repository": {
7
7
  "type": "tfs",
@@ -74,6 +74,7 @@
74
74
  "react-docgen-typescript": "^1.22.0",
75
75
  "react-docgen-typescript-loader": "^3.3.0",
76
76
  "react-dom": "16.12.0",
77
+ "react-hook-form": "^6.15.8",
77
78
  "resolve-url-loader": "^3.1.1",
78
79
  "rimraf": "^3.0.2",
79
80
  "rollup": "^2.10.9",
@@ -67,6 +67,7 @@ $plum700: #5b22a6;
67
67
  $plum800: #4c1b8c;
68
68
  $plum900: #3c1471;
69
69
 
70
+ $inverted-hover: #ffffff0d;
70
71
  $transparentGrey: rgba(102, 102, 102, 0.75);
71
72
 
72
73
  $palette-map: (
@@ -0,0 +1,2 @@
1
+ var x=function(){return"xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(x){var r=16*Math.random()|0;return("x"==x?r:3&r|8).toString(16)}))};export{x as u};
2
+ //# sourceMappingURL=uuid-484288be.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"uuid-484288be.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button-e2087687.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{a as e}from"./_rollupPluginBabelHelpers-e1c7fe69.js";import a from"react";import{c as r}from"./index-9b84fabc.js";import l from"./components/Loader/styles.module.scss";var o=function(){return"xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var a=16*Math.random()|0;return("x"==e?a:3&a|8).toString(16)}))},d=a.forwardRef((function(d,t){var s,i,m,n=d.overlay,x=d.color,c=void 0===x?n?"black":"neutral":x,_=d.size,p=void 0===_?"small":_,u=d.className,v=void 0===u?"":u,b=d.testId,f=void 0===b?"":b,y=d.center,w=d.ariaLabelledById,N=d.ariaLabel,g=void 0===N?"Laster inn":N,E="small"===p,h="medium"===p,k="large"===p,L=r(l["loader-wrapper"],(e(s={},l["loader-wrapper--center"],y),e(s,l["loader-wrapper--overlay"],n),s)),j=r(l.loader,(e(i={},l["loader--small"],E),e(i,l["loader--medium"],h),e(i,l["loader--large"],k),i),v),B=r(l.loader__dot,(e(m={},l["loader__dot--small"],E),e(m,l["loader__dot--medium"],h),e(m,l["loader__dot--large"],k),e(m,l["loader__dot--banana"],"banana"===c),e(m,l["loader__dot--cherry"],"cherry"===c),e(m,l["loader__dot--kiwi"],"kiwi"===c),e(m,l["loader__dot--neutral"],"neutral"===c),e(m,l["loader__dot--plum"],"plum"===c),e(m,l["loader__dot--black"],"black"===c),e(m,l["loader__dot--white"],"white"===c),m)),I="loader".concat(o());return a.createElement("div",{role:"progressbar",className:L},a.createElement("div",{"data-testid":f,"aria-labelledby":w||I,className:j},a.createElement("div",{className:B}),a.createElement("div",{className:B}),a.createElement("div",{className:B}),a.createElement("div",{className:B}),!w&&a.createElement("span",{id:I,className:l["loader__hidden-text"]},g)))}));export{d as L,o as u};
2
- //# sourceMappingURL=Loader-3767cb6e.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Loader-3767cb6e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/Modal-459c67d7.js DELETED
@@ -1,2 +0,0 @@
1
- import e,{useRef as t,useEffect as a}from"react";import{c as n}from"./index-9b84fabc.js";import{u as r}from"./Loader-3767cb6e.js";import{p as o}from"./palette-f206f488.js";import{B as l}from"./Button-e2087687.js";import{I as c}from"./constants-d1f48e8e.js";import{X as i,A as s,a as m}from"./AlertSignFill-64bfef57.js";import d from"./components/Modal/styles.module.scss";import{T as u}from"./Title-863af332.js";function v(){var e=t(null);function n(t){var a=e.current.querySelectorAll('a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select'),n=a[0],r=1===a.length?n:a[a.length-1];"Tab"===t.key&&(t.shiftKey?document.activeElement===n&&(r.focus(),t.preventDefault()):document.activeElement===r&&(n.focus(),t.preventDefault()))}function r(t){var a=e.current.querySelectorAll('a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select');1===a.length&&(a[0].focus(),t.preventDefault())}return a((function(){var t=e.current;return t.addEventListener("keydown",n),t.addEventListener("click",r),function(){t.removeEventListener("keydown",n),t.removeEventListener("click",r)}}),[]),e}var p;!function(e){e.normal="normal",e.warning="warning",e.error="error",e.image="image"}(p||(p={}));var f={variant:p.normal,primaryButtonText:"OK",large:!1,className:""},y=function(t){return e.createElement("button",{className:d.modal__lukkekryss,"aria-label":t.ariaLabel||"Lukk",onClick:t.onClick,autoFocus:!0,role:"button"},e.createElement(c,{svgIcon:i,color:o.blueberry600,size:42}))},E=e.forwardRef((function(t,i){var f,E,g;function b(e){"Escape"===e.key&&t.onClose&&(e.stopPropagation(),t.onClose())}function _(e){e.target&&C.current===e.target&&t.onClose&&(e.stopPropagation(),t.onClose())}var k,h=t.variant===p.image,L=null!==(f=t.titleId)&&void 0!==f?f:r(),x=e.useRef(null),C=e.useRef(null),B=t.secondaryButtonText&&(null===(E=t.secondaryButtonText)||void 0===E?void 0:E.length)>0||t.onSuccess,N=t.ariaLabelledBy?void 0:t.ariaLabel,w=t.ariaLabelledBy?t.ariaLabelledBy:t.ariaLabel?void 0:L;return a((function(){var e=x.current,t=C.current;return document.body.style.overflow="hidden",e&&(e.addEventListener("keydown",b),t.addEventListener("click",_)),function(){document.body.style.removeProperty("overflow"),e.removeEventListener("keydown",b),t.removeEventListener("click",_)}})),e.createElement("div",{ref:x,"data-testid":"dialog-container"},e.createElement("div",{ref:C,className:d["modal-overlay"],"data-testid":t.testId},e.createElement("div",{className:d.align,ref:v()},e.createElement("div",{className:n(t.className,d.modal,d["modal--".concat(t.variant)],t.large?d["modal--large"]:""),role:"dialog","aria-label":N,"aria-labelledby":w},!t.noCloseButton&&e.createElement("div",{className:h?d["modal__close--image"]:d.modal__close},e.createElement(y,{onClick:t.onClose,ariaLabel:t.ariaLabelCloseBtn})),e.createElement("div",{className:h?d["modal__contentWrapper--image"]:d.modal__contentWrapper},e.createElement("div",{className:d.modal__contentWrapper__title},t.variant&&((k=t.variant)===p.error?e.createElement("div",null,e.createElement(c,{svgIcon:s,color:o.cherry500,hoverColor:o.cherry500})):k===p.warning?e.createElement("div",null,e.createElement(c,{svgIcon:m,color:o.black,hoverColor:o.black})):null),e.createElement("div",null,e.createElement(u,{id:L,htmlMarkup:"h3",appearance:"title3"},t.title))),e.createElement("div",{className:h?d["modal__contentWrapper__content--image"]:d.modal__contentWrapper__content},h?t.children&&e.createElement("div",null,e.createElement("div",{className:d["modal--image__img"]},t.children),e.createElement("span",{className:d["modal--image__text"]},t.description)):t.children&&e.createElement("div",null,t.children),t.description&&!t.children&&e.createElement("p",{className:d.modal__description},t.description)),B&&e.createElement("div",{className:d.modal__actions},t.onSuccess&&e.createElement(l,{onClick:t.onSuccess},t.primaryButtonText),t.secondaryButtonText&&(null===(g=t.secondaryButtonText)||void 0===g?void 0:g.length)>0&&e.createElement(l,{variant:"borderless",onClick:t.onClose},t.secondaryButtonText)))))))}));E.defaultProps=f;export{E as M};
2
- //# sourceMappingURL=Modal-459c67d7.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Modal-459c67d7.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- {
2
- "props": {}
3
- }
@@ -1,2 +0,0 @@
1
- import{_ as e}from"./_tslib-51c8a283.js";import a from"react";var i,l=a.forwardRef((function(l,r){var o=l.svgIcon,t=l.ariaLabel,s=l.id,d=l.className,c=void 0===d?"":d,m=l.size,n=void 0===m?i.Small:m,v=l.color,g=void 0===v?"black":v,b=l.hoverColor,h=void 0===b?g||"black":b,f=l.isHovered,S=void 0!==f&&f,u=l.testId,I=e(l,["svgIcon","ariaLabel","id","className","size","color","hoverColor","isHovered","testId"]),L=a.createElement(o,{isExtraSmall:n<=i.XSmall,isHovered:S}),X=s&&t?"title-".concat(s):void 0;return a.createElement("svg",Object.assign({id:s,"data-testid":u,ref:r,className:"hnds-style-icon ".concat(c),role:"img","aria-label":!s&&t?t:void 0,"aria-labelledby":X,"aria-hidden":"true",viewBox:"0 0 48 48",style:{minWidth:n,minHeight:n},width:n,height:n,fill:S?h:g},I),X&&a.createElement("title",{id:X},t),L)}));l.displayName="Icon",function(e){e[e.XSmall=38]="XSmall",e[e.Small=48]="Small",e[e.Medium=64]="Medium",e[e.Large=80]="Large",e[e.XLarge=130]="XLarge"}(i||(i={}));export{l as I,i as a};
2
- //# sourceMappingURL=constants-d1f48e8e.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"constants-d1f48e8e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}