@helsenorge/designsystem-react 1.0.0-beta137 → 1.0.0-beta138

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 (286) hide show
  1. package/{AlertSignFill-a4281dbe.js → AlertSignFill-e0a05c2b.js} +2 -2
  2. package/AlertSignFill-e0a05c2b.js.map +1 -0
  3. package/{AlertSignStroke-dee7da33.js → AlertSignStroke-d16ccb9e.js} +2 -2
  4. package/AlertSignStroke-d16ccb9e.js.map +1 -0
  5. package/AnchorLink-140a72b0.js +2 -0
  6. package/AnchorLink-140a72b0.js.map +1 -0
  7. package/{ArrowRight-1ccb58be.js → ArrowRight-2e4b6122.js} +2 -2
  8. package/ArrowRight-2e4b6122.js.map +1 -0
  9. package/{ArrowUpRight-209b1749.js → ArrowUpRight-e9f5b42e.js} +2 -2
  10. package/ArrowUpRight-e9f5b42e.js.map +1 -0
  11. package/{Badge-b651a9fc.js → Badge-d7e6ebd7.js} +2 -2
  12. package/Badge-d7e6ebd7.js.map +1 -0
  13. package/{Button-41d2f9a6.js → Button-1ae9497c.js} +2 -2
  14. package/{constants-1371e04f.js.map → Button-1ae9497c.js.map} +1 -1
  15. package/{Calendar-926618b6.js → Calendar-03556b56.js} +2 -2
  16. package/Calendar-03556b56.js.map +1 -0
  17. package/{Check-026c98a8.js → Check-632c2b4f.js} +2 -2
  18. package/Check-632c2b4f.js.map +1 -0
  19. package/{Checkbox-2cffb399.js → Checkbox-7d0879d2.js} +2 -2
  20. package/Checkbox-7d0879d2.js.map +1 -0
  21. package/{ChevronDown-d799367a.js → ChevronDown-652aa9e9.js} +2 -2
  22. package/ChevronDown-652aa9e9.js.map +1 -0
  23. package/{ChevronRight-5087373d.js → ChevronRight-a4c19be9.js} +2 -2
  24. package/ChevronRight-a4c19be9.js.map +1 -0
  25. package/{ChevronUp-ed252eb6.js → ChevronUp-558a33cd.js} +2 -2
  26. package/ChevronUp-558a33cd.js.map +1 -0
  27. package/Close-ddb54826.js +2 -0
  28. package/Close-ddb54826.js.map +1 -0
  29. package/{FormGroup-172ed911.js → FormGroup-1f11adfb.js} +2 -2
  30. package/FormGroup-1f11adfb.js.map +1 -0
  31. package/{FormLayout-6563dba9.js → FormLayout-4207a2c9.js} +2 -2
  32. package/FormLayout-4207a2c9.js.map +1 -0
  33. package/{Group-777dfb43.js → Group-4d979be0.js} +2 -2
  34. package/Group-4d979be0.js.map +1 -0
  35. package/HelpBubble-6c6578d2.js +2 -0
  36. package/HelpBubble-6c6578d2.js.map +1 -0
  37. package/{Hospital-8d5ea230.js → Hospital-444c2277.js} +2 -2
  38. package/Hospital-444c2277.js.map +1 -0
  39. package/{Icon-91bb7737.js → Icon-877aeed0.js} +2 -2
  40. package/Icon-877aeed0.js.map +1 -0
  41. package/{InfoSignStroke-0c13eebe.js → InfoSignStroke-415508d1.js} +2 -2
  42. package/InfoSignStroke-415508d1.js.map +1 -0
  43. package/{Input-95c3e662.js → Input-b2f694f4.js} +2 -2
  44. package/Input-b2f694f4.js.map +1 -0
  45. package/{Loader-7a90b2b8.js → Loader-c8d984bc.js} +2 -2
  46. package/Loader-c8d984bc.js.map +1 -0
  47. package/{Modal-9b7c8a39.js → Modal-aaedf680.js} +2 -2
  48. package/Modal-aaedf680.js.map +1 -0
  49. package/{NoAccess-14f5700e.js → NoAccess-c1a3f055.js} +2 -2
  50. package/NoAccess-c1a3f055.js.map +1 -0
  51. package/{Panel-4cd6abfc.js → Panel-cc50d8e5.js} +2 -2
  52. package/Panel-cc50d8e5.js.map +1 -0
  53. package/{Pencil-d3aeffa1.js → Pencil-0b63b983.js} +2 -2
  54. package/Pencil-0b63b983.js.map +1 -0
  55. package/{PlusSmall-5b12d79f.js → PlusSmall-06513a15.js} +2 -2
  56. package/PlusSmall-06513a15.js.map +1 -0
  57. package/{RadioButton-3e95b8fa.js → RadioButton-dba5974f.js} +2 -2
  58. package/RadioButton-dba5974f.js.map +1 -0
  59. package/{Textarea-74180432.js → Textarea-529da670.js} +2 -2
  60. package/Textarea-529da670.js.map +1 -0
  61. package/Title-b5e19cfc.js +2 -0
  62. package/Title-b5e19cfc.js.map +1 -0
  63. package/Tooltip-f6c63399.js +2 -0
  64. package/Tooltip-f6c63399.js.map +1 -0
  65. package/{Undo-d7e73ddf.js → Undo-7021257e.js} +2 -2
  66. package/Undo-7021257e.js.map +1 -0
  67. package/Validation-93e6d691.js +2 -0
  68. package/Validation-93e6d691.js.map +1 -0
  69. package/{Watch-b2904174.js → Watch-a947e459.js} +2 -2
  70. package/Watch-a947e459.js.map +1 -0
  71. package/{X-b4f72c96.js → X-3e7c0719.js} +2 -2
  72. package/X-3e7c0719.js.map +1 -0
  73. package/components/AnchorLink/index.js +1 -1
  74. package/components/Avatar/index.js +1 -1
  75. package/components/Badge/index.js +1 -1
  76. package/components/Button/index.js +1 -1
  77. package/components/ButtonWithModal/index.js +1 -1
  78. package/components/Checkbox/index.js +1 -1
  79. package/components/Close/index.js +1 -1
  80. package/components/Dropdown/index.js +1 -1
  81. package/components/Expander/index.js +1 -1
  82. package/components/ExpanderList/index.js +1 -1
  83. package/components/FormExample/index.js +1 -1
  84. package/components/FormGroup/index.js +1 -1
  85. package/components/FormGroup/styles.module.scss +0 -1
  86. package/components/FormLayout/index.js +1 -1
  87. package/components/HelpBubble/HelpBubble.d.ts +4 -0
  88. package/components/HelpBubble/HelpBubble.d.ts.map +1 -1
  89. package/components/HelpBubble/componentdata.json +38 -0
  90. package/components/HelpBubble/index.js +1 -1
  91. package/components/HelpBubble/styles.module.scss +4 -0
  92. package/components/HelpBubble/styles.module.scss.d.ts +1 -0
  93. package/components/HelpBubbleExample/componentdata.json +38 -0
  94. package/components/HelpBubbleExample/index.js +1 -1
  95. package/components/HighlightBox/index.js +1 -1
  96. package/components/Icons/AcupunctureBack.js +1 -1
  97. package/components/Icons/AlarmClock.js +1 -1
  98. package/components/Icons/AlertSignFill.js +1 -1
  99. package/components/Icons/AlertSignStroke.js +1 -1
  100. package/components/Icons/Archive.js +1 -1
  101. package/components/Icons/ArrowLeft.js +1 -1
  102. package/components/Icons/ArrowRight.js +1 -1
  103. package/components/Icons/ArrowUpRight.js +1 -1
  104. package/components/Icons/Attachment.js +1 -1
  105. package/components/Icons/Avatar.js +1 -1
  106. package/components/Icons/Bus.js +1 -1
  107. package/components/Icons/Calendar.js +1 -1
  108. package/components/Icons/CalendarChange.js +1 -1
  109. package/components/Icons/CalendarCheck.js +1 -1
  110. package/components/Icons/CalendarSave.js +1 -1
  111. package/components/Icons/Change.js +1 -1
  112. package/components/Icons/Check.js +1 -1
  113. package/components/Icons/CheckFill.js +1 -1
  114. package/components/Icons/ChevronDown.js +1 -1
  115. package/components/Icons/ChevronLeft.js +1 -1
  116. package/components/Icons/ChevronRight.js +1 -1
  117. package/components/Icons/ChevronUp.js +1 -1
  118. package/components/Icons/ChevronsDown.js +1 -1
  119. package/components/Icons/ChevronsUp.js +1 -1
  120. package/components/Icons/Contacts.js +1 -1
  121. package/components/Icons/Copy.js +1 -1
  122. package/components/Icons/Download.js +1 -1
  123. package/components/Icons/EChat.js +1 -1
  124. package/components/Icons/EnterFullScreen.js +1 -1
  125. package/components/Icons/Envelope.js +1 -1
  126. package/components/Icons/Eraser.js +1 -1
  127. package/components/Icons/ErrorSignFill.js +1 -1
  128. package/components/Icons/ErrorSignStroke.js +1 -1
  129. package/components/Icons/ExitFullScreen.js +1 -1
  130. package/components/Icons/Eye.js +1 -1
  131. package/components/Icons/Form.js +1 -1
  132. package/components/Icons/Forward.js +1 -1
  133. package/components/Icons/Gallery.js +1 -1
  134. package/components/Icons/Globe.js +1 -1
  135. package/components/Icons/Group.js +1 -1
  136. package/components/Icons/Heart.js +1 -1
  137. package/components/Icons/HelpSign.js +1 -1
  138. package/components/Icons/History.js +1 -1
  139. package/components/Icons/Home.js +1 -1
  140. package/components/Icons/Hospital.js +1 -1
  141. package/components/Icons/Hourglass.js +1 -1
  142. package/components/Icons/Icon.js +1 -1
  143. package/components/Icons/InfoSignFill.js +1 -1
  144. package/components/Icons/InfoSignStroke.js +1 -1
  145. package/components/Icons/Journal.js +1 -1
  146. package/components/Icons/List.js +1 -1
  147. package/components/Icons/Location.js +1 -1
  148. package/components/Icons/Lock.js +1 -1
  149. package/components/Icons/Medicine.js +1 -1
  150. package/components/Icons/Menu.js +1 -1
  151. package/components/Icons/Minus.js +1 -1
  152. package/components/Icons/MobilePhone.js +1 -1
  153. package/components/Icons/NoAccess.js +1 -1
  154. package/components/Icons/NoEye.js +1 -1
  155. package/components/Icons/NoFilter.js +1 -1
  156. package/components/Icons/PaperPlane.js +1 -1
  157. package/components/Icons/Pause.js +1 -1
  158. package/components/Icons/Pencil.js +1 -1
  159. package/components/Icons/Play.js +1 -1
  160. package/components/Icons/PlusLarge.js +1 -1
  161. package/components/Icons/PlusSmall.js +1 -1
  162. package/components/Icons/Printer.js +1 -1
  163. package/components/Icons/QrCode.js +1 -1
  164. package/components/Icons/Receptionist.js +1 -1
  165. package/components/Icons/Referral.js +1 -1
  166. package/components/Icons/Refresh.js +1 -1
  167. package/components/Icons/Reply.js +1 -1
  168. package/components/Icons/Save.js +1 -1
  169. package/components/Icons/Search.js +1 -1
  170. package/components/Icons/SectionSign.js +1 -1
  171. package/components/Icons/Settings.js +1 -1
  172. package/components/Icons/Share.js +1 -1
  173. package/components/Icons/SpeechBubble.js +1 -1
  174. package/components/Icons/Stopwatch.js +1 -1
  175. package/components/Icons/SupportingPerson.js +1 -1
  176. package/components/Icons/Syringe.js +1 -1
  177. package/components/Icons/TimePassing.js +1 -1
  178. package/components/Icons/Toolbox.js +1 -1
  179. package/components/Icons/TrashCan.js +1 -1
  180. package/components/Icons/Undo.js +1 -1
  181. package/components/Icons/Upload.js +1 -1
  182. package/components/Icons/Vaccine.js +1 -1
  183. package/components/Icons/VerticalDots.js +1 -1
  184. package/components/Icons/VideoCamera.js +1 -1
  185. package/components/Icons/VideoChat.js +1 -1
  186. package/components/Icons/Wallet.js +1 -1
  187. package/components/Icons/Watch.js +1 -1
  188. package/components/Icons/X.js +1 -1
  189. package/components/Icons/Zoom.js +1 -1
  190. package/components/Icons/index.js +1 -1
  191. package/components/Input/index.js +1 -1
  192. package/components/LinkList/index.js +1 -1
  193. package/components/List/index.js +1 -1
  194. package/components/Loader/index.js +1 -1
  195. package/components/Logo/index.js +1 -1
  196. package/components/Modal/index.js +1 -1
  197. package/components/NotificationPanel/index.js +1 -1
  198. package/components/Panel/index.js +1 -1
  199. package/components/PanelList/index.js +1 -1
  200. package/components/Portal/index.js +1 -1
  201. package/components/RadioButton/index.js +1 -1
  202. package/components/Slider/index.js +1 -1
  203. package/components/Spacer/index.js +1 -1
  204. package/components/StatusDot/index.js +1 -1
  205. package/components/Tag/index.js +1 -1
  206. package/components/TagList/index.js +1 -1
  207. package/components/Textarea/index.js +1 -1
  208. package/components/Tile/index.js +1 -1
  209. package/components/Title/Title.d.ts +1 -1
  210. package/components/Title/Title.d.ts.map +1 -1
  211. package/components/Title/componentdata.json +164 -1
  212. package/components/Title/index.js +1 -1
  213. package/components/Tooltip/Tooltip.d.ts +18 -0
  214. package/components/Tooltip/Tooltip.d.ts.map +1 -0
  215. package/components/Tooltip/componentdata.json +65 -0
  216. package/components/Tooltip/index.d.ts +4 -0
  217. package/components/Tooltip/index.d.ts.map +1 -0
  218. package/components/Tooltip/index.js +2 -0
  219. package/components/Tooltip/index.js.map +1 -0
  220. package/components/Tooltip/styles.module.scss +18 -0
  221. package/components/Tooltip/styles.module.scss.d.ts +9 -0
  222. package/components/TooltipExample/TooltipExample.d.ts +5 -0
  223. package/components/TooltipExample/TooltipExample.d.ts.map +1 -0
  224. package/components/TooltipExample/componentdata.json +65 -0
  225. package/components/TooltipExample/index.d.ts +4 -0
  226. package/components/TooltipExample/index.d.ts.map +1 -0
  227. package/components/TooltipExample/index.js +2 -0
  228. package/components/TooltipExample/index.js.map +1 -0
  229. package/components/Validation/index.js +1 -1
  230. package/constants-d84659f5.js +2 -0
  231. package/constants-d84659f5.js.map +1 -0
  232. package/constants.d.ts +1 -0
  233. package/constants.d.ts.map +1 -1
  234. package/hooks/useSize.d.ts.map +1 -1
  235. package/index-7f01d36f.js +2 -0
  236. package/index-7f01d36f.js.map +1 -0
  237. package/index.js +1 -1
  238. package/package.json +1 -1
  239. package/{useSticky-445a0370.js → useSticky-432642c9.js} +2 -2
  240. package/useSticky-432642c9.js.map +1 -0
  241. package/utils/loremtext.d.ts +3 -0
  242. package/utils/loremtext.d.ts.map +1 -0
  243. package/AlertSignFill-a4281dbe.js.map +0 -1
  244. package/AlertSignStroke-dee7da33.js.map +0 -1
  245. package/AnchorLink-9d160426.js +0 -2
  246. package/AnchorLink-9d160426.js.map +0 -1
  247. package/ArrowRight-1ccb58be.js.map +0 -1
  248. package/ArrowUpRight-209b1749.js.map +0 -1
  249. package/Badge-b651a9fc.js.map +0 -1
  250. package/Button-41d2f9a6.js.map +0 -1
  251. package/Calendar-926618b6.js.map +0 -1
  252. package/Check-026c98a8.js.map +0 -1
  253. package/Checkbox-2cffb399.js.map +0 -1
  254. package/ChevronDown-d799367a.js.map +0 -1
  255. package/ChevronRight-5087373d.js.map +0 -1
  256. package/ChevronUp-ed252eb6.js.map +0 -1
  257. package/Close-1846777e.js +0 -2
  258. package/Close-1846777e.js.map +0 -1
  259. package/FormGroup-172ed911.js.map +0 -1
  260. package/FormLayout-6563dba9.js.map +0 -1
  261. package/Group-777dfb43.js.map +0 -1
  262. package/HelpBubble-de54b956.js +0 -2
  263. package/HelpBubble-de54b956.js.map +0 -1
  264. package/Hospital-8d5ea230.js.map +0 -1
  265. package/Icon-91bb7737.js.map +0 -1
  266. package/InfoSignStroke-0c13eebe.js.map +0 -1
  267. package/Input-95c3e662.js.map +0 -1
  268. package/Loader-7a90b2b8.js.map +0 -1
  269. package/Modal-9b7c8a39.js.map +0 -1
  270. package/NoAccess-14f5700e.js.map +0 -1
  271. package/Panel-4cd6abfc.js.map +0 -1
  272. package/Pencil-d3aeffa1.js.map +0 -1
  273. package/PlusSmall-5b12d79f.js.map +0 -1
  274. package/RadioButton-3e95b8fa.js.map +0 -1
  275. package/Textarea-74180432.js.map +0 -1
  276. package/Title-761aecc5.js +0 -2
  277. package/Title-761aecc5.js.map +0 -1
  278. package/Undo-d7e73ddf.js.map +0 -1
  279. package/Validation-b51b75ab.js +0 -2
  280. package/Validation-b51b75ab.js.map +0 -1
  281. package/Watch-b2904174.js.map +0 -1
  282. package/X-b4f72c96.js.map +0 -1
  283. package/constants-1371e04f.js +0 -2
  284. package/index-5f313f08.js +0 -2
  285. package/index-5f313f08.js.map +0 -1
  286. package/useSticky-445a0370.js.map +0 -1
