@uniformdev/design-system 17.4.1-alpha.230 → 17.4.1-alpha.262
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/esm/index.js +93 -89
- package/dist/index.d.ts +4 -0
- package/dist/index.js +89 -85
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var qa=Object.create;var
|
|
1
|
+
"use strict";var qa=Object.create;var pt=Object.defineProperty;var Ka=Object.getOwnPropertyDescriptor;var Ya=Object.getOwnPropertyNames;var Ja=Object.getPrototypeOf,Qa=Object.prototype.hasOwnProperty;var ja=(e,t)=>{for(var r in t)pt(e,r,{get:t[r],enumerable:!0})},Zr=(e,t,r,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Ya(t))!Qa.call(e,n)&&n!==r&&pt(e,n,{get:()=>t[n],enumerable:!(o=Ka(t,n))||o.enumerable});return e};var x=(e,t,r)=>(r=e!=null?qa(Ja(e)):{},Zr(t||!e||!e.__esModule?pt(r,"default",{value:e,enumerable:!0}):r,e)),ei=e=>Zr(pt({},"__esModule",{value:!0}),e);var Js={};ja(Js,{AddButton:()=>ss,AddListButton:()=>vs,Badge:()=>pr,Button:()=>V,ButtonWithMenu:()=>ns,Callout:()=>_i,Caption:()=>$,Card:()=>Hs,CardContainer:()=>Bs,CheckboxWithInfo:()=>Ai,Counter:()=>qs,CreateTeamIntegrationTile:()=>Ts,DashedBox:()=>xs,Details:()=>Ys,Drawer:()=>Gs,DrawerProvider:()=>Ws,DrawerRenderer:()=>Fs,EditTeamIntegrationTile:()=>Rs,ErrorMessage:()=>O,Fieldset:()=>Vi,Heading:()=>Z,HexModalBackground:()=>ca,Icon:()=>L,IconsProvider:()=>xi,InlineAlert:()=>ws,Input:()=>rr,InputComboBox:()=>Si,InputInlineSelect:()=>ki,InputKeywordSearch:()=>Zi,InputSelect:()=>Hi,InputToggle:()=>Bi,IntegrationComingSoon:()=>Ps,IntegrationHeaderSection:()=>ts,IntegrationLoadingTile:()=>ks,IntegrationModalHeader:()=>Zs,IntegrationModalIcon:()=>Ir,IntegrationTile:()=>Is,Label:()=>ve,Legend:()=>Wi,LimitsBar:()=>Cs,Link:()=>It,LinkList:()=>Es,LinkWithRef:()=>dr,LoadingIcon:()=>r1,LoadingIndicator:()=>qi,LoadingOverlay:()=>Ki,Menu:()=>Je,MenuContext:()=>nr,MenuItem:()=>Oi,MenuItemSeparator:()=>Fi,PageHeaderSection:()=>Qi,Paragraph:()=>lr,ResolveIcon:()=>le,ScrollableList:()=>rs,ScrollableListItem:()=>os,ShortcutContext:()=>as,ShortcutRevealer:()=>vr,StatusBullet:()=>_s,Switch:()=>ls,TabButton:()=>As,TabButtonGroup:()=>Ds,TabContent:()=>Vs,Table:()=>ds,TableBody:()=>Ls,TableCellData:()=>fs,TableCellHead:()=>us,TableFoot:()=>gs,TableHead:()=>ps,TableRow:()=>ms,Tabs:()=>zs,Textarea:()=>Ei,Theme:()=>ti,TileContainer:()=>Ss,UniformBadge:()=>si,UniformLogo:()=>li,WarningMessage:()=>G,breakpoints:()=>Ot,button:()=>ut,buttonGhost:()=>_t,buttonPrimary:()=>Gt,buttonRippleEffect:()=>ue,buttonSecondary:()=>Ft,buttonSecondaryInvert:()=>Nt,buttonTertiary:()=>Xt,buttonUnimportant:()=>Ut,fadeIn:()=>Kt,fadeInBottom:()=>qt,fadeInLtr:()=>ii,fadeInRtl:()=>Jt,fadeOutBottom:()=>ni,growSubtle:()=>oi,input:()=>me,inputError:()=>Y,inputSelect:()=>mt,labelText:()=>M,mq:()=>v,ripple:()=>ai,scrollbarStyles:()=>J,skeletonLoading:()=>Yt,supports:()=>Ke,useBreakpoint:()=>ri,useCurrentTab:()=>Vt,useDrawer:()=>it,useIconContext:()=>Qt,useMenuContext:()=>ar});module.exports=ei(Js);var a=require("@emotion/react"),l=x(require("react"));var Le=require("@emotion/react/jsx-runtime"),ti=({disableReset:e=!1})=>(0,Le.jsxs)(Le.Fragment,{children:[(0,Le.jsx)("link",{href:"https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Quantico:wght@700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap",rel:"stylesheet"}),e?null:(0,Le.jsx)("style",{dangerouslySetInnerHTML:{__html:`
|
|
2
2
|
/*! modern-normalize v1.1.0 | MIT License | https://github.com/sindresorhus/modern-normalize */*,::after,::before{box-sizing:border-box}html{line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4}body{margin:0;font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji'}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}
|
|
3
3
|
`}},"uniform-design-system-theme"),(0,Le.jsx)("style",{dangerouslySetInnerHTML:{__html:`
|
|
4
4
|
:root {
|
|
@@ -170,7 +170,7 @@
|
|
|
170
170
|
ul, ol {
|
|
171
171
|
list-style: none;
|
|
172
172
|
}
|
|
173
|
-
`}})]});var Hr=require("react-use"),Ot={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},ri=(0,Hr.createBreakpoint)(Ot),v=e=>`@media (min-width: ${Ot[e]}px)`,
|
|
173
|
+
`}})]});var Hr=require("react-use"),Ot={sm:640,md:768,lg:1024,xl:1280,"2xl":1536},ri=(0,Hr.createBreakpoint)(Ot),v=e=>`@media (min-width: ${Ot[e]}px)`,Ke=e=>`@supports (${e})`;var y=require("@emotion/react"),ge=y.css`
|
|
174
174
|
position: relative;
|
|
175
175
|
`,M=y.css`
|
|
176
176
|
display: flex;
|
|
@@ -218,15 +218,15 @@
|
|
|
218
218
|
}
|
|
219
219
|
`,Y=y.css`
|
|
220
220
|
border-color: var(--brand-secondary-5);
|
|
221
|
-
`,
|
|
221
|
+
`,Lt=y.css`
|
|
222
222
|
align-items: center;
|
|
223
223
|
display: flex;
|
|
224
224
|
position: absolute;
|
|
225
225
|
inset: 0 var(--spacing-base) 0 auto;
|
|
226
226
|
pointer-event: one;
|
|
227
|
-
`,Lt=y.css`
|
|
228
|
-
padding-right: var(--spacing-2xl);
|
|
229
227
|
`,gt=y.css`
|
|
228
|
+
padding-right: var(--spacing-2xl);
|
|
229
|
+
`,mt=y.css`
|
|
230
230
|
background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath d='M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z' fill='currentColor' /%3E%3C/svg%3E");
|
|
231
231
|
background-position: right var(--spacing-sm) center;
|
|
232
232
|
background-repeat: no-repeat;
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
`,Wr=y.css`
|
|
309
309
|
${me("wrap")};
|
|
310
310
|
display: block;
|
|
311
|
-
`;var D=require("@emotion/react"),
|
|
311
|
+
`;var D=require("@emotion/react"),ut=D.css`
|
|
312
312
|
align-items: center;
|
|
313
313
|
border: none;
|
|
314
314
|
border-radius: var(--rounded-sm);
|
|
@@ -498,15 +498,15 @@ to {
|
|
|
498
498
|
opacity: 1;
|
|
499
499
|
transform: translateX(0);
|
|
500
500
|
}
|
|
501
|
-
`;var
|
|
501
|
+
`;var ft=require("@emotion/react"),vt=ft.css`
|
|
502
502
|
display: block;
|
|
503
|
-
`,
|
|
503
|
+
`,bt=ft.css`
|
|
504
504
|
background: transparent;
|
|
505
505
|
color: var(--brand-secondary-1);
|
|
506
|
-
`,
|
|
506
|
+
`,ht=ft.css`
|
|
507
507
|
background: var(--brand-secondary-1);
|
|
508
508
|
color: var(--white);
|
|
509
|
-
`;var Ke=require("@emotion/react/jsx-runtime"),si=({theme:e="light",...t})=>(0,Ke.jsxs)("svg",{width:"38",height:"44",viewBox:"0 0 87 101",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-test-id":"uniform-Badge",css:[ft,e==="dark"?bt:vt],...t,children:[(0,Ke.jsx)("path",{d:"M28.998 0 0 16.744V50.23l28.998-16.744 29.004-16.743L28.998 0Z",fill:"#83C6E1"}),(0,Ke.jsx)("path",{d:"M28.998 66.974V33.487L0 50.231v33.487l28.998 16.744 29.004-16.744V50.23L28.998 66.974Z",fill:"#438FD5"}),(0,Ke.jsx)("path",{d:"M58.002 16.744 28.998 33.487l29.004 16.744v33.487L87 66.975V33.487L58.002 16.744Z",fill:"#F4220B"})]});var fe=require("@emotion/react/jsx-runtime"),li=({theme:e="light",...t})=>(0,fe.jsx)("div",{"data-test-id":"uniform-Logo",children:(0,fe.jsxs)("svg",{width:"153",height:"53",viewBox:"0 0 153 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",css:[ft,e==="dark"?bt:vt],...t,children:[(0,fe.jsx)("path",{d:"M11.249 0 0 6.495v12.99l11.249-6.495L22.5 6.495 11.25 0Z",fill:"#83C6E1"}),(0,fe.jsx)("path",{d:"M11.249 25.98V12.99L0 19.486v12.99l11.249 6.495L22.5 32.476v-12.99L11.25 25.98Z",fill:"#438FD5"}),(0,fe.jsx)("path",{d:"m22.5 6.495-11.25 6.496 11.25 6.495v12.99l11.25-6.495V12.99L22.5 6.495Z",fill:"#F4220B"}),(0,fe.jsx)("path",{d:"M86.45 12.98h-4.076v14.87h4.076V12.98Zm.146-6.843h-4.371v4.076h4.37V6.137Zm5.861 1.993v4.85h-2.736v3.477h2.736V27.85h4.076V16.457h3.27V12.98h-3.27V9.617h3.27v-3.48h-3.896l-3.45 1.992Zm13.503 4.7-3.45 1.993v11.183l3.45 1.992h6.335l3.45-1.992V14.823l-3.45-1.992h-6.335Zm5.71 11.688h-5.087v-8.21h5.087v8.21Zm12.607-10.315-2.119-1.224h-1.954v14.87h4.076V16.457h5.115V12.98h-2.999l-2.119 1.224ZM71.034 12.83l-2.375 1.373-2.379-1.372h-1.6v15.018h4.075V16.31h5.084v11.54h4.076V14.823l-3.45-1.992h-3.431ZM56.145 24.517h-5.087V12.98h-4.073v13.027l3.45 1.992h3.593l2.111-1.22.003.002.003-.003v.003l2.108 1.218h1.965v-15.02h-4.073v11.538Zm93.68-11.687h-2.855l-2.794 1.604-2.767-1.603h-2.854l-2.111 1.218-2.111-1.218h-1.965v15.018h4.076V16.31h4.343v11.54h4.073V16.31h4.343v11.54h4.073V14.823l-3.451-1.992Z",fill:"currentColor"})]})});var Or=x(require("react")),Gr=require("reakit/Button");var ci=require("@emotion/react/jsx-runtime"),V=Or.forwardRef(({buttonType:e="primary",size:t="md",children:r,...o},n)=>{let i={primary:Gt,secondary:Ft,secondaryInvert:Nt,ghost:_t,unimportant:Ut,tertiary:Xt},s={xs:"padding: 0.375rem 0.625rem; font-size: var(--fs-xs); line-height: 1.5;",sm:"padding: var(--spacing-sm) 0.75rem; font-size: var(--fs-sm);",md:"padding: var(--spacing-sm) var(--spacing-base); font-size: var(--fs-sm);",lg:"padding: var(--spacing-sm) var(--spacing-base)",xl:"padding: 0.75rem var(--spacing-md)"};return(0,ci.jsx)(Gr.Button,{ref:n,css:[mt,i[e],s[t]],...o,children:r})});var Jr=x(require("react"));var W=require("react");var P=require("react-icons"),di=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M2 16C2 17.6569 3.34315 19 5 19H19C20.6569 19 22 17.6569 22 16V8C22 6.34315 20.6569 5 19 5H5C3.34315 5 2 6.34315 2 8V16ZM5 17H19C19.5523 17 20 16.5523 20 16V8C20 7.44772 19.5523 7 19 7H5C4.44772 7 4 7.44771 4 8V16C4 16.5523 4.44772 17 5 17Z"},child:[]}]}),pi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M8.24953 3.8889C7.00689 3.8889 5.99953 4.85895 5.99953 6.05556C5.99953 7.25218 7.00689 8.22223 8.24953 8.22223C9.49217 8.22223 10.4995 7.25218 10.4995 6.05556C10.4995 4.85895 9.49217 3.8889 8.24953 3.8889ZM7.49953 6.05556C7.49953 5.65669 7.83531 5.33334 8.24953 5.33334C8.66374 5.33334 8.99953 5.65669 8.99953 6.05556C8.99953 6.45444 8.66374 6.77779 8.24953 6.77779C7.83531 6.77779 7.49953 6.45444 7.49953 6.05556Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M18 15.75C18 16.1642 17.6269 16.5 17.1667 16.5H6.83333C6.3731 16.5 6 16.1642 6 15.75C6 15.3358 6.3731 15 6.83333 15H17.1667C17.6269 15 18 15.3358 18 15.75Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M13.1667 18H6.83333C6.3731 18 6 18.3358 6 18.75C6 19.1642 6.3731 19.5 6.83333 19.5H13.1667C13.6269 19.5 14 19.1642 14 18.75C14 18.3358 13.6269 18 13.1667 18Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M3 20a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v16ZM5 4v8.56h3.48l5.16-4.97c.88-.85 2.3-.85 3.19 0L19 9.69V4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1Zm.25 10H5v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6H5.25Zm5.36-1.44H19v-.84l-3.23-3.11a.77.77 0 0 0-1.07 0l-4.1 3.95Z"},child:[]}]}),Li=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fillOpacity:"0.5",fill:"currentColor",d:"M13 15C12.4477 15 12 15.4477 12 16C12 16.5523 12.4477 17 13 17H17C17.5523 17 18 16.5523 18 16C18 15.4477 17.5523 15 17 15H13Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M12 8C12 7.44772 12.4477 7 13 7H22C22.5523 7 23 7.44772 23 8C23 8.55228 22.5523 9 22 9H13C12.4477 9 12 8.55228 12 8Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fillOpacity:"0.75",fill:"currentColor",d:"M12 12C12 11.4477 12.4477 11 13 11H22C22.5523 11 23 11.4477 23 12C23 12.5523 22.5523 13 22 13H13C12.4477 13 12 12.5523 12 12Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M1 8.08791C1 7.48707 1.57563 7 2.28571 7H8.71429C9.42437 7 10 7.48707 10 8.08791V16.912C10 17.5129 9.42437 18 8.71429 18H2.28571C1.57563 18 1 17.5129 1 16.912V8.08791Z"},child:[]}]}),gi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",fillOpacity:"0.3",d:"M8 16H16V9L19 9L19 19L5 19L5 9L8 9V16Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M5 7L19 7V4L5 4L5 7Z"},child:[]}]}),mi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M11 17H4C2.34315 17 1 15.6569 1 14V6C1 4.34315 2.34315 3 4 3H20C21.6569 3 23 4.34315 23 6V14C23 15.6569 21.6569 17 20 17H13V19H16C16.5523 19 17 19.4477 17 20C17 20.5523 16.5523 21 16 21H8C7.44772 21 7 20.5523 7 20C7 19.4477 7.44772 19 8 19H11V17ZM4 5H20C20.5523 5 21 5.44772 21 6V14C21 14.5523 20.5523 15 20 15H4C3.44772 15 3 14.5523 3 14V6C3 5.44772 3.44772 5 4 5Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M16.0849 14L14.7516 12.6667L16.4581 10.9601L13.023 10.9601H11.062L7.62683 10.9601L9.33335 12.6667L8.00001 14L3.99998 10L7.99998 6L9.33332 7.33334L7.59214 9.07452H11.062H13.023H16.4928L14.7516 7.33334L16.085 6L20.085 10L16.0849 14Z"},child:[]}]}),ui=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"currentColor",d:"M8.048 19.552V18.208L9.968 17.752V5.848H7.232L6.584 8.512H5V4H18.272V8.512H16.688L16.04 5.848H13.376V17.752L15.296 18.208V19.552H8.048Z"},child:[]}]}),fi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"currentColor",d:"M2.05742 12.4315V11.5127L3.72264 11.2687V4.46425H2V3.43066L4.51219 3H5.63191V11.2687L7.26842 11.5127V12.4315H2.05742Z"},child:[]},{tag:"path",attr:{fill:"currentColor",d:"M8.40723 15.7345V14.7583L11.4362 11.5858C11.7712 11.2413 12.0296 10.9255 12.2114 10.6383C12.3932 10.3512 12.5224 10.0641 12.599 9.77702C12.6756 9.48992 12.7138 9.1741 12.7138 8.82957C12.7138 8.34149 12.599 7.9826 12.3693 7.75292C12.1492 7.51366 11.7137 7.39403 11.063 7.39403C10.7567 7.39403 10.5127 7.41317 10.3308 7.45146C10.149 7.48974 9.97675 7.54716 9.81405 7.62372L9.51259 9.14539H8.52207V6.67627C8.7039 6.5997 8.93838 6.52314 9.22548 6.44658C9.52216 6.37002 9.84755 6.30781 10.2016 6.25996C10.5653 6.20254 10.9242 6.17383 11.2783 6.17383C12.1205 6.17383 12.7904 6.27432 13.2881 6.47529C13.7953 6.6667 14.1589 6.94902 14.3791 7.32226C14.5992 7.6955 14.7092 8.13573 14.7092 8.64295C14.7092 9.15017 14.6231 9.60955 14.4508 10.0211C14.2881 10.4326 14.0537 10.825 13.7474 11.1982C13.4412 11.5714 13.0775 11.9686 12.6564 12.3897L10.7041 14.2846V14.3851H13.7187L14.092 13.0357H15.0394V15.7345H8.40723Z"},child:[]},{tag:"path",attr:{fill:"currentColor",d:"M18.6692 21.2681C18.1333 21.2681 17.6691 21.2202 17.2767 21.1245C16.8939 21.0384 16.5781 20.9379 16.3293 20.8231C16.09 20.7082 15.9178 20.6173 15.8125 20.5503L15.9561 18.2391H17.0758L17.2337 19.5885C17.272 19.6077 17.3581 19.6555 17.4921 19.7321C17.6356 19.7991 17.8031 19.8661 17.9945 19.933C18.1859 19.9905 18.3773 20.0192 18.5687 20.0192C19.2195 20.0192 19.6789 19.8852 19.9468 19.6172C20.2148 19.3493 20.3488 18.933 20.3488 18.3683C20.3488 17.9951 20.2531 17.6936 20.0617 17.4639C19.8703 17.2247 19.6023 17.0428 19.2578 16.9184C18.9228 16.794 18.5257 16.7318 18.0663 16.7318H17.6213L17.3485 16.2007V15.5834H18.0232C18.3965 15.5834 18.7266 15.5212 19.0137 15.3967C19.3104 15.2723 19.5401 15.0905 19.7028 14.8512C19.8751 14.6024 19.9612 14.3105 19.9612 13.9756C19.9612 13.4971 19.8368 13.1669 19.588 12.985C19.3391 12.8032 18.9468 12.7123 18.4108 12.7123C18.2098 12.7123 18.0137 12.7314 17.8223 12.7697C17.6404 12.7984 17.4729 12.8415 17.3198 12.8989L17.205 14.1765H16.1857L16.0422 11.9658C16.3102 11.8605 16.669 11.7505 17.1188 11.6356C17.5686 11.5208 18.1094 11.4634 18.741 11.4634C19.3535 11.4634 19.8846 11.5304 20.3344 11.6644C20.7938 11.7888 21.1479 12.0041 21.3967 12.3103C21.6456 12.6166 21.77 13.0425 21.77 13.588C21.77 13.9612 21.6886 14.2962 21.5259 14.5928C21.3632 14.8895 21.1575 15.1384 20.9087 15.3393C20.6598 15.5403 20.4062 15.6982 20.1478 15.8131L20.1335 15.8992C20.4206 15.9662 20.6885 16.0619 20.9374 16.1863C21.1958 16.3011 21.4254 16.4543 21.6264 16.6457C21.8274 16.8371 21.9853 17.0715 22.1002 17.3491C22.215 17.617 22.2724 17.9377 22.2724 18.3109C22.2724 18.8564 22.1624 19.3206 21.9422 19.7034C21.7317 20.0766 21.4494 20.3781 21.0953 20.6077C20.7507 20.8374 20.3632 21.0049 19.9325 21.1102C19.5114 21.2155 19.0903 21.2681 18.6692 21.2681Z"},child:[]}]}),vi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"currentColor",d:"M5.90406 22.3385C7.69061 23.3942 9.77456 24 12 24C18.6274 24 24 18.6274 24 12C24 9.77456 23.3942 7.69061 22.3385 5.90406L5.90406 22.3385ZM18.0959 1.66143C16.3093 0.60578 14.2254 0 12 0C5.37258 0 0 5.37258 0 12C0 14.2254 0.60578 16.3093 1.66144 18.0959L18.0959 1.66143Z"},child:[]}]}),bi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 22"},child:[{tag:"path",attr:{fill:"currentColor",d:"M13.3396 1.25C13.0651 0.785 12.5596 0.5 12.0091 0.5C11.4586 0.5 10.9546 0.785 10.6801 1.25L0.207143 19.2485C0.0721968 19.4757 0.000976562 19.735 0.000976562 19.9993C0.000976563 20.2635 0.0721968 20.5228 0.207143 20.75C0.496643 21.215 1.00214 21.5015 1.53614 21.5015H22.4821C23.0326 21.5015 23.5381 21.2165 23.7976 20.7515C23.9279 20.523 23.9976 20.265 24.0002 20.0019C24.0029 19.7389 23.9383 19.4796 23.8126 19.2485L13.3396 1.25ZM13.5391 18.4955H10.4806V15.491H13.5391V18.4955ZM13.5391 13.9895H10.4806V7.9805H13.5391V13.9895Z"},child:[]}]}),hi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"circle",attr:{fill:"currentColor",cx:"12",cy:"12",r:"12"},child:[]},{tag:"path",attr:{fill:"white",d:"M10.7999 10.7753C10.7999 10.1126 11.3371 9.57531 11.9999 9.57531C12.6626 9.57531 13.1998 10.1126 13.1998 10.7753V17.9754C13.1998 18.6381 12.6626 19.1754 11.9999 19.1754C11.3371 19.1754 10.7999 18.6381 10.7999 17.9754V10.7753Z"},child:[]},{tag:"path",attr:{fill:"white",d:"M11.9999 4.86141C11.3371 4.86141 10.7999 5.39867 10.7999 6.06142C10.7999 6.72416 11.3371 7.26143 11.9999 7.26143C12.6626 7.26143 13.1998 6.72416 13.1998 6.06142C13.1998 5.39867 12.6626 4.86141 11.9999 4.86141Z"},child:[]}]}),Fr={"rectangle-rounded":di,card:pi,"image-text":Li,"border-top":gi,"full-width-screen":mi,"text-input":ui,"number-input":fi,"canvas-alert":vi,warning:bi,"info-filled":hi};var Nr=require("param-case"),Ci=require("@emotion/react/jsx-runtime"),Ur=(0,W.createContext)({iconsMap:{},isLoading:!0});function Qt(){return(0,W.useContext)(Ur)}function xi({children:e}){let[t,r]=(0,W.useState)(!0),[o,n]=(0,W.useState)({}),i=async()=>{let s=await import("react-icons/cg"),c=Object.entries(s).reduce((p,[d,m])=>{if(d==="default")return p;let g=yi(d);return{...p,[g]:m}},{});n({...c,...Fr}),r(!1)};return(0,W.useEffect)(()=>{i()},[]),(0,Ci.jsx)(Ur.Provider,{value:{iconsMap:o,isLoading:t},children:e})}function yi(e){var t,r;return(r=(t=(0,Nr.paramCase)(e.replace("Cg","")).match(/[a-z]+|\d+/gi))==null?void 0:t.join("-"))!=null?r:""}var Te=require("@emotion/react");var _r=Te.css`
|
|
509
|
+
`;var Ye=require("@emotion/react/jsx-runtime"),si=({theme:e="light",...t})=>(0,Ye.jsxs)("svg",{width:"38",height:"44",viewBox:"0 0 87 101",fill:"none",xmlns:"http://www.w3.org/2000/svg","data-test-id":"uniform-Badge",css:[vt,e==="dark"?ht:bt],...t,children:[(0,Ye.jsx)("path",{d:"M28.998 0 0 16.744V50.23l28.998-16.744 29.004-16.743L28.998 0Z",fill:"#83C6E1"}),(0,Ye.jsx)("path",{d:"M28.998 66.974V33.487L0 50.231v33.487l28.998 16.744 29.004-16.744V50.23L28.998 66.974Z",fill:"#438FD5"}),(0,Ye.jsx)("path",{d:"M58.002 16.744 28.998 33.487l29.004 16.744v33.487L87 66.975V33.487L58.002 16.744Z",fill:"#F4220B"})]});var fe=require("@emotion/react/jsx-runtime"),li=({theme:e="light",...t})=>(0,fe.jsx)("div",{"data-test-id":"uniform-Logo",children:(0,fe.jsxs)("svg",{width:"153",height:"53",viewBox:"0 0 153 39",fill:"none",xmlns:"http://www.w3.org/2000/svg",css:[vt,e==="dark"?ht:bt],...t,children:[(0,fe.jsx)("path",{d:"M11.249 0 0 6.495v12.99l11.249-6.495L22.5 6.495 11.25 0Z",fill:"#83C6E1"}),(0,fe.jsx)("path",{d:"M11.249 25.98V12.99L0 19.486v12.99l11.249 6.495L22.5 32.476v-12.99L11.25 25.98Z",fill:"#438FD5"}),(0,fe.jsx)("path",{d:"m22.5 6.495-11.25 6.496 11.25 6.495v12.99l11.25-6.495V12.99L22.5 6.495Z",fill:"#F4220B"}),(0,fe.jsx)("path",{d:"M86.45 12.98h-4.076v14.87h4.076V12.98Zm.146-6.843h-4.371v4.076h4.37V6.137Zm5.861 1.993v4.85h-2.736v3.477h2.736V27.85h4.076V16.457h3.27V12.98h-3.27V9.617h3.27v-3.48h-3.896l-3.45 1.992Zm13.503 4.7-3.45 1.993v11.183l3.45 1.992h6.335l3.45-1.992V14.823l-3.45-1.992h-6.335Zm5.71 11.688h-5.087v-8.21h5.087v8.21Zm12.607-10.315-2.119-1.224h-1.954v14.87h4.076V16.457h5.115V12.98h-2.999l-2.119 1.224ZM71.034 12.83l-2.375 1.373-2.379-1.372h-1.6v15.018h4.075V16.31h5.084v11.54h4.076V14.823l-3.45-1.992h-3.431ZM56.145 24.517h-5.087V12.98h-4.073v13.027l3.45 1.992h3.593l2.111-1.22.003.002.003-.003v.003l2.108 1.218h1.965v-15.02h-4.073v11.538Zm93.68-11.687h-2.855l-2.794 1.604-2.767-1.603h-2.854l-2.111 1.218-2.111-1.218h-1.965v15.018h4.076V16.31h4.343v11.54h4.073V16.31h4.343v11.54h4.073V14.823l-3.451-1.992Z",fill:"currentColor"})]})});var Or=x(require("react")),Gr=require("reakit/Button");var ci=require("@emotion/react/jsx-runtime"),V=Or.forwardRef(({buttonType:e="primary",size:t="md",children:r,...o},n)=>{let i={primary:Gt,secondary:Ft,secondaryInvert:Nt,ghost:_t,unimportant:Ut,tertiary:Xt},s={xs:"padding: 0.375rem 0.625rem; font-size: var(--fs-xs); line-height: 1.5;",sm:"padding: var(--spacing-sm) 0.75rem; font-size: var(--fs-sm);",md:"padding: var(--spacing-sm) var(--spacing-base); font-size: var(--fs-sm);",lg:"padding: var(--spacing-sm) var(--spacing-base)",xl:"padding: 0.75rem var(--spacing-md)"};return(0,ci.jsx)(Gr.Button,{ref:n,css:[ut,i[e],s[t]],...o,children:r})});var Jr=x(require("react"));var W=require("react");var P=require("react-icons"),di=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M2 16C2 17.6569 3.34315 19 5 19H19C20.6569 19 22 17.6569 22 16V8C22 6.34315 20.6569 5 19 5H5C3.34315 5 2 6.34315 2 8V16ZM5 17H19C19.5523 17 20 16.5523 20 16V8C20 7.44772 19.5523 7 19 7H5C4.44772 7 4 7.44771 4 8V16C4 16.5523 4.44772 17 5 17Z"},child:[]}]}),pi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M8.24953 3.8889C7.00689 3.8889 5.99953 4.85895 5.99953 6.05556C5.99953 7.25218 7.00689 8.22223 8.24953 8.22223C9.49217 8.22223 10.4995 7.25218 10.4995 6.05556C10.4995 4.85895 9.49217 3.8889 8.24953 3.8889ZM7.49953 6.05556C7.49953 5.65669 7.83531 5.33334 8.24953 5.33334C8.66374 5.33334 8.99953 5.65669 8.99953 6.05556C8.99953 6.45444 8.66374 6.77779 8.24953 6.77779C7.83531 6.77779 7.49953 6.45444 7.49953 6.05556Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M18 15.75C18 16.1642 17.6269 16.5 17.1667 16.5H6.83333C6.3731 16.5 6 16.1642 6 15.75C6 15.3358 6.3731 15 6.83333 15H17.1667C17.6269 15 18 15.3358 18 15.75Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M13.1667 18H6.83333C6.3731 18 6 18.3358 6 18.75C6 19.1642 6.3731 19.5 6.83333 19.5H13.1667C13.6269 19.5 14 19.1642 14 18.75C14 18.3358 13.6269 18 13.1667 18Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M3 20a3 3 0 0 0 3 3h12a3 3 0 0 0 3-3V4a3 3 0 0 0-3-3H6a3 3 0 0 0-3 3v16ZM5 4v8.56h3.48l5.16-4.97c.88-.85 2.3-.85 3.19 0L19 9.69V4a1 1 0 0 0-1-1H6a1 1 0 0 0-1 1Zm.25 10H5v6a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-6H5.25Zm5.36-1.44H19v-.84l-3.23-3.11a.77.77 0 0 0-1.07 0l-4.1 3.95Z"},child:[]}]}),Li=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fillOpacity:"0.5",fill:"currentColor",d:"M13 15C12.4477 15 12 15.4477 12 16C12 16.5523 12.4477 17 13 17H17C17.5523 17 18 16.5523 18 16C18 15.4477 17.5523 15 17 15H13Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M12 8C12 7.44772 12.4477 7 13 7H22C22.5523 7 23 7.44772 23 8C23 8.55228 22.5523 9 22 9H13C12.4477 9 12 8.55228 12 8Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fillOpacity:"0.75",fill:"currentColor",d:"M12 12C12 11.4477 12.4477 11 13 11H22C22.5523 11 23 11.4477 23 12C23 12.5523 22.5523 13 22 13H13C12.4477 13 12 12.5523 12 12Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M1 8.08791C1 7.48707 1.57563 7 2.28571 7H8.71429C9.42437 7 10 7.48707 10 8.08791V16.912C10 17.5129 9.42437 18 8.71429 18H2.28571C1.57563 18 1 17.5129 1 16.912V8.08791Z"},child:[]}]}),gi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",fillOpacity:"0.3",d:"M8 16H16V9L19 9L19 19L5 19L5 9L8 9V16Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M5 7L19 7V4L5 4L5 7Z"},child:[]}]}),mi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M11 17H4C2.34315 17 1 15.6569 1 14V6C1 4.34315 2.34315 3 4 3H20C21.6569 3 23 4.34315 23 6V14C23 15.6569 21.6569 17 20 17H13V19H16C16.5523 19 17 19.4477 17 20C17 20.5523 16.5523 21 16 21H8C7.44772 21 7 20.5523 7 20C7 19.4477 7.44772 19 8 19H11V17ZM4 5H20C20.5523 5 21 5.44772 21 6V14C21 14.5523 20.5523 15 20 15H4C3.44772 15 3 14.5523 3 14V6C3 5.44772 3.44772 5 4 5Z"},child:[]},{tag:"path",attr:{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor",d:"M16.0849 14L14.7516 12.6667L16.4581 10.9601L13.023 10.9601H11.062L7.62683 10.9601L9.33335 12.6667L8.00001 14L3.99998 10L7.99998 6L9.33332 7.33334L7.59214 9.07452H11.062H13.023H16.4928L14.7516 7.33334L16.085 6L20.085 10L16.0849 14Z"},child:[]}]}),ui=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"currentColor",d:"M8.048 19.552V18.208L9.968 17.752V5.848H7.232L6.584 8.512H5V4H18.272V8.512H16.688L16.04 5.848H13.376V17.752L15.296 18.208V19.552H8.048Z"},child:[]}]}),fi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"currentColor",d:"M2.05742 12.4315V11.5127L3.72264 11.2687V4.46425H2V3.43066L4.51219 3H5.63191V11.2687L7.26842 11.5127V12.4315H2.05742Z"},child:[]},{tag:"path",attr:{fill:"currentColor",d:"M8.40723 15.7345V14.7583L11.4362 11.5858C11.7712 11.2413 12.0296 10.9255 12.2114 10.6383C12.3932 10.3512 12.5224 10.0641 12.599 9.77702C12.6756 9.48992 12.7138 9.1741 12.7138 8.82957C12.7138 8.34149 12.599 7.9826 12.3693 7.75292C12.1492 7.51366 11.7137 7.39403 11.063 7.39403C10.7567 7.39403 10.5127 7.41317 10.3308 7.45146C10.149 7.48974 9.97675 7.54716 9.81405 7.62372L9.51259 9.14539H8.52207V6.67627C8.7039 6.5997 8.93838 6.52314 9.22548 6.44658C9.52216 6.37002 9.84755 6.30781 10.2016 6.25996C10.5653 6.20254 10.9242 6.17383 11.2783 6.17383C12.1205 6.17383 12.7904 6.27432 13.2881 6.47529C13.7953 6.6667 14.1589 6.94902 14.3791 7.32226C14.5992 7.6955 14.7092 8.13573 14.7092 8.64295C14.7092 9.15017 14.6231 9.60955 14.4508 10.0211C14.2881 10.4326 14.0537 10.825 13.7474 11.1982C13.4412 11.5714 13.0775 11.9686 12.6564 12.3897L10.7041 14.2846V14.3851H13.7187L14.092 13.0357H15.0394V15.7345H8.40723Z"},child:[]},{tag:"path",attr:{fill:"currentColor",d:"M18.6692 21.2681C18.1333 21.2681 17.6691 21.2202 17.2767 21.1245C16.8939 21.0384 16.5781 20.9379 16.3293 20.8231C16.09 20.7082 15.9178 20.6173 15.8125 20.5503L15.9561 18.2391H17.0758L17.2337 19.5885C17.272 19.6077 17.3581 19.6555 17.4921 19.7321C17.6356 19.7991 17.8031 19.8661 17.9945 19.933C18.1859 19.9905 18.3773 20.0192 18.5687 20.0192C19.2195 20.0192 19.6789 19.8852 19.9468 19.6172C20.2148 19.3493 20.3488 18.933 20.3488 18.3683C20.3488 17.9951 20.2531 17.6936 20.0617 17.4639C19.8703 17.2247 19.6023 17.0428 19.2578 16.9184C18.9228 16.794 18.5257 16.7318 18.0663 16.7318H17.6213L17.3485 16.2007V15.5834H18.0232C18.3965 15.5834 18.7266 15.5212 19.0137 15.3967C19.3104 15.2723 19.5401 15.0905 19.7028 14.8512C19.8751 14.6024 19.9612 14.3105 19.9612 13.9756C19.9612 13.4971 19.8368 13.1669 19.588 12.985C19.3391 12.8032 18.9468 12.7123 18.4108 12.7123C18.2098 12.7123 18.0137 12.7314 17.8223 12.7697C17.6404 12.7984 17.4729 12.8415 17.3198 12.8989L17.205 14.1765H16.1857L16.0422 11.9658C16.3102 11.8605 16.669 11.7505 17.1188 11.6356C17.5686 11.5208 18.1094 11.4634 18.741 11.4634C19.3535 11.4634 19.8846 11.5304 20.3344 11.6644C20.7938 11.7888 21.1479 12.0041 21.3967 12.3103C21.6456 12.6166 21.77 13.0425 21.77 13.588C21.77 13.9612 21.6886 14.2962 21.5259 14.5928C21.3632 14.8895 21.1575 15.1384 20.9087 15.3393C20.6598 15.5403 20.4062 15.6982 20.1478 15.8131L20.1335 15.8992C20.4206 15.9662 20.6885 16.0619 20.9374 16.1863C21.1958 16.3011 21.4254 16.4543 21.6264 16.6457C21.8274 16.8371 21.9853 17.0715 22.1002 17.3491C22.215 17.617 22.2724 17.9377 22.2724 18.3109C22.2724 18.8564 22.1624 19.3206 21.9422 19.7034C21.7317 20.0766 21.4494 20.3781 21.0953 20.6077C20.7507 20.8374 20.3632 21.0049 19.9325 21.1102C19.5114 21.2155 19.0903 21.2681 18.6692 21.2681Z"},child:[]}]}),vi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"currentColor",d:"M5.90406 22.3385C7.69061 23.3942 9.77456 24 12 24C18.6274 24 24 18.6274 24 12C24 9.77456 23.3942 7.69061 22.3385 5.90406L5.90406 22.3385ZM18.0959 1.66143C16.3093 0.60578 14.2254 0 12 0C5.37258 0 0 5.37258 0 12C0 14.2254 0.60578 16.3093 1.66144 18.0959L18.0959 1.66143Z"},child:[]}]}),bi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 22"},child:[{tag:"path",attr:{fill:"currentColor",d:"M13.3396 1.25C13.0651 0.785 12.5596 0.5 12.0091 0.5C11.4586 0.5 10.9546 0.785 10.6801 1.25L0.207143 19.2485C0.0721968 19.4757 0.000976562 19.735 0.000976562 19.9993C0.000976563 20.2635 0.0721968 20.5228 0.207143 20.75C0.496643 21.215 1.00214 21.5015 1.53614 21.5015H22.4821C23.0326 21.5015 23.5381 21.2165 23.7976 20.7515C23.9279 20.523 23.9976 20.265 24.0002 20.0019C24.0029 19.7389 23.9383 19.4796 23.8126 19.2485L13.3396 1.25ZM13.5391 18.4955H10.4806V15.491H13.5391V18.4955ZM13.5391 13.9895H10.4806V7.9805H13.5391V13.9895Z"},child:[]}]}),hi=(0,P.GenIcon)({tag:"svg",attr:{role:"img",viewBox:"0 0 24 24"},child:[{tag:"circle",attr:{fill:"currentColor",cx:"12",cy:"12",r:"12"},child:[]},{tag:"path",attr:{fill:"white",d:"M10.7999 10.7753C10.7999 10.1126 11.3371 9.57531 11.9999 9.57531C12.6626 9.57531 13.1998 10.1126 13.1998 10.7753V17.9754C13.1998 18.6381 12.6626 19.1754 11.9999 19.1754C11.3371 19.1754 10.7999 18.6381 10.7999 17.9754V10.7753Z"},child:[]},{tag:"path",attr:{fill:"white",d:"M11.9999 4.86141C11.3371 4.86141 10.7999 5.39867 10.7999 6.06142C10.7999 6.72416 11.3371 7.26143 11.9999 7.26143C12.6626 7.26143 13.1998 6.72416 13.1998 6.06142C13.1998 5.39867 12.6626 4.86141 11.9999 4.86141Z"},child:[]}]}),Fr={"rectangle-rounded":di,card:pi,"image-text":Li,"border-top":gi,"full-width-screen":mi,"text-input":ui,"number-input":fi,"canvas-alert":vi,warning:bi,"info-filled":hi};var Nr=require("param-case"),Ci=require("@emotion/react/jsx-runtime"),Ur=(0,W.createContext)({iconsMap:{},isLoading:!0});function Qt(){return(0,W.useContext)(Ur)}function xi({children:e}){let[t,r]=(0,W.useState)(!0),[o,n]=(0,W.useState)({}),i=async()=>{let s=await import("react-icons/cg"),c=Object.entries(s).reduce((p,[d,m])=>{if(d==="default")return p;let g=yi(d);return{...p,[g]:m}},{});n({...c,...Fr}),r(!1)};return(0,W.useEffect)(()=>{i()},[]),(0,Ci.jsx)(Ur.Provider,{value:{iconsMap:o,isLoading:t},children:e})}function yi(e){var t,r;return(r=(t=(0,Nr.paramCase)(e.replace("Cg","")).match(/[a-z]+|\d+/gi))==null?void 0:t.join("-"))!=null?r:""}var Te=require("@emotion/react");var _r=Te.css`
|
|
510
510
|
display: hidden;
|
|
511
511
|
|
|
512
512
|
${v("sm")} {
|
|
@@ -543,7 +543,7 @@ to {
|
|
|
543
543
|
gap: var(--spacing-sm);
|
|
544
544
|
`,no=er.css`
|
|
545
545
|
color: var(--alert);
|
|
546
|
-
`;var tr=require("@emotion/react/jsx-runtime"),G=({message:e,testId:t,...r})=>e?(0,tr.jsxs)("span",{role:"status",css:oo,"data-test-id":t,...r,children:[(0,tr.jsx)(L,{css:no,icon:ao.MdWarning,size:"1rem",iconColor:"currentColor"}),e]}):null;var F=require("@emotion/react/jsx-runtime"),rr=io.forwardRef(({label:e,icon:t,id:r,caption:o,showLabel:n=!0,errorMessage:i,warningMessage:s,containerTestId:c,labelTestId:p,errorTestId:d,captionTestId:m,classNameContainer:g,classNameControl:b,classNameLabel:S,...Ie},$t)=>(0,F.jsxs)("div",{css:ge,"data-test-id":c||"container-input-field",children:[n?(0,F.jsx)(ve,{htmlFor:r,css:[M,typeof S=="object"?S:void 0],className:typeof S=="string"?S:"",testId:p,children:e}):null,(0,F.jsxs)("div",{css:[ge,typeof g=="object"?g:void 0],className:typeof g=="string"?g:"",children:[(0,F.jsx)("input",{id:r,css:[me("nowrap"),typeof b=="object"?b:void 0,i?Y:void 0,t?
|
|
546
|
+
`;var tr=require("@emotion/react/jsx-runtime"),G=({message:e,testId:t,...r})=>e?(0,tr.jsxs)("span",{role:"status",css:oo,"data-test-id":t,...r,children:[(0,tr.jsx)(L,{css:no,icon:ao.MdWarning,size:"1rem",iconColor:"currentColor"}),e]}):null;var F=require("@emotion/react/jsx-runtime"),rr=io.forwardRef(({label:e,icon:t,id:r,caption:o,showLabel:n=!0,errorMessage:i,warningMessage:s,containerTestId:c,labelTestId:p,errorTestId:d,captionTestId:m,classNameContainer:g,classNameControl:b,classNameLabel:S,...Ie},$t)=>(0,F.jsxs)("div",{css:ge,"data-test-id":c||"container-input-field",children:[n?(0,F.jsx)(ve,{htmlFor:r,css:[M,typeof S=="object"?S:void 0],className:typeof S=="string"?S:"",testId:p,children:e}):null,(0,F.jsxs)("div",{css:[ge,typeof g=="object"?g:void 0],className:typeof g=="string"?g:"",children:[(0,F.jsx)("input",{id:r,css:[me("nowrap"),typeof b=="object"?b:void 0,i?Y:void 0,t?gt:""],"aria-label":n?void 0:e,className:typeof b=="string"?b:"",...Ie,ref:$t}),t?(0,F.jsx)("div",{css:Lt,children:t}):null]}),o?(0,F.jsx)($,{testId:m,children:o}):null,i?(0,F.jsx)(O,{message:i,testId:d}):null,s&&!i?(0,F.jsx)(G,{message:s}):null]}));var so=x(require("react-select")),Pi=require("@emotion/react/jsx-runtime");function Si(e){return(0,Pi.jsx)(so.default,{...e,classNamePrefix:"input-combobox",styles:{...e.styles,singleValue:(t,r)=>{var o,n;return{...t,color:"#828282",...(n=(o=e.styles)==null?void 0:o.singleValue)==null?void 0:n.call(o,t,r)}},valueContainer:(t,r)=>{var o,n;return{...t,padding:"var(--spacing-base)",...(n=(o=e.styles)==null?void 0:o.valueContainer)==null?void 0:n.call(o,t,r)}},input:(t,r)=>{var o,n;return{...t,margin:"0",padding:"0","& > input":{boxShadow:"none !important"},...(n=(o=e.styles)==null?void 0:o.input)==null?void 0:n.call(o,t,r)}},control:(t,r)=>{var o,n;return{...t,className:"input-combobox-control",border:r.isFocused?"1px solid transparent":"1px solid var(--gray-400)",lineHeight:1.25,outline:r.isFocused?"1px solid var(--brand-secondary-1)":"none",outlineOffset:0,minHeight:"58px",boxShadow:"none","&:hover":{boxShadow:"none"},...(n=(o=e.styles)==null?void 0:o.control)==null?void 0:n.call(o,t,r)}},indicatorsContainer:(t,r)=>{var o,n;return{...t,backgroundImage:`url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%0A%3E%3Cpath d='M6.34317 7.75732L4.92896 9.17154L12 16.2426L19.0711 9.17157L17.6569 7.75735L12 13.4142L6.34317 7.75732Z' fill='currentColor' /%3E%3C/svg%3E")`,backgroundSize:"1rem",backgroundPosition:"right var(--spacing-sm) center",backgroundRepeat:"no-repeat",width:"24px","& svg":{display:"none"},...(n=(o=e.styles)==null?void 0:o.indicatorsContainer)==null?void 0:n.call(o,t,r)}},indicatorSeparator:(t,r)=>{var o,n;return{display:"none",...(n=(o=e.styles)==null?void 0:o.indicatorSeparator)==null?void 0:n.call(o,t,r)}},option:(t,r)=>{var o,n;return{...t,color:r.isDisabled?"var(--gray-500)":"var(--gray-700)",backgroundColor:r.isDisabled?"transparent":r.isSelected?"var(--gray-200)":r.isFocused?"var(--gray-100)":"transparent",...(n=(o=e.styles)==null?void 0:o.option)==null?void 0:n.call(o,t,r)}}}})}var mo=require("@emotion/react"),uo=x(require("react")),xt=require("react");var Re=require("@emotion/react"),lo=Re.css`
|
|
547
547
|
margin-inline: auto;
|
|
548
548
|
max-width: fit-content;
|
|
549
549
|
`,co=Re.css`
|
|
@@ -601,10 +601,10 @@ to {
|
|
|
601
601
|
width: 1px;
|
|
602
602
|
clip: rect(0, 0, 0, 0);
|
|
603
603
|
padding: 0;
|
|
604
|
-
`;var fo=require("react-icons/cg"),be=require("@emotion/react/jsx-runtime"),ki=({classNameContainer:e,options:t,value:r,onChange:o,disabled:n,...i})=>{var m;let[s,c]=(0,
|
|
604
|
+
`;var fo=require("react-icons/cg"),be=require("@emotion/react/jsx-runtime"),ki=({classNameContainer:e,options:t,value:r,onChange:o,disabled:n,...i})=>{var m;let[s,c]=(0,xt.useState)(!1),p=(0,xt.useRef)(null);uo.useEffect(()=>{let g=b=>{p.current&&!p.current.contains(b.target)&&c(!1)};return document.addEventListener("mousedown",g),()=>{document.removeEventListener("mousedown",g)}},[p]);let d=t.find(g=>g.value===r);return(0,be.jsxs)("div",{ref:p,css:e?mo.css`
|
|
605
605
|
max-width: fit-content;
|
|
606
606
|
${typeof e=="object"?e:void 0}
|
|
607
|
-
`:lo,className:typeof e=="string"?e:"",children:[(0,be.jsxs)("button",{type:"button","aria-controls":`and-or-${i.id}`,"aria-expanded":s,css:co,onClick:()=>{n||c(g=>!g)},disabled:n,...i,children:[(0,be.jsx)("span",{children:(m=d==null?void 0:d.label)!=null?m:r}),n?null:(0,be.jsx)(L,{icon:fo.CgChevronDown,iconColor:"currentColor",size:24})]}),(0,be.jsx)("div",{id:`and-or-${i.id}`,css:[po,s?void 0:go],"aria-hidden":!s,children:t.map(g=>(0,be.jsx)("button",{type:"button",css:Lo,onClick:()=>{o(g),c(b=>!b)},children:g.label},g.value))})]})};var N=require("@emotion/react/jsx-runtime"),Zi=({onSearchTextChanged:e,disabled:t=!1,placeholder:r="Keyword search",inputFieldName:o="keywordSearch",disabledFieldSubmission:n=!1,value:i,...s})=>(0,N.jsx)(rr,{type:"text",name:o,placeholder:r,showLabel:!1,value:i,icon:(0,N.jsxs)("svg",{width:"26",height:"24",viewBox:"0 0 26 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",css:Br,children:[(0,N.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,N.jsx)("path",{d:"M11.539 0C5.48429 0 0.558105 4.74145 0.558105 10.5691C0.558105 16.3971 5.48429 21.1382 11.539 21.1382C17.594 21.1382 22.5199 16.3971 22.5199 10.5691C22.5199 4.74145 17.594 0 11.539 0ZM11.539 19.187C6.60198 19.187 2.58535 15.321 2.58535 10.5691C2.58535 5.81728 6.60198 1.95122 11.539 1.95122C16.476 1.95122 20.4926 5.81723 20.4926 10.5691C20.4926 15.321 16.476 19.187 11.539 19.187Z"}),(0,N.jsx)("path",{d:"M25.196 22.3344L19.3846 16.7409C18.9886 16.3598 18.3473 16.3598 17.9513 16.7409C17.5553 17.1217 17.5553 17.7397 17.9513 18.1205L23.7627 23.714C23.9607 23.9045 24.2199 23.9998 24.4794 23.9998C24.7385 23.9998 24.998 23.9045 25.196 23.714C25.592 23.3332 25.592 22.7153 25.196 22.3344Z"})]}),(0,N.jsx)("defs",{children:(0,N.jsx)("clipPath",{id:"clip0",children:(0,N.jsx)("rect",{width:"24.9351",height:"24",fill:"white",transform:"translate(0.558105)"})})})]}),onChange:d=>{e(d.currentTarget.value)},onKeyPress:d=>{d.key==="Enter"&&n&&d.preventDefault()},disabled:t,"aria-label":r,...s});var w=require("@emotion/react/jsx-runtime"),Hi=({label:e,defaultOption:t,options:r,caption:o,errorMessage:n,warningMessage:i,showLabel:s=!0,labelCta:c,classNameContainer:p,classNameControl:d,classNameLabel:m,...g})=>(0,w.jsxs)("div",{css:[ge,typeof p=="object"?p:void 0],className:typeof p=="string"?p:"",children:[s?(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)(ve,{htmlFor:g.id,css:[M,typeof m=="object"?m:void 0],className:typeof m=="string"?m:"",children:[e,c]})}):null,(0,w.jsxs)("select",{title:e,"aria-label":s?void 0:e,css:[me("wrap"),
|
|
607
|
+
`:lo,className:typeof e=="string"?e:"",children:[(0,be.jsxs)("button",{type:"button","aria-controls":`and-or-${i.id}`,"aria-expanded":s,css:co,onClick:()=>{n||c(g=>!g)},disabled:n,...i,children:[(0,be.jsx)("span",{children:(m=d==null?void 0:d.label)!=null?m:r}),n?null:(0,be.jsx)(L,{icon:fo.CgChevronDown,iconColor:"currentColor",size:24})]}),(0,be.jsx)("div",{id:`and-or-${i.id}`,css:[po,s?void 0:go],"aria-hidden":!s,children:t.map(g=>(0,be.jsx)("button",{type:"button",css:Lo,onClick:()=>{o(g),c(b=>!b)},children:g.label},g.value))})]})};var N=require("@emotion/react/jsx-runtime"),Zi=({onSearchTextChanged:e,disabled:t=!1,placeholder:r="Keyword search",inputFieldName:o="keywordSearch",disabledFieldSubmission:n=!1,value:i,...s})=>(0,N.jsx)(rr,{type:"text",name:o,placeholder:r,showLabel:!1,value:i,icon:(0,N.jsxs)("svg",{width:"26",height:"24",viewBox:"0 0 26 24",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",css:Br,children:[(0,N.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,N.jsx)("path",{d:"M11.539 0C5.48429 0 0.558105 4.74145 0.558105 10.5691C0.558105 16.3971 5.48429 21.1382 11.539 21.1382C17.594 21.1382 22.5199 16.3971 22.5199 10.5691C22.5199 4.74145 17.594 0 11.539 0ZM11.539 19.187C6.60198 19.187 2.58535 15.321 2.58535 10.5691C2.58535 5.81728 6.60198 1.95122 11.539 1.95122C16.476 1.95122 20.4926 5.81723 20.4926 10.5691C20.4926 15.321 16.476 19.187 11.539 19.187Z"}),(0,N.jsx)("path",{d:"M25.196 22.3344L19.3846 16.7409C18.9886 16.3598 18.3473 16.3598 17.9513 16.7409C17.5553 17.1217 17.5553 17.7397 17.9513 18.1205L23.7627 23.714C23.9607 23.9045 24.2199 23.9998 24.4794 23.9998C24.7385 23.9998 24.998 23.9045 25.196 23.714C25.592 23.3332 25.592 22.7153 25.196 22.3344Z"})]}),(0,N.jsx)("defs",{children:(0,N.jsx)("clipPath",{id:"clip0",children:(0,N.jsx)("rect",{width:"24.9351",height:"24",fill:"white",transform:"translate(0.558105)"})})})]}),onChange:d=>{e(d.currentTarget.value)},onKeyPress:d=>{d.key==="Enter"&&n&&d.preventDefault()},disabled:t,"aria-label":r,...s});var w=require("@emotion/react/jsx-runtime"),Hi=({label:e,defaultOption:t,options:r,caption:o,errorMessage:n,warningMessage:i,showLabel:s=!0,labelCta:c,classNameContainer:p,classNameControl:d,classNameLabel:m,...g})=>(0,w.jsxs)("div",{css:[ge,typeof p=="object"?p:void 0],className:typeof p=="string"?p:"",children:[s?(0,w.jsx)(w.Fragment,{children:(0,w.jsxs)(ve,{htmlFor:g.id,css:[M,typeof m=="object"?m:void 0],className:typeof m=="string"?m:"",children:[e,c]})}):null,(0,w.jsxs)("select",{title:e,"aria-label":s?void 0:e,css:[me("wrap"),mt,n?Y:void 0,typeof d=="object"?d:void 0],className:typeof d=="string"?d:"",...g,children:[t?(0,w.jsx)("option",{value:"",children:t}):null,r.map((b,S)=>(0,w.jsx)("option",{value:b.label,...b},S))]}),o?(0,w.jsx)($,{children:o}):null,n?(0,w.jsx)(O,{message:n}):null,i&&!n?(0,w.jsx)(G,{message:i}):null]});var Q=require("@emotion/react/jsx-runtime"),Bi=({label:e,type:t,disabled:r,checked:o,name:n,caption:i,errorMessage:s,warningMessage:c,testId:p,fontWeight:d="medium",...m})=>(0,Q.jsxs)(ve,{css:[Er,r?Ar:void 0],"data-test-id":p,children:[(0,Q.jsx)("input",{type:t,css:zr,checked:o,name:n,disabled:r,...m}),(0,Q.jsx)("span",{css:Dr(d),dangerouslySetInnerHTML:{__html:e}}),i||s?(0,Q.jsxs)("span",{css:Vr,children:[i?(0,Q.jsx)($,{children:i}):null,s?(0,Q.jsx)(O,{message:s}):null,c&&!s?(0,Q.jsx)(G,{message:c}):null]}):null]});var k=require("@emotion/react/jsx-runtime"),Ei=({label:e,icon:t,id:r,caption:o,showLabel:n=!0,errorMessage:i,warningMessage:s,...c})=>(0,k.jsxs)(k.Fragment,{children:[n?(0,k.jsx)("label",{htmlFor:r,css:[M],children:e}):null,(0,k.jsxs)("div",{css:[ge],children:[(0,k.jsx)("textarea",{id:r,css:[Wr,i?Y:void 0,t?gt:"",J],"aria-label":n?void 0:e,...c}),t?(0,k.jsx)("div",{css:Lt,children:t}):null]}),o?(0,k.jsx)($,{children:o}):null,i?(0,k.jsx)(O,{message:i}):null,s&&!i?(0,k.jsx)(G,{message:s}):null]});var Co=require("react");var Se=require("@emotion/react"),vo=Se.css`
|
|
608
608
|
align-items: center;
|
|
609
609
|
display: flex;
|
|
610
610
|
gap: var(--spacing-sm);
|
|
@@ -668,17 +668,21 @@ to {
|
|
|
668
668
|
max-width: 16ch;
|
|
669
669
|
width: max-content;
|
|
670
670
|
z-index: var(--z-20);
|
|
671
|
-
`;var U=require("@emotion/react/jsx-runtime"),Di=({message:e})=>(0,U.jsxs)("div",{"data-testid":"info-dialog",css:xo,children:[(0,U.jsx)(L,{icon:"info",iconColor:"green",size:"0.9rem"}),(0,U.jsx)("div",{role:"paragraph",css:yo,className:"info-message",children:e})]}),Ai=(0,Co.forwardRef)(({label:e,name:t,info:r,...o},n)=>(0,U.jsxs)("div",{css:vo,children:[(0,U.jsxs)("label",{css:bo,children:[(0,U.jsx)("input",{type:"checkbox",name:t,ref:n,css:ho,...o}),(0,U.jsx)("span",{children:e})]}),r?(0,U.jsx)(Di,{message:r}):null]}));var Ro=x(require("react"));var
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
background: var(--gray-50);
|
|
675
|
-
padding: var(--spacing-base);
|
|
671
|
+
`;var U=require("@emotion/react/jsx-runtime"),Di=({message:e})=>(0,U.jsxs)("div",{"data-testid":"info-dialog",css:xo,children:[(0,U.jsx)(L,{icon:"info",iconColor:"green",size:"0.9rem"}),(0,U.jsx)("div",{role:"paragraph",css:yo,className:"info-message",children:e})]}),Ai=(0,Co.forwardRef)(({label:e,name:t,info:r,...o},n)=>(0,U.jsxs)("div",{css:vo,children:[(0,U.jsxs)("label",{css:bo,children:[(0,U.jsx)("input",{type:"checkbox",name:t,ref:n,css:ho,...o}),(0,U.jsx)("span",{children:e})]}),r?(0,U.jsx)(Di,{message:r}):null]}));var Ro=x(require("react"));var Pe=require("@emotion/react");function Mo(e){let t=Pe.css`
|
|
672
|
+
border-radius: var(--rounded-base);
|
|
673
|
+
border: 1px solid var(--gray-300);
|
|
676
674
|
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
675
|
+
padding: var(--spacing-base);
|
|
676
|
+
|
|
677
|
+
// auto apply margins to child elements
|
|
678
|
+
> *:not(legend) {
|
|
679
|
+
margin-top: var(--spacing-base);
|
|
680
|
+
}
|
|
681
|
+
`;return e?[Pe.css`
|
|
682
|
+
background: white;
|
|
683
|
+
`,t]:[Pe.css`
|
|
684
|
+
background: var(--gray-50);
|
|
685
|
+
`,t]}var wo=Pe.css`
|
|
682
686
|
align-items: center;
|
|
683
687
|
color: var(--brand-secondary-1);
|
|
684
688
|
display: flex;
|
|
@@ -687,9 +691,9 @@ to {
|
|
|
687
691
|
flex-grow: 1;
|
|
688
692
|
margin-bottom: var(--spacing-base);
|
|
689
693
|
float: left; // allows the legend to be inside the fieldset and not sat on the border line
|
|
690
|
-
`,Io=
|
|
694
|
+
`,Io=Pe.css`
|
|
691
695
|
clear: left;
|
|
692
|
-
`;var or=require("@emotion/react/jsx-runtime"),Vi=Ro.forwardRef(({legend:e,disabled:t,children:r,...
|
|
696
|
+
`;var or=require("@emotion/react/jsx-runtime"),Vi=Ro.forwardRef(({legend:e,disabled:t,children:r,invert:o,...n},i)=>(0,or.jsxs)("fieldset",{css:Mo(Boolean(o)),ref:i,disabled:t,...n,children:[e,(0,or.jsx)("div",{css:Io,children:r})]}));var $i=require("@emotion/react/jsx-runtime"),Wi=({children:e})=>(0,$i.jsx)("legend",{css:wo,children:e});var ke=x(require("react")),Ze=require("reakit/Menu");var So=require("@emotion/react"),Po=So.css`
|
|
693
697
|
box-shadow: var(--shadow-base);
|
|
694
698
|
border-radius: var(--rounded-base);
|
|
695
699
|
background: var(--gray-50);
|
|
@@ -700,7 +704,7 @@ to {
|
|
|
700
704
|
overflow: hidden;
|
|
701
705
|
position: relative;
|
|
702
706
|
z-index: var(--z-50);
|
|
703
|
-
`;var yt=require("@emotion/react/jsx-runtime"),nr=
|
|
707
|
+
`;var yt=require("@emotion/react/jsx-runtime"),nr=ke.createContext({}),ar=()=>ke.useContext(nr),Je=({menuLabel:e,menuTrigger:t,placement:r="auto",menuItemsContainerCssClasses:o,children:n})=>{let i=(0,Ze.useMenuState)({placement:r});return(0,yt.jsxs)(nr.Provider,{value:i,children:[(0,yt.jsx)(Ze.MenuButton,{...i,ref:t.ref,...t.props,children:s=>ke.cloneElement(t,s)}),(0,yt.jsx)(Ze.Menu,{...i,"aria-label":e,css:[Po,typeof o=="object"?o:void 0],className:typeof o=="string"?o:"",children:n})]})};var Bo=x(require("react")),Eo=require("reakit");var Ct=require("@emotion/react"),ko=e=>Ct.css`
|
|
704
708
|
border: none;
|
|
705
709
|
border-radius: var(--rounded-base);
|
|
706
710
|
background: none;
|
|
@@ -843,7 +847,7 @@ to {
|
|
|
843
847
|
`,containerStyles:u.css`
|
|
844
848
|
color: var(--success-title);
|
|
845
849
|
background-color: var(--success-container);
|
|
846
|
-
`}},_i=({type:e="info",compact:t=!1,title:r,children:o,className:n})=>{let i=Ui[e];if(!i)return null;let s=i.icon;return(0,j.jsx)("div",{"data-testid":"sdk-ui-callout",css:[$o,i.containerStyles,t?Oo:void 0,typeof n=="object"?n:""],className:`${typeof n=="string"?n:""}`,children:(0,j.jsxs)("div",{css:Go,children:[t?null:(0,j.jsx)("div",{css:Uo,children:(0,j.jsx)(s,{css:[Xo,i.iconColor]})}),(0,j.jsxs)("div",{css:[Fo,t?No:void 0],children:[r?(0,j.jsx)("div",{css:[_o],children:r}):null,o?(0,j.jsx)("div",{css:[i.descriptionColor],children:o}):null]})]})})};var
|
|
850
|
+
`}},_i=({type:e="info",compact:t=!1,title:r,children:o,className:n})=>{let i=Ui[e];if(!i)return null;let s=i.icon;return(0,j.jsx)("div",{"data-testid":"sdk-ui-callout",css:[$o,i.containerStyles,t?Oo:void 0,typeof n=="object"?n:""],className:`${typeof n=="string"?n:""}`,children:(0,j.jsxs)("div",{css:Go,children:[t?null:(0,j.jsx)("div",{css:Uo,children:(0,j.jsx)(s,{css:[Xo,i.iconColor]})}),(0,j.jsxs)("div",{css:[Fo,t?No:void 0],children:[r?(0,j.jsx)("div",{css:[_o],children:r}):null,o?(0,j.jsx)("div",{css:[i.descriptionColor],children:o}):null]})]})})};var Qe=require("@emotion/react"),Xi=Qe.keyframes`
|
|
847
851
|
0%, 100% {
|
|
848
852
|
opacity: 1.0;
|
|
849
853
|
transform: translateY(0);
|
|
@@ -859,10 +863,10 @@ to {
|
|
|
859
863
|
opacity: 0.2;
|
|
860
864
|
transform: translateY(-5px);
|
|
861
865
|
}
|
|
862
|
-
`,qo=
|
|
866
|
+
`,qo=Qe.css`
|
|
863
867
|
display: inline-flex;
|
|
864
868
|
justify-content: center;
|
|
865
|
-
`,Mt=
|
|
869
|
+
`,Mt=Qe.css`
|
|
866
870
|
background-color: var(--gray-700);
|
|
867
871
|
display: block;
|
|
868
872
|
border-radius: var(--rounded-full);
|
|
@@ -883,7 +887,7 @@ to {
|
|
|
883
887
|
&:nth-of-type(3) {
|
|
884
888
|
animation-delay: 0.6s;
|
|
885
889
|
}
|
|
886
|
-
`;var
|
|
890
|
+
`;var je=require("@emotion/react/jsx-runtime"),qi=()=>(0,je.jsxs)("div",{css:qo,role:"alert","data-test-id":"loading-indicator",children:[(0,je.jsx)("span",{css:Mt}),(0,je.jsx)("span",{css:Mt}),(0,je.jsx)("span",{css:Mt})]});var t1=require("@emotion/react");var he=require("@emotion/react"),Ko=he.css`
|
|
887
891
|
align-items: center;
|
|
888
892
|
position: absolute;
|
|
889
893
|
inset: 0;
|
|
@@ -933,20 +937,20 @@ to {
|
|
|
933
937
|
&:last-of-type {
|
|
934
938
|
margin-bottom: 0;
|
|
935
939
|
}
|
|
936
|
-
`;var
|
|
940
|
+
`;var et=require("@emotion/react/jsx-runtime"),Ji=require("@emotion/react"),lr=({className:e,htmlContent:t,children:r,...o})=>{if(t&&Array.isArray(t)){let n=t.map((i,s)=>(0,Ji.createElement)("p",{...o,key:s,css:[wt,typeof e=="object"?e:void 0],className:typeof e=="string"?e:"",dangerouslySetInnerHTML:{__html:i}}));return(0,et.jsx)(et.Fragment,{children:n})}return t?(0,et.jsx)("p",{...o,css:[wt,typeof e=="object"?e:void 0],className:typeof e=="string"?e:"",dangerouslySetInnerHTML:{__html:t}}):(0,et.jsx)("p",{...o,css:[wt,typeof e=="object"?e:void 0],className:typeof e=="string"?e:"",children:r})};var cr=x(require("react"));var tt=require("@emotion/react"),L1=tt.css`
|
|
937
941
|
display: inline-flex;
|
|
938
942
|
text-decoration: underline;
|
|
939
943
|
|
|
940
944
|
&:hover {
|
|
941
945
|
text-decoration: none;
|
|
942
946
|
}
|
|
943
|
-
`,g1=
|
|
947
|
+
`,g1=tt.css`
|
|
944
948
|
color: var(--brand-secondary-3);
|
|
945
|
-
`,m1=
|
|
949
|
+
`,m1=tt.css`
|
|
946
950
|
color: var(--brand-secondary-5);
|
|
947
|
-
`,u1=
|
|
951
|
+
`,u1=tt.css`
|
|
948
952
|
color: currentColor;
|
|
949
|
-
`;var f1=require("react-icons/cg"),
|
|
953
|
+
`;var f1=require("react-icons/cg"),rt=require("@emotion/react/jsx-runtime"),It=cr.forwardRef(({external:e,text:t,linkColor:r="currentColor",children:o,...n},i)=>{let s={currentColor:u1,red:m1,green:g1},c=e?{target:"_blanks",rel:"noreferrer noopener"}:{};return(0,rt.jsxs)("a",{css:[L1,s[r]],...n,...c,ref:i,children:[t,e?(0,rt.jsx)(L,{icon:f1.CgExternal,iconColor:"currentColor",size:24}):null,o]})}),dr=cr.forwardRef(({linkManagerComponent:e,href:t,as:r,...o},n)=>(0,rt.jsx)(e,{...o,as:r,href:t,ref:n,passHref:!0,children:(0,rt.jsx)(It,{...o})}));var ee=require("@emotion/react");var v1=ee.css`
|
|
950
954
|
display: flex;
|
|
951
955
|
justify-content: space-between;
|
|
952
956
|
margin-bottom: var(--spacing-lg);
|
|
@@ -1079,13 +1083,13 @@ to {
|
|
|
1079
1083
|
&:focus {
|
|
1080
1084
|
outline: none;
|
|
1081
1085
|
}
|
|
1082
|
-
`;var mr=require("@emotion/react");var
|
|
1086
|
+
`;var mr=require("@emotion/react");var He=require("@emotion/react/jsx-runtime"),os=({buttonText:e,active:t,...r})=>(0,He.jsx)("div",{css:[V1,t?W1:void 0],children:(0,He.jsxs)("button",{css:$1,type:"button",...r,children:[(0,He.jsx)("span",{children:e}),(0,He.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 40 40",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!t,css:mr.css`
|
|
1083
1087
|
color: var(--brand-secondary-3);
|
|
1084
1088
|
transition: opacity var(--duration-fast) var(--timing-ease-out);
|
|
1085
1089
|
${t?mr.css`
|
|
1086
1090
|
animation: ${qt} var(--duration-fast) var(--timing-ease-out) forwards;
|
|
1087
1091
|
`:"opacity: 0;"}
|
|
1088
|
-
`,children:(0,
|
|
1092
|
+
`,children:(0,He.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 39.2A19.2 19.2 0 1 0 20 .8a19.2 19.2 0 0 0 0 38.4Zm8.897-22.303a2.4 2.4 0 0 0-3.394-3.394L17.6 21.407l-3.103-3.104a2.4 2.4 0 0 0-3.394 3.394l4.8 4.8a2.4 2.4 0 0 0 3.394 0l9.6-9.6Z"})})]})});var J1=require("react-icons/cg");var T=require("@emotion/react"),O1=T.css`
|
|
1089
1093
|
align-items: center;
|
|
1090
1094
|
border: 1px solid transparent;
|
|
1091
1095
|
border-radius: var(--rounded-sm);
|
|
@@ -1156,7 +1160,7 @@ to {
|
|
|
1156
1160
|
`,Y1=T.css`
|
|
1157
1161
|
border-color: var(--gray-400);
|
|
1158
1162
|
color: var(--gray-400);
|
|
1159
|
-
`;var
|
|
1163
|
+
`;var Be=require("@emotion/react/jsx-runtime"),ns=({onButtonClick:e,buttonType:t="secondary",buttonText:r,disabled:o,children:n,placement:i,...s})=>(0,Be.jsxs)("div",{css:[O1,o?{primary:St,secondary:_1,ghost:Y1,unimportant:q1}[t]:{primary:N1,secondary:U1,ghost:K1,unimportant:X1}[t]],"data-test-id":"multioptions-button",children:[(0,Be.jsx)("button",{type:"button",css:G1,disabled:o,onClick:e,"data-test-id":"multioptions-button-main",...s,children:r}),(0,Be.jsx)(Je,{menuLabel:"buttonMenu",placement:i,menuTrigger:(0,Be.jsx)("div",{css:F1,"data-test-id":"multioptions-button-call-menu",children:(0,Be.jsx)(L,{icon:J1.CgChevronDown,size:24,iconColor:"currentColor"})}),children:n})]});var ln=require("@emotion/react");var re=x(require("react"));var Pt=require("@emotion/react"),Q1=Pt.css`
|
|
1160
1164
|
position: absolute;
|
|
1161
1165
|
`,j1=Pt.css`
|
|
1162
1166
|
display: flex;
|
|
@@ -1168,7 +1172,7 @@ to {
|
|
|
1168
1172
|
border: 1px solid var(--gray-600);
|
|
1169
1173
|
box-shadow: var(--shadow-base);
|
|
1170
1174
|
padding: var(--spacing-xs) var(--spacing-sm);
|
|
1171
|
-
`;var tn=require("react-hotkeys-hook"),
|
|
1175
|
+
`;var tn=require("react-hotkeys-hook"),Ee=/(Mac|iPhone|iPod|iPad)/i.test(typeof window!="undefined"?window.navigator.userAgent:"server");function ur(e){return e===null?null:e.replace(/alt/g,"option").replace(/(ctrl|control)/g,"command")}function ze({handler:e,shortcut:t,macShortcut:r,doNotPreventDefault:o,activeWhenEditing:n}){let i=Ee&&r?r:t;Ee&&!r&&(i=ur(t)),(0,tn.useHotkeys)(i!=null?i:"\u{1F4A9}",s=>{o||s.preventDefault(),e(s)},n?{enableOnContentEditable:!0,enableOnTags:["INPUT","SELECT","TEXTAREA"]}:{},[e,o])}var ot=require("@emotion/react/jsx-runtime"),rn=!1,on=re.default.createContext(!1),fr=["ctrl+F1","option+shift+/"];function as({children:e}){let[t,r]=(0,re.useState)(!1);return(0,re.useEffect)(()=>{rn||(rn=!0,console.log(`Type ${nn(Ee?fr[1]:fr[0])} to show keyboard shortcuts`))},[]),ze({shortcut:fr.join(","),handler:()=>{r(o=>!o)},activeWhenEditing:!0}),(0,ot.jsx)(on.Provider,{value:t,children:e})}function nn(e){return e.replace(/(command|cmd)/g,"\u2318").replace(/option/g,"\u2325").replace(/shift/g,"\u21E7").replace(/ctrl/g,"\u2303")}function vr({shortcut:e,macShortcut:t,className:r}){if(!(0,re.useContext)(on)||!e.includes("+")&&e.length>1)return null;let n=Ee&&t?t:e;Ee&&!t&&(n=ur(e));let i=nn(n);return(0,ot.jsx)("div",{css:[Q1,typeof r=="object"?r:void 0],className:typeof r=="string"?r:"",children:(0,ot.jsx)(is,{shortcut:i})})}function is({shortcut:e}){let t=e.split("+");return(0,ot.jsx)("div",{css:j1,children:t.map(r=>(0,ot.jsx)("span",{css:en,children:r.toUpperCase()},r))})}var an=require("@emotion/react"),sn=an.css`
|
|
1172
1176
|
--max-size: clamp(2.5rem, 100vw, 3.5rem);
|
|
1173
1177
|
align-items: center;
|
|
1174
1178
|
box-shadow: var(--shadow-base);
|
|
@@ -1213,10 +1217,10 @@ to {
|
|
|
1213
1217
|
transform: scale(0.95);
|
|
1214
1218
|
}
|
|
1215
1219
|
}
|
|
1216
|
-
`;var
|
|
1220
|
+
`;var nt=require("@emotion/react/jsx-runtime"),ss=({buttonText:e="Add",onClick:t,shortcut:r="ctrl+alt+n",macShortcut:o="option+n",...n})=>(ze({shortcut:r,macShortcut:o,handler:t,activeWhenEditing:!0}),(0,nt.jsxs)("button",{type:"button","aria-label":e,"data-testid":"add-entry-button",onClick:t,css:sn,...n,children:[r?(0,nt.jsx)(vr,{shortcut:r,css:ln.css`
|
|
1217
1221
|
top: -2rem;
|
|
1218
1222
|
left: -1.5rem;
|
|
1219
|
-
`}):null,(0,
|
|
1223
|
+
`}):null,(0,nt.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,nt.jsx)("path",{d:"M14 8H8V14H6V8H0V6H6V0H8V6H14V8Z",fill:"currentColor"})})]}));var mn=x(require("react"));var De=require("@emotion/react"),cn=De.css`
|
|
1220
1224
|
cursor: pointer;
|
|
1221
1225
|
display: inline-block;
|
|
1222
1226
|
position: relative;
|
|
@@ -1224,7 +1228,7 @@ to {
|
|
|
1224
1228
|
transition: var(--duration-fast) var(--timing-ease-out);
|
|
1225
1229
|
vertical-align: middle;
|
|
1226
1230
|
user-select: none;
|
|
1227
|
-
`,dn=
|
|
1231
|
+
`,dn=De.css`
|
|
1228
1232
|
appearance: none;
|
|
1229
1233
|
border-radius: var(--rounded-full);
|
|
1230
1234
|
background-color: var(--white);
|
|
@@ -1261,14 +1265,14 @@ to {
|
|
|
1261
1265
|
&:disabled {
|
|
1262
1266
|
cursor: not-allowed;
|
|
1263
1267
|
}
|
|
1264
|
-
`,pn=
|
|
1268
|
+
`,pn=De.css`
|
|
1265
1269
|
opacity: var(--opacity-50);
|
|
1266
1270
|
cursor: not-allowed;
|
|
1267
1271
|
|
|
1268
1272
|
& > :before {
|
|
1269
1273
|
cursor: not-allowed;
|
|
1270
1274
|
}
|
|
1271
|
-
`,Ln=
|
|
1275
|
+
`,Ln=De.css`
|
|
1272
1276
|
align-items: center;
|
|
1273
1277
|
color: var(--brand-secondary-1);
|
|
1274
1278
|
display: inline-flex;
|
|
@@ -1289,29 +1293,29 @@ to {
|
|
|
1289
1293
|
left: 0;
|
|
1290
1294
|
top: 0;
|
|
1291
1295
|
}
|
|
1292
|
-
`,gn=
|
|
1296
|
+
`,gn=De.css`
|
|
1293
1297
|
color: var(--gray-500);
|
|
1294
1298
|
font-size: var(--fs-sm);
|
|
1295
1299
|
padding-inline: var(--spacing-2xl) 0;
|
|
1296
|
-
`;var oe=require("@emotion/react/jsx-runtime"),ls=mn.forwardRef(({label:e,infoText:t,toggleText:r,children:o,...n},i)=>{let s=t;return t&&r&&(s=n.checked?r:t),(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)("label",{css:[cn,n.disabled?pn:void 0],children:[(0,oe.jsx)("input",{type:"checkbox",css:dn,...n,ref:i}),(0,oe.jsx)("span",{css:Ln,children:e})]}),s?(0,oe.jsx)("p",{css:gn,children:s}):null,o]})});var ne=x(require("react"));var
|
|
1300
|
+
`;var oe=require("@emotion/react/jsx-runtime"),ls=mn.forwardRef(({label:e,infoText:t,toggleText:r,children:o,...n},i)=>{let s=t;return t&&r&&(s=n.checked?r:t),(0,oe.jsxs)(oe.Fragment,{children:[(0,oe.jsxs)("label",{css:[cn,n.disabled?pn:void 0],children:[(0,oe.jsx)("input",{type:"checkbox",css:dn,...n,ref:i}),(0,oe.jsx)("span",{css:Ln,children:e})]}),s?(0,oe.jsx)("p",{css:gn,children:s}):null,o]})});var ne=x(require("react"));var Ae=require("@emotion/react"),un=Ae.css`
|
|
1297
1301
|
border-bottom: 1px solid var(--gray-400);
|
|
1298
1302
|
border-collapse: collapse;
|
|
1299
1303
|
min-width: 100%;
|
|
1300
1304
|
table-layout: auto;
|
|
1301
|
-
`,fn=
|
|
1305
|
+
`,fn=Ae.css`
|
|
1302
1306
|
background: var(--gray-100);
|
|
1303
1307
|
color: var(--brand-secondary-1);
|
|
1304
1308
|
text-align: left;
|
|
1305
|
-
`,vn=
|
|
1309
|
+
`,vn=Ae.css`
|
|
1306
1310
|
border-bottom: 1px solid var(--gray-200);
|
|
1307
|
-
`,bn=
|
|
1311
|
+
`,bn=Ae.css`
|
|
1308
1312
|
font-size: var(--fs-sm);
|
|
1309
1313
|
padding: var(--spacing-base) var(--spacing-md);
|
|
1310
1314
|
text-transform: uppercase;
|
|
1311
1315
|
font-weight: var(--fw-bold);
|
|
1312
|
-
`,hn=
|
|
1316
|
+
`,hn=Ae.css`
|
|
1313
1317
|
padding: var(--spacing-base) var(--spacing-md);
|
|
1314
|
-
`;var xe=require("@emotion/react/jsx-runtime"),ds=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("table",{ref:r,css:un,...t,children:e})),ps=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("thead",{ref:r,css:fn,...t,children:e})),Ls=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("tbody",{ref:r,...t,children:e})),gs=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("tfoot",{ref:r,...t,children:e})),ms=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("tr",{ref:r,css:vn,...t,children:e})),us=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("th",{ref:r,css:bn,...t,children:e})),fs=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("td",{ref:r,css:hn,...t,children:e}));var
|
|
1318
|
+
`;var xe=require("@emotion/react/jsx-runtime"),ds=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("table",{ref:r,css:un,...t,children:e})),ps=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("thead",{ref:r,css:fn,...t,children:e})),Ls=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("tbody",{ref:r,...t,children:e})),gs=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("tfoot",{ref:r,...t,children:e})),ms=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("tr",{ref:r,css:vn,...t,children:e})),us=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("th",{ref:r,css:bn,...t,children:e})),fs=ne.forwardRef(({children:e,...t},r)=>(0,xe.jsx)("td",{ref:r,css:hn,...t,children:e}));var We=require("react-icons/cg");var Ve=require("@emotion/react"),br=Ve.css`
|
|
1315
1319
|
align-items: center;
|
|
1316
1320
|
background: transparent;
|
|
1317
1321
|
border: none;
|
|
@@ -1331,21 +1335,21 @@ to {
|
|
|
1331
1335
|
&:hover svg {
|
|
1332
1336
|
box-shadow: var(--shadow-base);
|
|
1333
1337
|
}
|
|
1334
|
-
`,xn=e=>
|
|
1338
|
+
`,xn=e=>Ve.css`
|
|
1335
1339
|
color: ${e};
|
|
1336
|
-
`,yn=
|
|
1340
|
+
`,yn=Ve.css`
|
|
1337
1341
|
font-size: var(--fs-xs);
|
|
1338
1342
|
font-weight: var(--fw-regular);
|
|
1339
1343
|
margin-block: var(--spacing-md) 0;
|
|
1340
|
-
`,Cn=(e,t)=>
|
|
1344
|
+
`,Cn=(e,t)=>Ve.css`
|
|
1341
1345
|
box-sizing: border-box;
|
|
1342
1346
|
background: ${e?"var(--gray-300)":t};
|
|
1343
1347
|
color: var(--white);
|
|
1344
1348
|
padding: calc(var(--spacing-xs) - 0.15rem);
|
|
1345
|
-
`,hr=
|
|
1349
|
+
`,hr=Ve.css`
|
|
1346
1350
|
border-radius: var(--rounded-full);
|
|
1347
1351
|
transition: box-shadow var(--duration-fast) var(--timing-ease-out);
|
|
1348
|
-
`;var kt=require("@emotion/react/jsx-runtime"),vs=({buttonText:e="Add Item",onButtonClick:t,disabled:r,icon:o="math-plus",variant:n="regular",theme:i="var(--brand-secondary-3)",...s})=>{let c={"math-plus":
|
|
1352
|
+
`;var kt=require("@emotion/react/jsx-runtime"),vs=({buttonText:e="Add Item",onButtonClick:t,disabled:r,icon:o="math-plus",variant:n="regular",theme:i="var(--brand-secondary-3)",...s})=>{let c={"math-plus":We.CgMathPlus,add:We.CgAdd,"add-r":We.CgAddR};return(0,kt.jsxs)("button",{type:"button",css:[{regular:[br],small:[br,yn]}[n],xn(i)],onClick:t,title:e,disabled:r,...s,children:[o==="math-plus"?(0,kt.jsx)(L,{icon:c[o],iconColor:"currentColor",size:"1.25em",css:[hr,Cn(r,i)]}):(0,kt.jsx)(L,{icon:c[o],iconColor:"currentColor",size:"1.25em",css:hr}),e]})};var Mn=require("@emotion/react"),bs=e=>({auto:"auto",sm:"8rem",md:"16rem",lg:"20rem"})[e],hs=e=>({left:"flex-start",right:"flex-end",center:"center"})[e],wn=({textAlign:e,boxHeight:t,bgColor:r})=>Mn.css`
|
|
1349
1353
|
align-items: ${hs(e)};
|
|
1350
1354
|
border: 2px dashed var(--gray-300);
|
|
1351
1355
|
border-radius: var(--rounded-base);
|
|
@@ -1379,7 +1383,7 @@ to {
|
|
|
1379
1383
|
background: ${e};
|
|
1380
1384
|
`,kn=e=>ae.css`
|
|
1381
1385
|
color: ${e};
|
|
1382
|
-
`;var ye=require("@emotion/react/jsx-runtime"),Cs=({current:e,max:t,label:r})=>{let n=Math.ceil(e/t*100),i={base:"var(--gray-400)",warn:"#facc15",danger:"var(--brand-secondary-5)"},s=n===100?i.danger:n>=75?i.warn:i.base;return(0,ye.jsxs)("div",{css:In,children:[(0,ye.jsxs)("div",{css:Sn,children:[(0,ye.jsx)("span",{css:xr,children:r}),(0,ye.jsxs)("span",{css:[xr,kn(s)],children:[e," of ",t]})]}),(0,ye.jsx)("div",{role:"progressbar","aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":t,"aria-valuetext":`${e} of ${t}`,css:Tn,children:(0,ye.jsx)("span",{role:"presentation",css:[Rn,Pn(s)],style:{transform:`translateX(${n-100}%)`}})})]})};var Dn=require("react-icons/cg");var
|
|
1386
|
+
`;var ye=require("@emotion/react/jsx-runtime"),Cs=({current:e,max:t,label:r})=>{let n=Math.ceil(e/t*100),i={base:"var(--gray-400)",warn:"#facc15",danger:"var(--brand-secondary-5)"},s=n===100?i.danger:n>=75?i.warn:i.base;return(0,ye.jsxs)("div",{css:In,children:[(0,ye.jsxs)("div",{css:Sn,children:[(0,ye.jsx)("span",{css:xr,children:r}),(0,ye.jsxs)("span",{css:[xr,kn(s)],children:[e," of ",t]})]}),(0,ye.jsx)("div",{role:"progressbar","aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":t,"aria-valuetext":`${e} of ${t}`,css:Tn,children:(0,ye.jsx)("span",{role:"presentation",css:[Rn,Pn(s)],style:{transform:`translateX(${n-100}%)`}})})]})};var Dn=require("react-icons/cg");var $e=require("@emotion/react"),Zn=$e.css`
|
|
1383
1387
|
background: var(--brand-primary-1);
|
|
1384
1388
|
border-radius: var(--rounded-2xl);
|
|
1385
1389
|
color: var(--white);
|
|
@@ -1418,23 +1422,23 @@ to {
|
|
|
1418
1422
|
top: -1.5rem;`,"top-right":`
|
|
1419
1423
|
border-bottom: 12px solid var(--brand-primary-1);
|
|
1420
1424
|
right: 1.25rem;
|
|
1421
|
-
top: -1.5rem;`})[e],Hn=e
|
|
1425
|
+
top: -1.5rem;`})[e],Hn=e=>$e.css`
|
|
1422
1426
|
&:before {
|
|
1423
1427
|
border: 12px solid transparent;
|
|
1424
1428
|
${Ms(e)}
|
|
1425
1429
|
}
|
|
1426
|
-
`,Bn
|
|
1430
|
+
`,Bn=$e.css`
|
|
1427
1431
|
background: none;
|
|
1428
1432
|
border: none;
|
|
1429
1433
|
padding: 0;
|
|
1430
1434
|
position: absolute;
|
|
1431
1435
|
top: var(--spacing-sm);
|
|
1432
1436
|
right: var(--spacing-sm);
|
|
1433
|
-
`,En
|
|
1437
|
+
`,En=$e.css`
|
|
1434
1438
|
margin: 0;
|
|
1435
|
-
`,zn
|
|
1439
|
+
`,zn=$e.css`
|
|
1436
1440
|
margin: 0;
|
|
1437
|
-
`;var
|
|
1441
|
+
`;var Oe=require("@emotion/react/jsx-runtime"),ws=({id:e,title:t,text:r,arrowPosition:o="left-top",positionCss:n,...i})=>(0,Oe.jsxs)("div",{role:"alert",id:e,css:[Zn,Hn(o),n],children:[(0,Oe.jsx)("button",{type:"button","aria-controls":e,title:"close alert",css:Bn,...i,children:(0,Oe.jsx)(L,{icon:Dn.CgClose,iconColor:"currentColor",size:24})}),(0,Oe.jsx)(Z,{level:3,css:En,children:t}),(0,Oe.jsx)("p",{css:zn,children:r})]});var Fe=require("react-icons/cg");var R=require("@emotion/react");var ie=R.css`
|
|
1438
1442
|
align-items: center;
|
|
1439
1443
|
box-sizing: border-box;
|
|
1440
1444
|
border-radius: var(--rounded-base);
|
|
@@ -1455,7 +1459,7 @@ to {
|
|
|
1455
1459
|
box-shadow: var(--shadow-md);
|
|
1456
1460
|
}
|
|
1457
1461
|
|
|
1458
|
-
${
|
|
1462
|
+
${Ke("aspect-ratio: 1/1")} {
|
|
1459
1463
|
aspect-ratio: 1/1;
|
|
1460
1464
|
|
|
1461
1465
|
${v("sm")} {
|
|
@@ -1476,7 +1480,7 @@ to {
|
|
|
1476
1480
|
max-width: 10rem;
|
|
1477
1481
|
max-height: 4rem;
|
|
1478
1482
|
margin: 0 auto;
|
|
1479
|
-
`,
|
|
1483
|
+
`,Ge=R.css`
|
|
1480
1484
|
color: var(--gray-500);
|
|
1481
1485
|
display: -webkit-box;
|
|
1482
1486
|
-webkit-line-clamp: 1;
|
|
@@ -1549,11 +1553,11 @@ to {
|
|
|
1549
1553
|
transition: transform var(--duration-fast) var(--timing-ease-out);
|
|
1550
1554
|
transform: ${e?"translateY(0)":"translateY(100%)"};
|
|
1551
1555
|
}
|
|
1552
|
-
`;var se=require("@emotion/react/jsx-runtime"),Nn=({text:e="Added"})=>(0,se.jsxs)("span",{"data-testid":"integration-icon-installed",css:$n,children:[(0,se.jsx)(L,{icon:
|
|
1556
|
+
`;var se=require("@emotion/react/jsx-runtime"),Nn=({text:e="Added"})=>(0,se.jsxs)("span",{"data-testid":"integration-icon-installed",css:$n,children:[(0,se.jsx)(L,{icon:Fe.CgCheck,iconColor:"currentColor"}),e]}),Bt=({text:e="Custom"})=>(0,se.jsx)("span",{"data-testid":"integration-is-private",css:Zt("gray"),children:e}),Un=({text:e="Premium"})=>(0,se.jsxs)("span",{css:Zt("blue"),children:[(0,se.jsx)(L,{icon:Fe.CgLock,iconColor:"currentColor",size:12}),e]}),_n=({text:e="Coming soon"})=>(0,se.jsxs)("span",{css:Zt("blue"),children:[(0,se.jsx)(L,{icon:Fe.CgSandClock,iconColor:"currentColor",size:12}),e]});var Xn=require("@emotion/react/jsx-runtime"),le=({icon:e,name:t,styleType:r="logo",...o})=>{let n=e&&typeof e!="string"?e:null,i={author:On,logo:Wn};return e?n?(0,Xn.jsx)(n,{css:i[r],...o}):(0,Xn.jsx)("img",{src:e,alt:t,css:i[r],...o}):null};var ce=require("@emotion/react/jsx-runtime"),Is=({id:e,icon:t,name:r,requiedEntitlement:o,onAddIntegration:n,isPublic:i,isInstalled:s,authorIcon:c,...p})=>(0,ce.jsxs)("button",{type:"button","data-testid":`add-${e.toLowerCase()}-integration-button`,css:ie,onClick:n,"aria-label":r,...p,children:[(0,ce.jsx)(le,{icon:t,name:r}),(0,ce.jsx)("span",{css:Ge,title:r,children:r}),s?(0,ce.jsx)(Nn,{}):null,o&&i?(0,ce.jsx)(Un,{}):null,i?null:(0,ce.jsx)(Bt,{}),c?(0,ce.jsx)(le,{icon:c,name:r}):null]});var yr=require("@emotion/react"),Et=require("react-icons/cg");var Ne=require("@emotion/react/jsx-runtime"),Ts=({title:e="Create a custom integration for your team",buttonText:t="Add Integration",onClick:r,asDeepLink:o=!1,...n})=>(0,Ne.jsxs)("div",{css:[ie,An],...n,children:[(0,Ne.jsx)("span",{css:Vn,title:e,children:e}),(0,Ne.jsxs)(V,{buttonType:"tertiary","aria-label":"Create team integration",onClick:r,"data-testid":"create-integration-definition-button",css:Gn,children:[t,o?(0,Ne.jsx)(L,{icon:Et.CgChevronRight,iconColor:"currentColor",size:20,css:yr.css`
|
|
1553
1557
|
order: 1;
|
|
1554
|
-
`}):(0,
|
|
1558
|
+
`}):(0,Ne.jsx)(L,{icon:Et.CgAdd,iconColor:"currentColor",size:16,css:yr.css`
|
|
1555
1559
|
order: -1;
|
|
1556
|
-
`})]})]});var
|
|
1560
|
+
`})]})]});var Ue=require("@emotion/react/jsx-runtime"),Rs=({id:e,icon:t,name:r,onEdit:o,isPublic:n,canEdit:i=!1})=>(0,Ue.jsxs)("div",{css:ie,"data-testid":"configure-integration-container","integration-id":`${e.toLocaleLowerCase()}`,children:[(0,Ue.jsx)(le,{icon:t,name:r,"data-test-id":"integration-logo"}),(0,Ue.jsx)("span",{css:Ge,"data-test-id":"integration-card-name",children:r}),n?null:(0,Ue.jsx)(Bt,{}),i?(0,Ue.jsx)(V,{buttonType:"unimportant","data-testid":`team-integration-def-item-${e.toLocaleLowerCase()}`,onClick:o,title:"Edit",role:"link",css:Ht,children:"Edit"}):null]});var Cr=require("@emotion/react"),qn=Cr.css`
|
|
1557
1561
|
background: var(--brand-secondary-2);
|
|
1558
1562
|
padding: var(--spacing-base);
|
|
1559
1563
|
margin-bottom: var(--spacing-lg);
|
|
@@ -1561,7 +1565,7 @@ to {
|
|
|
1561
1565
|
display: grid;
|
|
1562
1566
|
grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
|
|
1563
1567
|
gap: var(--spacing-base);
|
|
1564
|
-
`;var Yn=require("@emotion/react/jsx-runtime"),Ss=({children:e,...t})=>(0,Yn.jsx)("div",{css:qn,...t,children:(0,Yn.jsx)("div",{css:Kn,children:e})});var Jn=require("@emotion/react"),zt=require("react"),Qn=require("react-icons/cg");var B=require("@emotion/react/jsx-runtime"),Ps=({name:e,icon:t,id:r,onUpVoteClick:o,timing:n=1e3,...i})=>{let[s,c]=(0,zt.useState)(!1),p=()=>{c(d=>!d),o()};return(0,zt.useEffect)(()=>{if(s){let d=setTimeout(()=>c(!1),n);return()=>{clearTimeout(d)}}},[s,c,n]),(0,B.jsxs)("div",{css:ie,"data-testid":`coming-soon-${r.toLowerCase()}-integration`,...i,children:[(0,B.jsx)(_n,{}),(0,B.jsx)(le,{icon:t,name:e}),(0,B.jsx)("span",{css:
|
|
1568
|
+
`;var Yn=require("@emotion/react/jsx-runtime"),Ss=({children:e,...t})=>(0,Yn.jsx)("div",{css:qn,...t,children:(0,Yn.jsx)("div",{css:Kn,children:e})});var Jn=require("@emotion/react"),zt=require("react"),Qn=require("react-icons/cg");var B=require("@emotion/react/jsx-runtime"),Ps=({name:e,icon:t,id:r,onUpVoteClick:o,timing:n=1e3,...i})=>{let[s,c]=(0,zt.useState)(!1),p=()=>{c(d=>!d),o()};return(0,zt.useEffect)(()=>{if(s){let d=setTimeout(()=>c(!1),n);return()=>{clearTimeout(d)}}},[s,c,n]),(0,B.jsxs)("div",{css:ie,"data-testid":`coming-soon-${r.toLowerCase()}-integration`,...i,children:[(0,B.jsx)(_n,{}),(0,B.jsx)(le,{icon:t,name:e}),(0,B.jsx)("span",{css:Ge,title:e,children:e}),(0,B.jsxs)(V,{buttonType:"unimportant","data-testid":`team-integration-def-item-${r.toLocaleLowerCase()}`,onClick:p,title:"Edit",role:"link",css:[Ht,Fn(s)],children:[(0,B.jsx)("strong",{children:"+1"}),(0,B.jsx)("span",{css:Jn.css`
|
|
1565
1569
|
text-transform: uppercase;
|
|
1566
1570
|
color: var(--gray-500);
|
|
1567
1571
|
`,children:"(I want this)"}),(0,B.jsxs)("span",{"aria-hidden":!s,children:[(0,B.jsx)(L,{icon:Qn.CgHeart,iconColor:"currentColor",size:18}),"Thanks!"]})]})]})};var Mr=require("@emotion/react"),jn=Mr.css`
|
|
@@ -1574,7 +1578,7 @@ to {
|
|
|
1574
1578
|
margin: auto;
|
|
1575
1579
|
max-width: 26px;
|
|
1576
1580
|
max-height: 26px;
|
|
1577
|
-
`;var E=require("@emotion/react/jsx-runtime"),Ir=({icon:e,name:t,...r})=>{let o=e&&typeof e!="string"?e:null;return(0,E.jsxs)("div",{css:jn,children:[(0,E.jsxs)("svg",{width:"49",height:"57",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,E.jsx)("path",{d:"m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",fill:"#fff",stroke:"url(#a)",strokeWidth:"2"}),(0,E.jsx)("defs",{children:(0,E.jsxs)("linearGradient",{id:"a",x1:"41.353",y1:"49.107",x2:"8.048",y2:"4.478",gradientUnits:"userSpaceOnUse",children:[(0,E.jsx)("stop",{stopColor:"#1768B2"}),(0,E.jsx)("stop",{offset:"1",stopColor:"#B3EFE4"})]})})]}),o?(0,E.jsx)(o,{role:"img",css:wr,...r}):(0,E.jsx)("img",{src:e,alt:t,"data-test-id":"integration-modal-icon",css:wr,...r})]})};var
|
|
1581
|
+
`;var E=require("@emotion/react/jsx-runtime"),Ir=({icon:e,name:t,...r})=>{let o=e&&typeof e!="string"?e:null;return(0,E.jsxs)("div",{css:jn,children:[(0,E.jsxs)("svg",{width:"49",height:"57",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:"img",children:[(0,E.jsx)("path",{d:"m24.367 1.813 22.786 13.322V41.78L24.367 55.102 1.581 41.78V15.135L24.367 1.814Z",fill:"#fff",stroke:"url(#a)",strokeWidth:"2"}),(0,E.jsx)("defs",{children:(0,E.jsxs)("linearGradient",{id:"a",x1:"41.353",y1:"49.107",x2:"8.048",y2:"4.478",gradientUnits:"userSpaceOnUse",children:[(0,E.jsx)("stop",{stopColor:"#1768B2"}),(0,E.jsx)("stop",{offset:"1",stopColor:"#B3EFE4"})]})})]}),o?(0,E.jsx)(o,{role:"img",css:wr,...r}):(0,E.jsx)("img",{src:e,alt:t,"data-test-id":"integration-modal-icon",css:wr,...r})]})};var at=require("@emotion/react");var ea=at.css`
|
|
1578
1582
|
align-items: center;
|
|
1579
1583
|
box-sizing: border-box;
|
|
1580
1584
|
border-radius: var(--rounded-base);
|
|
@@ -1591,7 +1595,7 @@ to {
|
|
|
1591
1595
|
margin: auto;
|
|
1592
1596
|
transition: box-shadow var(--duration-fast) var(--timing-ease-out);
|
|
1593
1597
|
|
|
1594
|
-
${
|
|
1598
|
+
${Ke("aspect-ratio: 1/1")} {
|
|
1595
1599
|
aspect-ratio: 1/1;
|
|
1596
1600
|
|
|
1597
1601
|
${v("sm")} {
|
|
@@ -1600,15 +1604,15 @@ to {
|
|
|
1600
1604
|
margin: unset;
|
|
1601
1605
|
}
|
|
1602
1606
|
}
|
|
1603
|
-
`,ta=
|
|
1607
|
+
`,ta=at.css`
|
|
1604
1608
|
width: 10rem;
|
|
1605
1609
|
height: 4rem;
|
|
1606
1610
|
margin: 0 auto;
|
|
1607
|
-
`,ra=
|
|
1611
|
+
`,ra=at.css`
|
|
1608
1612
|
width: 5rem;
|
|
1609
1613
|
height: var(--spacing-sm);
|
|
1610
1614
|
margin: var(--spacing-sm) 0;
|
|
1611
|
-
`,Tr=
|
|
1615
|
+
`,Tr=at.css`
|
|
1612
1616
|
animation: ${Yt} 1s linear infinite alternate;
|
|
1613
1617
|
border-radius: var(--rounded-base);
|
|
1614
1618
|
`;var Ce=require("@emotion/react/jsx-runtime"),ks=({count:e=1})=>{let t=Array.from(Array(e).keys());return(0,Ce.jsx)(Ce.Fragment,{children:t.map(r=>(0,Ce.jsxs)("div",{css:ea,children:[(0,Ce.jsx)("div",{css:[ta,Tr],role:"presentation"}),(0,Ce.jsx)("div",{css:[ra,Tr]})]},r))})};var Me=require("@emotion/react"),oa=Me.css`
|
|
@@ -1648,7 +1652,7 @@ to {
|
|
|
1648
1652
|
position: absolute;
|
|
1649
1653
|
top: var(--spacing-md);
|
|
1650
1654
|
right: var(--spacing-md);
|
|
1651
|
-
`;var
|
|
1655
|
+
`;var _e=require("@emotion/react/jsx-runtime"),Hs=({title:e,menuItems:t,children:r,disabled:o,menuButtonTestId:n,...i})=>{let s=e!=null&&e.includes("_")?e.replaceAll("_"," "):e;return(0,_e.jsxs)("div",{css:da,...i,children:[e?(0,_e.jsx)(Z,{level:3,css:pa,children:s}):null,t?(0,_e.jsx)(Je,{menuLabel:"More options",menuTrigger:(0,_e.jsx)("button",{"aria-label":"More options",type:"button",disabled:o,css:La,"data-test-id":n!=null?n:"list-card-menu",children:(0,_e.jsx)(L,{icon:ga.CgMoreAlt,iconColor:"currentColor",size:32})}),children:t}):null,r]})};var Rr=require("@emotion/react");var ma=e=>Rr.css`
|
|
1652
1656
|
background: ${e==="gray"?"var(--gray-50)":"var(--white)"};
|
|
1653
1657
|
`,ua=({padding:e,withLastColumn:t})=>Rr.css`
|
|
1654
1658
|
display: grid;
|
|
@@ -1685,7 +1689,7 @@ to {
|
|
|
1685
1689
|
`,xa=Pr.css`
|
|
1686
1690
|
display: flex;
|
|
1687
1691
|
gap: var(--spacing-base);
|
|
1688
|
-
`;var Wt=require("@emotion/react/jsx-runtime"),ya=(0,At.createContext)(null),Vt=()=>{let e=(0,At.useContext)(ya);if(!e)throw new Error("This component can only be used inside <Tabs>");return e},zs=({children:e,...t})=>{let r=(0,de.useTabState)(t);return(0,Wt.jsx)(ya.Provider,{value:r,children:e})},Ds=({children:e,...t})=>{let r=Vt();return(0,Wt.jsx)(de.TabList,{...t,...r,css:xa,children:e})},As=({children:e,id:t,...r})=>{let o=Vt();return(0,Wt.jsx)(de.Tab,{type:"button",id:t,...o,...r,css:ha,children:e})},Vs=({children:e,...t})=>{let r=Vt();return(0,Wt.jsx)(de.TabPanel,{...t,...r,children:e})};var K=x(require("react"));var q=require("react");var $s=require("@emotion/react/jsx-runtime"),Ma=(0,q.createContext)({drawersRegistry:[],registerDrawer:()=>{},unregisterDrawer:()=>{}}),Ws=({children:e})=>{let[t,r]=(0,q.useState)([]);
|
|
1692
|
+
`;var Wt=require("@emotion/react/jsx-runtime"),ya=(0,At.createContext)(null),Vt=()=>{let e=(0,At.useContext)(ya);if(!e)throw new Error("This component can only be used inside <Tabs>");return e},zs=({children:e,...t})=>{let r=(0,de.useTabState)(t);return(0,Wt.jsx)(ya.Provider,{value:r,children:e})},Ds=({children:e,...t})=>{let r=Vt();return(0,Wt.jsx)(de.TabList,{...t,...r,css:xa,children:e})},As=({children:e,id:t,...r})=>{let o=Vt();return(0,Wt.jsx)(de.Tab,{type:"button",id:t,...o,...r,css:ha,children:e})},Vs=({children:e,...t})=>{let r=Vt();return(0,Wt.jsx)(de.TabPanel,{...t,...r,children:e})};var K=x(require("react"));var q=require("react");var $s=require("@emotion/react/jsx-runtime"),Ma=(0,q.createContext)({drawersRegistry:[],registerDrawer:()=>{},unregisterDrawer:()=>{}}),Ws=({children:e})=>{let[t,r]=(0,q.useState)([]);ze({handler:()=>{var i,s;(s=(i=t.at(-1))==null?void 0:i.onRequestClose)==null||s.call(i)},shortcut:"escape"});let o=(0,q.useCallback)(({drawer:i,onFirstRender:s})=>{r(c=>{var Ie;let p=c.findIndex($t=>wa($t,i)),d=c[p];!d&&(s==null||s()),d!==void 0&&!Ca(d,i)&&((Ie=d.onRequestClose)==null||Ie.call(d));let b=p>=0?p:c.length,S=[...c];return S.splice(b,1,i),S})},[r]),n=(0,q.useCallback)(i=>{r(s=>s.filter(c=>!Ca(i,c)))},[r]);return(0,$s.jsx)(Ma.Provider,{value:{drawersRegistry:t,registerDrawer:o,unregisterDrawer:n},children:e})},it=()=>(0,q.useContext)(Ma);function wa(e,t){return(e==null?void 0:e.id)===(t==null?void 0:t.id)&&(e==null?void 0:e.stackId)===(t==null?void 0:t.stackId)}function Ca(e,t){return wa(e,t)&&e.instanceKey===t.instanceKey}var Ha=require("react-icons/cg");var z=require("@emotion/react");var Ia=z.css`
|
|
1689
1693
|
background-color: var(--gray-50);
|
|
1690
1694
|
display: flex;
|
|
1691
1695
|
gap: var(--spacing-sm);
|
|
@@ -1742,7 +1746,7 @@ to {
|
|
|
1742
1746
|
background: rgba(100, 100, 100, 0.01);
|
|
1743
1747
|
backdrop-filter: blur(2px);
|
|
1744
1748
|
animation: ${Kt} var(--duration-fast) ease-out;
|
|
1745
|
-
`;var
|
|
1749
|
+
`;var Xe=require("@emotion/react/jsx-runtime"),Gs=K.default.forwardRef(({id:e,stackId:t,instanceKey:r,onRequestClose:o,header:n,children:i},s)=>{let{registerDrawer:c,unregisterDrawer:p}=it(),d=(0,K.useRef)(null),m=(0,K.useMemo)(()=>{let g=`dialog-header-${t}-${e}`;return(0,Xe.jsxs)("div",{ref:s,role:"dialog",tabIndex:-1,"aria-labelledby":g,css:Ia,children:[(0,Xe.jsx)(V,{ref:d,type:"button",onClick:o,css:Ta,title:"Close dialog",buttonType:"ghost",children:(0,Xe.jsx)(L,{icon:Ha.CgChevronRight,iconColor:"gray",size:"1.5rem"})}),n?(0,Xe.jsx)("div",{id:g,css:Ra,children:n}):null,(0,Xe.jsx)("div",{css:Pa,children:i})]})},[i,n,e,t,o,s]);return(0,K.useEffect)(()=>{c({drawer:{id:e,component:m,stackId:t,onRequestClose:o,instanceKey:r},onFirstRender:()=>{setTimeout(()=>{var g;(g=d.current)==null||g.focus({preventScroll:!0})},0)}})},[m,r,c]),(0,K.useEffect)(()=>()=>p({id:e,stackId:t,instanceKey:r}),[e,t,r,p]),null});var pe=require("@emotion/react/jsx-runtime"),Ba=64,Ea=16,Fs=({stackId:e,width:t="45%",minWidth:r="0",maxWidth:o="100%",...n})=>{let{drawersRegistry:i}=it(),s=i.filter(({stackId:c})=>c===e);return s.length===0?null:(0,pe.jsx)("div",{css:Sa,...n,children:s.map(({component:c,id:p,stackId:d,onRequestClose:m},g)=>(0,pe.jsx)(Ns,{index:g,totalDrawers:s.length,width:t,minWidth:r,maxWidth:o,onOverlayClick:m,children:c},`${d}-${p}`))})},Ns=({index:e,totalDrawers:t,width:r,minWidth:o,maxWidth:n,onOverlayClick:i,children:s})=>{let c=Ea*e;if(t*Ea>Ba){let d=e===0?0:e/t;c=Math.round(Ba*d)}let p=`calc(${r} - ${c}px)`;return(0,pe.jsxs)(pe.Fragment,{children:[(0,pe.jsx)("div",{css:Za,onClick:i}),(0,pe.jsx)("div",{css:[ka,{width:p,minWidth:o,maxWidth:n}],children:s})]})};var we=require("@emotion/react"),za=we.css`
|
|
1746
1750
|
align-items: center;
|
|
1747
1751
|
align-self: center;
|
|
1748
1752
|
color: var(--gray-500);
|
|
@@ -1792,7 +1796,7 @@ to {
|
|
|
1792
1796
|
&:before {
|
|
1793
1797
|
background: var(--brand-secondary-5);
|
|
1794
1798
|
}
|
|
1795
|
-
`;var Xs=require("@emotion/react/jsx-runtime"),_s=({status:e,hideText:t=!1,message:r,...o})=>(0,Xs.jsx)("span",{css:[za,{Error:Aa,Modified:Da,Unsaved:kr,Orphan:Wa,Published:Va,Draft:kr}[e]],title:r!=null?r:e,...o,children:t?null:r||e});var
|
|
1799
|
+
`;var Xs=require("@emotion/react/jsx-runtime"),_s=({status:e,hideText:t=!1,message:r,...o})=>(0,Xs.jsx)("span",{css:[za,{Error:Aa,Modified:Da,Unsaved:kr,Orphan:Wa,Published:Va,Draft:kr}[e]],title:r!=null?r:e,...o,children:t?null:r||e});var st=require("@emotion/react"),$a=st.css`
|
|
1796
1800
|
align-items: center;
|
|
1797
1801
|
border-radius: var(--rounded-full);
|
|
1798
1802
|
border: 1px solid var(--gray-300);
|
|
@@ -1803,14 +1807,14 @@ to {
|
|
|
1803
1807
|
justify-content: center;
|
|
1804
1808
|
width: var(--spacing-base);
|
|
1805
1809
|
height: var(--spacing-base);
|
|
1806
|
-
`,Oa=
|
|
1810
|
+
`,Oa=st.css`
|
|
1807
1811
|
background: var(--brand-secondary-1);
|
|
1808
1812
|
border-radius: var(--rounded-full);
|
|
1809
1813
|
width: 2px;
|
|
1810
1814
|
height: 2px;
|
|
1811
|
-
`,Ga=
|
|
1815
|
+
`,Ga=st.css`
|
|
1812
1816
|
position: relative;
|
|
1813
|
-
`,Fa=
|
|
1817
|
+
`,Fa=st.css`
|
|
1814
1818
|
border-radius: var(--rounded-full);
|
|
1815
1819
|
background: var(--white);
|
|
1816
1820
|
color: var(--brand-secondary-3);
|
|
@@ -1818,16 +1822,16 @@ to {
|
|
|
1818
1822
|
position: absolute;
|
|
1819
1823
|
top: -0.25rem;
|
|
1820
1824
|
right: -0.25rem;
|
|
1821
|
-
`;var
|
|
1825
|
+
`;var lt=require("@emotion/react/jsx-runtime"),qs=({count:e})=>{let t=e>99?(0,lt.jsxs)("span",{css:Ga,title:`${e}`,children:["99",(0,lt.jsx)(L,{icon:"math-plus",iconColor:"currentColor",size:"0.5rem",css:Fa})]}):e,r=e===0?(0,lt.jsx)("span",{css:Oa,title:`${e}`}):t;return(0,lt.jsx)("div",{css:$a,children:r})};var qe=x(require("react"));var ct=require("@emotion/react");var Na=ct.css`
|
|
1822
1826
|
&[open] {
|
|
1823
1827
|
& > summary svg {
|
|
1824
1828
|
rotate: 0deg;
|
|
1825
1829
|
}
|
|
1826
1830
|
}
|
|
1827
|
-
`,Ua=
|
|
1831
|
+
`,Ua=ct.css`
|
|
1828
1832
|
animation: ${Jt} var(--duration-fast) var(--timing-ease-out) forwards;
|
|
1829
1833
|
will-change: height;
|
|
1830
|
-
`,_a=
|
|
1834
|
+
`,_a=ct.css`
|
|
1831
1835
|
align-items: center;
|
|
1832
1836
|
display: grid;
|
|
1833
1837
|
grid-template-columns: 1.25rem 1fr;
|
|
@@ -1839,7 +1843,7 @@ to {
|
|
|
1839
1843
|
&::-webkit-details-marker {
|
|
1840
1844
|
display: none;
|
|
1841
1845
|
}
|
|
1842
|
-
`,Xa=
|
|
1846
|
+
`,Xa=ct.css`
|
|
1843
1847
|
transition: rotate var(--duration-fast) var(--timing-ease-out);
|
|
1844
1848
|
rotate: -90deg;
|
|
1845
|
-
`;var
|
|
1849
|
+
`;var dt=require("@emotion/react/jsx-runtime"),Ys=({summary:e,children:t,isOpenByDefault:r=!1,...o})=>{let n=qe.useRef(null),[i,s]=qe.useState(r);return qe.useEffect(()=>{var p;if(!n)return;let c=()=>{var m;let d=Boolean((m=n==null?void 0:n.current)==null?void 0:m.open);s(d)};(p=n.current)==null||p.addEventListener("toggle",c)},[n]),(0,dt.jsxs)("details",{"data-testid":"details",css:Na,open:i,ref:n,...o,children:[(0,dt.jsxs)("summary",{"data-testid":"summary",css:_a,children:[(0,dt.jsx)(L,{css:Xa,icon:"chevron-down",iconColor:"currentColor",size:"1.25rem"}),e]}),i?(0,dt.jsx)("div",{"data-testid":"details-content",css:Ua,children:t}):null]})};0&&(module.exports={AddButton,AddListButton,Badge,Button,ButtonWithMenu,Callout,Caption,Card,CardContainer,CheckboxWithInfo,Counter,CreateTeamIntegrationTile,DashedBox,Details,Drawer,DrawerProvider,DrawerRenderer,EditTeamIntegrationTile,ErrorMessage,Fieldset,Heading,HexModalBackground,Icon,IconsProvider,InlineAlert,Input,InputComboBox,InputInlineSelect,InputKeywordSearch,InputSelect,InputToggle,IntegrationComingSoon,IntegrationHeaderSection,IntegrationLoadingTile,IntegrationModalHeader,IntegrationModalIcon,IntegrationTile,Label,Legend,LimitsBar,Link,LinkList,LinkWithRef,LoadingIcon,LoadingIndicator,LoadingOverlay,Menu,MenuContext,MenuItem,MenuItemSeparator,PageHeaderSection,Paragraph,ResolveIcon,ScrollableList,ScrollableListItem,ShortcutContext,ShortcutRevealer,StatusBullet,Switch,TabButton,TabButtonGroup,TabContent,Table,TableBody,TableCellData,TableCellHead,TableFoot,TableHead,TableRow,Tabs,Textarea,Theme,TileContainer,UniformBadge,UniformLogo,WarningMessage,breakpoints,button,buttonGhost,buttonPrimary,buttonRippleEffect,buttonSecondary,buttonSecondaryInvert,buttonTertiary,buttonUnimportant,fadeIn,fadeInBottom,fadeInLtr,fadeInRtl,fadeOutBottom,growSubtle,input,inputError,inputSelect,labelText,mq,ripple,scrollbarStyles,skeletonLoading,supports,useBreakpoint,useCurrentTab,useDrawer,useIconContext,useMenuContext});
|