@helsenorge/designsystem-react 1.0.0-beta136 → 1.0.0-beta139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{AlertSignFill-649f7a75.js → AlertSignFill-e0a05c2b.js} +2 -2
- package/AlertSignFill-e0a05c2b.js.map +1 -0
- package/{AlertSignStroke-38862a30.js → AlertSignStroke-d16ccb9e.js} +2 -2
- package/AlertSignStroke-d16ccb9e.js.map +1 -0
- package/{AnchorLink-1e690d55.js → AnchorLink-140a72b0.js} +2 -2
- package/AnchorLink-140a72b0.js.map +1 -0
- package/{ArrowRight-d02dab87.js → ArrowRight-2e4b6122.js} +2 -2
- package/ArrowRight-2e4b6122.js.map +1 -0
- package/{ArrowUpRight-6d59a425.js → ArrowUpRight-e9f5b42e.js} +2 -2
- package/ArrowUpRight-e9f5b42e.js.map +1 -0
- package/{Badge-b651a9fc.js → Badge-d7e6ebd7.js} +2 -2
- package/Badge-d7e6ebd7.js.map +1 -0
- package/{Button-66888459.js → Button-1ae9497c.js} +2 -2
- package/{constants-1371e04f.js.map → Button-1ae9497c.js.map} +1 -1
- package/{Calendar-485713e6.js → Calendar-03556b56.js} +2 -2
- package/Calendar-03556b56.js.map +1 -0
- package/{Check-244aa62e.js → Check-632c2b4f.js} +2 -2
- package/Check-632c2b4f.js.map +1 -0
- package/{Checkbox-745fc390.js → Checkbox-7d0879d2.js} +2 -2
- package/Checkbox-7d0879d2.js.map +1 -0
- package/{ChevronDown-6dc58d3e.js → ChevronDown-652aa9e9.js} +2 -2
- package/ChevronDown-652aa9e9.js.map +1 -0
- package/{ChevronRight-d1822801.js → ChevronRight-a4c19be9.js} +2 -2
- package/ChevronRight-a4c19be9.js.map +1 -0
- package/{ChevronUp-ed970ae7.js → ChevronUp-558a33cd.js} +2 -2
- package/ChevronUp-558a33cd.js.map +1 -0
- package/Close-ddb54826.js +2 -0
- package/Close-ddb54826.js.map +1 -0
- package/{FormGroup-8968fdf3.js → FormGroup-60527189.js} +2 -2
- package/FormGroup-60527189.js.map +1 -0
- package/{FormLayout-6563dba9.js → FormLayout-4207a2c9.js} +2 -2
- package/FormLayout-4207a2c9.js.map +1 -0
- package/{Group-172e0eb1.js → Group-4d979be0.js} +2 -2
- package/Group-4d979be0.js.map +1 -0
- package/HelpBubble-6c6578d2.js +2 -0
- package/HelpBubble-6c6578d2.js.map +1 -0
- package/{Hospital-73b84ca6.js → Hospital-444c2277.js} +2 -2
- package/Hospital-444c2277.js.map +1 -0
- package/Icon-877aeed0.js +2 -0
- package/Icon-877aeed0.js.map +1 -0
- package/{InfoSignStroke-9c339ee1.js → InfoSignStroke-415508d1.js} +2 -2
- package/InfoSignStroke-415508d1.js.map +1 -0
- package/Input-eae60679.js +2 -0
- package/Input-eae60679.js.map +1 -0
- package/{Loader-7a90b2b8.js → Loader-c8d984bc.js} +2 -2
- package/Loader-c8d984bc.js.map +1 -0
- package/{Modal-627adbb0.js → Modal-aaedf680.js} +2 -2
- package/Modal-aaedf680.js.map +1 -0
- package/{NoAccess-de06f40b.js → NoAccess-c1a3f055.js} +2 -2
- package/NoAccess-c1a3f055.js.map +1 -0
- package/Panel-de0c5303.js +2 -0
- package/Panel-de0c5303.js.map +1 -0
- package/{Pencil-ca56434d.js → Pencil-0b63b983.js} +2 -2
- package/Pencil-0b63b983.js.map +1 -0
- package/{PlusSmall-199d6bc2.js → PlusSmall-06513a15.js} +2 -2
- package/PlusSmall-06513a15.js.map +1 -0
- package/{RadioButton-3e95b8fa.js → RadioButton-dba5974f.js} +2 -2
- package/RadioButton-dba5974f.js.map +1 -0
- package/Textarea-8ab0bec5.js +2 -0
- package/Textarea-8ab0bec5.js.map +1 -0
- package/Title-b5e19cfc.js +2 -0
- package/Title-b5e19cfc.js.map +1 -0
- package/Tooltip-f6c63399.js +2 -0
- package/Tooltip-f6c63399.js.map +1 -0
- package/{Undo-874f34a9.js → Undo-7021257e.js} +2 -2
- package/Undo-7021257e.js.map +1 -0
- package/Validation-333c049f.js +2 -0
- package/Validation-333c049f.js.map +1 -0
- package/{Watch-e2c42c1b.js → Watch-a947e459.js} +2 -2
- package/Watch-a947e459.js.map +1 -0
- package/{X-35ea9677.js → X-3e7c0719.js} +2 -2
- package/X-3e7c0719.js.map +1 -0
- package/components/AnchorLink/index.js +1 -1
- package/components/Avatar/index.js +1 -1
- package/components/Badge/index.js +1 -1
- package/components/Button/index.js +1 -1
- package/components/ButtonWithModal/index.js +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/Close/index.js +1 -1
- package/components/Dropdown/index.js +1 -1
- package/components/Expander/index.js +1 -1
- package/components/ExpanderList/index.js +1 -1
- package/components/FormExample/index.js +1 -1
- package/components/FormExample/index.js.map +1 -1
- package/components/FormGroup/index.js +1 -1
- package/components/FormGroup/styles.module.scss +0 -1
- package/components/FormLayout/index.js +1 -1
- package/components/HelpBubble/HelpBubble.d.ts +4 -0
- package/components/HelpBubble/HelpBubble.d.ts.map +1 -1
- package/components/HelpBubble/componentdata.json +38 -0
- package/components/HelpBubble/index.js +1 -1
- package/components/HelpBubble/styles.module.scss +4 -0
- package/components/HelpBubble/styles.module.scss.d.ts +1 -0
- package/components/HelpBubbleExample/componentdata.json +38 -0
- package/components/HelpBubbleExample/index.js +1 -1
- package/components/HighlightBox/index.js +1 -1
- package/components/Icons/AcupunctureBack.js +1 -1
- package/components/Icons/AlarmClock.js +1 -1
- package/components/Icons/AlertSignFill.js +1 -1
- package/components/Icons/AlertSignStroke.js +1 -1
- package/components/Icons/Archive.js +1 -1
- package/components/Icons/ArrowLeft.js +1 -1
- package/components/Icons/ArrowRight.js +1 -1
- package/components/Icons/ArrowUpRight.js +1 -1
- package/components/Icons/Attachment.js +1 -1
- package/components/Icons/Avatar.js +1 -1
- package/components/Icons/Bus.js +1 -1
- package/components/Icons/Calendar.js +1 -1
- package/components/Icons/CalendarChange.js +1 -1
- package/components/Icons/CalendarCheck.js +1 -1
- package/components/Icons/CalendarSave.js +1 -1
- package/components/Icons/Change.js +1 -1
- package/components/Icons/Check.js +1 -1
- package/components/Icons/CheckFill.js +1 -1
- package/components/Icons/ChevronDown.js +1 -1
- package/components/Icons/ChevronLeft.js +1 -1
- package/components/Icons/ChevronRight.js +1 -1
- package/components/Icons/ChevronUp.js +1 -1
- package/components/Icons/ChevronsDown.js +1 -1
- package/components/Icons/ChevronsUp.js +1 -1
- package/components/Icons/Contacts.js +1 -1
- package/components/Icons/Copy.js +1 -1
- package/components/Icons/Download.js +1 -1
- package/components/Icons/EChat.js +1 -1
- package/components/Icons/EnterFullScreen.js +1 -1
- package/components/Icons/Envelope.js +1 -1
- package/components/Icons/Eraser.js +1 -1
- package/components/Icons/ErrorSignFill.js +1 -1
- package/components/Icons/ErrorSignStroke.js +1 -1
- package/components/Icons/ExitFullScreen.js +1 -1
- package/components/Icons/Eye.js +1 -1
- package/components/Icons/Form.js +1 -1
- package/components/Icons/Forward.js +1 -1
- package/components/Icons/Gallery.js +1 -1
- package/components/Icons/Globe.js +1 -1
- package/components/Icons/Group.js +1 -1
- package/components/Icons/Heart.js +1 -1
- package/components/Icons/HelpSign.js +1 -1
- package/components/Icons/History.js +1 -1
- package/components/Icons/Home.js +1 -1
- package/components/Icons/Hospital.js +1 -1
- package/components/Icons/Hourglass.js +1 -1
- package/components/Icons/Icon.d.ts +0 -1
- package/components/Icons/Icon.d.ts.map +1 -1
- package/components/Icons/Icon.js +1 -1
- package/components/Icons/InfoSignFill.js +1 -1
- package/components/Icons/InfoSignStroke.js +1 -1
- package/components/Icons/Journal.js +1 -1
- package/components/Icons/List.js +1 -1
- package/components/Icons/Location.js +1 -1
- package/components/Icons/Lock.js +1 -1
- package/components/Icons/Medicine.js +1 -1
- package/components/Icons/Menu.js +1 -1
- package/components/Icons/Minus.js +1 -1
- package/components/Icons/MobilePhone.js +1 -1
- package/components/Icons/NoAccess.js +1 -1
- package/components/Icons/NoEye.js +1 -1
- package/components/Icons/NoFilter.js +1 -1
- package/components/Icons/PaperPlane.js +1 -1
- package/components/Icons/Pause.js +1 -1
- package/components/Icons/Pencil.js +1 -1
- package/components/Icons/Play.js +1 -1
- package/components/Icons/PlusLarge.js +1 -1
- package/components/Icons/PlusSmall.js +1 -1
- package/components/Icons/Printer.js +1 -1
- package/components/Icons/QrCode.js +1 -1
- package/components/Icons/Receptionist.js +1 -1
- package/components/Icons/Referral.js +1 -1
- package/components/Icons/Refresh.js +1 -1
- package/components/Icons/Reply.js +1 -1
- package/components/Icons/Save.js +1 -1
- package/components/Icons/Search.js +1 -1
- package/components/Icons/SectionSign.js +1 -1
- package/components/Icons/Settings.js +1 -1
- package/components/Icons/Share.js +1 -1
- package/components/Icons/SpeechBubble.js +1 -1
- package/components/Icons/Stopwatch.js +1 -1
- package/components/Icons/SupportingPerson.js +1 -1
- package/components/Icons/Syringe.js +1 -1
- package/components/Icons/TimePassing.js +1 -1
- package/components/Icons/Toolbox.js +1 -1
- package/components/Icons/TrashCan.js +1 -1
- package/components/Icons/Undo.js +1 -1
- package/components/Icons/Upload.js +1 -1
- package/components/Icons/Vaccine.js +1 -1
- package/components/Icons/VerticalDots.js +1 -1
- package/components/Icons/VideoCamera.js +1 -1
- package/components/Icons/VideoChat.js +1 -1
- package/components/Icons/Wallet.js +1 -1
- package/components/Icons/Watch.js +1 -1
- package/components/Icons/X.js +1 -1
- package/components/Icons/Zoom.js +1 -1
- package/components/Icons/componentdata.json +0 -19
- package/components/Icons/index.js +1 -1
- package/components/Input/Input.d.ts +3 -0
- package/components/Input/Input.d.ts.map +1 -1
- package/components/Input/componentdata.json +19 -0
- package/components/Input/index.js +1 -1
- package/components/Input/styles.module.scss +1 -1
- package/components/LinkList/index.js +1 -1
- package/components/List/index.js +1 -1
- package/components/Loader/index.js +1 -1
- package/components/Logo/index.js +1 -1
- package/components/Modal/index.js +1 -1
- package/components/NotificationPanel/index.js +1 -1
- package/components/NotificationPanel/styles.module.scss +1 -0
- package/components/Panel/Panel.d.ts +3 -0
- package/components/Panel/Panel.d.ts.map +1 -1
- package/components/Panel/componentdata.json +43 -0
- package/components/Panel/index.js +1 -1
- package/components/PanelList/index.js +1 -1
- package/components/Portal/index.js +1 -1
- package/components/RadioButton/index.js +1 -1
- package/components/Slider/index.js +1 -1
- package/components/Slider/styles.module.scss +4 -1
- package/components/Spacer/index.js +1 -1
- package/components/StatusDot/index.js +1 -1
- package/components/Tag/index.js +1 -1
- package/components/TagList/index.js +1 -1
- package/components/Textarea/Textarea.d.ts +2 -0
- package/components/Textarea/Textarea.d.ts.map +1 -1
- package/components/Textarea/componentdata.json +19 -0
- package/components/Textarea/index.js +1 -1
- package/components/Tile/index.js +1 -1
- package/components/Tile/styles.module.scss +1 -1
- package/components/Title/Title.d.ts +1 -1
- package/components/Title/Title.d.ts.map +1 -1
- package/components/Title/componentdata.json +164 -1
- package/components/Title/index.js +1 -1
- package/components/Tooltip/Tooltip.d.ts +18 -0
- package/components/Tooltip/Tooltip.d.ts.map +1 -0
- package/components/Tooltip/componentdata.json +65 -0
- package/components/Tooltip/index.d.ts +4 -0
- package/components/Tooltip/index.d.ts.map +1 -0
- package/components/Tooltip/index.js +2 -0
- package/components/Tooltip/index.js.map +1 -0
- package/components/Tooltip/styles.module.scss +18 -0
- package/components/Tooltip/styles.module.scss.d.ts +9 -0
- package/components/TooltipExample/TooltipExample.d.ts +5 -0
- package/components/TooltipExample/TooltipExample.d.ts.map +1 -0
- package/components/TooltipExample/componentdata.json +65 -0
- package/components/TooltipExample/index.d.ts +4 -0
- package/components/TooltipExample/index.d.ts.map +1 -0
- package/components/TooltipExample/index.js +2 -0
- package/components/TooltipExample/index.js.map +1 -0
- package/components/Validation/index.js +1 -1
- package/constants-d84659f5.js +2 -0
- package/constants-d84659f5.js.map +1 -0
- package/constants.d.ts +1 -0
- package/constants.d.ts.map +1 -1
- package/hooks/useSize.d.ts.map +1 -1
- package/index-7f01d36f.js +2 -0
- package/index-7f01d36f.js.map +1 -0
- package/index.js +1 -1
- package/package.json +1 -1
- package/{useSticky-445a0370.js → useSticky-432642c9.js} +2 -2
- package/useSticky-432642c9.js.map +1 -0
- package/utils/loremtext.d.ts +3 -0
- package/utils/loremtext.d.ts.map +1 -0
- package/AlertSignFill-649f7a75.js.map +0 -1
- package/AlertSignStroke-38862a30.js.map +0 -1
- package/AnchorLink-1e690d55.js.map +0 -1
- package/ArrowRight-d02dab87.js.map +0 -1
- package/ArrowUpRight-6d59a425.js.map +0 -1
- package/Badge-b651a9fc.js.map +0 -1
- package/Button-66888459.js.map +0 -1
- package/Calendar-485713e6.js.map +0 -1
- package/Check-244aa62e.js.map +0 -1
- package/Checkbox-745fc390.js.map +0 -1
- package/ChevronDown-6dc58d3e.js.map +0 -1
- package/ChevronRight-d1822801.js.map +0 -1
- package/ChevronUp-ed970ae7.js.map +0 -1
- package/Close-fc92b2c4.js +0 -2
- package/Close-fc92b2c4.js.map +0 -1
- package/FormGroup-8968fdf3.js.map +0 -1
- package/FormLayout-6563dba9.js.map +0 -1
- package/Group-172e0eb1.js.map +0 -1
- package/HelpBubble-8ff1a72a.js +0 -2
- package/HelpBubble-8ff1a72a.js.map +0 -1
- package/Hospital-73b84ca6.js.map +0 -1
- package/Icon-cc73a763.js +0 -2
- package/Icon-cc73a763.js.map +0 -1
- package/InfoSignStroke-9c339ee1.js.map +0 -1
- package/Input-71c95249.js +0 -2
- package/Input-71c95249.js.map +0 -1
- package/Loader-7a90b2b8.js.map +0 -1
- package/Modal-627adbb0.js.map +0 -1
- package/NoAccess-de06f40b.js.map +0 -1
- package/Panel-ba6d15a6.js +0 -2
- package/Panel-ba6d15a6.js.map +0 -1
- package/Pencil-ca56434d.js.map +0 -1
- package/PlusSmall-199d6bc2.js.map +0 -1
- package/RadioButton-3e95b8fa.js.map +0 -1
- package/Textarea-74180432.js +0 -2
- package/Textarea-74180432.js.map +0 -1
- package/Title-761aecc5.js +0 -2
- package/Title-761aecc5.js.map +0 -1
- package/Undo-874f34a9.js.map +0 -1
- package/Validation-07007a5a.js +0 -2
- package/Validation-07007a5a.js.map +0 -1
- package/Watch-e2c42c1b.js.map +0 -1
- package/X-35ea9677.js.map +0 -1
- package/constants-1371e04f.js +0 -2
- package/index-5f313f08.js +0 -2
- package/index-5f313f08.js.map +0 -1
- package/useSticky-445a0370.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"AnchorLink-1e690d55.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowRight-d02dab87.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowUpRight-6d59a425.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Badge-b651a9fc.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Badge-b651a9fc.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Button-66888459.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button-66888459.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Calendar-485713e6.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Calendar-485713e6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Check-244aa62e.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Check-244aa62e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Checkbox-745fc390.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox-745fc390.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronDown-6dc58d3e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronRight-d1822801.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChevronUp-ed970ae7.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Close-fc92b2c4.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as s}from"./_rollupPluginBabelHelpers-0f007973.js";import a from"react";import{p as o}from"./palette-f206f488.js";import{I as e}from"./Icon-cc73a763.js";import{A as t}from"./constants-1371e04f.js";import{X as r}from"./X-35ea9677.js";import l from"./components/Close/styles.module.scss";import{u as m,B as c}from"./useBreakpoint-a74f5af5.js";import{c as i}from"./index-d1c0552c.js";var n=function(n){var p=m()===c.xs||n.small?38:48,f=i(l.close,s({},l["close--small"],n.small));return a.createElement("button",{"data-testid":n.testId,"data-analyticsid":t.Close,className:f,"aria-label":n.ariaLabel||"Lukk",onClick:n.onClick,type:"button"},a.createElement(e,{svgIcon:r,color:o.blueberry600,size:p}))};export{n as C};
|
|
2
|
-
//# sourceMappingURL=Close-fc92b2c4.js.map
|
package/Close-fc92b2c4.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Close-fc92b2c4.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormGroup-8968fdf3.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormLayout-6563dba9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Group-172e0eb1.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Group-172e0eb1.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/HelpBubble-8ff1a72a.js
DELETED
|
@@ -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-1e690d55.js";import{C as s}from"./Close-fc92b2c4.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-8ff1a72a.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"HelpBubble-8ff1a72a.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Hospital-73b84ca6.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Hospital-73b84ca6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Icon-cc73a763.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_tslib-b219470a.js";import a from"react";import{I as i,A as t}from"./constants-1371e04f.js";var o=function(e,a,t,o,r,l,s,d){return e<=i.XXSmall&&s&&d?a?d:s:e<=i.XSmall&&r&&l?a?l:r:a?o:t},r=a.forwardRef((function(o,r){var l=o.svgIcon,s=o.ariaLabel,d=o.id,c=o.className,n=void 0===c?"":c,m=o.size,v=void 0===m?i.Small:m,b=o.color,f=void 0===b?"black":b,h=o.hoverColor,g=void 0===h?f||"black":h,I=o.isHovered,p=void 0!==I&&I,u=o.testId,y=e(o,["svgIcon","ariaLabel","id","className","size","color","hoverColor","isHovered","testId"]),H=a.createElement(l,{size:v,isHovered:p}),N=d&&s?"title-".concat(d):void 0;return a.createElement("svg",Object.assign({id:d,"data-testid":u,"data-analyticsid":t.Icon,ref:r,className:"hnds-style-icon ".concat(n),role:"img","aria-label":!d&&s?s:void 0,"aria-labelledby":N,"aria-hidden":"true",viewBox:"0 0 48 48",style:{minWidth:v,minHeight:v},width:v,height:v,fill:p?g:f},y),N&&a.createElement("title",{id:N},s),H)}));r.displayName="Icon";export{r as I,o as g};
|
|
2
|
-
//# sourceMappingURL=Icon-cc73a763.js.map
|
package/Icon-cc73a763.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Icon-cc73a763.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InfoSignStroke-9c339ee1.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Input-71c95249.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{d as e}from"./_rollupPluginBabelHelpers-0f007973.js";import{_ as r}from"./_tslib-b219470a.js";import a,{useRef as t}from"react";import{c as n}from"./index-d1c0552c.js";import{F as l,a as o,A as i,I as p}from"./constants-1371e04f.js";import{u as s}from"./uuid-11037462.js";import{I as d}from"./Icon-cc73a763.js";import{g as c}from"./color-e7d082c1.js";import{u as m,B as u}from"./useBreakpoint-a74f5af5.js";import f from"./components/Input/styles.module.scss";var b;!function(e){e.text="text",e.number="number",e.email="email",e.password="password",e.search="search",e.tel="tel",e.url="url"}(b||(b={}));var w=a.forwardRef((function(w,v){var _,h,I,y=w.defaultValue,g=w.placeholder,j=w.type,x=void 0===j?b.text:j,E=w.inputId,k=void 0===E?s():E,C=w.name,N=w.transparent,L=void 0!==N&&N,O=w.icon,B=w.iconRight,R=w.mode,V=w.variant,F=w.label,S=w.error,T=w.errorText,z=w.testId,A=w.disabled,H=w.readOnly,P=w.autocomplete,X=w.afterLabelChildren,q=w.belowLabelChildren,D=r(w,["defaultValue","placeholder","type","inputId","name","transparent","icon","iconRight","mode","variant","label","error","errorText","testId","disabled","readOnly","autocomplete","afterLabelChildren","belowLabelChildren"]),G=m(),J=t(null),K=R===l.ondark,M=R===l.onblueberry,Q=R===l.oninvalid||T||S,U=V===o.bigform,W=L&&R!==l.ondark&&!Q,Y=n(f["input-wrapper"],e({},f["input-wrapper--invalid"],T)),Z=n(f["input-wrapper__label-wrapper"],(e(_={},f["input-wrapper__label-wrapper--on-dark"],K),e(_,f["input-wrapper__label-wrapper--disabled"],A),_)),$=n(f["content-wrapper"],(e(h={},f["content-wrapper--transparent"],W),e(h,f["content-wrapper--on-blueberry"],M),e(h,f["content-wrapper--on-dark"],K),e(h,f["content-wrapper--invalid"],Q),e(h,f["content-wrapper--bigform"],U),e(h,f["content-wrapper--disabled"],A),e(h,f["content-wrapper--with-icon"],O),h)),ee=n(f["content-wrapper__input"],(e(I={},f["content-wrapper__input--bigform"],U),e(I,f["content-wrapper__input--disabled"],A),I)),re=A?c("neutral",500):c("black"),ae=function(){var e=G!==u.xs&&U?p.Small:p.XSmall;return void 0!==O?a.createElement(d,{color:re,size:e,svgIcon:O}):null};return a.createElement("div",{"data-testid":z,"data-analyticsid":i.Input,className:Y},F&&a.createElement("div",{className:Z},a.createElement("label",{htmlFor:k},F),X&&a.createElement("div",{className:f["input-wrapper__after-label-children"]},X)),q&&a.createElement("div",null,q),a.createElement("div",{onClick:function(){if(J&&J.current&&O){var e=B?0:1;J.current.children[e].focus()}},ref:J,className:$},!B&&ae(),a.createElement("input",Object.assign({name:C,type:x,defaultValue:y,id:k,className:ee,ref:v,"aria-invalid":!!Q,disabled:A,placeholder:g,readOnly:H,autoComplete:P||"off"},D)),B&&ae()))}));export{w as I,b as a};
|
|
2
|
-
//# sourceMappingURL=Input-71c95249.js.map
|
package/Input-71c95249.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input-71c95249.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Loader-7a90b2b8.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Loader-7a90b2b8.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Modal-627adbb0.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Modal-627adbb0.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/NoAccess-de06f40b.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NoAccess-de06f40b.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Panel-ba6d15a6.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ as e,d as t}from"./_rollupPluginBabelHelpers-0f007973.js";import{_ as a}from"./_tslib-b219470a.js";import n,{useState as l,useRef as o}from"react";import{c as r}from"./index-d1c0552c.js";import s from"./components/Panel/styles.module.scss";import{T as i}from"./Title-761aecc5.js";import{B as c}from"./Button-66888459.js";import{A as u,I as m}from"./constants-1371e04f.js";import{I as d}from"./Icon-cc73a763.js";import{C as p}from"./ChevronDown-6dc58d3e.js";import{C as f}from"./ChevronUp-ed970ae7.js";import{A as v}from"./ArrowRight-d02dab87.js";import{A as y}from"./AlertSignFill-649f7a75.js";import{p as b}from"./palette-f206f488.js";import{P as g}from"./Pencil-ca56434d.js";import{C as _}from"./Calendar-485713e6.js";import{W as E}from"./Watch-e2c42c1b.js";import{u as h,B as w}from"./useBreakpoint-a74f5af5.js";import{B as j}from"./Badge-b651a9fc.js";import{u as N}from"./uuid-11037462.js";var k,C,I;!function(e){e.normal="normal",e.new="new",e.error="error",e.draft="draft"}(k||(k={})),function(e){e.fill="fill",e.white="white",e.stroke="stroke",e.line="line"}(C||(C={})),function(e){e.layout1="layout1",e.layout2="layout2",e.layout3a="layout3a",e.layout3b="layout3b",e.layout3c="layout3c"}(I||(I={}));var x=function(e){var a=e.status,l=e.statusMessage,o=r(s["status-message"],t({},s["status-message--new"],a===k.new));return a!==k.error&&a!==k.draft||!l?null:n.createElement("div",{className:o,"data-testid":"display-status"},n.createElement(d,Object.assign({},a===k.error?{color:b.cherry500,svgIcon:y}:{color:b.black,svgIcon:g},{size:m.XSmall}))," ",n.createElement("span",null,l))},B=function(e){var t=e.date,a=e.time;return t||a?n.createElement("div",{className:s["datetime-container"],"data-testid":"datetime"},t&&n.createElement("div",{className:s["datetime-container__icon"]},n.createElement(d,{svgIcon:_,size:m.XSmall}),n.createElement("span",null,t)),a&&n.createElement("div",{className:s["datetime-container__icon"]},n.createElement(d,{svgIcon:E,size:m.XSmall}),n.createElement("span",null,a))):null},T=n.forwardRef((function(e,t){var l=e.buttonText,o=e.buttonTextClose,r=e.url,s=e.target,i=e.onClick,u=e.renderAsButton,m=e.showDetails,y=a(e,["buttonText","buttonTextClose","url","target","onClick","renderAsButton","showDetails"]);return u?n.createElement(c,Object.assign({testId:"expand",ref:t,onClick:i},y),m?o:l,n.createElement(d,{svgIcon:m?f:p})):n.createElement(c,Object.assign({testId:"url",ref:t,htmlMarkup:"a",href:r,target:s},y),l,n.createElement(d,{svgIcon:v}))})),A=n.forwardRef((function(a,c){var m,d,p,f,v,y,b,g=a.children,_=a.contentA,E=a.contentB,A=a.className,S=a.testId,D=a.title,P=a.url,M=a.target,O=void 0===M?"_self":M,R=a.icon,z=a.iconRight,X=void 0!==z&&z,W=a.variant,F=void 0===W?C.fill:W,H=a.status,K=void 0===H?k.normal:H,U=a.statusMessage,q=a.buttonText,G=void 0===q?"Se detaljer":q,J=a.buttonTextClose,L=void 0===J?"Skjul detaljer":J,Q=a.showCloseButtonInExpand,V=void 0===Q||Q,Y=a.layout,Z=void 0===Y?I.layout2:Y,$=a.containerAsButton,ee=void 0!==$&&$,te=a.date,ae=a.time,ne=a.noTopBorder,le=l(!1),oe=e(le,2),re=oe[0],se=oe[1],ie=o(null),ce=N(),ue=h(),me=[I.layout3a.toString(),I.layout3b.toString(),I.layout3c.toString()].includes(Z),de=r(s["panel-wrapper"],A),pe=r(s.panel,(t(m={},s["panel--fill"],F===C.fill),t(m,s["panel--stroke"],F===C.stroke),t(m,s["panel--white"],F===C.white),t(m,s["panel--line"],F===C.line),t(m,s["panel--no-top-border"],F===C.line&&ne),t(m,s["panel--selected"],re),t(m,s["panel--new"],K===k.new),t(m,s["panel--draft"],K===k.draft),t(m,s["panel--error"],K===k.error),t(m,s["panel--status"],K&&K!==k.normal),t(m,s["panel--with-icon"],R),t(m,s["panel--button"],ee),m)),fe=r((t(d={},s.panel__container,Z===I.layout2&&E),t(d,s["panel__container--layout3"],me&&E),t(d,s["panel__container--grow"],R),d)),ve=r((t(p={},s["panel-content-a"],Z===I.layout2),t(p,s["panel-content-a--layout3a"],Z===I.layout3a),t(p,s["panel-content-a--layout3b"],Z===I.layout3b),t(p,s["panel-content-a--layout3c"],Z===I.layout3c),p)),ye=r((t(f={},s["panel__content-right--layout1"],E&&Z===I.layout1),t(f,s["panel__content-right--layout2"],E&&Z===I.layout2),t(f,s["panel__content-right--layout3"],E&&me),t(f,s["panel__content-right--layout3a"],E&&Z===I.layout3a),t(f,s["panel__content-right--layout3b"],E&&Z===I.layout3b),t(f,s["panel__content-right--layout3c"],E&&Z===I.layout3c),f)),be=r(s["panel-details"],(t(v={},s["panel-details--open"],re),t(v,s["panel-details--line"],F===C.line),t(v,s["panel-details--white"],F===C.white),t(v,s["panel-details--with-icon"],R),v)),ge=r(s["panel-content-b"],(t(y={},s["panel-content-b--layout1"],Z===I.layout1),t(y,s["panel-content-b--layout3"],me),y)),_e=r(s["panel__details-btn"],t({},s["panel__details-btn--pull-right"],E)),Ee=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,a={id:t,tabIndex:e?void 0:-1,variant:"borderless",ellipsis:!0};return n.createElement(T,Object.assign({renderAsButton:!!g,onClick:function(){return se(!re)},showDetails:re,buttonText:G,url:P,target:O,buttonTextClose:L,ref:t?ie:void 0},a))},he=r(s["panel__btn-container"],(t(b={},s["panel__btn-container--layout3"],me),t(b,s["panel__btn-container--padding-top"],E),b));return n.createElement("div",{ref:c,"data-testid":S,className:de,"data-analyticsid":u.Panel},n.createElement("div",{className:pe,tabIndex:ee?0:void 0,onClick:function(){var e;ee&&(null===(e=ie.current)||void 0===e||e.click())},onKeyDown:function(e){var t,a=e.key;!ee||"Enter"!==a&&" "!==a||(e.preventDefault(),null===(t=ie.current)||void 0===t||t.click())},"aria-labelledby":ee?ce:void 0,role:ee?"button":void 0},R&&!X&&n.createElement("div",{className:s.panel__icon},R),n.createElement("div",{className:fe},n.createElement("div",{className:ve},n.createElement(x,{status:K,statusMessage:U}),D&&n.createElement("div",{className:s["panel-content-a__title-container"]},n.createElement(i,{appearance:"title3"},D),U&&K===k.new&&n.createElement("div",null,n.createElement(j,{color:"blueberry",testId:"badge-status"},U))),_,ue>=w.lg&&n.createElement(B,{date:te,time:ae})),n.createElement("div",{className:ye},E&&n.createElement("div",{className:ge},E),(g||P||te||ae)&&n.createElement("div",{className:he},ue<w.lg&&n.createElement(B,{date:te,time:ae}),(g||P)&&n.createElement("div",{className:_e},Ee(!ee,ce))))),R&&X&&n.createElement("div",{className:s["panel__icon--right"]},R)),g&&n.createElement("div",{className:be,"data-testid":"panel-details"},n.createElement("div",null,g),V&&Ee()))}));export{A as P,k as a,C as b,I as c};
|
|
2
|
-
//# sourceMappingURL=Panel-ba6d15a6.js.map
|
package/Panel-ba6d15a6.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Panel-ba6d15a6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Pencil-ca56434d.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Pencil-ca56434d.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PlusSmall-199d6bc2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButton-3e95b8fa.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Textarea-74180432.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ as e,d as a}from"./_rollupPluginBabelHelpers-0f007973.js";import{_ as r}from"./_tslib-b219470a.js";import t,{useState as n,useRef as l,useEffect as o}from"react";import{c as i}from"./index-d1c0552c.js";import s from"./components/Textarea/styles.module.scss";import{F as d,A as c}from"./constants-1371e04f.js";import{u as m}from"./uuid-11037462.js";var p=t.forwardRef((function(p,u){var v,w,x,f=p.maxCharacters,b=p.maxText,_=p.testId,h=p.defaultValue,g=p.marginBottom,E=p.transparent,T=p.mode,C=p.label,j=p.textareaId,N=void 0===j?m():j,R=p.minRows,k=void 0===R?3:R,y=p.maxRows,B=void 0===y?10:y,I=p.grow,L=p.errorText,H=p.afterLabelChildren,V=p.belowLabelChildren,F=r(p,["maxCharacters","maxText","testId","defaultValue","marginBottom","transparent","mode","label","textareaId","minRows","maxRows","grow","errorText","afterLabelChildren","belowLabelChildren"]),A=n(k),M=e(A,2),O=M[0],P=M[1],q=n(h||""),z=e(q,2),D=z[0],G=z[1],J=l(null),K=function(e){var a=e.rows;e.rows=k;var r=Math.floor((e.scrollHeight-16)/28);r===a&&(e.rows=r),r>=B&&(e.rows=B,e.scrollTop=e.scrollHeight),P(r<B?r:B)},Q=T===d.ondark,S=T===d.onblueberry,U=f&&D.length>f,W=T===d.oninvalid||L||U,X=i(s.textarea,(a(v={},s["textarea--gutterBottom"],g),a(v,s["textarea--invalid"],L),v)),Y=i(s["textarea__label-wrapper"],a({},s["textarea__label-wrapper--on-dark"],Q)),Z=i(s["content-wrapper"],(a(w={},s["content-wrapper--transparent"],E),a(w,s["content-wrapper--on-blueberry"],S),a(w,s["content-wrapper--on-dark"],Q),a(w,s["content-wrapper--invalid"],W),a(w,s["content-wrapper--disabled"],p.disabled),w)),$=i(s["content-wrapper__input"],a({},s["content-wrapper__input--disabled"],p.disabled)),ee=i(s["textarea__counter-wrapper"],(a(x={},s["textarea__counter-wrapper--on-dark"],Q),a(x,s["textarea__counter-wrapper--invalid"],W),x));return o((function(){var e,a,r;if(I&&(null===(e=J.current)||void 0===e?void 0:e.children)&&(null===(a=J.current)||void 0===a?void 0:a.children[0])){var t=null===(r=J.current)||void 0===r?void 0:r.children[0];K(t)}}),[]),t.createElement("div",{"data-testid":_,"data-analyticsid":c.Textarea,className:X},C&&t.createElement("div",{className:Y},t.createElement("label",{htmlFor:N},C),H&&t.createElement("div",{className:s["textarea__after-label-children"]},H)),V&&t.createElement("div",null,V),t.createElement("div",{className:Z,ref:J},t.createElement("textarea",Object.assign({rows:O,defaultValue:h,id:N,className:$,ref:u,onChange:function(e){I&&K(e.target),G(e.target.value)},"aria-invalid":!!W},F))),f&&t.createElement("div",{className:ee},t.createElement("p",null,"".concat(D.length,"/").concat(f," ").concat(b||"tegn"))))}));export{p as T};
|
|
2
|
-
//# sourceMappingURL=Textarea-74180432.js.map
|
package/Textarea-74180432.js.map
DELETED
|
@@ -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
|
package/Title-761aecc5.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Title-761aecc5.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Undo-874f34a9.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Undo-874f34a9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Validation-07007a5a.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import r from"react";import{c as e}from"./index-d1c0552c.js";import{F as a}from"./FormGroup-8968fdf3.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-07007a5a.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Validation-07007a5a.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Watch-e2c42c1b.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Watch-e2c42c1b.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/X-35ea9677.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"X-35ea9677.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/constants-1371e04f.js
DELETED
|
@@ -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
|
package/index-5f313f08.js.map
DELETED
|
@@ -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":""}
|