@helsenorge/designsystem-react 1.0.0-beta110 → 1.0.0-beta113
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/Badge-81cefbed.js +2 -0
- package/Badge-81cefbed.js.map +1 -0
- package/Button-218a5289.js +2 -0
- package/Button-218a5289.js.map +1 -0
- package/Checkbox-657cb5e7.js +2 -0
- package/Checkbox-657cb5e7.js.map +1 -0
- package/Close-c1ccb332.js +2 -0
- package/Close-c1ccb332.js.map +1 -0
- package/FormGroup-e67d4a50.js +2 -0
- package/FormGroup-e67d4a50.js.map +1 -0
- package/{Input-01c967ac.js → Input-fe2b4c5a.js} +2 -2
- package/Input-fe2b4c5a.js.map +1 -0
- package/{Loader-bf89238f.js → Loader-8a2970bd.js} +2 -2
- package/Loader-8a2970bd.js.map +1 -0
- package/{Modal-240f0699.js → Modal-95d3d875.js} +2 -2
- package/Modal-95d3d875.js.map +1 -0
- package/{RadioButton-b0da1997.js → RadioButton-0233a8fb.js} +2 -2
- package/RadioButton-0233a8fb.js.map +1 -0
- package/{Textarea-648063a9.js → Textarea-4597fece.js} +2 -2
- package/Textarea-4597fece.js.map +1 -0
- package/{Title-1d8708ea.js → Title-8fc7396e.js} +2 -2
- package/Title-8fc7396e.js.map +1 -0
- package/Validation-247496a2.js +2 -0
- package/Validation-247496a2.js.map +1 -0
- package/__mocks__/IntersectionObserver.d.ts +6 -0
- package/__mocks__/IntersectionObserver.d.ts.map +1 -0
- package/__mocks__/IntersectionObserver.js +2 -0
- package/__mocks__/IntersectionObserver.js.map +1 -0
- package/__mocks__/matchMedia.d.ts +3 -0
- package/__mocks__/matchMedia.d.ts.map +1 -0
- package/__mocks__/matchMedia.js +2 -0
- package/__mocks__/matchMedia.js.map +1 -0
- package/_rollupPluginBabelHelpers-4f206abf.js +2 -0
- package/_rollupPluginBabelHelpers-4f206abf.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/Button.d.ts +2 -0
- package/components/Button/Button.d.ts.map +1 -1
- package/components/Button/componentdata.json +38 -1
- package/components/Button/index.js +1 -1
- package/components/ButtonWithModal/index.js +1 -1
- package/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/components/Checkbox/index.js +1 -1
- package/components/Close/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/FormGroup/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/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/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 +1 -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.d.ts.map +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/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/index.js +1 -1
- package/components/Input/index.js +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/Panel/Panel.d.ts +65 -0
- package/components/Panel/Panel.d.ts.map +1 -0
- package/components/Panel/componentdata.json +440 -0
- package/components/Panel/index.d.ts +4 -0
- package/components/Panel/index.d.ts.map +1 -0
- package/components/Panel/index.js +2 -0
- package/components/Panel/index.js.map +1 -0
- package/components/Panel/styles.module.scss +345 -0
- package/components/Panel/styles.module.scss.d.ts +34 -0
- package/components/Portal/index.js +1 -1
- package/components/RadioButton/index.js +1 -1
- package/components/Slider/index.js +1 -1
- package/components/Spacer/index.js +1 -1
- package/components/Textarea/index.js +1 -1
- package/components/Tile/componentdata.json +19 -1
- package/components/Tile/index.js +1 -1
- package/components/Title/index.js +1 -1
- package/components/Validation/index.js +1 -1
- package/{constants-075356e2.js → constants-be4018c7.js} +2 -2
- package/constants-be4018c7.js.map +1 -0
- package/constants.d.ts +4 -1
- package/constants.d.ts.map +1 -1
- package/hoc/withBreakpoint/index.js +1 -1
- package/hooks/useFocusTrap.d.ts.map +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{useBreakpoint-8209ae3c.js → useBreakpoint-004c6cb2.js} +2 -2
- package/useBreakpoint-004c6cb2.js.map +1 -0
- package/useHover-026f72c1.js +2 -0
- package/useHover-026f72c1.js.map +1 -0
- package/useIsVisible-fad4d769.js +2 -0
- package/useIsVisible-fad4d769.js.map +1 -0
- package/{useSticky-a572c326.js → useSticky-807e5dde.js} +2 -2
- package/useSticky-807e5dde.js.map +1 -0
- package/{useWindowSize-58f26dea.js → useWindowSize-5cc481da.js} +2 -2
- package/useWindowSize-5cc481da.js.map +1 -0
- package/Button-ed1c6e3f.js +0 -2
- package/Button-ed1c6e3f.js.map +0 -1
- package/Checkbox-8e590de0.js +0 -2
- package/Checkbox-8e590de0.js.map +0 -1
- package/Close-48d39d0e.js +0 -2
- package/Close-48d39d0e.js.map +0 -1
- package/FormGroup-f10939e6.js +0 -2
- package/FormGroup-f10939e6.js.map +0 -1
- package/Input-01c967ac.js.map +0 -1
- package/Loader-bf89238f.js.map +0 -1
- package/Modal-240f0699.js.map +0 -1
- package/RadioButton-b0da1997.js.map +0 -1
- package/Textarea-648063a9.js.map +0 -1
- package/Title-1d8708ea.js.map +0 -1
- package/Validation-c196f3f2.js +0 -2
- package/Validation-c196f3f2.js.map +0 -1
- package/_rollupPluginBabelHelpers-6b3099b0.js +0 -2
- package/_rollupPluginBabelHelpers-6b3099b0.js.map +0 -1
- package/constants-075356e2.js.map +0 -1
- package/useBreakpoint-8209ae3c.js.map +0 -1
- package/useHover-507fb85a.js +0 -2
- package/useHover-507fb85a.js.map +0 -1
- package/useIsVisible-f5d49913.js +0 -2
- package/useIsVisible-f5d49913.js.map +0 -1
- package/useSticky-a572c326.js.map +0 -1
- package/useWindowSize-58f26dea.js.map +0 -1
package/Button-ed1c6e3f.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ as t,b as e}from"./_rollupPluginBabelHelpers-6b3099b0.js";import{_ as n}from"./_tslib-51c8a283.js";import o from"react";import{A as r,I as l}from"./constants-075356e2.js";import{g as i}from"./color-e7d082c1.js";import{L as a}from"./Loader-bf89238f.js";import{u as s}from"./useHover-507fb85a.js";import{a as d}from"./useWindowSize-58f26dea.js";import{b as u}from"./grid-c105cad1.js";import{c}from"./index-9b84fabc.js";import m from"./components/Button/styles.module.scss";var f={primary:"blueberry",warning:"banana",danger:"cherry"},b=function(t,e){return e&&e<u.md&&t?l.Small:t?l.Medium:l.XSmall},p=o.forwardRef((function(u,p){var v,_,g,h=u.id,w=u.children,j=u.className,E=void 0===j?"":j,y=u.fluid,k=void 0!==y&&y,N=u.intent,I=void 0===N?"primary":N,B=u.inverted,C=void 0!==B&&B,H=u.htmlMarkup,O=void 0===H?"button":H,S=u.onClick,z=u.large,F=void 0!==z&&z,M=u.loading,x=void 0!==M&&M,A=u.variant,L=void 0===A?"fill":A,R=u.disabled,X=void 0!==R&&R,P=u.ellipsis,W=void 0!==P&&P,q=u.testId,D=u.href,G=u.target,J=n(u,["id","children","className","fluid","intent","inverted","htmlMarkup","onClick","large","loading","variant","disabled","ellipsis","testId","href","target"]),K=function(t){var e,n,o,r,l=null,i=null;void 0!==(null===(n=null===(e=t[0])||void 0===e?void 0:e.props)||void 0===n?void 0:n.svgIcon)&&(l=t.shift()),void 0!==(null===(r=null===(o=t[t.length-1])||void 0===o?void 0:o.props)||void 0===r?void 0:r.svgIcon)&&(i=t.pop());var a=t.filter((function(t){return t}));return[l,i,a.length>0?a:null]}(o.Children.toArray(w)),Q=t(K,3),T=Q[0],U=Q[1],V=Q[2],Y=s(p),Z=Y.hoverRef,$=Y.isHovered,tt=function(t,e,n,o,r){return e?i("neutral",600):t&&!o||!t&&o?"white":i(f[n],r?700:600)}("fill"===L,X,I,C,$),et=d(),nt="fill"===L,ot="outline"===L,rt="borderless"===L,lt="warning"===I,it="danger"===I,at=!(!T&&!U||x),st=Object.assign({},J),dt=c(m.button,(e(v={},m["button--fluid"],k),e(v,m["button--large"],F),e(v,m["button--warning"],lt),e(v,m["button--danger"],it),e(v,m["button--inverted"],C),e(v,m["button--fill"],nt),e(v,m["button--outline"],ot),e(v,m["button--borderless"],rt),e(v,m["button--with-icon"],at),e(v,m["button--ellipsis"],W),v),E),ut=c(m.button__content,(e(_={},m["button__content--warning"],lt),e(_,m["button__content--danger"],it),e(_,m["button__content--fill"],nt),e(_,m["button__content--borderless"],rt),e(_,m["button__content--with-icon"],at),e(_,m["button__content--large"],F),e(_,m["button__content--ellipsis"],W),e(_,m["button__content--inverted"],C),e(_,m["button__content--fluid"],k),_)),ct=c(m["button__left-fluid-content"],(e(g={},m["button__left-fluid-content--with-icon"],at),e(g,m["button__left-fluid-content--large"],F),g));function mt(t,e,n,r){var l=t&&t.props&&t.props.color?t.props.color:n;return t&&Object.keys(t).length>0?o.cloneElement(t,{size:e,color:l,isHovered:r}):null}var ft=function(){return V?o.createElement("span",{className:ut},V):null},bt=function(){return o.createElement("span",{className:m["content-wrapper"]},x?o.createElement("div",{className:m["button__left-fluid-content"]},o.createElement(a,{testId:"test-id-loader",color:"fill"!==L||C?f[I]:"white",size:"tiny"})):o.createElement(o.Fragment,null,k?o.createElement("div",{className:ct},mt(T,b(F,et.width),tt,$),ft()):o.createElement(o.Fragment,null,mt(T,b(F,et.width),tt,$),ft()),mt(U,l.XSmall,tt,$)))};return o.createElement(o.Fragment,null,"button"===O&&o.createElement("button",Object.assign({id:h,onClick:S,disabled:X,"data-testid":q,"data-analyticsid":r.Button,className:dt,ref:Z},st),bt()),"a"===O&&o.createElement("a",Object.assign({id:h,onClick:S,"data-testid":q,"data-analyticsid":r.Button,className:dt,href:D,target:G,rel:"_blank"===G?"noopener noreferrer":u.rel,ref:Z},J),bt()))}));export{p as B,f as i};
|
|
2
|
-
//# sourceMappingURL=Button-ed1c6e3f.js.map
|
package/Button-ed1c6e3f.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button-ed1c6e3f.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Checkbox-8e590de0.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ as e,b as o}from"./_rollupPluginBabelHelpers-6b3099b0.js";import r,{useState as c,useEffect as a}from"react";import{c as l}from"./index-9b84fabc.js";import{u as b}from"./uuid-fe7442b7.js";import n from"./components/Icons/Check.js";import{Icon as s}from"./components/Icons/Icon.js";import{F as i,a as t,A as m}from"./constants-075356e2.js";import{g as p}from"./color-e7d082c1.js";import d from"./components/Checkbox/styles.module.scss";var h=r.forwardRef((function(h,k){var x,f,u,v=h.className,_=h.checked,w=void 0!==_&&_,y=h.disabled,g=h.label,j=h.inputId,N=void 0===j?b():j,E=h.mode,I=h.name,C=void 0===I?N:I,F=h.variant,z=h.errorText,A=h.error,B=void 0===A?!!z:A,H=h.value,P=void 0===H?g:H,R=c(w),T=e(R,2),q=T[0],D=T[1],G=B||E===i.oninvalid,J=E===i.ondark,K=E===i.onblueberry,L=F===t.bigform,M=l(d["checkbox-wrapper"],(o(x={},d["checkbox-wrapper--with-error"],z),o(x,d["checkbox-wrapper--bigform"],L),x)),O=l(d["checkbox-label"],(o(f={},d["checkbox-label--disabled"],y),o(f,d["checkbox-label--on-dark"],J),o(f,d["checkbox-label--on-blueberry"],K),o(f,d["checkbox-label--invalid"],G),o(f,d["checkbox-label--bigform"],L),f)),Q=l(d.checkbox,v),S=l(d["checkbox__icon-wrapper"],(o(u={},d["checkbox__icon-wrapper--checked"],q),o(u,d["checkbox__icon-wrapper--disabled"],y),o(u,d["checkbox__icon-wrapper--on-dark"],J),o(u,d["checkbox__icon-wrapper--on-blueberry"],K),o(u,d["checkbox__icon-wrapper--invalid"],G),u)),U=l(d["checkbox-errors"],o({},d["checkbox-errors--bigform"],L)),V=p("blueberry",500);return y&&(V=p("neutral",400)),J&&(V=p("blueberry",200)),G&&(V=p("cherry",500)),a((function(){D(w)}),[w]),r.createElement("div",{"data-testid":h.testId,"data-analyticsid":m.Checkbox,className:M},z&&r.createElement("p",{className:U},z),r.createElement("label",{htmlFor:N,className:O},r.createElement("input",{id:N,name:C,className:Q,type:"checkbox",checked:q,disabled:y,onChange:function(){D(!q)},value:P,ref:k,"aria-invalid":B}),r.createElement("span",{className:S},q&&r.createElement(s,{color:V,className:d.checkbox__icon,svgIcon:n,size:38})),g))}));export{h as C};
|
|
2
|
-
//# sourceMappingURL=Checkbox-8e590de0.js.map
|
package/Checkbox-8e590de0.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Checkbox-8e590de0.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Close-48d39d0e.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import o from"react";import{p as t}from"./palette-f206f488.js";import{Icon as e}from"./components/Icons/Icon.js";import{A as s}from"./constants-075356e2.js";import r from"./components/Icons/X.js";import a from"./components/Close/styles.module.scss";import{u as n,B as m}from"./useBreakpoint-8209ae3c.js";var c=function(c){var l=n()===m.xs?38:48;return o.createElement("button",{"data-testid":c.testId,"data-analyticsid":s.Close,className:a.close,"aria-label":c.ariaLabel||"Lukk",onClick:c.onClick,role:"button"},o.createElement(e,{svgIcon:r,color:t.blueberry600,size:l}))};export{c as C};
|
|
2
|
-
//# sourceMappingURL=Close-48d39d0e.js.map
|
package/Close-48d39d0e.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Close-48d39d0e.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/FormGroup-f10939e6.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{b as e}from"./_rollupPluginBabelHelpers-6b3099b0.js";import r from"react";import{c as a}from"./index-9b84fabc.js";import o from"./components/FormGroup/styles.module.scss";import{C as t}from"./Checkbox-8e590de0.js";import{F as m,a as n,A as l}from"./constants-075356e2.js";import{R as i}from"./RadioButton-b0da1997.js";import{I as p}from"./Input-01c967ac.js";import{T as s}from"./Title-1d8708ea.js";var d=r.forwardRef((function(d,f){var u,c,g,v=d.className,_=d.mode,b=void 0===_?m.onwhite:_,w=d.variant,E=void 0===w?n.normal:w,y=d.error,j=d.name,N=b===m.ondark,h=E===n.bigform,k=a(o["form-group-wrapper"],(e(u={},o["form-group-wrapper--on-dark"],N),e(u,o["form-group-wrapper--invalid"],y),u),v),F=a(o["form-group-wrapper__title"],(e(c={},o["form-group-wrapper__title--on-dark"],N&&!y),e(c,o["form-group-wrapper__title--bigform"],h),c)),x=a(o["form-group"],e({},o["form-group--invalid"],y)),B=a(o["form-group-wrapper__errors"],e({},o["form-group-wrapper__errors--bigform"],h)),C=a(o["field-set__legend"],(e(g={},o["field-set__legend--on-dark"],N&&!y),e(g,o["field-set__legend--bigform"],h),g));return r.createElement("div",{"data-testid":d.testId,"data-analyticsid":l.FormGroup,className:k},d.title&&r.createElement(s,{className:F,htmlMarkup:"h4",appearance:"title4",margin:{marginTop:0,marginBottom:2}},d.title),r.createElement("div",{className:x},y&&r.createElement("p",{className:B},y),r.createElement("fieldset",{name:d.title,className:o["field-set"]},d.legend&&r.createElement("legend",{className:C},d.legend),r.Children.map(d.children,(function(e){if(e.type===t){var a=e.type===t;return r.cloneElement(e,{name:null!=j?j:a.valueOf.name,mode:b,variant:E,error:!!y})}if(e.type===i){var o=e.type===i;return r.cloneElement(e,{name:null!=j?j:o.valueOf.name,mode:b,variant:E,error:!!y})}if(e.type===p){var m=e.type===p;return r.cloneElement(e,{name:null!=j?j:m.valueOf.name,mode:b,variant:E,error:!!y})}return e})))))}));export{d as F};
|
|
2
|
-
//# sourceMappingURL=FormGroup-f10939e6.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FormGroup-f10939e6.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Input-01c967ac.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Input-01c967ac.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Loader-bf89238f.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Loader-bf89238f.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Modal-240f0699.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Modal-240f0699.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButton-b0da1997.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Textarea-648063a9.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Textarea-648063a9.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Title-1d8708ea.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Title-1d8708ea.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/Validation-c196f3f2.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import r from"react";import{c as e}from"./index-9b84fabc.js";import{F as a}from"./FormGroup-f10939e6.js";import t from"./components/Validation/styles.module.scss";import{A as o}from"./constants-075356e2.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-c196f3f2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Validation-c196f3f2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
function t(r){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(r)}function r(t,r,n){return r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t}function n(t,r){return function(t){if(Array.isArray(t))return t}(t)||function(t,r){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],e=!0,o=!1,u=void 0;try{for(var i,a=t[Symbol.iterator]();!(e=(i=a.next()).done)&&(n.push(i.value),!r||n.length!==r);e=!0);}catch(t){o=!0,u=t}finally{try{e||null==a.return||a.return()}finally{if(o)throw u}}return n}(t,r)||function(t,r){if(!t)return;if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return e(t,r)}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,r){(null==r||r>t.length)&&(r=t.length);for(var n=0,e=new Array(r);n<r;n++)e[n]=t[n];return e}export{n as _,t as a,r as b};
|
|
2
|
-
//# sourceMappingURL=_rollupPluginBabelHelpers-6b3099b0.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_rollupPluginBabelHelpers-6b3099b0.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants-075356e2.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useBreakpoint-8209ae3c.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/useHover-507fb85a.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{_ as e}from"./_rollupPluginBabelHelpers-6b3099b0.js";import{useRef as r,useState as n,useEffect as t}from"react";var o=function(o,u){var i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],c=o||r(null),f=n(!1),a=e(f,2),v=a[0],s=a[1];return t((function(){var e=c.current,r=function(){return s(!0)},n=function(){return s(!1)},t=["mouseenter",i?"focusin":""];t.forEach((function(n){return e&&e.addEventListener(n,r)}));var o=["mouseleave",i?"focusout":""];return o.forEach((function(r){return e&&e.addEventListener(r,n)})),function(){[].concat(t,o).forEach((function(t){return e&&e.removeEventListener(t,r)&&e.removeEventListener(t,n)}))}}),[c,u]),{hoverRef:c,isHovered:v}};export{o as u};
|
|
2
|
-
//# sourceMappingURL=useHover-507fb85a.js.map
|
package/useHover-507fb85a.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHover-507fb85a.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/useIsVisible-f5d49913.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{useRef as e,useEffect as t,useState as n}from"react";import{_ as r}from"./_rollupPluginBabelHelpers-6b3099b0.js";function o(){var n=e(null);function r(e){var t=n.current,r="Tab"===e.key;if(t&&r){var o=function(e){try{return("string"==typeof e?document.querySelector(e):e).getRootNode().activeElement}catch(t){return console.error("Feil ved å ta tak i active element basert på angitt node: ",e,t),null}}(t),u=null==t?void 0:t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),i=u[0],c=1===u.length?i:u[u.length-1];e.shiftKey?o===i&&(c.focus(),e.preventDefault()):o===c&&(i.focus(),e.preventDefault())}}function o(e){var t=n.current;if(t){var r=t.querySelectorAll('a[href], button, textarea, input[type="text"], input[type="radio"], input[type="checkbox"], select');1===r.length&&(r[0].focus(),e.preventDefault())}}return t((function(){var e=n.current;return e.addEventListener("keydown",r),e.addEventListener("click",o),function(){e.removeEventListener("keydown",r),e.removeEventListener("click",o)}}),[]),n}var u=function(e,n,r){t((function(){var t=new IntersectionObserver(n,r);return(null==e?void 0:e.current)&&t.observe(e.current),function(){(null==e?void 0:e.current)&&t.unobserve(e.current)}}),[e])},i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,o=n(!1),i=r(o,2),c=i[0],a=i[1],l=function(e){a(e[0].intersectionRatio>=t)};return u(e,l,{threshold:t}),c};export{u as a,i as b,o as u};
|
|
2
|
-
//# sourceMappingURL=useIsVisible-f5d49913.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useIsVisible-f5d49913.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useSticky-a572c326.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useWindowSize-58f26dea.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|