@@ -0,0 +1,65 @@
1
+ {
2
+ "props": {
3
+ "children": {
4
+ "defaultValue": null,
5
+ "description": "Ordet som skal ha en tilhørende hjelpeblubb",
6
+ "name": "children",
7
+ "parent": {
8
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
9
+ "name": "TooltipProps"
10
+ },
11
+ "declarations": [
12
+ {
13
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
14
+ "name": "TooltipProps"
15
+ },
16
+ {
17
+ "fileName": "designsystem/node_modules/@types/react/index.d.ts",
18
+ "name": "TypeLiteral"
19
+ }
20
+ ],
21
+ "required": false,
22
+ "type": {
23
+ "name": "ReactNode"
24
+ }
25
+ },
26
+ "description": {
27
+ "defaultValue": null,
28
+ "description": "Teksten som skal vises i hjelpeblubben",
29
+ "name": "description",
30
+ "parent": {
31
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
32
+ "name": "TooltipProps"
33
+ },
34
+ "declarations": [
35
+ {
36
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
37
+ "name": "TooltipProps"
38
+ }
39
+ ],
40
+ "required": true,
41
+ "type": {
42
+ "name": "ReactNode"
43
+ }
44
+ },
45
+ "testId": {
46
+ "defaultValue": null,
47
+ "description": "Valgfri test-id",
48
+ "name": "testId",
49
+ "parent": {
50
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
51
+ "name": "TooltipProps"
52
+ },
53
+ "declarations": [
54
+ {
55
+ "fileName": "designsystem/src/components/Tooltip/Tooltip.tsx",
56
+ "name": "TooltipProps"
57
+ }
58
+ ],
59
+ "required": false,
60
+ "type": {
61
+ "name": "string"
62
+ }
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,4 @@
1
+ import TooltipExample from './TooltipExample';
2
+ export * from './TooltipExample';
3
+ export default TooltipExample;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/TooltipExample/index.ts"],"names":[],"mappings":"AAAA,OAAO,cAAc,MAAM,kBAAkB,CAAC;AAC9C,cAAc,kBAAkB,CAAC;AACjC,eAAe,cAAc,CAAC"}
@@ -0,0 +1,2 @@
1
+ import e from"react";import{b as i,T as t}from"../../Tooltip-f6c63399.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../../constants-d84659f5.js";import"../../useUuid-3b1e73f2.js";import"../../uuid-11037462.js";import"../../HelpBubble-6c6578d2.js";import"../../index-d1c0552c.js";import"../../AnchorLink-140a72b0.js";import"../../Icon-877aeed0.js";import"../../_tslib-b219470a.js";import"../../ArrowUpRight-e9f5b42e.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../../useHover-b995a0e6.js";import"../AnchorLink/styles.module.scss";import"../../Close-ddb54826.js";import"../../X-3e7c0719.js";import"../Close/styles.module.scss";import"../../useBreakpoint-a74f5af5.js";import"../HelpBubble/styles.module.scss";import"../Tooltip/styles.module.scss";var s="Dolore quis tempor culpa exercitation laboris. Enim enim pariatur veniam nisi ad quis fugiat magna occaecat nisi. Excepteur ad ad duis quis mollit ex. Laboris duis velit eu eiusmod ea in ex aliqua. Est proident proident dolor veniam nostrud aliquip occaecat dolore sunt laboris nisi ipsum Lorem nisi. Magna sunt ex occaecat amet id. Eiusmod magna Lorem proident est occaecat pariatur sunt esse nostrud. Mollit reprehenderit velit veniam amet ipsum veniam et. Dolor sunt adipisicing enim dolore quis qui occaecat esse quis ut fugiat laboris. ",o=function(o){return e.createElement(i,null,e.createElement(e.Fragment,null,e.createElement(t,Object.assign({},o),"Et tooltip her.")," "+s,"Dette er ",e.createElement(t,Object.assign({},o),o.children)," som skal ha nærmere forklaring.",s,e.createElement(t,Object.assign({},o),"Enda et tooltip her.")))};export{o as default};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- export{V as Validation,V as default}from"../../Validation-b51b75ab.js";import"react";import"../../index-d1c0552c.js";import"../../FormGroup-172ed911.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../FormGroup/styles.module.scss";import"../../Checkbox-2cffb399.js";import"../../uuid-11037462.js";import"../../Check-026c98a8.js";import"../../Icon-91bb7737.js";import"../../_tslib-b219470a.js";import"../../constants-1371e04f.js";import"../../useUuid-3b1e73f2.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../Checkbox/styles.module.scss";import"../../RadioButton-3e95b8fa.js";import"../RadioButton/styles.module.scss";import"../../Input-95c3e662.js";import"../../useBreakpoint-a74f5af5.js";import"../Input/styles.module.scss";import"../../Title-761aecc5.js";import"../Title/styles.module.scss";import"../../FormLayout-6563dba9.js";import"../FormLayout/styles.module.scss";import"./styles.module.scss";
1
+ export{V as Validation,V as default}from"../../Validation-93e6d691.js";import"react";import"../../index-d1c0552c.js";import"../../FormGroup-1f11adfb.js";import"../../_rollupPluginBabelHelpers-0f007973.js";import"../FormGroup/styles.module.scss";import"../../Checkbox-7d0879d2.js";import"../../uuid-11037462.js";import"../../Check-632c2b4f.js";import"../../Icon-877aeed0.js";import"../../_tslib-b219470a.js";import"../../constants-d84659f5.js";import"../../useUuid-3b1e73f2.js";import"../../color-e7d082c1.js";import"../../index-d1c9177a.js";import"../../palette-f206f488.js";import"../../grid-c105cad1.js";import"../Checkbox/styles.module.scss";import"../../RadioButton-dba5974f.js";import"../RadioButton/styles.module.scss";import"../../Input-b2f694f4.js";import"../../useBreakpoint-a74f5af5.js";import"../Input/styles.module.scss";import"../../Title-b5e19cfc.js";import"../Title/styles.module.scss";import"../../FormLayout-4207a2c9.js";import"../FormLayout/styles.module.scss";import"./styles.module.scss";
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ var o,a,n,e,r,t;!function(o){o[o.XXSmall=24]="XXSmall",o[o.XSmall=38]="XSmall",o[o.Small=48]="Small",o[o.Medium=64]="Medium",o[o.Large=80]="Large",o[o.XLarge=130]="XLarge"}(o||(o={})),function(o){o[o.Modal=13e5]="Modal",o[o.ExpanderTrigger=1e4]="ExpanderTrigger"}(a||(a={})),function(o){o.onwhite="onwhite",o.ongrey="ongrey",o.onblueberry="onblueberry",o.ondark="ondark",o.oninvalid="oninvalid"}(n||(n={})),function(o){o.normal="normal",o.bigform="bigform"}(e||(e={})),function(o){o.AnchorLink="anchor-link",o.Avatar="avatar",o.Badge="badge",o.Button="button",o.Checkbox="checkbox",o.Close="close",o.Dropdown="dropdown",o.Expander="expander",o.ExpanderList="expander-list",o.ExpanderListExpander="expander-list-expander",o.FormGroup="form-group",o.FormLayout="form-layout",o.HelpBubble="help-bubble",o.HighlightBox="highlight-box",o.Icon="icon",o.Input="input",o.Link="link",o.LinkList="link-list",o.List="list",o.Loader="loader",o.Logo="logo",o.Modal="modal",o.NotificationPanel="notification-panel",o.Panel="panel",o.PanelList="panel-list",o.Portal="portal",o.RadioButton="radio-button",o.Slider="slider",o.Spacer="spacer",o.StatusDot="status-dot",o.Tag="tag",o.TagList="tag-list",o.Textarea="textarea",o.Tile="tile",o.Title="title",o.Tooltip="tooltip",o.Validation="validation"}(r||(r={})),function(o){o.Enter="Enter",o.Escape="Escape",o.ArrowDown="ArrowDown",o.ArrowUp="ArrowUp",o.Home="Home",o.End="End"}(t||(t={}));export{r as A,n as F,o as I,t as K,a as Z,e as a};
2
+ //# sourceMappingURL=constants-d84659f5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants-d84659f5.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/constants.d.ts CHANGED
@@ -98,6 +98,7 @@ export declare enum AnalyticsId {
98
98
  Textarea = "textarea",
99
99
  Tile = "tile",
100
100
  Title = "title",
101
+ Tooltip = "tooltip",
101
102
  Validation = "validation"
102
103
  }
103
104
  export declare enum KeyboardEventKey {
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,oBAAY,QAAQ;IAClB,OAAO,KAAK;IACZ,MAAM,KAAK;IACX,KAAK,KAAK;IACV,MAAM,KAAK;IACX,KAAK,KAAK;IACV,MAAM,MAAM;CACb;AAED,oBAAY,MAAM;IAChB,KAAK,UAAU;IACf,eAAe,QAAQ;CACxB;AAED,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,MAAM,CAAC;IAC9C,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC;IACnC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED,MAAM,WAAW,iBAAiB;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,E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S,cAAc;IACvB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,GAAG,QAAQ;CACZ"}
@@ -1 +1 @@
1
- {"version":3,"file":"useSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useSize.ts"],"names":[],"mappings":";AAEA;;;;;GAKG;AACH,eAAO,MAAM,OAAO,mFAanB,CAAC"}
1
+ {"version":3,"file":"useSize.d.ts","sourceRoot":"","sources":["../../src/hooks/useSize.ts"],"names":[],"mappings":";AAGA;;;;;GAKG;AACH,eAAO,MAAM,OAAO,mFAkCnB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import t from"react";import{createPortal as e}from"react-dom";import{A as r}from"./constants-d84659f5.js";function n(n){var a=n.children,o=n.parent,i=n.className,c=n.testId,d=t.useMemo((function(){return document.createElement("div")}),[]);return d.setAttribute("data-analyticsid",r.Portal),c&&d.setAttribute("data-testid",c),t.useEffect((function(){var t=o&&o.appendChild?o:document.body,e=["portal-container"];return i&&i.split(" ").forEach((function(t){return e.push(t)})),e.forEach((function(t){return d.classList.add(t)})),t.appendChild(d),function(){t.removeChild(d)}}),[d,o,i]),e(a,d)}export{n as P};
2
+ //# sourceMappingURL=index-7f01d36f.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-7f01d36f.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export{t as theme}from"./index-d1c9177a.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-a74f5af5.js";export{u as useFocusToggle,a as useFocusTrap,b as useIntersectionObserver,c as useIsVisible}from"./useIsVisible-bef05e5e.js";export{u as useHover}from"./useHover-b995a0e6.js";export{u as useLayoutEvent,a as useSticky}from"./useSticky-445a0370.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";import{_ as e}from"./_rollupPluginBabelHelpers-0f007973.js";import{useState as s,useEffect as r}from"react";export{b as useKeyboardEvent,c as useOutsideEvent,u as useResizeObserver,a as useToggle}from"./useOutsideEvent-fb86686d.js";export{u as useUuid}from"./useUuid-3b1e73f2.js";export{u as uuid}from"./uuid-11037462.js";export{A as AnalyticsId,F as FormMode,a as FormVariant,I as IconSize,K as KeyboardEventKey,Z as ZIndex}from"./constants-1371e04f.js";import"./palette-f206f488.js";import"./grid-c105cad1.js";var o=function(o){var u=s(),a=e(u,2),t=a[0],i=a[1];return r((function(){var e=new ResizeObserver((function(e){i(e[0].target.getBoundingClientRect())}));return(null==o?void 0:o.current)&&e.observe(null==o?void 0:o.current),e.disconnect}),[o]),t};export{o as useSize};
1
+ export{t as theme}from"./index-d1c9177a.js";export{B as Breakpoint,u as useBreakpoint}from"./useBreakpoint-a74f5af5.js";export{u as useFocusToggle,a as useFocusTrap,b as useIntersectionObserver,c as useIsVisible}from"./useIsVisible-bef05e5e.js";export{u as useHover}from"./useHover-b995a0e6.js";import{d as e}from"./useSticky-432642c9.js";export{u as useLayoutEvent,a as useSticky}from"./useSticky-432642c9.js";export{u as usePrevious}from"./usePrevious-ae293b10.js";import{_ as s,a as r}from"./_rollupPluginBabelHelpers-0f007973.js";import{useState as o,useEffect as n}from"react";export{b as useKeyboardEvent,c as useOutsideEvent,u as useResizeObserver,a as useToggle}from"./useOutsideEvent-fb86686d.js";export{u as useUuid}from"./useUuid-3b1e73f2.js";export{u as uuid}from"./uuid-11037462.js";export{A as AnalyticsId,F as FormMode,a as FormVariant,I as IconSize,K as KeyboardEventKey,Z as ZIndex}from"./constants-d84659f5.js";import"./palette-f206f488.js";import"./grid-c105cad1.js";var i=function(t){var u=o(),a=s(u,2),i=a[0],f=a[1];return n((function(){if("undefined"!=typeof ResizeObserver){var o=new ResizeObserver((function(e){f(e[0].target.getBoundingClientRect())}));return(null==t?void 0:t.current)&&o.observe(null==t?void 0:t.current),o.disconnect}if("object"===("undefined"==typeof window?"undefined":r(window))){var n=["layoutchange","resize","orientationchange"],u=e((function(){(null==t?void 0:t.current)&&f(t.current.getBoundingClientRect())}),10),a=s(u,2),i=a[0],c=a[1];return n.forEach((function(e){return window.addEventListener(e,i)})),i(),function(){c(),n.forEach((function(e){return window.removeEventListener(e,i)}))}}}),[t]),i};export{i as useSize};
2
2
  //# sourceMappingURL=index.js.map
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-beta137",
4
+ "version": "1.0.0-beta138",
5
5
  "description": "The official design system for Helsenorge built with React.",
6
6
  "repository": {
7
7
  "type": "tfs",
@@ -1,2 +1,2 @@
1
- import{a as n,_ as i}from"./_rollupPluginBabelHelpers-0f007973.js";import{useEffect as t,useState as e}from"react";function o(n,i,t){var e;return[function(){var o=this,r=arguments,u=function(){e=null,t||n.apply(o,r)},a=t&&!e;e&&clearTimeout(e),e=setTimeout(u,i),a&&n.apply(o,r)},function(){e&&clearTimeout(e)}]}var r=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["layoutchange","resize","orientationchange"],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;t((function(){if("object"===("undefined"==typeof window?"undefined":n(window))){var t=o(e,u),a=i(t,2),d=a[0],c=a[1];return r.forEach((function(n){return window.addEventListener(n,d)})),d(),function(){c(),r.forEach((function(n){return window.removeEventListener(n,d)}))}}}),[])},u=function(n,t){var o=e(!1),u=i(o,2),a=u[0],d=u[1],c=e(!1),l=i(c,2),f=l[0],v=l[1],s=e(),g=i(s,2),h=g[0],p=g[1],w=e(),m=i(w,2),y=m[0],E=m[1];return r((function(){var i,e,o,r=(null===(i=n.current)||void 0===i?void 0:i.getBoundingClientRect())||{},u=r.top,a=void 0===u?0:u,c=r.width,l=void 0===c?0:c,f=r.bottom,s=void 0===f?0:f,g=null!==(o=null===(e=t.current)||void 0===e?void 0:e.getBoundingClientRect().height)&&void 0!==o?o:0;d(a<=0),v(s<=g),E(l),p(g)}),["resize","scroll"]),{isOutsideWindow:a,isLeavingWindow:f,offsetHeight:h,contentWidth:y}};export{u as a,r as u};
2
- //# sourceMappingURL=useSticky-445a0370.js.map
1
+ import{a as n,_ as i}from"./_rollupPluginBabelHelpers-0f007973.js";import{useEffect as t,useState as e}from"react";function o(n,i,t){var e;return[function(){var o=this,r=arguments,u=function(){e=null,t||n.apply(o,r)},a=t&&!e;e&&clearTimeout(e),e=setTimeout(u,i),a&&n.apply(o,r)},function(){e&&clearTimeout(e)}]}var r=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["layoutchange","resize","orientationchange"],u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10;t((function(){if("object"===("undefined"==typeof window?"undefined":n(window))){var t=o(e,u),a=i(t,2),d=a[0],c=a[1];return r.forEach((function(n){return window.addEventListener(n,d)})),d(),function(){c(),r.forEach((function(n){return window.removeEventListener(n,d)}))}}}),[])},u=function(n,t){var o=e(!1),u=i(o,2),a=u[0],d=u[1],c=e(!1),l=i(c,2),f=l[0],v=l[1],s=e(),g=i(s,2),h=g[0],p=g[1],w=e(),m=i(w,2),y=m[0],E=m[1];return r((function(){var i,e,o,r=(null===(i=n.current)||void 0===i?void 0:i.getBoundingClientRect())||{},u=r.top,a=void 0===u?0:u,c=r.width,l=void 0===c?0:c,f=r.bottom,s=void 0===f?0:f,g=null!==(o=null===(e=t.current)||void 0===e?void 0:e.getBoundingClientRect().height)&&void 0!==o?o:0;d(a<=0),v(s<=g),E(l),p(g)}),["resize","scroll"]),{isOutsideWindow:a,isLeavingWindow:f,offsetHeight:h,contentWidth:y}};export{u as a,o as d,r as u};
2
+ //# sourceMappingURL=useSticky-432642c9.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSticky-432642c9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export declare const loremText = "Dolore quis tempor culpa exercitation laboris. Enim enim pariatur veniam nisi ad quis fugiat magna occaecat nisi. Excepteur ad ad duis quis mollit ex. Laboris duis velit eu eiusmod ea in ex aliqua. Est proident proident dolor veniam nostrud aliquip occaecat dolore sunt laboris nisi ipsum Lorem nisi. Magna sunt ex occaecat amet id. Eiusmod magna Lorem proident est occaecat pariatur sunt esse nostrud. Mollit reprehenderit velit veniam amet ipsum veniam et. Dolor sunt adipisicing enim dolore quis qui occaecat esse quis ut fugiat laboris. ";
2
+ export default loremText;
3
+ //# sourceMappingURL=loremtext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loremtext.d.ts","sourceRoot":"","sources":["../../src/utils/loremtext.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,kiBAC2gB,CAAC;AAEliB,eAAe,SAAS,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertSignFill-a4281dbe.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"AlertSignStroke-dee7da33.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import r from"react";import{I as e}from"./Icon-91bb7737.js";import{A as o,I as s}from"./constants-1371e04f.js";import{A as a}from"./ArrowUpRight-209b1749.js";import{g as t}from"./color-e7d082c1.js";import{u as i}from"./useHover-b995a0e6.js";import n from"./components/AnchorLink/styles.module.scss";import{c}from"./index-d1c0552c.js";var m=r.forwardRef((function(m,l){var d=m.id,f=m.href,p=m.children,v=m.className,h=m.target,b=void 0===h?"_self":h,u=m.testId,j="_blank"===b,A=i(l,void 0,!1),g=A.hoverRef,k=A.isHovered,I=c(n.anchorlink,null!=v?v:"");return r.createElement("a",{id:d,href:f,className:I,target:b,rel:j?"noopener noreferrer":void 0,ref:g,"data-testid":u,"data-analyticsid":o.AnchorLink},p,j&&r.createElement(e,{className:n.anchorlink__icon,svgIcon:a,color:t("blueberry",600),hoverColor:t("blueberry",700),size:s.XSmall,isHovered:k}))}));export{m as A};
2
- //# sourceMappingURL=AnchorLink-9d160426.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AnchorLink-9d160426.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowRight-1ccb58be.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ArrowUpRight-209b1749.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Badge-b651a9fc.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Button-41d2f9a6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Calendar-926618b6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Check-026c98a8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Checkbox-2cffb399.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChevronDown-d799367a.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChevronRight-5087373d.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ChevronUp-ed252eb6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/Close-1846777e.js DELETED
@@ -1,2 +0,0 @@
1
- import{d as s}from"./_rollupPluginBabelHelpers-0f007973.js";import o from"react";import{p as a}from"./palette-f206f488.js";import{I as e}from"./Icon-91bb7737.js";import{A as t}from"./constants-1371e04f.js";import{X as r}from"./X-b4f72c96.js";import l from"./components/Close/styles.module.scss";import{u as m,B as i}from"./useBreakpoint-a74f5af5.js";import{c}from"./index-d1c0552c.js";var n=function(n){var f=m()===i.xs||n.small?38:48,p=c(l.close,s({},l["close--small"],n.small));return o.createElement("button",{"data-testid":n.testId,"data-analyticsid":t.Close,className:p,"aria-label":n.ariaLabel||"Lukk",onClick:n.onClick,type:"button"},o.createElement(e,{svgIcon:r,color:a.blueberry600,size:f}))};export{n as C};
2
- //# sourceMappingURL=Close-1846777e.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Close-1846777e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormGroup-172ed911.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"FormLayout-6563dba9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Group-777dfb43.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import{_ as e,d as t}from"./_rollupPluginBabelHelpers-0f007973.js";import{c as n}from"./index-d1c0552c.js";import r,{useState as i,useEffect as o,useRef as c,useCallback as l}from"react";import{A as u}from"./constants-1371e04f.js";import{A as a}from"./AnchorLink-9d160426.js";import{C as s}from"./Close-1846777e.js";import d from"./components/HelpBubble/styles.module.scss";var p,b=function(t){var n=r.useState(t),i=e(n,2),o=i[0],c=i[1],l=r.useRef(o);return[l,function(e){l.current=e,c(e)}]};!function(e){e.positionautomatic="positionautomatic",e.positionbelow="positionbelow",e.positionabove="positionabove"}(p||(p={}));var f=function(f){var m,h=f.children,v=f.controllerRef,g=f.className,w=void 0===g?"":g,x=f.variant,y=void 0===x?p.positionautomatic:x,C=f.showBubble,E=f.linkText,B=void 0===E?"Mer hjelp":E,R=f.linkUrl,k=f.onLinkClick,L=f.onClose,_=f.closeAriaLabel,N=f.testId,j=void 0,A=void 0,H=c(null),I=c(null),z=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:10,c={height:0,width:0,x:0,y:0,bottom:0,left:0,right:0,top:0,toJSON:function(){return null}},l=i(c),u=e(l,2),a=u[0],s=u[1],d=i(),p=e(d,2),b=p[0],f=p[1];o((function(){return n?h():m(),function(){return m()}}),[n]);var m=function(){clearInterval(b)},h=function(){var e=setInterval((function(){t.current&&s(t.current.getBoundingClientRect())}),r);f(e)};return[a,function(){s(c)}]}(v,C,500),S=e(z,2),W=S[0],F=S[1],J=i(!0),M=e(J,2),O=M[0],P=M[1],T=b(y),U=e(T,2),q=U[0],D=U[1],G=i(0),K=e(G,2),Q=K[0],V=K[1],X=i({x:0,y:0}),Y=e(X,2),Z=Y[0],$=Y[1],ee=i({x:0,y:0}),te=e(ee,2),ne=te[0],re=te[1],ie=b(y!==p.positionbelow),oe=e(ie,2),ce=oe[0],le=oe[1],ue=n(d.helpbubble,t({},d["helpbubble--initial-render"],O),w),ae=n(d["helpbubble-arrow"],(t(m={},d["helpbubble-arrow--initial-render"],O),t(m,d["helpbubble-arrow--under"],ce.current),t(m,d["helpbubble-arrow--over"],!ce.current),m)),se=function(){return document.documentElement.clientWidth>397},de=function(){if(v.current&&H.current&&I.current){var e=document.documentElement.clientWidth,t=W.x>0?W.x:v.current.getBoundingClientRect().x,n=W.y>0?W.y:v.current.getBoundingClientRect().y,r=v.current.getBoundingClientRect(),i=H.current.getBoundingClientRect(),o=I.current.getBoundingClientRect(),c=r.width/2,l=pe(i.width,t,c,e);se()||V(e-24),$({x:l,y:ce.current?n-o.height-i.height+3:n+r.height+o.height-3}),re({x:t+c-o.width/2,y:ce.current?n-o.height:n+r.height})}},pe=function(e,t,n,r){var i=e/2,o=t+n,c=o-i,l=r-o-i;return t+n-i-(c<0?c-12:0)+(l<0?l-12:0)},be=function(){!function(){if(q.current===p.positionautomatic&&H.current&&v.current){var e=v.current.getBoundingClientRect().y,t=H.current.getBoundingClientRect().height;le(e>t)}}(),de()},fe=l((function(){be()}),[]),me=l((function(){be()}),[]),he=function(){window.removeEventListener("scroll",fe,!1),window.removeEventListener("resize",me,!1)};o((function(){return de(),function(){he()}}),[]),o((function(){be()}),[W]),o((function(){C?(P(!1),window.addEventListener("scroll",fe,!1),window.addEventListener("resize",me,!1),be()):C||(P(!0),he(),F())}),[C]),o((function(){D(y),le(y!==p.positionbelow),be()}),[y]),j=se()?{left:"".concat(Z.x,"px"),top:"".concat(Z.y,"px")}:{left:"".concat(Z.x,"px"),top:"".concat(Z.y,"px"),width:"".concat(Q,"px")},A={left:"".concat(ne.x,"px"),top:"".concat(ne.y,"px")};return C?r.createElement(r.Fragment,null,r.createElement("div",{ref:H,style:j,className:ue,"data-testid":N,"data-analyticsid":u.HelpBubble},r.createElement("div",{className:d["helpbubble__child-wrapper"]},h,k&&B?r.createElement("button",{className:d["helpbubble__link-button"],onClick:k},B):R&&B?r.createElement(a,{href:R},B):void 0),r.createElement("div",{className:d["helpbubble__close-wrapper"]},r.createElement(s,{small:!0,onClick:L,ariaLabel:_}))),r.createElement("div",{ref:I,style:A,className:ae})):null};export{f as H,p as a};
2
- //# sourceMappingURL=HelpBubble-de54b956.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"HelpBubble-de54b956.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Hospital-8d5ea230.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Icon-91bb7737.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"InfoSignStroke-0c13eebe.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Input-95c3e662.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Loader-7a90b2b8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Modal-9b7c8a39.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"NoAccess-14f5700e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Panel-4cd6abfc.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Pencil-d3aeffa1.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"PlusSmall-5b12d79f.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"RadioButton-3e95b8fa.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Textarea-74180432.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/Title-761aecc5.js DELETED
@@ -1,2 +0,0 @@
1
- import{d as t}from"./_rollupPluginBabelHelpers-0f007973.js";import e from"react";import{c as i}from"./index-d1c0552c.js";import r from"./components/Title/styles.module.scss";import{A as a}from"./constants-1371e04f.js";var o=function(t){return Object.prototype.hasOwnProperty.call(t,"marginTop")&&Object.prototype.hasOwnProperty.call(t,"marginBottom")},l=e.forwardRef((function(l,m){var n,c=l.id,s=l.children,p=l.className,d=l.htmlMarkup,f=void 0===d?"h1":d,g=l.appearance,u=void 0===g?"title1":g,y=l.margin,T=void 0===y?0:y,h=l.testId,j=i(r.title,(t(n={},r["title--feature"],"titleFeature"===u),t(n,r["title--title1"],"title1"===u),t(n,r["title--title2"],"title2"===u),t(n,r["title--title3"],"title3"===u),t(n,r["title--title4"],"title4"===u),t(n,r["title--title5"],"title5"===u),n),p),v=f,B=o(T)?{marginTop:"".concat(T.marginTop,"rem"),marginBottom:"".concat(T.marginBottom,"rem")}:{marginTop:"".concat(T,"rem"),marginBottom:"".concat(T,"rem")};return e.createElement(v,{id:c,className:j,style:B,ref:m,"data-testid":h,"data-analyticsid":a.Title},s)}));export{l as T,o as i};
2
- //# sourceMappingURL=Title-761aecc5.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Title-761aecc5.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Undo-d7e73ddf.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- import r from"react";import{c as e}from"./index-d1c0552c.js";import{F as a}from"./FormGroup-172ed911.js";import t from"./components/Validation/styles.module.scss";import{A as o}from"./constants-1371e04f.js";var s=r.forwardRef((function(s,m){var n=s.errorSummary,i=s.className,l=e(t.validation,i);return r.createElement(r.Fragment,null,r.createElement("div",{"data-testid":s.testId,"data-analyticsid":o.Validation,className:l},r.Children.map(s.children,(function(e){return e.type===a?r.cloneElement(e,{className:n?t["form-group-wrapper--error-sibling"]:""}):e}))),n&&r.createElement("p",{className:t.validation__errors},n))}));export{s as V};
2
- //# sourceMappingURL=Validation-b51b75ab.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Validation-b51b75ab.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Watch-b2904174.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/X-b4f72c96.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"X-b4f72c96.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var a,o,n,e,r,t;!function(a){a[a.XXSmall=24]="XXSmall",a[a.XSmall=38]="XSmall",a[a.Small=48]="Small",a[a.Medium=64]="Medium",a[a.Large=80]="Large",a[a.XLarge=130]="XLarge"}(a||(a={})),function(a){a[a.Modal=13e5]="Modal",a[a.ExpanderTrigger=1e4]="ExpanderTrigger"}(o||(o={})),function(a){a.onwhite="onwhite",a.ongrey="ongrey",a.onblueberry="onblueberry",a.ondark="ondark",a.oninvalid="oninvalid"}(n||(n={})),function(a){a.normal="normal",a.bigform="bigform"}(e||(e={})),function(a){a.AnchorLink="anchor-link",a.Avatar="avatar",a.Badge="badge",a.Button="button",a.Checkbox="checkbox",a.Close="close",a.Dropdown="dropdown",a.Expander="expander",a.ExpanderList="expander-list",a.ExpanderListExpander="expander-list-expander",a.FormGroup="form-group",a.FormLayout="form-layout",a.HelpBubble="help-bubble",a.HighlightBox="highlight-box",a.Icon="icon",a.Input="input",a.Link="link",a.LinkList="link-list",a.List="list",a.Loader="loader",a.Logo="logo",a.Modal="modal",a.NotificationPanel="notification-panel",a.Panel="panel",a.PanelList="panel-list",a.Portal="portal",a.RadioButton="radio-button",a.Slider="slider",a.Spacer="spacer",a.StatusDot="status-dot",a.Tag="tag",a.TagList="tag-list",a.Textarea="textarea",a.Tile="tile",a.Title="title",a.Validation="validation"}(r||(r={})),function(a){a.Enter="Enter",a.Escape="Escape",a.ArrowDown="ArrowDown",a.ArrowUp="ArrowUp",a.Home="Home",a.End="End"}(t||(t={}));export{r as A,n as F,a as I,t as K,o as Z,e as a};
2
- //# sourceMappingURL=constants-1371e04f.js.map
package/index-5f313f08.js DELETED
@@ -1,2 +0,0 @@
1
- import t from"react";import{createPortal as e}from"react-dom";import{A as r}from"./constants-1371e04f.js";function n(n){var a=n.children,o=n.parent,i=n.className,c=n.testId,s=t.useMemo((function(){return document.createElement("div")}),[]);return s.setAttribute("data-analyticsid",r.Portal),c&&s.setAttribute("data-testid",c),t.useEffect((function(){var t=o&&o.appendChild?o:document.body,e=["portal-container"];return i&&i.split(" ").forEach((function(t){return e.push(t)})),e.forEach((function(t){return s.classList.add(t)})),t.appendChild(s),function(){t.removeChild(s)}}),[s,o,i]),e(a,s)}export{n as P};
2
- //# sourceMappingURL=index-5f313f08.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index-5f313f08.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"useSticky-445a0370.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}