@worldresources/wri-design-systems 2.128.1 → 2.128.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +43 -25
- package/dist/index.d.ts +2 -1
- package/dist/index.esm.js +95 -77
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
@@ -2721,10 +2721,15 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2721
2721
|
`,_i=r.css`
|
2722
2722
|
padding: 12px;
|
2723
2723
|
`,Bi=r.css`
|
2724
|
-
|
2724
|
+
display: flex;
|
2725
|
+
justify-content: flex-start;
|
2726
|
+
align-items: center;
|
2727
|
+
gap: 8px;
|
2728
|
+
`,Oi=e=>r.css`
|
2729
|
+
width: ${e||"16px"};
|
2725
2730
|
position: relative;
|
2726
2731
|
display: flex;
|
2727
|
-
`,
|
2732
|
+
`,Hi=r.css`
|
2728
2733
|
height: 4px;
|
2729
2734
|
width: 4px;
|
2730
2735
|
background-color: ${p("error",500)};
|
@@ -2732,10 +2737,10 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2732
2737
|
position: absolute;
|
2733
2738
|
top: 0px;
|
2734
2739
|
right: 0px;
|
2735
|
-
`,
|
2736
|
-
height:
|
2740
|
+
`,zi=r.css`
|
2741
|
+
height: 10px;
|
2737
2742
|
background-color: ${p("error",500)};
|
2738
|
-
padding: 0
|
2743
|
+
padding: 0 3px 1px 3px;
|
2739
2744
|
border-radius: 8px;
|
2740
2745
|
display: flex;
|
2741
2746
|
justify-content: center;
|
@@ -2743,11 +2748,24 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2743
2748
|
position: absolute;
|
2744
2749
|
top: -2px;
|
2745
2750
|
left: 9px;
|
2746
|
-
`,
|
2747
|
-
font-size:
|
2751
|
+
`,Ni=r.css`
|
2752
|
+
font-size: 9px;
|
2753
|
+
font-weight: 700;
|
2754
|
+
color: ${p("error",100)};
|
2755
|
+
`,Ai=r.css`
|
2756
|
+
height: 16px;
|
2757
|
+
min-width: 16px;
|
2758
|
+
background-color: ${p("error",500)};
|
2759
|
+
border-radius: 16px;
|
2760
|
+
display: flex;
|
2761
|
+
justify-content: center;
|
2762
|
+
align-items: center;
|
2763
|
+
padding: 0px 4px 1px 4px;
|
2764
|
+
`,Fi=r.css`
|
2765
|
+
font-size: 16px;
|
2748
2766
|
font-weight: 700;
|
2749
2767
|
color: ${p("error",100)};
|
2750
|
-
`,
|
2768
|
+
`,Zi=(e,t)=>r.css`
|
2751
2769
|
width: 100%;
|
2752
2770
|
min-width: ${"small"===e?"234px":"366px"};
|
2753
2771
|
border-radius: 4px;
|
@@ -2762,7 +2780,7 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2762
2780
|
button {
|
2763
2781
|
margin-left: ${t?0:"24px"};
|
2764
2782
|
}
|
2765
|
-
`,
|
2783
|
+
`,Wi=r.css`
|
2766
2784
|
display: flex;
|
2767
2785
|
align-items: flex-start;
|
2768
2786
|
gap: 8px;
|
@@ -2770,28 +2788,28 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2770
2788
|
svg {
|
2771
2789
|
margin-top: 6px;
|
2772
2790
|
}
|
2773
|
-
`,
|
2791
|
+
`,Ui=e=>r.css`
|
2774
2792
|
color: ${p("neutral",800)};
|
2775
2793
|
font-size: ${"small"===e?"14px":"18px"};
|
2776
2794
|
line-height: ${"small"===e?"20px":"28px"};
|
2777
2795
|
font-weight: 400;
|
2778
2796
|
text-align: left;
|
2779
|
-
`,
|
2797
|
+
`,Yi=e=>r.css`
|
2780
2798
|
color: ${p("neutral",700)};
|
2781
2799
|
font-size: ${"small"===e?"12px":"16px"};
|
2782
2800
|
line-height: ${"small"===e?"16px":"24px"};
|
2783
2801
|
font-weight: 400;
|
2784
2802
|
margin-left: 24px;
|
2785
2803
|
text-align: left;
|
2786
|
-
`,
|
2804
|
+
`,Gi=r.css`
|
2787
2805
|
background-color: ${p("neutral",100)};
|
2788
2806
|
border: 1px solid ${p("neutral",300)};
|
2789
2807
|
color: ${p("neutral",700)};
|
2790
|
-
`,
|
2808
|
+
`,qi=r.css`
|
2791
2809
|
background-color: ${p("neutral",200)};
|
2792
2810
|
border: 1px solid ${p("neutral",300)};
|
2793
2811
|
color: ${p("neutral",700)};
|
2794
|
-
`,
|
2812
|
+
`,Xi=r.css`
|
2795
2813
|
background-color: ${p("success",100)};
|
2796
2814
|
border: 1px solid ${p("success",300)};
|
2797
2815
|
color: ${p("success",500)};
|
@@ -2799,7 +2817,7 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2799
2817
|
p {
|
2800
2818
|
color: ${p("success",900)};
|
2801
2819
|
}
|
2802
|
-
`,
|
2820
|
+
`,Ki=r.css`
|
2803
2821
|
background-color: ${p("warning",100)};
|
2804
2822
|
border: 1px solid ${p("warning",300)};
|
2805
2823
|
color: ${p("warning",500)};
|
@@ -2807,7 +2825,7 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2807
2825
|
p {
|
2808
2826
|
color: ${p("warning",900)};
|
2809
2827
|
}
|
2810
|
-
`,
|
2828
|
+
`,Ji=r.css`
|
2811
2829
|
background-color: ${p("error",100)};
|
2812
2830
|
border: 1px solid ${p("error",300)};
|
2813
2831
|
color: ${p("error",500)};
|
@@ -2815,7 +2833,7 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2815
2833
|
p {
|
2816
2834
|
color: ${p("error",900)};
|
2817
2835
|
}
|
2818
|
-
`,
|
2836
|
+
`,Qi=r.css`
|
2819
2837
|
justify-content: space-between;
|
2820
2838
|
align-items: center;
|
2821
2839
|
gap: 8px;
|
@@ -2858,21 +2876,21 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2858
2876
|
color: ${p("error",900)};
|
2859
2877
|
}
|
2860
2878
|
}
|
2861
|
-
`,
|
2879
|
+
`,el=r.css`
|
2862
2880
|
font-size: 18px;
|
2863
2881
|
line-height: 28px;
|
2864
2882
|
font-weight: 400;
|
2865
2883
|
color: ${p("neutral",800)};
|
2866
|
-
`,
|
2884
|
+
`,tl=r.css`
|
2867
2885
|
font-size: 16px;
|
2868
2886
|
line-height: 24px;
|
2869
2887
|
font-weight: 400;
|
2870
2888
|
color: ${p("neutral",700)};
|
2871
|
-
`,
|
2889
|
+
`,rl=r.css`
|
2872
2890
|
padding: 6px;
|
2873
|
-
`,
|
2891
|
+
`,nl=r.css`
|
2874
2892
|
padding: 6px;
|
2875
|
-
`,
|
2893
|
+
`,ol={pauseOnPageIdle:!0,offsets:"24px"},al={"top-start":e.createToaster({placement:"top-start",...ol}),"top-end":e.createToaster({placement:"top-end",...ol}),"bottom-start":e.createToaster({placement:"bottom-start",...ol}),"bottom-end":e.createToaster({placement:"bottom-end",...ol})},il={Zoom:({onZoomInClick:e,onZoomOutClick:t,vertical:r})=>n.jsx(oe,{items:[{icon:n.jsx(_,{}),ariaLabel:"zoom in",onClick:e},{icon:n.jsx(B,{}),ariaLabel:"zoom out",onClick:t}],vertical:r}),Expand:({onClick:e})=>n.jsx(oe,{items:[{icon:n.jsx(O,{}),ariaLabel:"expand",onClick:e}]}),Share:({onClick:e})=>n.jsx(oe,{items:[{icon:n.jsx(H,{}),ariaLabel:"share",onClick:e}]}),Print:({onClick:e})=>n.jsx(oe,{items:[{icon:n.jsx(z,{}),ariaLabel:"print",onClick:e}]}),Settings:({onClick:e})=>n.jsx(oe,{items:[{icon:n.jsx(N,{}),ariaLabel:"settings",onClick:e}]}),Question:({onClick:e})=>n.jsx(oe,{items:[{icon:n.jsx(A,{}),ariaLabel:"question",onClick:e}]})},ll={Paper:({ariaLabel:e,onClick:t})=>n.jsx(er,{ariaLabel:e||"paper icon",icon:n.jsx(F,{color:"#79022C"}),backgroundColor:"#FFBCD4",onClick:t}),Drop:({ariaLabel:e,onClick:t})=>n.jsx(er,{ariaLabel:e||"drop icon",icon:n.jsx(Z,{color:"#7D2A03"}),backgroundColor:"#F3A078",onClick:t}),Plant:({ariaLabel:e,onClick:t})=>n.jsx(er,{ariaLabel:e||"plant icon",icon:n.jsx(W,{color:"#3B6402"}),backgroundColor:"#B7E578",onClick:t})},sl={Google:({ariaLabel:e,size:t="default",onClick:r})=>n.jsx(m,{label:"Google",leftIcon:n.jsx(U,{}),"aria-label":e||"Google Login",variant:"secondary",size:t,onClick:r}),Facebook:({ariaLabel:e,size:t="default",onClick:r})=>n.jsx(m,{label:"Facebook",leftIcon:n.jsx(Y,{}),"aria-label":e||"Facebook Login",variant:"secondary",size:t,onClick:r}),X:({ariaLabel:e,size:t="default",onClick:r})=>n.jsx(m,{label:"X",leftIcon:n.jsx(G,{}),"aria-label":e||"X Login",variant:"secondary",size:t,onClick:r}),Microsoft:({ariaLabel:e,size:t="default",onClick:r})=>n.jsx(m,{label:"Microsoft",leftIcon:n.jsx(q,{}),"aria-label":e||"Microsoft Login",variant:"secondary",size:t,onClick:r})};exports.Badge=({hasNotification:e,notificationCount:r,label:n})=>{const[a,i]=o.useState(!1);o.useEffect((()=>{const e=()=>{window.innerWidth<1024?i(!0):i(!1)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}}),[]);const l=(()=>{let e="";return r&&r>0&&(e=`${r>99?"99+":r}`),e})();let s="16px";return r&&r>99?s="28px":r&&r>9&&(s="22px"),a?t.jsxs("div",{css:Bi,role:"status","aria-live":"polite",children:[t.jsxs("div",{css:Oi(),children:[t.jsx(P,{color:"currentColor",height:"16px",width:"16px"}),!e||r||n?null:t.jsx("div",{css:Hi,"aria-hidden":!0})]}),n?t.jsx("p",{children:n}):null,l.length>0?t.jsx("div",{css:Ai,children:t.jsx("p",{css:Fi,"aria-label":`${r} unread message`,children:l})}):null]}):t.jsxs("div",{css:Bi,role:"status","aria-live":"polite",children:[n?t.jsx("p",{children:n}):null,t.jsxs("div",{css:Oi(s),children:[l.length>0?t.jsx("div",{css:zi,children:t.jsx("p",{css:Ni,"aria-label":`${r} unread message`,children:l})}):null,e&&!r?t.jsx("div",{css:Hi,"aria-hidden":!0}):null,t.jsx(P,{color:"currentColor",height:"16px",width:"16px"})]})]})},exports.Breadcrumb=({links:r,separator:n,maxItems:a=99,linkRouter:i})=>{const[l,s]=o.useState(r.length>a);o.useEffect((()=>{s(r.length>a)}),[r.length]);const c=i;return t.jsx(e.Breadcrumb.Root,{children:t.jsx(e.Breadcrumb.List,{gap:"16px",children:l?t.jsxs(t.Fragment,{children:[t.jsx(e.Breadcrumb.Item,{css:bn,children:t.jsxs(c,{to:r[0].link,href:r[0].link,children:[r[0].icon,r[0].label]})}),t.jsx(e.Breadcrumb.Separator,{css:Cn,children:n||t.jsx($,{rotate:"270"})}),t.jsx("li",{className:"chakra-breadcrumb__item",children:t.jsx("button",{css:vn,type:"button",onClick:()=>s(!1),children:"..."})}),t.jsx(e.Breadcrumb.Separator,{css:Cn,children:n||t.jsx($,{rotate:"270"})}),t.jsx(e.Breadcrumb.Item,{css:bn,children:t.jsxs("p",{"aria-current":"page","aria-label":r[r.length-1].label,children:[r[r.length-1].icon,r[r.length-1].label]})})]}):r.map(((a,i)=>a?.label?t.jsxs(o.Fragment,{children:[t.jsx(e.Breadcrumb.Item,{css:bn,children:i<r.length-1?t.jsxs(c,{to:a.link,href:a.link,children:[a.icon,a.label]}):t.jsxs("p",{"aria-current":"page","aria-label":a.label,children:[a.label&&a.icon?a.icon:"",a.label]})}),i<r.length-1?t.jsx(e.Breadcrumb.Separator,{css:Cn,children:n||t.jsx($,{rotate:"270"})}):null]},a.label):null))})})},exports.Button=m,exports.Checkbox=de,exports.CheckboxList=({label:e,caption:n,checkboxes:a,defaultValue:i,onCheckedChange:l,errorMessage:s,horizontal:c,required:d})=>{const[p,u]=o.useState(i?{[i]:!0}:{});return t.jsxs("div",{css:Oe,"aria-roledescription":"group","aria-labelledby":e,children:[s?t.jsx("div",{css:Ae}):null,t.jsxs("div",{css:(h=!!s,r.css`
|
2876
2894
|
margin-left: ${h?"19px":"0px"};
|
2877
2895
|
`),children:[t.jsxs("p",{css:He,"aria-label":e,children:[d&&t.jsx("span",{"aria-label":"required",children:"*"}),e]}),t.jsx("p",{css:ze,"aria-label":n,children:n}),s?t.jsx("p",{css:Fe,"aria-label":s,children:s}):null,t.jsx("div",{css:Ne(c),children:a.map((e=>t.jsx(de,{css:{},defaultChecked:i===e.value,onCheckedChange:({checked:t})=>((e,t)=>{const r={...p};t&&(r[t]=e,u(r)),l&&l(r)})(t,e.name),...e},e.name)))})]})]});var h},exports.CheckboxOptionCard=({defaultValue:n,items:o,onValueChange:a})=>t.jsx(e.CheckboxGroup,{defaultValue:n,onValueChange:a,children:t.jsx(e.HStack,{alignItems:"flex-start",flexWrap:"wrap",gap:"12px",children:o.map((o=>{return t.jsxs(e.CheckboxCard.Root,{css:pe,defaultChecked:-1!==n?.indexOf(o.value),disabled:o.disabled,value:o.value,children:[t.jsx(e.CheckboxCard.HiddenInput,{}),t.jsxs(e.CheckboxCard.Control,{css:ue,children:[t.jsxs(e.CheckboxCard.Content,{css:(i=o.variant,r.css`
|
2878
2896
|
width: 100%;
|
@@ -2887,7 +2905,7 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2887
2905
|
padding: 0px;
|
2888
2906
|
padding-top: 8px;
|
2889
2907
|
color: ${a?p("neutral",500):"inherit"};
|
2890
|
-
`),children:o.children}):null]},`${o.label}-${o.value}`);var a,i}))})}),exports.CloseButton=Q,exports.Footer=({children:e,label:r="©️World Resources Institute",fixed:n,filled:o,maxWidth:a})=>{const i=(new Date).getFullYear();return t.jsx("footer",{css:yn(n,o),children:t.jsxs("div",{css:wn(a),children:[t.jsx("div",{children:t.jsx(D,{height:"32px",width:"91px"})}),t.jsx("div",{css:jn,children:e}),t.jsx("div",{children:t.jsxs("p",{css:$n,children:[r," ",i]})})]})})},exports.IconButton=J,exports.IconMarker=er,exports.IconMarkers=
|
2908
|
+
`),children:o.children}):null]},`${o.label}-${o.value}`);var a,i}))})}),exports.CloseButton=Q,exports.Footer=({children:e,label:r="©️World Resources Institute",fixed:n,filled:o,maxWidth:a})=>{const i=(new Date).getFullYear();return t.jsx("footer",{css:yn(n,o),children:t.jsxs("div",{css:wn(a),children:[t.jsx("div",{children:t.jsx(D,{height:"32px",width:"91px"})}),t.jsx("div",{css:jn,children:e}),t.jsx("div",{children:t.jsxs("p",{css:$n,children:[r," ",i]})})]})})},exports.IconButton=J,exports.IconMarker=er,exports.IconMarkers=ll,exports.InlineMessage=({label:e,caption:r,variant:n,size:o="large",icon:a=t.jsx(j,{height:"16px",width:"16px"}),onActionClick:i,actionLabel:l,isButtonRight:s})=>{let c=Gi;return"info-grey"===n?c=qi:"success"===n?c=Xi:"warning"===n?c=Ki:"error"===n&&(c=Ji),t.jsxs("div",{css:[Zi(o,s),c],"aria-roledescription":"Note",children:[t.jsxs("div",{children:[t.jsxs("div",{css:Wi,children:[a,t.jsx("p",{css:Ui(o),children:e})]}),t.jsx("p",{css:Yi(o),children:r})]}),l?t.jsx(m,{label:l,variant:"info-white"===n||"info-grey"===n?"primary":"secondary",size:"large"===o?"default":"small",onClick:i}):null]})},exports.InputWithUnits=({label:r,caption:n,errorMessage:a,units:i,unitsPosition:l="end",defaultUnit:s="",defaultValue:c="",onChange:d,required:p,disabled:u})=>{const[h,x]=o.useState(c),[f,g]=o.useState(s?[s]:[i[0].value]),m=(e,t)=>{d&&d("end"===l?""+(t?`${h} ${e}`:`${e} ${f}`):""+(t?`${e} ${h}`:`${f} ${e}`))};return t.jsxs("div",{css:Ze,children:[a?t.jsx("div",{css:Ye}):null,t.jsxs("div",{style:{marginLeft:a?"19px":"0px"},children:[t.jsxs("p",{css:We(u),"aria-label":r,children:[p?t.jsx("span",{children:"*"}):null,r]}),t.jsx("p",{css:Ue(u),"aria-label":n,children:n}),a?t.jsx("p",{css:Ge,"aria-label":a,children:a}):null,t.jsxs(e.Group,{css:qe(!!a,l),attached:!0,children:["start"===l?t.jsx(Mt,{placeholder:"",value:f,items:i,disabled:u,onChange:e=>{g(e),m(e?.[0],!0)}}):null,t.jsx(rt,{type:"number",value:h,disabled:u,onChange:e=>{x(e.target.value),m(e.target.value)}}),"end"===l?t.jsx(Mt,{placeholder:"",value:f,items:i,disabled:u,onChange:e=>{g(e),m(e?.[0],!0)}}):null]})]})]})},exports.ItemCount=rn,exports.LayerGroup=({label:r,caption:n,value:a,layerItems:i,onChangeForRadioVariant:l})=>{const[s,c]=o.useState({}),[d]=o.useState((e=>{const t=e.find((e=>"radio"===e.variant&&e.isDefaultSelected));return t?.name})(i));o.useEffect((()=>{let e={...s};i.forEach((t=>{t.isDefaultSelected&&(e={...e,["radio"===t.variant?r:t.name]:t.isDefaultSelected})})),c(e)}),[]);const p=(e,t,r,n)=>{const o={...s,[e]:t};c(o),r&&r(e,t,n)},u=Object.values(s).filter((e=>!0===e)).length;return t.jsxs(e.Accordion.Item,{value:a,width:"300px",children:[t.jsxs(e.Accordion.ItemTrigger,{padding:"16px",alignItems:"flex-start",children:[t.jsxs(e.Box,{width:"full",display:"flex",flexDirection:"column",alignItems:"flex-start",children:[t.jsxs("span",{css:rr,children:[r,t.jsx(kt,{label:`${u} Active`,size:"small",variant:u>0?"success":"info-grey"})]}),t.jsx("div",{css:nr,children:n})]}),t.jsx(e.Accordion.ItemIndicator,{display:"flex",children:t.jsx($,{color:"var(--chakra-colors-neutral-700)",height:"16px",width:"16px"})})]}),t.jsx(e.Accordion.ItemContent,{paddingLeft:"16px",paddingRight:"16px",children:t.jsx(Se,{name:r,defaultValue:d,customGap:"0px",onChange:(e,t)=>p(e,!!t,l,t),children:i.map((e=>t.jsx(cr,{...e,onChange:(t,r)=>p(t,r,e.onChange)},e.label)))})})]})},exports.LayerGroupContainer=({children:r,defaultValue:n,...o})=>t.jsx("div",{css:tr,style:{width:"300px"},children:t.jsx(e.Accordion.Root,{css:{},defaultValue:n,multiple:!0,...o,children:r})}),exports.LayerItem=cr,exports.LayerPanel=({title:e,description:r,tabBarVariant:n="panel",buttonTabs:o,defaultValue:a,onTabClick:i,children:l})=>t.jsxs("div",{css:br,children:[t.jsxs("aside",{css:Cr,role:"complementary",children:[t.jsx("h2",{css:vr,"aria-label":e,children:e}),t.jsx("p",{css:yr,"aria-label":r,children:r})]}),o&&o.length>0?t.jsx(mr,{variant:n,defaultValue:a,tabs:o,onTabClick:i}):null,l]}),exports.LayerParameters=({label:r,children:n,openedByDefault:a})=>t.jsx("div",{children:t.jsx(e.Accordion.Root,{defaultValue:a?[r]:[],multiple:!0,children:t.jsxs(e.Accordion.Item,{css:wr,value:r,children:[t.jsxs(e.Accordion.ItemTrigger,{css:jr,children:[t.jsx(e.Box,{width:"full",display:"flex",flexDirection:"column",alignItems:"flex-start",children:t.jsx("p",{css:$r,children:r})}),t.jsx(e.Accordion.ItemIndicator,{display:"flex",children:t.jsx($,{color:"var(--chakra-colors-neutral-700)",height:"16px",width:"16px"})})]}),t.jsx(e.Accordion.ItemContent,{css:kr,children:o.Children.map(n,(e=>t.jsx("div",{className:"layer-parameters-item-child",children:e})))})]})})}),exports.LegendItem=({layerName:e,dataUnit:r,onDrag:n,onUpClick:o,onDownClick:a,onRemoveClick:i,children:l,onInfoClick:s,onOpacityChanged:c})=>t.jsxs("div",{css:Sr,children:[t.jsxs("div",{css:Lr,children:[t.jsx(J,{icon:t.jsx(M,{}),"aria-label":"Drag and drop","aria-hidden":!0,onClick:n,style:{display:"none",marginBottom:"12px"}}),t.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:"12px"},children:[t.jsx(J,{icon:t.jsx($,{rotate:"180"}),"aria-label":"Up",onClick:o}),t.jsx(J,{icon:t.jsx($,{}),"aria-label":"Down",onClick:a})]})]}),t.jsxs("div",{children:[t.jsxs("div",{css:Mr,children:[t.jsxs("div",{children:[t.jsx("h3",{css:Rr,children:e}),t.jsx("p",{css:Er,children:r})]}),t.jsx(m,{label:"Remove",size:"small",variant:"secondary",rightIcon:t.jsx(k,{}),onClick:i})]}),l,t.jsxs("div",{css:Tr,children:[t.jsx(m,{label:"About data",size:"small",variant:"secondary",leftIcon:t.jsx(j,{}),onClick:s}),t.jsx(_r,{defaultValue:80,onOpacityChanged:c})]})]})]}),exports.LegendPanel=({legendContent:e,analysisContent:r,onTabClick:n})=>{const[a,i]=o.useState("legend-tab"),[l,s]=o.useState(e);return t.jsxs("div",{css:Br,children:[t.jsx(mr,{tabs:[{label:"Legend",value:"legend-tab",icon:t.jsx(R,{})},{label:"Analysis",value:"analysis-tab",icon:t.jsx(E,{})}],onTabClick:e=>{i(e),n&&n(e)}}),"legend-tab"===a?t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:o.Children.map(l,((e,t)=>o.cloneElement(e,{onUpClick:()=>{const e=Or(l,t,t-1);s(e)},onDownClick:()=>{const e=Or(l,t,t+1);s(e)}})))}):null,"analysis-tab"===a?t.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"10px"},children:r}):null]})},exports.MapControl=oe,exports.MapControls=il,exports.Menu=$a,exports.Modal=({title:r,content:n,size:o="medium",draggable:a,blocking:i,open:l,onClose:s,showCancelButton:c,cancelLabel:d="Cancel",showActionButton:p,actionLabel:u,onActionClick:h})=>l?t.jsx(e.Dialog.Root,{open:l,onOpenChange:s,placement:"center",scrollBehavior:"inside",closeOnInteractOutside:!a&&!i,preventScroll:!a&&!i,closeOnEscape:!i,defaultOpen:!0,children:t.jsxs(e.Portal,{children:[a?null:t.jsx(e.Dialog.Backdrop,{}),t.jsx(Ti,{disabled:!a,children:t.jsx(e.Dialog.Positioner,{children:t.jsxs(e.Dialog.Content,{css:Vi(o),children:[t.jsxs(e.Dialog.Header,{css:Ii,children:[t.jsx(e.Dialog.Title,{css:Di,children:r}),i?null:t.jsx(e.Dialog.CloseTrigger,{css:Pi,asChild:!0,children:t.jsx(Q,{})})]}),t.jsx(e.Dialog.Body,{css:_i,children:n}),c||p?t.jsxs(e.Dialog.Footer,{children:[c?t.jsx(e.Dialog.ActionTrigger,{asChild:!0,children:t.jsx(m,{label:d,variant:"secondary"})}):null,p?t.jsx(m,{label:u,onClick:h}):null]}):null]})})})]})}):null,exports.MultiActionButton=({variant:r="primary",size:n="default",mainActionLabel:a,mainActionOnClick:i=()=>{},otherActions:l=[],...s})=>{const[c,d]=o.useState(!1);return t.jsxs(e.Group,{attached:!0,"aria-disabled":s.disabled,children:[t.jsx(m,{css:{},label:a,variant:r,size:n,onClick:i,...s}),t.jsxs(e.Menu.Root,{onOpenChange:({open:e})=>d(e),positioning:{placement:"bottom-end"},children:[t.jsx(e.Menu.Trigger,{css:ie(r),"data-group-item":!0,"data-last":!0,asChild:!0,children:t.jsx(m,{variant:r,size:n,leftIcon:t.jsx($,{rotate:c?"180":"0",color:p("accessible","text-on-primary-mids")||p("primary",900)}),disabled:s.disabled})}),t.jsx(se,{children:l.map((({label:r,value:o,onClick:a})=>t.jsx(e.Menu.Item,{css:le(n),onClick:a,value:o,children:r},o)))})]})]})},exports.Navbar=({logo:e,linkRouter:n,navigationSection:a,utilitySection:i,actionsSection:l,maxWidth:s,fixed:c,onNavbarHeightChange:d})=>{const u=uo(),h=o.useRef(null),x=o.useRef(null),f=o.useRef(null),[g,b]=o.useState(!1),[C,v]=o.useState(-1),[y,w]=o.useState(window?.innerWidth<=ka),[j,$]=o.useState(!1),S=n,L=o.useCallback((()=>{if(x.current&&h.current&&f.current){const e=h.current.getBoundingClientRect(),t=x.current.getBoundingClientRect(),r=f.current.getBoundingClientRect();t.width,e.width,window.innerWidth<=ka||window.innerWidth<=C?(d?.(96),b(!0)):window.innerWidth>ka&&window.innerWidth<=1440?e.right>=t.left?(d?.(96),b(!0),v(window.innerWidth)):window.innerWidth>C&&(d?.(48),b(!1),v(-1)):(d?.(48),b(!1),v(-1)),g&&(window.innerWidth<=ka||r.right>=t.left?(w(!0),d?.(48)):(w(!1),d?.(96)))}}),[C,g]);return o.useEffect((()=>(L(),window.addEventListener("resize",L),()=>{window.removeEventListener("resize",L)})),[L]),t.jsxs("nav",{css:Xo(g&&!y,c),children:[t.jsxs("div",{css:Jo(g&&!y,s),children:[t.jsxs("div",{css:(M=g&&!y,r.css`
|
2891
2909
|
display: flex;
|
2892
2910
|
align-items: center;
|
2893
2911
|
justify-content: flex-start;
|
@@ -2919,7 +2937,7 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2919
2937
|
}
|
2920
2938
|
`),children:["Password Strength: ",t.jsx("span",{children:f.strength})]}),t.jsx("div",{css:Dt(f.strength),children:t.jsx("div",{})}),t.jsxs("div",{css:Pt(f.length),children:[t.jsx("div",{children:f.length?t.jsx(y,{color:"var(--chakra-colors-success-500)",height:"8px",width:"8px"}):t.jsx(k,{color:"var(--chakra-colors-error-900)",height:"8px",width:"8px"})}),t.jsxs("p",{children:["Use a minimum of ",s," characters"]})]}),i?.uppercase?null:t.jsxs("div",{css:Pt(f.uppercase),children:[t.jsx("div",{children:f.uppercase?t.jsx(y,{color:"var(--chakra-colors-success-500)",height:"8px",width:"8px"}):t.jsx(k,{color:"var(--chakra-colors-error-900)",height:"8px",width:"8px"})}),t.jsx("p",{children:"Use an uppercase letter"})]}),i?.lowercase?null:t.jsxs("div",{css:Pt(f.lowercase),children:[t.jsx("div",{children:f.lowercase?t.jsx(y,{color:"var(--chakra-colors-success-500)",height:"8px",width:"8px"}):t.jsx(k,{color:"var(--chakra-colors-error-900)",height:"8px",width:"8px"})}),t.jsx("p",{children:"Use a lowercase letter"})]}),i?.numbers?null:t.jsxs("div",{css:Pt(f.numbers),children:[t.jsx("div",{children:f.numbers?t.jsx(y,{color:"var(--chakra-colors-success-500)",height:"8px",width:"8px"}):t.jsx(k,{color:"var(--chakra-colors-error-900)",height:"8px",width:"8px"})}),t.jsx("p",{children:"Use a number"})]}),i?.specialCharacters?null:t.jsxs("div",{css:Pt(f.specialCharacters),children:[t.jsx("div",{children:f.specialCharacters?t.jsx(y,{color:"var(--chakra-colors-success-500)",height:"8px",width:"8px"}):t.jsx(k,{color:"var(--chakra-colors-error-900)",height:"8px",width:"8px"})}),t.jsx("p",{children:"Use a special character"})]})]}):null]});var b},exports.QualitativeAttribute=({type:e,label:r,caption:n,color:a,onActionClick:i,showActionButton:l,pointIcon:s})=>{const[c,d]=o.useState(!0),p="raster"===e,u="line"===e,h="point"===e;return t.jsxs("div",{css:Ar,children:[t.jsxs("div",{css:Fr,children:[t.jsxs("div",{children:[p&&t.jsx("div",{css:Hr(a)}),u&&t.jsx("div",{css:zr(a)}),h&&t.jsx("div",{css:Nr(a),children:s})]}),t.jsxs("div",{children:[t.jsx("p",{css:Zr,"aria-label":r,children:r}),n?t.jsx("p",{css:Wr,"aria-label":n,children:n}):null]})]}),i&&l?t.jsx("div",{css:Ur,children:t.jsx(m,{variant:"borderless",label:c?"Hide":"Show",rightIcon:c?t.jsx(L,{}):t.jsx(S,{}),"aria-label":"Show or Hide action",onClick:()=>{d(!c),i&&i()}})}):null]})},exports.Radio=ke,exports.RadioGroup=Se,exports.RadioList=({label:e,caption:n,name:o,radios:a,defaultValue:i,onCheckedChange:l,errorMessage:s,horizontal:c,variant:d="default",required:p})=>{return t.jsxs("div",{css:_t,"aria-roledescription":"group","aria-labelledby":e,children:[s?t.jsx("div",{css:zt}):null,t.jsxs("div",{css:(u=!!s,r.css`
|
2921
2939
|
margin-left: ${u?"19px":"0px"};
|
2922
|
-
`),children:[t.jsxs("p",{css:Bt,"aria-label":e,children:[p&&t.jsx("span",{"aria-label":"required",children:"*"}),e]}),t.jsx("p",{css:Ot,"aria-label":n,children:n}),s?t.jsx("p",{css:Nt,"aria-label":s,children:s}):null,t.jsx("div",{css:Ht,children:t.jsx(Se,{name:o,defaultValue:i,onChange:l,horizontal:c&&"card"!==d,children:a.map((e=>t.jsx(ke,{css:"card"===d?At:{},...e},e.value)))})})]})]});var u},exports.SSOButtons=
|
2940
|
+
`),children:[t.jsxs("p",{css:Bt,"aria-label":e,children:[p&&t.jsx("span",{"aria-label":"required",children:"*"}),e]}),t.jsx("p",{css:Ot,"aria-label":n,children:n}),s?t.jsx("p",{css:Nt,"aria-label":s,children:s}):null,t.jsx("div",{css:Ht,children:t.jsx(Se,{name:o,defaultValue:i,onChange:l,horizontal:c&&"card"!==d,children:a.map((e=>t.jsx(ke,{css:"card"===d?At:{},...e},e.value)))})})]})]});var u},exports.SSOButtons=sl,exports.ScaleBar=({colors:e,values:n,subLabels:o,isGradient:a})=>{return t.jsxs("div",{css:Yr,children:[a?t.jsx("div",{css:(i=Jr(e),r.css`
|
2923
2941
|
height: 20px;
|
2924
2942
|
width: 100%;
|
2925
2943
|
margin-bottom: 8px;
|
@@ -2941,4 +2959,4 @@ function Rn(e,t){if(!1===e||null==e)throw new Error(t)}function En(e,t){if(!e){"
|
|
2941
2959
|
cursor: not-allowed;
|
2942
2960
|
|
2943
2961
|
${a?`\n background-color: ${p("primary",100)};\n color: ${p("primary",800)};\n border: 1px solid ${p("primary",400)};\n box-shadow: 0px 1px 2px -1px #0000001A;\n box-shadow: 0px 1px 3px 0px #0000001A;\n cursor: pointer;\n `:""}
|
2944
|
-
`),type:"button",onClick:e.onClick,"aria-current":n===o+1,"aria-disabled":n<o+1,disabled:n<o+1,"aria-label":`Current Step ${o}${e.label?` ${e.label}`:""}`,children:n>o+1?t.jsx(y,{height:"16px",width:"16px"}):o+1}),e.label?t.jsx("p",{css:Ia(n===o+1),children:e.label}):null]},`${e.label}-${o}`);var a})),t.jsx("div",{css:Da,children:t.jsx("div",{css:Pa})})]}),exports.Switch=Be,exports.TabBar=mr,exports.Table=({columns:r,data:n,renderRow:a,striped:i,stickyHeader:l,pagination:s,selectable:c,selectedRows:d,onSortColumn:p,onPageSizeChange:u,onPageChange:h,onAllItemsSelected:x})=>{const[f,g]=o.useState({key:"",order:""}),{totalItems:m=n.length,currentPage:b=1,pageSize:C=10,showItemCount:v,showItemCountText:y}=s||{},w=(e,t)=>{g({key:e,order:t}),p&&p({key:e,order:t})},j=d?.length===n?.length,k=d&&d.length>0&&!j;return t.jsxs("div",{children:[t.jsxs(e.Table.Root,{css:cn,striped:i,stickyHeader:l,interactive:!0,children:[t.jsx(e.Table.Header,{css:dn,children:t.jsxs(e.Table.Row,{children:[c?t.jsx(e.Table.ColumnHeader,{children:t.jsx(de,{name:"header-checkbox",checked:j,indeterminate:k,onCheckedChange:({checked:e})=>{x&&x(e)}})}):null,r.map((r=>t.jsx(e.Table.ColumnHeader,{role:r.sortable?"columnheader":void 0,"aria-sort":r.sortable&&"asc"===f.order?"ascending":r.sortable&&"desc"===f.order?"descending":void 0,children:t.jsxs("div",{css:pn,children:[r.label,r.sortable?t.jsxs("div",{css:un,children:[t.jsx(J,{css:hn(f.key===r.key&&"asc"===f.order),icon:t.jsx($,{style:{transform:"rotate(180deg)"}}),onClick:()=>w(r.key,"asc"),"aria-label":"Ascending"}),t.jsx(J,{css:hn(f.key===r.key&&"desc"===f.order),icon:t.jsx($,{}),onClick:()=>w(r.key,"desc"),"aria-label":"Descending"})]}):null]})},r.key)))]})}),t.jsx(e.Table.Body,{children:n.map((e=>t.jsx(o.Fragment,{children:a(e)},e.id)))})]}),t.jsxs("div",{css:xn,children:[t.jsx("div",{children:v?t.jsx(rn,{pageSize:C,currentPage:b,totalItems:m,onPageSizeChange:u,showItemCountText:y}):null}),s?t.jsx("div",{css:fn,children:t.jsx(sn,{totalItems:m,pageSize:C,currentPage:b,onPageChange:h})}):null]})]})},exports.TableCell=mn,exports.TableRow=gn,exports.Tag=kt,exports.TextInput=rt,exports.Textarea=({label:r,caption:n,placeholder:a,errorMessage:i,required:l,disabled:s,size:c="default",defaultValue:d="",onChange:p,minLength:u,maxLength:h,...x})=>{const[f,g]=o.useState(d),[m,b]=o.useState(!1),[C,v]=o.useState(!1),[y,w]=o.useState("");o.useEffect((()=>{const{length:e}=d;u&&e<u&&e>0?(b(e<u),v(!1),w(`Enter at least ${u-e} characters`)):u&&0===e&&w(`Min ${u} characters`),h&&e>0?(b(!1),v(e>h),w(`You have ${h-e} characters remaining`)):h&&0===e&&w(`Max ${h} characters`)}),[]);const j=!!i||m||C;return t.jsxs("div",{css:Ut(c),children:[j?t.jsx("div",{css:Yt}):null,t.jsxs(e.Field.Root,{required:l,invalid:j,gap:"0",style:{marginLeft:j?"19px":"0px"},children:[r?t.jsxs(e.Field.Label,{css:Gt(c,s),"aria-label":r,children:[t.jsx(e.Field.RequiredIndicator,{"aria-label":"required"}),r,l?"":t.jsx("span",{children:" (Optional)"})]}):null,n?t.jsx(e.Field.HelperText,{css:qt(c,s),"aria-label":n,children:n}):null,i?t.jsx(e.Field.ErrorText,{css:Kt,"aria-label":i,children:i}):null,t.jsx(e.Textarea,{placeholder:a,disabled:s,css:Jt(c,f,d),onChange:e=>{g(e.target.value);const{length:t}=e.target.value;u&&h?(b(t<u),v(t>h),w(`You have ${h-t} characters remaining`)):u?(b(t<u),v(!1),w(t<u?`Enter at least ${u-t} characters`:"")):h&&(v(t>h),b(!1),w(`You have ${h-t} characters remaining`)),p&&p(e)},value:f,_placeholder:{color:"var(--chakra-colors-neutral-500)"},...x}),m&&u?t.jsxs(e.Field.ErrorText,{css:Kt,style:{marginTop:"8px",fontSize:"12px",lineHeight:"16px"},"aria-live":"polite",children:["You need ",u-f.length," more characters"]}):null,C&&h?t.jsxs(e.Field.ErrorText,{css:Kt,style:{marginTop:"8px",fontSize:"12px",lineHeight:"16px"},"aria-live":"polite",children:["You have ",f.length-h," characters too many"]}):null,!y||C||m?null:t.jsx(e.Field.HelperText,{css:Xt,"aria-label":y,children:y})]})]})},exports.Toast=()=>Object.keys(
|
2962
|
+
`),type:"button",onClick:e.onClick,"aria-current":n===o+1,"aria-disabled":n<o+1,disabled:n<o+1,"aria-label":`Current Step ${o}${e.label?` ${e.label}`:""}`,children:n>o+1?t.jsx(y,{height:"16px",width:"16px"}):o+1}),e.label?t.jsx("p",{css:Ia(n===o+1),children:e.label}):null]},`${e.label}-${o}`);var a})),t.jsx("div",{css:Da,children:t.jsx("div",{css:Pa})})]}),exports.Switch=Be,exports.TabBar=mr,exports.Table=({columns:r,data:n,renderRow:a,striped:i,stickyHeader:l,pagination:s,selectable:c,selectedRows:d,onSortColumn:p,onPageSizeChange:u,onPageChange:h,onAllItemsSelected:x})=>{const[f,g]=o.useState({key:"",order:""}),{totalItems:m=n.length,currentPage:b=1,pageSize:C=10,showItemCount:v,showItemCountText:y}=s||{},w=(e,t)=>{g({key:e,order:t}),p&&p({key:e,order:t})},j=d?.length===n?.length,k=d&&d.length>0&&!j;return t.jsxs("div",{children:[t.jsxs(e.Table.Root,{css:cn,striped:i,stickyHeader:l,interactive:!0,children:[t.jsx(e.Table.Header,{css:dn,children:t.jsxs(e.Table.Row,{children:[c?t.jsx(e.Table.ColumnHeader,{children:t.jsx(de,{name:"header-checkbox",checked:j,indeterminate:k,onCheckedChange:({checked:e})=>{x&&x(e)}})}):null,r.map((r=>t.jsx(e.Table.ColumnHeader,{role:r.sortable?"columnheader":void 0,"aria-sort":r.sortable&&"asc"===f.order?"ascending":r.sortable&&"desc"===f.order?"descending":void 0,children:t.jsxs("div",{css:pn,children:[r.label,r.sortable?t.jsxs("div",{css:un,children:[t.jsx(J,{css:hn(f.key===r.key&&"asc"===f.order),icon:t.jsx($,{style:{transform:"rotate(180deg)"}}),onClick:()=>w(r.key,"asc"),"aria-label":"Ascending"}),t.jsx(J,{css:hn(f.key===r.key&&"desc"===f.order),icon:t.jsx($,{}),onClick:()=>w(r.key,"desc"),"aria-label":"Descending"})]}):null]})},r.key)))]})}),t.jsx(e.Table.Body,{children:n.map((e=>t.jsx(o.Fragment,{children:a(e)},e.id)))})]}),t.jsxs("div",{css:xn,children:[t.jsx("div",{children:v?t.jsx(rn,{pageSize:C,currentPage:b,totalItems:m,onPageSizeChange:u,showItemCountText:y}):null}),s?t.jsx("div",{css:fn,children:t.jsx(sn,{totalItems:m,pageSize:C,currentPage:b,onPageChange:h})}):null]})]})},exports.TableCell=mn,exports.TableRow=gn,exports.Tag=kt,exports.TextInput=rt,exports.Textarea=({label:r,caption:n,placeholder:a,errorMessage:i,required:l,disabled:s,size:c="default",defaultValue:d="",onChange:p,minLength:u,maxLength:h,...x})=>{const[f,g]=o.useState(d),[m,b]=o.useState(!1),[C,v]=o.useState(!1),[y,w]=o.useState("");o.useEffect((()=>{const{length:e}=d;u&&e<u&&e>0?(b(e<u),v(!1),w(`Enter at least ${u-e} characters`)):u&&0===e&&w(`Min ${u} characters`),h&&e>0?(b(!1),v(e>h),w(`You have ${h-e} characters remaining`)):h&&0===e&&w(`Max ${h} characters`)}),[]);const j=!!i||m||C;return t.jsxs("div",{css:Ut(c),children:[j?t.jsx("div",{css:Yt}):null,t.jsxs(e.Field.Root,{required:l,invalid:j,gap:"0",style:{marginLeft:j?"19px":"0px"},children:[r?t.jsxs(e.Field.Label,{css:Gt(c,s),"aria-label":r,children:[t.jsx(e.Field.RequiredIndicator,{"aria-label":"required"}),r,l?"":t.jsx("span",{children:" (Optional)"})]}):null,n?t.jsx(e.Field.HelperText,{css:qt(c,s),"aria-label":n,children:n}):null,i?t.jsx(e.Field.ErrorText,{css:Kt,"aria-label":i,children:i}):null,t.jsx(e.Textarea,{placeholder:a,disabled:s,css:Jt(c,f,d),onChange:e=>{g(e.target.value);const{length:t}=e.target.value;u&&h?(b(t<u),v(t>h),w(`You have ${h-t} characters remaining`)):u?(b(t<u),v(!1),w(t<u?`Enter at least ${u-t} characters`:"")):h&&(v(t>h),b(!1),w(`You have ${h-t} characters remaining`)),p&&p(e)},value:f,_placeholder:{color:"var(--chakra-colors-neutral-500)"},...x}),m&&u?t.jsxs(e.Field.ErrorText,{css:Kt,style:{marginTop:"8px",fontSize:"12px",lineHeight:"16px"},"aria-live":"polite",children:["You need ",u-f.length," more characters"]}):null,C&&h?t.jsxs(e.Field.ErrorText,{css:Kt,style:{marginTop:"8px",fontSize:"12px",lineHeight:"16px"},"aria-live":"polite",children:["You have ",f.length-h," characters too many"]}):null,!y||C||m?null:t.jsx(e.Field.HelperText,{css:Xt,"aria-label":y,children:y})]})]})},exports.Toast=()=>Object.keys(al).map((r=>t.jsx(e.Portal,{children:t.jsx(e.Toaster,{toaster:al[r],insetInline:{mdDown:"4"},children:n=>t.jsxs(e.Toast.Root,{css:Qi,width:{md:"sm"},children:[t.jsxs(e.Stack,{flexDirection:"row",className:"icon-container",children:["info"===n.type?n.meta?.icon?n.meta.icon:t.jsx(j,{color:"var(--chakra-colors-neutral-700)"}):null,"loading"===n.type?t.jsx(e.Spinner,{size:"lg",borderWidth:"3px",color:"var(--chakra-colors-primary-500)"}):null,"success"===n.type?n.meta?.icon?n.meta.icon:t.jsx(T,{color:"var(--chakra-colors-success-500)"}):null,"warning"===n.type?n.meta?.icon?n.meta.icon:t.jsx(V,{color:"var(--chakra-colors-warning-500)"}):null,"error"===n.type?n.meta?.icon?n.meta.icon:t.jsx(I,{color:"var(--chakra-colors-error-500)"}):null,t.jsxs(e.Stack,{gap:"1",flex:"1",maxWidth:"100%",children:[t.jsx(e.Toast.Title,{css:el,"aria-label":`${n.title}`,children:n.title}),n.description?t.jsx(e.Toast.Title,{css:tl,"aria-label":`${n.description}`,children:n.description}):null]})]}),n.action||n.meta?.closable?t.jsxs(e.Stack,{flexDirection:"row",children:[n.action?t.jsx(m,{css:rl,label:n.action.label,size:"small",variant:"info"===n.type?"primary":"secondary",onClick:()=>{n?.action?.onClick&&n.action.onClick(),al[r].dismiss()}}):null,n.meta?.closable?t.jsx(m,{css:nl,label:n.meta.closableLabel,"aria-label":n.meta?.closableLabel||"Dismiss",leftIcon:t.jsx(k,{height:"10px!",width:"10px!"}),size:"small",variant:"secondary",onClick:()=>al[r].dismiss()}):null]}):null]})})},r))),exports.designSystemStyles=d,exports.getThemedColor=p,exports.showToast=e=>{al[e.placement].create({title:e.label,description:e.caption,duration:e.duration||5e3,meta:{closable:e.closable,icon:e.icon,closableLabel:e.closableLabel},...e})};
|
package/dist/index.d.ts
CHANGED
@@ -614,9 +614,10 @@ declare const Modal: ({ title, content, size, draggable, blocking, open, onClose
|
|
614
614
|
type BadgeProps = {
|
615
615
|
hasNotification?: boolean;
|
616
616
|
notificationCount?: number;
|
617
|
+
label?: string;
|
617
618
|
};
|
618
619
|
|
619
|
-
declare const Badge: ({ hasNotification, notificationCount }: BadgeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
620
|
+
declare const Badge: ({ hasNotification, notificationCount, label }: BadgeProps) => _emotion_react_jsx_runtime.JSX.Element;
|
620
621
|
|
621
622
|
type InlineMessageProps = {
|
622
623
|
label: string;
|