jynko-kit 1.0.1 → 1.1.0

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 CHANGED
@@ -1,93 +1,93 @@
1
- Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("react"),t=require("styled-components"),n=require("react/jsx-runtime"),r=require("react-dom"),i=require("react-router-dom");function a(e,t){return`color-mix(in srgb, ${e} 88%, ${t})`}var o={bg:`#0f172a`,surface:`#1e293b`,background:`#edf7f6`,text:`#0f172a`,muted:`#94a3b8`,primary:`#38bdf8`,primaryHover:`#7dd3fc`,primaryText:`#0f172a`,secondary:`#334155`,secondaryHover:`#475569`,ink:`#000000`,error:`#dc2626`,success:`#16a34a`,warning:`#d97706`},s=`30px`,c={width:`3px`,offset:`2px`,colorMix:`45%`},l={regular:400,semibold:600,bold:700},u={colors:o,opacity:{disabled:.6,disabledButton:.55},radius:{sm:`6px`,md:`10px`,lg:`16px`,full:`9999px`},space:{xs:`0.25rem`,sm:`0.5rem`,md:`0.75rem`,lg:`1rem`,inset:`10px`,components:{button:{sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`},badge:{sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`},link:{sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`},iconButton:{sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`},iconLink:{sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`}}},font:{sans:`'Segoe UI', system-ui, -apple-system, sans-serif`,weight:l},typography:{fallback:`1rem`,h1:`2.5rem`,h2:`2rem`,h3:`1.75rem`,h4:`1.5rem`,h5:`1.25rem`,h6:`1.125rem`,small:`0.875rem`,sub:`0.75rem`,sup:`0.75rem`},avatar:{border:`2px solid ${o.ink}`,borderRadius:`50%`,fontWeight:l.semibold,sizes:{sm:{diameter:`32px`,fontSize:`12px`},md:{diameter:`40px`,fontSize:`14px`},lg:{diameter:`48px`,fontSize:`16px`}}},icon:{sizes:{sm:`1rem`,md:`1.25rem`,lg:`1.5rem`}},logo:{size:`36px`,fontSize:`1rem`,fontWeight:l.bold,whiteSpace:`nowrap`},sidebar:{width:{compact:`64px`,extended:`240px`},height:{fallback:`100vh`,dynamic:`100dvh`},border:`2px solid ${o.ink}`,borderRadius:`16px`},camera:{border:`2px solid ${o.ink}`,borderRadius:`12px`,nameBorderRadius:`4px`,nameMaxWidthOffset:`64px`,fallbackFontSize:`clamp(2rem, 8vw, 5rem)`,fallbackFontWeight:l.bold},shadow:{offsetX:`2px`,offsetY:`3px`,button:`2px 3px 0 0 ${o.ink}`,link:`2px 3px 0 0 ${o.ink}`,navLinks:`2px 3px 0 0 ${o.ink}`,section:`3px 5px 0 0 ${o.ink}`,modal:`3px 5px 0 0 ${o.ink}`,sidebar:`3px 5px 0 0 ${o.ink}`},button:{border:`2px solid ${o.ink}`,borderRadius:`8px`,focus:c,padding:`16px`,fontSize:`14px`,textDecoration:`none`,textTransform:`uppercase`},iconButton:{border:`2px solid ${o.ink}`,borderRadius:`8px`,focus:c},iconLink:{border:`2px solid ${o.ink}`,borderRadius:`8px`,focus:c},badge:{border:`2px solid ${o.ink}`,borderRadius:`8px`,fontSize:`14px`,textTransform:`uppercase`},link:{border:`2px solid ${o.ink}`,borderRadius:`8px`,focus:c,padding:`16px`,fontSize:`14px`,textDecoration:`none`,textTransform:`uppercase`},navLinks:{border:`2px solid ${o.ink}`,borderRadius:`8px`,focus:c,padding:`0`,fontSize:`14px`,textDecoration:`none`,textTransform:`uppercase`,itemPadding:`16px`},formControl:{border:`2px solid ${o.ink}`,borderRadius:`8px`,padding:`16px`,height:`3.5rem`,textareaHeight:`3rem`,dropdownBorder:`2px solid ${o.ink}`,optionListMaxHeight:`16rem`,focus:c,trailingActionPadding:`3.25rem`,fontSize:`14px`,optionTextTransform:`none`},userBadge:{focus:c,textDecoration:`none`},section:{border:`2px solid ${o.ink}`,borderRadius:`16px`,padding:s},modal:{padding:s,maxWidth:`720px`,maxHeight:`80vh`,border:`2px solid ${o.ink}`,borderRadius:`16px`,title:{fontSize:`1.25rem`,fontWeight:l.semibold},body:{fontSize:`1rem`}}};function d(e){return e?.colors?e:u}var f=t.styled.span`
1
+ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("react"),t=require("styled-components"),n=require("react/jsx-runtime"),r=require("lucide-react"),i=require("react-dom"),a=require("react-router-dom");function o(e,t){return`color-mix(in srgb, ${e} 88%, ${t})`}var s={bg:`#0f172a`,surface:`#1e293b`,background:`#edf7f6`,text:`#0f172a`,muted:`#94a3b8`,primary:`#38bdf8`,primaryHover:`#7dd3fc`,primaryText:`#0f172a`,secondary:`#334155`,secondaryHover:`#475569`,ink:`#000000`,error:`#dc2626`,success:`#16a34a`,warning:`#d97706`},c=`30px`,l={width:`3px`,offset:`2px`,colorMix:`45%`},u={regular:400,semibold:600,bold:700},d={colors:s,opacity:{disabled:.6,disabledButton:.55},radius:{sm:`6px`,md:`10px`,lg:`16px`,full:`9999px`},space:{xs:`0.25rem`,sm:`0.5rem`,md:`0.75rem`,lg:`1rem`,inset:`10px`,components:{button:{sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`},badge:{sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`},link:{sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`},iconButton:{sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`},iconLink:{sm:`0.25rem`,md:`0.5rem`,lg:`0.75rem`}}},font:{sans:`'Segoe UI', system-ui, -apple-system, sans-serif`,weight:u},typography:{fallback:`1rem`,h1:`2.5rem`,h2:`2rem`,h3:`1.75rem`,h4:`1.5rem`,h5:`1.25rem`,h6:`1.125rem`,small:`0.875rem`,sub:`0.75rem`,sup:`0.75rem`},avatar:{border:`2px solid ${s.ink}`,borderRadius:`50%`,fontWeight:u.semibold,sizes:{sm:{diameter:`32px`,fontSize:`12px`},md:{diameter:`40px`,fontSize:`14px`},lg:{diameter:`48px`,fontSize:`16px`}}},icon:{sizes:{sm:`1rem`,md:`1.25rem`,lg:`1.5rem`}},logo:{size:`36px`,fontSize:`1rem`,fontWeight:u.bold,whiteSpace:`nowrap`},sidebar:{width:{compact:`64px`,extended:`240px`},height:{fallback:`100vh`,dynamic:`100dvh`},border:`2px solid ${s.ink}`,borderRadius:`16px`},camera:{border:`2px solid ${s.ink}`,borderRadius:`12px`,nameBorderRadius:`4px`,nameMaxWidthOffset:`64px`,fallbackFontSize:`clamp(2rem, 8vw, 5rem)`,fallbackFontWeight:u.bold},shadow:{offsetX:`2px`,offsetY:`3px`,button:`2px 3px 0 0 ${s.ink}`,link:`2px 3px 0 0 ${s.ink}`,navLinks:`2px 3px 0 0 ${s.ink}`,section:`3px 5px 0 0 ${s.ink}`,modal:`3px 5px 0 0 ${s.ink}`,sidebar:`3px 5px 0 0 ${s.ink}`},button:{border:`2px solid ${s.ink}`,borderRadius:`8px`,focus:l,padding:`16px`,fontSize:`14px`,textDecoration:`none`,textTransform:`uppercase`},iconButton:{border:`2px solid ${s.ink}`,borderRadius:`8px`,focus:l},iconLink:{border:`2px solid ${s.ink}`,borderRadius:`8px`,focus:l},badge:{border:`2px solid ${s.ink}`,borderRadius:`8px`,fontSize:`14px`,textTransform:`uppercase`},link:{border:`2px solid ${s.ink}`,borderRadius:`8px`,focus:l,padding:`16px`,fontSize:`14px`,textDecoration:`none`,textTransform:`uppercase`},navLinks:{border:`2px solid ${s.ink}`,borderRadius:`8px`,focus:l,padding:`0`,fontSize:`14px`,textDecoration:`none`,textTransform:`uppercase`,itemPadding:`16px`},formControl:{border:`2px solid ${s.ink}`,borderRadius:`8px`,padding:`8px`,textareaHeight:`3rem`,dropdownBorder:`2px solid ${s.ink}`,optionListMaxHeight:`16rem`,focus:l,trailingActionPadding:`3.25rem`,fontSize:`14px`,optionTextTransform:`none`},userBadge:{focus:l,textDecoration:`none`},section:{border:`2px solid ${s.ink}`,borderRadius:`16px`,padding:c},modal:{padding:c,maxWidth:`720px`,maxHeight:`80vh`,border:`2px solid ${s.ink}`,borderRadius:`16px`,title:{fontSize:`1.25rem`,fontWeight:u.semibold},body:{fontSize:`1rem`}}};function f(e){return e?.colors?e:d}var p=t.styled.span`
2
2
  display: inline-flex;
3
3
  flex: 0 0 auto;
4
4
  align-items: center;
5
5
  justify-content: center;
6
6
  overflow: hidden;
7
- border: ${({theme:e})=>d(e).avatar.border};
8
- border-radius: ${({theme:e})=>d(e).avatar.borderRadius};
9
- background: ${({theme:e})=>d(e).colors.secondary};
10
- color: ${({theme:e})=>d(e).colors.text};
11
- font-family: ${({theme:e})=>d(e).font.sans};
12
- font-weight: ${({theme:e})=>d(e).avatar.fontWeight};
13
- width: ${({$size:e,theme:t})=>d(t).avatar.sizes[e].diameter};
14
- height: ${({$size:e,theme:t})=>d(t).avatar.sizes[e].diameter};
15
- font-size: ${({$size:e,theme:t})=>d(t).avatar.sizes[e].fontSize};
7
+ border: ${({theme:e})=>f(e).avatar.border};
8
+ border-radius: ${({theme:e})=>f(e).avatar.borderRadius};
9
+ background: ${({theme:e})=>f(e).colors.secondary};
10
+ color: ${({theme:e})=>f(e).colors.text};
11
+ font-family: ${({theme:e})=>f(e).font.sans};
12
+ font-weight: ${({theme:e})=>f(e).avatar.fontWeight};
13
+ width: ${({$size:e,theme:t})=>f(t).avatar.sizes[e].diameter};
14
+ height: ${({$size:e,theme:t})=>f(t).avatar.sizes[e].diameter};
15
+ font-size: ${({$size:e,theme:t})=>f(t).avatar.sizes[e].fontSize};
16
16
 
17
17
  & > img {
18
18
  width: 100%;
19
19
  height: 100%;
20
20
  object-fit: cover;
21
21
  }
22
- `;function p({firstName:t,lastName:r,src:i,alt:a,size:o=`md`,...s}){let[c,l]=(0,e.useState)(),u=`${t} ${r}`.trim(),d=a??u,p=`${t.charAt(0)}${r.charAt(0)}`.toUpperCase(),m=!!(i&&c!==i);return(0,n.jsx)(f,{$size:o,role:m?void 0:`img`,"aria-label":m?void 0:d,...s,children:m?(0,n.jsx)(`img`,{src:i,alt:d,onError:()=>{l(i)}}):p})}var m=t.css`
22
+ `;function m({firstName:t,lastName:r,src:i,alt:a,size:o=`md`,...s}){let[c,l]=(0,e.useState)(),u=`${t} ${r}`.trim(),d=a??u,f=`${t.charAt(0)}${r.charAt(0)}`.toUpperCase(),m=!!(i&&c!==i);return(0,n.jsx)(p,{$size:o,role:m?void 0:`img`,"aria-label":m?void 0:d,...s,children:m?(0,n.jsx)(`img`,{src:i,alt:d,onError:()=>{l(i)}}):f})}var h=t.css`
23
23
  display: grid;
24
- gap: ${({theme:e})=>d(e).space.sm};
24
+ gap: ${({theme:e})=>f(e).space.sm};
25
25
  width: 100%;
26
- `,h=e=>({sm:t.css`
27
- padding: ${({theme:t})=>d(t).space.components[e].sm};
26
+ `,g=e=>({sm:t.css`
27
+ padding: ${({theme:t})=>f(t).space.components[e].sm};
28
28
  `,md:t.css`
29
- padding: ${({theme:t})=>d(t).space.components[e].md};
29
+ padding: ${({theme:t})=>f(t).space.components[e].md};
30
30
  `,lg:t.css`
31
- padding: ${({theme:t})=>d(t).space.components[e].lg};
32
- `}),g=t.css`
33
- padding: ${({theme:e})=>`${d(e).space.md} ${d(e).space.lg}`};
34
- `,_=e=>t.css`
31
+ padding: ${({theme:t})=>f(t).space.components[e].lg};
32
+ `}),_=t.css`
33
+ padding: ${({theme:e})=>f(e).formControl.padding};
34
+ `,v=e=>t.css`
35
35
  &:focus-visible {
36
- outline: ${({theme:t})=>`${d(t)[e].focus.width} solid color-mix(in srgb, ${d(t).colors.primary} ${d(t)[e].focus.colorMix}, transparent)`};
37
- outline-offset: ${({theme:t})=>d(t)[e].focus.offset};
36
+ outline: ${({theme:t})=>`${f(t)[e].focus.width} solid color-mix(in srgb, ${f(t).colors.primary} ${f(t)[e].focus.colorMix}, transparent)`};
37
+ outline-offset: ${({theme:t})=>f(t)[e].focus.offset};
38
38
  }
39
- `,v=h(`badge`),y={default:t.css`
40
- background: ${({theme:e})=>d(e).colors.secondary};
41
- color: ${({theme:e})=>d(e).colors.text};
39
+ `,y=g(`badge`),b={default:t.css`
40
+ background: ${({theme:e})=>f(e).colors.secondary};
41
+ color: ${({theme:e})=>f(e).colors.text};
42
42
  `,info:t.css`
43
- background: ${({theme:e})=>d(e).colors.primary};
44
- color: ${({theme:e})=>d(e).colors.primaryText};
43
+ background: ${({theme:e})=>f(e).colors.primary};
44
+ color: ${({theme:e})=>f(e).colors.primaryText};
45
45
  `,success:t.css`
46
- background: ${({theme:e})=>d(e).colors.success};
47
- color: ${({theme:e})=>d(e).colors.text};
46
+ background: ${({theme:e})=>f(e).colors.success};
47
+ color: ${({theme:e})=>f(e).colors.text};
48
48
  `,warning:t.css`
49
- background: ${({theme:e})=>d(e).colors.warning};
50
- color: ${({theme:e})=>d(e).colors.text};
49
+ background: ${({theme:e})=>f(e).colors.warning};
50
+ color: ${({theme:e})=>f(e).colors.text};
51
51
  `,error:t.css`
52
- background: ${({theme:e})=>d(e).colors.error};
53
- color: ${({theme:e})=>d(e).colors.text};
54
- `},b=t.styled.span`
52
+ background: ${({theme:e})=>f(e).colors.error};
53
+ color: ${({theme:e})=>f(e).colors.text};
54
+ `},x=t.styled.span`
55
55
  display: inline-flex;
56
56
  align-items: center;
57
57
  justify-content: center;
58
- gap: ${({theme:e})=>d(e).space.sm};
59
- border: ${({theme:e})=>d(e).badge.border};
60
- border-radius: ${({theme:e})=>d(e).badge.borderRadius};
61
- font-family: ${({theme:e})=>d(e).font.sans};
62
- font-size: ${({theme:e})=>d(e).badge.fontSize};
63
- font-weight: ${({theme:e})=>d(e).font.weight.semibold};
64
- text-transform: ${({theme:e})=>d(e).badge.textTransform};
65
-
66
- ${({$size:e})=>v[e]}
67
- ${({$variant:e})=>y[e]}
68
- `;function x({children:e,size:t=`md`,variant:r=`default`,...i}){return(0,n.jsx)(b,{$size:t,$variant:r,...i,children:e})}var S=150;function C({disabled:t,onPointerDown:n,onPointerUp:r,onPointerCancel:i,onLostPointerCapture:a}){let[o,s]=(0,e.useState)(!1),c=(0,e.useRef)(0),l=(0,e.useRef)(null);(0,e.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]);let u=()=>{l.current&&clearTimeout(l.current)},d=()=>{if(!c.current)return;let e=performance.now()-c.current,t=Math.max(0,S-e);u(),l.current=setTimeout(()=>{s(!1),c.current=0,l.current=null},t)};return{pressed:o,pressHandlers:{onPointerDown:e=>{n?.(e),e.defaultPrevented||t||e.button!==0||(e.currentTarget.setPointerCapture(e.pointerId),u(),c.current=performance.now(),s(!0))},onPointerUp:e=>{r?.(e),d()},onPointerCancel:e=>{i?.(e),d()},onLostPointerCapture:e=>{a?.(e),d()}}}}var w=h(`button`),T={primary:t.css`
69
- background: ${({theme:e})=>d(e).colors.primary};
70
- color: ${({theme:e})=>d(e).colors.primaryText};
58
+ gap: ${({theme:e})=>f(e).space.sm};
59
+ border: ${({theme:e})=>f(e).badge.border};
60
+ border-radius: ${({theme:e})=>f(e).badge.borderRadius};
61
+ font-family: ${({theme:e})=>f(e).font.sans};
62
+ font-size: ${({theme:e})=>f(e).badge.fontSize};
63
+ font-weight: ${({theme:e})=>f(e).font.weight.semibold};
64
+ text-transform: ${({theme:e})=>f(e).badge.textTransform};
65
+
66
+ ${({$size:e})=>y[e]}
67
+ ${({$variant:e})=>b[e]}
68
+ `;function S({children:e,size:t=`md`,variant:r=`default`,...i}){return(0,n.jsx)(x,{$size:t,$variant:r,...i,children:e})}var C=150;function w({disabled:t,onPointerDown:n,onPointerUp:r,onPointerCancel:i,onLostPointerCapture:a}){let[o,s]=(0,e.useState)(!1),c=(0,e.useRef)(0),l=(0,e.useRef)(null);(0,e.useEffect)(()=>()=>{l.current&&clearTimeout(l.current)},[]);let u=()=>{l.current&&clearTimeout(l.current)},d=()=>{if(!c.current)return;let e=performance.now()-c.current,t=Math.max(0,C-e);u(),l.current=setTimeout(()=>{s(!1),c.current=0,l.current=null},t)};return{pressed:o,pressHandlers:{onPointerDown:e=>{n?.(e),e.defaultPrevented||t||e.button!==0||(e.currentTarget.setPointerCapture(e.pointerId),u(),c.current=performance.now(),s(!0))},onPointerUp:e=>{r?.(e),d()},onPointerCancel:e=>{i?.(e),d()},onLostPointerCapture:e=>{a?.(e),d()}}}}var T=g(`button`),E={primary:t.css`
69
+ background: ${({theme:e})=>f(e).colors.primary};
70
+ color: ${({theme:e})=>f(e).colors.primaryText};
71
71
 
72
72
  &:hover:not(:disabled) {
73
- background: ${({theme:e})=>a(d(e).colors.primary,d(e).colors.ink)};
73
+ background: ${({theme:e})=>o(f(e).colors.primary,f(e).colors.ink)};
74
74
  }
75
75
  `,secondary:t.css`
76
- background: ${({theme:e})=>d(e).colors.secondary};
77
- color: ${({theme:e})=>d(e).colors.text};
76
+ background: ${({theme:e})=>f(e).colors.secondary};
77
+ color: ${({theme:e})=>f(e).colors.text};
78
78
 
79
79
  &:hover:not(:disabled) {
80
- background: ${({theme:e})=>a(d(e).colors.secondary,d(e).colors.ink)};
80
+ background: ${({theme:e})=>o(f(e).colors.secondary,f(e).colors.ink)};
81
81
  }
82
- `},E=t.css`
82
+ `},D=t.css`
83
83
  display: inline-flex;
84
84
  align-items: center;
85
85
  justify-content: center;
86
- gap: ${({theme:e})=>d(e).space.sm};
87
- font-family: ${({theme:e})=>d(e).font.sans};
88
- font-size: ${({theme:e})=>d(e).button.fontSize};
89
- font-weight: ${({theme:e})=>d(e).font.weight.semibold};
90
- text-transform: ${({theme:e})=>d(e).button.textTransform};
86
+ gap: ${({theme:e})=>f(e).space.sm};
87
+ font-family: ${({theme:e})=>f(e).font.sans};
88
+ font-size: ${({theme:e})=>f(e).button.fontSize};
89
+ font-weight: ${({theme:e})=>f(e).font.weight.semibold};
90
+ text-transform: ${({theme:e})=>f(e).button.textTransform};
91
91
  cursor: pointer;
92
92
  transition:
93
93
  background-color 0.15s ease,
@@ -95,96 +95,96 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
95
95
  box-shadow 0.15s ease;
96
96
  white-space: nowrap;
97
97
 
98
- ${_(`button`)}
98
+ ${v(`button`)}
99
99
 
100
100
  &:disabled {
101
- opacity: ${({theme:e})=>d(e).opacity.disabledButton};
101
+ opacity: ${({theme:e})=>f(e).opacity.disabledButton};
102
102
  cursor: not-allowed;
103
103
  }
104
- `,D=t.css`
105
- border: ${({theme:e})=>d(e).button.border};
106
- box-shadow: ${({theme:e})=>d(e).shadow.button};
104
+ `,O=t.css`
105
+ border: ${({theme:e})=>f(e).button.border};
106
+ box-shadow: ${({theme:e})=>f(e).shadow.button};
107
107
 
108
108
  &:active:not(:disabled),
109
109
  &[data-pressed='true']:not(:disabled),
110
110
  &:disabled {
111
- transform: ${({theme:e})=>`translate(${d(e).shadow.offsetX}, ${d(e).shadow.offsetY})`};
111
+ transform: ${({theme:e})=>`translate(${f(e).shadow.offsetX}, ${f(e).shadow.offsetY})`};
112
112
  box-shadow: none;
113
113
  }
114
- `,O=t.css`
115
- border-radius: ${({theme:e})=>d(e).button.borderRadius};
116
114
  `,k=t.css`
117
- padding: ${({theme:e})=>d(e).button.padding};
118
- `,A=t.styled.button`
119
- ${E}
115
+ border-radius: ${({theme:e})=>f(e).button.borderRadius};
116
+ `,A=t.css`
117
+ padding: ${({theme:e})=>f(e).button.padding};
118
+ `,j=t.styled.button`
120
119
  ${D}
121
120
  ${O}
122
121
  ${k}
123
- ${({$variant:e})=>T[e]}
124
- ${({$size:e})=>w[e]}
125
- `;function j({children:e,variant:t=`primary`,size:r=`md`,type:i=`button`,disabled:a,onPointerDown:o,onPointerUp:s,onPointerCancel:c,onLostPointerCapture:l,...u}){let{pressed:d,pressHandlers:f}=C({disabled:a,onPointerDown:o,onPointerUp:s,onPointerCancel:c,onLostPointerCapture:l});return(0,n.jsx)(A,{$size:r,$variant:t,type:i,disabled:a,"data-pressed":d?`true`:void 0,...u,...f,children:e})}var M={default:e=>d(e).colors.text,error:e=>d(e).colors.error,success:e=>d(e).colors.success,warning:e=>d(e).colors.warning},N=t.styled.span`
122
+ ${A}
123
+ ${({$variant:e})=>E[e]}
124
+ ${({$size:e})=>T[e]}
125
+ `;function M({children:e,variant:t=`primary`,size:r=`md`,type:i=`button`,disabled:a,onPointerDown:o,onPointerUp:s,onPointerCancel:c,onLostPointerCapture:l,...u}){let{pressed:d,pressHandlers:f}=w({disabled:a,onPointerDown:o,onPointerUp:s,onPointerCancel:c,onLostPointerCapture:l});return(0,n.jsx)(j,{$size:r,$variant:t,type:i,disabled:a,"data-pressed":d?`true`:void 0,...u,...f,children:e})}var N={default:e=>f(e).colors.text,error:e=>f(e).colors.error,success:e=>f(e).colors.success,warning:e=>f(e).colors.warning},P=t.styled.span`
126
126
  display: inline-flex;
127
- width: ${({$size:e,theme:t})=>d(t).icon.sizes[e]};
128
- height: ${({$size:e,theme:t})=>d(t).icon.sizes[e]};
127
+ width: ${({$size:e,theme:t})=>f(t).icon.sizes[e]};
128
+ height: ${({$size:e,theme:t})=>f(t).icon.sizes[e]};
129
129
  flex: 0 0 auto;
130
130
  align-items: center;
131
131
  justify-content: center;
132
- color: ${({$type:e,theme:t})=>M[e](t)};
132
+ color: ${({$type:e,theme:t})=>N[e](t)};
133
133
 
134
134
  & > svg {
135
135
  display: block;
136
136
  width: 100%;
137
137
  height: 100%;
138
138
  }
139
- `;function P({children:e,size:t=`md`,type:r=`default`,title:i,"aria-label":a,...o}){let s=i??a;return(0,n.jsx)(N,{$size:t,$type:r,"aria-hidden":!s||void 0,"aria-label":s,role:s?`img`:void 0,title:i,...o,children:e})}var F=h(`iconButton`),I={primary:t.css`
140
- background: ${({theme:e})=>d(e).colors.primary};
141
- color: ${({theme:e})=>d(e).colors.primaryText};
139
+ `;function F({icon:e,children:t,size:r=`md`,type:i=`default`,title:a,"aria-label":o,...s}){let c=a??o;return(0,n.jsx)(P,{$size:r,$type:i,"aria-hidden":!c||void 0,"aria-label":c,role:c?`img`:void 0,title:a,...s,children:e?(0,n.jsx)(e,{"aria-hidden":!0,focusable:!1}):t})}var I=g(`iconButton`),L={primary:t.css`
140
+ background: ${({theme:e})=>f(e).colors.primary};
141
+ color: ${({theme:e})=>f(e).colors.primaryText};
142
142
 
143
143
  &:hover:not(:disabled) {
144
- background: ${({theme:e})=>a(d(e).colors.primary,d(e).colors.ink)};
144
+ background: ${({theme:e})=>o(f(e).colors.primary,f(e).colors.ink)};
145
145
  }
146
146
  `,secondary:t.css`
147
- background: ${({theme:e})=>d(e).colors.secondary};
148
- color: ${({theme:e})=>d(e).colors.text};
147
+ background: ${({theme:e})=>f(e).colors.secondary};
148
+ color: ${({theme:e})=>f(e).colors.text};
149
149
 
150
150
  &:hover:not(:disabled) {
151
- background: ${({theme:e})=>a(d(e).colors.secondary,d(e).colors.ink)};
151
+ background: ${({theme:e})=>o(f(e).colors.secondary,f(e).colors.ink)};
152
152
  }
153
- `},L=t.css`
153
+ `},R=t.css`
154
154
  display: inline-flex;
155
155
  align-items: center;
156
156
  justify-content: center;
157
- gap: ${({theme:e})=>d(e).space.sm};
158
- font-family: ${({theme:e})=>d(e).font.sans};
159
- font-size: ${({theme:e})=>d(e).button.fontSize};
160
- font-weight: ${({theme:e})=>d(e).font.weight.semibold};
161
- text-transform: ${({theme:e})=>d(e).button.textTransform};
157
+ gap: ${({theme:e})=>f(e).space.sm};
158
+ font-family: ${({theme:e})=>f(e).font.sans};
159
+ font-size: ${({theme:e})=>f(e).button.fontSize};
160
+ font-weight: ${({theme:e})=>f(e).font.weight.semibold};
161
+ text-transform: ${({theme:e})=>f(e).button.textTransform};
162
162
  cursor: pointer;
163
163
  transition:
164
164
  background-color 0.15s ease,
165
165
  transform 0.15s ease,
166
166
  box-shadow 0.15s ease;
167
167
 
168
- ${_(`iconButton`)}
168
+ ${v(`iconButton`)}
169
169
 
170
170
  &:disabled {
171
- opacity: ${({theme:e})=>d(e).opacity.disabledButton};
171
+ opacity: ${({theme:e})=>f(e).opacity.disabledButton};
172
172
  cursor: not-allowed;
173
173
  }
174
- `,R=t.css`
175
- border: ${({theme:e})=>d(e).iconButton.border};
176
- box-shadow: ${({theme:e})=>d(e).shadow.button};
174
+ `,z=t.css`
175
+ border: ${({theme:e})=>f(e).iconButton.border};
176
+ box-shadow: ${({theme:e})=>f(e).shadow.button};
177
177
 
178
178
  &:active:not(:disabled),
179
179
  &[data-pressed='true']:not(:disabled),
180
180
  &:disabled {
181
- transform: ${({theme:e})=>`translate(${d(e).shadow.offsetX}, ${d(e).shadow.offsetY})`};
181
+ transform: ${({theme:e})=>`translate(${f(e).shadow.offsetX}, ${f(e).shadow.offsetY})`};
182
182
  box-shadow: none;
183
183
  }
184
- `,z={square:t.css`
185
- border-radius: ${({theme:e})=>d(e).iconButton.borderRadius};
184
+ `,B={square:t.css`
185
+ border-radius: ${({theme:e})=>f(e).iconButton.borderRadius};
186
186
  `,rounded:t.css`
187
- border-radius: ${({theme:e})=>d(e).radius.full};
187
+ border-radius: ${({theme:e})=>f(e).radius.full};
188
188
  `},ee=t.css`
189
189
  background: transparent;
190
190
  border: none;
@@ -196,60 +196,60 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
196
196
  transform: none;
197
197
  box-shadow: none;
198
198
  }
199
- `;function B(e,t){return`color-mix(in srgb, ${e} ${t}, transparent)`}var te={primary:t.css`
200
- color: ${({theme:e})=>d(e).colors.primary};
199
+ `;function V(e,t){return`color-mix(in srgb, ${e} ${t}, transparent)`}var te={primary:t.css`
200
+ color: ${({theme:e})=>f(e).colors.primary};
201
201
 
202
202
  &:hover:not(:disabled) {
203
- background: ${({theme:e})=>B(d(e).colors.primary,`18%`)};
203
+ background: ${({theme:e})=>V(f(e).colors.primary,`18%`)};
204
204
  }
205
205
 
206
206
  &:active:not(:disabled),
207
207
  &[data-pressed='true']:not(:disabled) {
208
- background: ${({theme:e})=>a(B(d(e).colors.primary,`18%`),d(e).colors.ink)};
208
+ background: ${({theme:e})=>o(V(f(e).colors.primary,`18%`),f(e).colors.ink)};
209
209
  }
210
210
  `,secondary:t.css`
211
- color: ${({theme:e})=>d(e).colors.text};
211
+ color: ${({theme:e})=>f(e).colors.text};
212
212
 
213
213
  &:hover:not(:disabled) {
214
- background: ${({theme:e})=>B(d(e).colors.text,`12%`)};
214
+ background: ${({theme:e})=>V(f(e).colors.text,`12%`)};
215
215
  }
216
216
 
217
217
  &:active:not(:disabled),
218
218
  &[data-pressed='true']:not(:disabled) {
219
- background: ${({theme:e})=>a(B(d(e).colors.text,`12%`),d(e).colors.ink)};
219
+ background: ${({theme:e})=>o(V(f(e).colors.text,`12%`),f(e).colors.ink)};
220
220
  }
221
- `},V=t.styled.button`
222
- ${L}
221
+ `},H=t.styled.button`
222
+ ${R}
223
223
  padding: 0;
224
224
  flex-shrink: 0;
225
225
 
226
- ${({$size:e})=>F[e]}
227
- ${({$shape:e})=>z[e]}
226
+ ${({$size:e})=>I[e]}
227
+ ${({$shape:e})=>B[e]}
228
228
  ${({$ghost:e,$variant:n})=>e?t.css`
229
229
  ${ee}
230
230
  ${te[n]}
231
231
  `:t.css`
232
- ${R}
233
- ${I[n]}
232
+ ${z}
233
+ ${L[n]}
234
234
  `}
235
- `;function H({children:e,variant:t=`primary`,size:r=`md`,shape:i=`square`,ghost:a=!1,type:o=`button`,disabled:s,ref:c,onPointerDown:l,onPointerUp:u,onPointerCancel:d,onLostPointerCapture:f,...p}){let{pressed:m,pressHandlers:h}=C({disabled:s,onPointerDown:l,onPointerUp:u,onPointerCancel:d,onLostPointerCapture:f});return(0,n.jsx)(V,{$ghost:a,$shape:i,$size:r,$variant:t,type:o,disabled:s,"data-pressed":m?`true`:void 0,ref:c,...p,...h,children:(0,n.jsx)(P,{size:r,style:{color:`inherit`},children:e})})}var ne=h(`iconLink`),re={primary:t.css`
236
- background: ${({theme:e})=>d(e).colors.primary};
237
- color: ${({theme:e})=>d(e).colors.primaryText};
235
+ `;function U({children:e,icon:t,variant:r=`primary`,size:i=`md`,shape:a=`square`,ghost:o=!1,type:s=`button`,disabled:c,ref:l,onPointerDown:u,onPointerUp:d,onPointerCancel:f,onLostPointerCapture:p,...m}){let{pressed:h,pressHandlers:g}=w({disabled:c,onPointerDown:u,onPointerUp:d,onPointerCancel:f,onLostPointerCapture:p});return(0,n.jsx)(H,{$ghost:o,$shape:a,$size:i,$variant:r,type:s,disabled:c,"data-pressed":h?`true`:void 0,ref:l,...m,...g,children:(0,n.jsx)(F,{icon:t,size:i,style:{color:`inherit`},children:e})})}var ne=g(`iconLink`),re={primary:t.css`
236
+ background: ${({theme:e})=>f(e).colors.primary};
237
+ color: ${({theme:e})=>f(e).colors.primaryText};
238
238
 
239
239
  &:hover {
240
- background: ${({theme:e})=>a(d(e).colors.primary,d(e).colors.ink)};
240
+ background: ${({theme:e})=>o(f(e).colors.primary,f(e).colors.ink)};
241
241
  }
242
242
  `,secondary:t.css`
243
- background: ${({theme:e})=>d(e).colors.secondary};
244
- color: ${({theme:e})=>d(e).colors.text};
243
+ background: ${({theme:e})=>f(e).colors.secondary};
244
+ color: ${({theme:e})=>f(e).colors.text};
245
245
 
246
246
  &:hover {
247
- background: ${({theme:e})=>a(d(e).colors.secondary,d(e).colors.ink)};
247
+ background: ${({theme:e})=>o(f(e).colors.secondary,f(e).colors.ink)};
248
248
  }
249
249
  `},ie={square:t.css`
250
- border-radius: ${({theme:e})=>d(e).iconLink.borderRadius};
250
+ border-radius: ${({theme:e})=>f(e).iconLink.borderRadius};
251
251
  `,rounded:t.css`
252
- border-radius: ${({theme:e})=>d(e).radius.full};
252
+ border-radius: ${({theme:e})=>f(e).radius.full};
253
253
  `},ae=t.css`
254
254
  background: transparent;
255
255
  border: none;
@@ -261,52 +261,52 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
261
261
  transform: none;
262
262
  box-shadow: none;
263
263
  }
264
- `;function U(e,t){return`color-mix(in srgb, ${e} ${t}, transparent)`}var oe={primary:t.css`
265
- color: ${({theme:e})=>d(e).colors.primary};
264
+ `;function W(e,t){return`color-mix(in srgb, ${e} ${t}, transparent)`}var oe={primary:t.css`
265
+ color: ${({theme:e})=>f(e).colors.primary};
266
266
 
267
267
  &:hover {
268
- background: ${({theme:e})=>U(d(e).colors.primary,`18%`)};
268
+ background: ${({theme:e})=>W(f(e).colors.primary,`18%`)};
269
269
  }
270
270
 
271
271
  &:active,
272
272
  &[data-pressed='true'] {
273
- background: ${({theme:e})=>a(U(d(e).colors.primary,`18%`),d(e).colors.ink)};
273
+ background: ${({theme:e})=>o(W(f(e).colors.primary,`18%`),f(e).colors.ink)};
274
274
  }
275
275
  `,secondary:t.css`
276
- color: ${({theme:e})=>d(e).colors.text};
276
+ color: ${({theme:e})=>f(e).colors.text};
277
277
 
278
278
  &:hover {
279
- background: ${({theme:e})=>U(d(e).colors.text,`12%`)};
279
+ background: ${({theme:e})=>W(f(e).colors.text,`12%`)};
280
280
  }
281
281
 
282
282
  &:active,
283
283
  &[data-pressed='true'] {
284
- background: ${({theme:e})=>a(U(d(e).colors.text,`12%`),d(e).colors.ink)};
284
+ background: ${({theme:e})=>o(W(f(e).colors.text,`12%`),f(e).colors.ink)};
285
285
  }
286
286
  `},se=t.styled.a`
287
287
  display: inline-flex;
288
288
  align-items: center;
289
289
  justify-content: center;
290
- gap: ${({theme:e})=>d(e).space.sm};
291
- font-family: ${({theme:e})=>d(e).font.sans};
292
- font-size: ${({theme:e})=>d(e).button.fontSize};
293
- font-weight: ${({theme:e})=>d(e).font.weight.semibold};
294
- text-transform: ${({theme:e})=>d(e).button.textTransform};
295
- text-decoration: ${({theme:e})=>d(e).button.textDecoration};
290
+ gap: ${({theme:e})=>f(e).space.sm};
291
+ font-family: ${({theme:e})=>f(e).font.sans};
292
+ font-size: ${({theme:e})=>f(e).button.fontSize};
293
+ font-weight: ${({theme:e})=>f(e).font.weight.semibold};
294
+ text-transform: ${({theme:e})=>f(e).button.textTransform};
295
+ text-decoration: ${({theme:e})=>f(e).button.textDecoration};
296
296
  cursor: pointer;
297
297
  transition:
298
298
  background-color 0.15s ease,
299
299
  transform 0.15s ease,
300
300
  box-shadow 0.15s ease;
301
301
 
302
- ${_(`iconLink`)}
302
+ ${v(`iconLink`)}
303
303
 
304
- border: ${({theme:e})=>d(e).iconLink.border};
305
- box-shadow: ${({theme:e})=>d(e).shadow.button};
304
+ border: ${({theme:e})=>f(e).iconLink.border};
305
+ box-shadow: ${({theme:e})=>f(e).shadow.button};
306
306
 
307
307
  &:active,
308
308
  &[data-pressed='true'] {
309
- transform: ${({theme:e})=>`translate(${d(e).shadow.offsetX}, ${d(e).shadow.offsetY})`};
309
+ transform: ${({theme:e})=>`translate(${f(e).shadow.offsetX}, ${f(e).shadow.offsetY})`};
310
310
  box-shadow: none;
311
311
  }
312
312
 
@@ -316,125 +316,124 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
316
316
  ${ae}
317
317
  ${oe[n]}
318
318
  `:re[n]}
319
- `;function W({children:e,variant:t=`primary`,size:r=`md`,shape:i=`square`,ghost:a=!1,onPointerDown:o,onPointerUp:s,onPointerCancel:c,onLostPointerCapture:l,...u}){let{pressed:d,pressHandlers:f}=C({onPointerDown:o,onPointerUp:s,onPointerCancel:c,onLostPointerCapture:l});return(0,n.jsx)(se,{$ghost:a,$shape:i,$size:r,$variant:t,"data-pressed":d?`true`:void 0,...u,...f,children:(0,n.jsx)(P,{size:r,style:{color:`inherit`},children:e})})}var G=t.css`
320
- color: ${({theme:e})=>d(e).colors.text};
321
- font-size: ${({theme:e})=>d(e).typography.small};
322
- font-weight: ${({theme:e})=>d(e).font.weight.semibold};
323
- `,K=t.css`
319
+ `;function G({children:e,icon:t,variant:r=`primary`,size:i=`md`,shape:a=`square`,ghost:o=!1,onPointerDown:s,onPointerUp:c,onPointerCancel:l,onLostPointerCapture:u,...d}){let{pressed:f,pressHandlers:p}=w({onPointerDown:s,onPointerUp:c,onPointerCancel:l,onLostPointerCapture:u});return(0,n.jsx)(se,{$ghost:o,$shape:a,$size:i,$variant:r,"data-pressed":f?`true`:void 0,...d,...p,children:(0,n.jsx)(F,{icon:t,size:i,style:{color:`inherit`},children:e})})}var K=t.css`
320
+ color: ${({theme:e})=>f(e).colors.text};
321
+ font-size: ${({theme:e})=>f(e).typography.small};
322
+ font-weight: ${({theme:e})=>f(e).font.weight.semibold};
323
+ `,ce=t.css`
324
324
  box-sizing: border-box;
325
325
  width: 100%;
326
- height: ${({theme:e})=>d(e).formControl.height};
327
- border: ${({theme:e})=>d(e).formControl.border};
328
- border-radius: ${({theme:e})=>d(e).formControl.borderRadius};
329
- padding: ${({theme:e,$hasTrailingAction:t})=>t?`${d(e).formControl.padding} ${d(e).formControl.trailingActionPadding} ${d(e).formControl.padding} ${d(e).formControl.padding}`:d(e).formControl.padding};
330
- background: ${({theme:e})=>d(e).colors.background};
331
- color: ${({theme:e})=>d(e).colors.text};
326
+ border: ${({theme:e})=>f(e).formControl.border};
327
+ border-radius: ${({theme:e})=>f(e).formControl.borderRadius};
328
+ padding: ${({theme:e,$hasTrailingAction:t})=>t?`${f(e).formControl.padding} ${f(e).formControl.trailingActionPadding} ${f(e).formControl.padding} ${f(e).formControl.padding}`:f(e).formControl.padding};
329
+ background: ${({theme:e})=>f(e).colors.background};
330
+ color: ${({theme:e})=>f(e).colors.text};
332
331
  font: inherit;
333
- font-size: ${({theme:e})=>d(e).formControl.fontSize};
332
+ font-size: ${({theme:e})=>f(e).formControl.fontSize};
334
333
 
335
- ${_(`formControl`)}
334
+ ${v(`formControl`)}
336
335
 
337
336
  &:disabled {
338
337
  cursor: not-allowed;
339
- opacity: ${({theme:e})=>d(e).opacity.disabled};
338
+ opacity: ${({theme:e})=>f(e).opacity.disabled};
340
339
  }
341
340
 
342
341
  ${({$invalid:e,theme:n})=>e&&t.css`
343
- border-color: ${d(n).colors.error};
342
+ border-color: ${f(n).colors.error};
344
343
  `}
345
344
 
346
345
  ${({$invalid:e,$warning:n,theme:r})=>!e&&n&&t.css`
347
- border-color: ${d(r).colors.warning};
346
+ border-color: ${f(r).colors.warning};
348
347
  `}
349
- `,ce=t.css`
350
- color: ${({theme:e,$type:t})=>d(e).colors[t]};
351
- font-size: ${({theme:e})=>d(e).typography.small};
352
- `,le=t.styled.div`
353
- ${m}
354
- `,ue=t.styled.label`
355
- ${G}
356
- `,de=t.styled.div`
357
- position: relative;
358
- `,fe=t.styled.input`
348
+ `,le=t.css`
349
+ color: ${({theme:e,$type:t})=>f(e).colors[t]};
350
+ font-size: ${({theme:e})=>f(e).typography.small};
351
+ `,ue=t.styled.div`
352
+ ${h}
353
+ `,de=t.styled.label`
359
354
  ${K}
355
+ `,fe=t.styled.div`
356
+ position: relative;
357
+ `,pe=t.styled.input`
358
+ ${ce}
360
359
 
361
360
  &:focus,
362
361
  &:focus-visible {
363
362
  ${({$invalid:e,$warning:n,theme:r})=>e?t.css`
364
- border-color: ${d(r).colors.error};
363
+ border-color: ${f(r).colors.error};
365
364
  `:n?t.css`
366
- border-color: ${d(r).colors.warning};
365
+ border-color: ${f(r).colors.warning};
367
366
  `:``}
368
367
  /* TODO: This prevents the outline from appearing when navigating with the Tab key */
369
368
  outline: none;
370
369
  }
371
- `,pe=(0,t.styled)(H)`
370
+ `,me=(0,t.styled)(U)`
372
371
  position: absolute;
373
372
  top: 50%;
374
- right: ${({theme:e})=>d(e).space.md};
373
+ right: ${({theme:e})=>f(e).space.md};
375
374
  translate: 0 -50%;
376
375
  `,q=t.styled.div`
377
- ${ce}
378
- `;function me({visible:e}){return(0,n.jsxs)(`svg`,{fill:`none`,viewBox:`0 0 24 24`,children:[(0,n.jsx)(`path`,{d:`M2.5 12s3.25-6 9.5-6 9.5 6 9.5 6-3.25 6-9.5 6-9.5-6-9.5-6Z`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.8`}),e?(0,n.jsx)(`path`,{d:`m3 3 18 18M10.6 10.6a2 2 0 0 0 2.8 2.8`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.8`}):(0,n.jsx)(`circle`,{cx:`12`,cy:`12`,r:`2.5`,stroke:`currentColor`,strokeWidth:`1.8`})]})}function he({type:t=`text`,id:r,label:i,error:a,warning:o,disabled:s,ref:c,"aria-describedby":l,"aria-invalid":u,...d}){let f=(0,e.useId)(),p=r??f,m=`${p}-error`,h=`${p}-warning`,[g,_]=(0,e.useState)(!1),v=!!a||u===!0||u===`true`,y=[l,a?m:void 0,o?h:void 0].filter(Boolean).join(` `)||void 0;return(0,n.jsxs)(le,{children:[i?(0,n.jsx)(ue,{htmlFor:p,children:i}):null,(0,n.jsxs)(de,{children:[(0,n.jsx)(fe,{...d,$hasTrailingAction:t===`password`,$invalid:v,$warning:!!o,"aria-describedby":y,"aria-invalid":v||void 0,disabled:s,id:p,ref:c,type:t===`password`&&g?`text`:t}),t===`password`?(0,n.jsx)(pe,{"aria-label":g?`Hide password`:`Show password`,"aria-pressed":g,disabled:s,ghost:!0,onClick:()=>{_(e=>!e)},shape:`rounded`,size:`md`,type:`button`,variant:`primary`,children:(0,n.jsx)(P,{size:`md`,style:{color:`inherit`},title:g?`Hide password`:`Show password`,children:(0,n.jsx)(me,{visible:g})})}):null]}),a?(0,n.jsx)(q,{$type:`error`,id:m,role:`alert`,children:a}):null,o?(0,n.jsx)(q,{$type:`warning`,id:h,role:`status`,children:o}):null]})}var ge=h(`link`),_e={primary:t.css`
379
- background: ${({theme:e})=>d(e).colors.primary};
380
- color: ${({theme:e})=>d(e).colors.primaryText};
376
+ ${le}
377
+ `;function he({type:t=`text`,id:i,label:a,error:o,warning:s,disabled:c,ref:l,"aria-describedby":u,"aria-invalid":d,...f}){let p=(0,e.useId)(),m=i??p,h=`${m}-error`,g=`${m}-warning`,[_,v]=(0,e.useState)(!1),y=!!o||d===!0||d===`true`,b=[u,o?h:void 0,s?g:void 0].filter(Boolean).join(` `)||void 0;return(0,n.jsxs)(ue,{children:[a?(0,n.jsx)(de,{htmlFor:m,children:a}):null,(0,n.jsxs)(fe,{children:[(0,n.jsx)(pe,{...f,$hasTrailingAction:t===`password`,$invalid:y,$warning:!!s,"aria-describedby":b,"aria-invalid":y||void 0,disabled:c,id:m,ref:l,type:t===`password`&&_?`text`:t}),t===`password`?(0,n.jsx)(me,{"aria-label":_?`Hide password`:`Show password`,"aria-pressed":_,disabled:c,ghost:!0,onClick:()=>{v(e=>!e)},shape:`rounded`,size:`sm`,type:`button`,variant:`primary`,icon:_?r.EyeOff:r.Eye}):null]}),o?(0,n.jsx)(q,{$type:`error`,id:h,role:`alert`,children:o}):null,s?(0,n.jsx)(q,{$type:`warning`,id:g,role:`status`,children:s}):null]})}var ge=g(`link`),_e={primary:t.css`
378
+ background: ${({theme:e})=>f(e).colors.primary};
379
+ color: ${({theme:e})=>f(e).colors.primaryText};
381
380
 
382
381
  &:hover:not(:disabled) {
383
- background: ${({theme:e})=>a(d(e).colors.primary,d(e).colors.ink)};
382
+ background: ${({theme:e})=>o(f(e).colors.primary,f(e).colors.ink)};
384
383
  }
385
384
  `,secondary:t.css`
386
- background: ${({theme:e})=>d(e).colors.secondary};
387
- color: ${({theme:e})=>d(e).colors.text};
385
+ background: ${({theme:e})=>f(e).colors.secondary};
386
+ color: ${({theme:e})=>f(e).colors.text};
388
387
 
389
388
  &:hover:not(:disabled) {
390
- background: ${({theme:e})=>a(d(e).colors.secondary,d(e).colors.ink)};
389
+ background: ${({theme:e})=>o(f(e).colors.secondary,f(e).colors.ink)};
391
390
  }
392
391
  `},ve=t.styled.a`
393
392
  display: inline-flex;
394
393
  align-items: center;
395
394
  justify-content: center;
396
- gap: ${({theme:e})=>d(e).space.sm};
397
- font-family: ${({theme:e})=>d(e).font.sans};
398
- font-size: ${({theme:e})=>d(e).link.fontSize};
399
- font-weight: ${({theme:e})=>d(e).font.weight.semibold};
400
- text-transform: ${({theme:e})=>d(e).link.textTransform};
401
- text-decoration: ${({theme:e})=>d(e).link.textDecoration};
395
+ gap: ${({theme:e})=>f(e).space.sm};
396
+ font-family: ${({theme:e})=>f(e).font.sans};
397
+ font-size: ${({theme:e})=>f(e).link.fontSize};
398
+ font-weight: ${({theme:e})=>f(e).font.weight.semibold};
399
+ text-transform: ${({theme:e})=>f(e).link.textTransform};
400
+ text-decoration: ${({theme:e})=>f(e).link.textDecoration};
402
401
  cursor: pointer;
403
402
  transition:
404
403
  background-color 0.15s ease,
405
404
  transform 0.15s ease,
406
405
  box-shadow 0.15s ease;
407
406
 
408
- ${_(`link`)}
407
+ ${v(`link`)}
409
408
 
410
- border: ${({theme:e})=>d(e).link.border};
411
- box-shadow: ${({theme:e})=>d(e).shadow.link};
412
- border-radius: ${({theme:e})=>d(e).link.borderRadius};
413
- padding: ${({theme:e})=>d(e).link.padding};
409
+ border: ${({theme:e})=>f(e).link.border};
410
+ box-shadow: ${({theme:e})=>f(e).shadow.link};
411
+ border-radius: ${({theme:e})=>f(e).link.borderRadius};
412
+ padding: ${({theme:e})=>f(e).link.padding};
414
413
 
415
414
  white-space: nowrap;
416
415
 
417
416
  &:active,
418
417
  &[data-pressed='true'] {
419
- transform: ${({theme:e})=>`translate(${d(e).shadow.offsetX}, ${d(e).shadow.offsetY})`};
418
+ transform: ${({theme:e})=>`translate(${f(e).shadow.offsetX}, ${f(e).shadow.offsetY})`};
420
419
  box-shadow: none;
421
420
  }
422
421
 
423
422
  ${({$variant:e})=>_e[e]}
424
423
  ${({$size:e})=>ge[e]}
425
- `;function J({children:e,variant:t=`primary`,size:r=`md`,onPointerDown:i,onPointerUp:a,onPointerCancel:o,onLostPointerCapture:s,...c}){let{pressed:l,pressHandlers:u}=C({onPointerDown:i,onPointerUp:a,onPointerCancel:o,onLostPointerCapture:s});return(0,n.jsx)(ve,{$size:r,$variant:t,"data-pressed":l?`true`:void 0,...c,...u,children:e})}var ye=t.styled.div`
426
- --logo-size: ${({theme:e})=>d(e).logo.size};
424
+ `;function J({children:e,variant:t=`primary`,size:r=`md`,onPointerDown:i,onPointerUp:a,onPointerCancel:o,onLostPointerCapture:s,...c}){let{pressed:l,pressHandlers:u}=w({onPointerDown:i,onPointerUp:a,onPointerCancel:o,onLostPointerCapture:s});return(0,n.jsx)(ve,{$size:r,$variant:t,"data-pressed":l?`true`:void 0,...c,...u,children:e})}var ye=t.styled.div`
425
+ --logo-size: ${({theme:e})=>f(e).logo.size};
427
426
 
428
427
  display: inline-flex;
429
428
  align-items: center;
430
429
  justify-content: center;
431
- gap: ${({theme:e})=>d(e).space.sm};
430
+ gap: ${({theme:e})=>f(e).space.sm};
432
431
  min-width: 0;
433
- color: ${({theme:e})=>d(e).colors.text};
434
- font-family: ${({theme:e})=>d(e).font.sans};
435
- font-size: ${({theme:e})=>d(e).logo.fontSize};
436
- font-weight: ${({theme:e})=>d(e).logo.fontWeight};
437
- white-space: ${({theme:e})=>d(e).logo.whiteSpace};
432
+ color: ${({theme:e})=>f(e).colors.text};
433
+ font-family: ${({theme:e})=>f(e).font.sans};
434
+ font-size: ${({theme:e})=>f(e).logo.fontSize};
435
+ font-weight: ${({theme:e})=>f(e).logo.fontWeight};
436
+ white-space: ${({theme:e})=>f(e).logo.whiteSpace};
438
437
 
439
438
  & > span:first-child > svg,
440
439
  & > span:first-child img {
@@ -446,8 +445,8 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
446
445
  }
447
446
 
448
447
  ${({$variant:e,theme:n})=>e===`icon`&&t.css`
449
- width: ${d(n).logo.size};
450
- height: ${d(n).logo.size};
448
+ width: ${f(n).logo.size};
449
+ height: ${f(n).logo.size};
451
450
  `}
452
451
  `,be=t.styled.span`
453
452
  overflow: hidden;
@@ -455,32 +454,31 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
455
454
  `;function xe({logo:e,name:t,variant:r=`full`,...i}){return(0,n.jsxs)(ye,{...i,$variant:r,role:r===`icon`?`img`:void 0,"aria-label":r===`icon`?t:i[`aria-label`],children:[(0,n.jsx)(`span`,{"aria-hidden":`true`,children:e}),r===`full`?(0,n.jsx)(be,{children:t}):null]})}var Se=t.css`
456
455
  box-sizing: border-box;
457
456
  width: 100%;
458
- height: ${({theme:e})=>d(e).formControl.height};
459
- border: ${({theme:e})=>d(e).formControl.border};
460
- border-radius: ${({theme:e})=>d(e).formControl.borderRadius};
461
- padding: ${({theme:e})=>d(e).formControl.padding};
462
- background: ${({theme:e})=>d(e).colors.background};
463
- color: ${({theme:e})=>d(e).colors.text};
457
+ border: ${({theme:e})=>f(e).formControl.border};
458
+ border-radius: ${({theme:e})=>f(e).formControl.borderRadius};
459
+ padding: ${({theme:e})=>f(e).formControl.padding};
460
+ background: ${({theme:e})=>f(e).colors.background};
461
+ color: ${({theme:e})=>f(e).colors.text};
464
462
  font: inherit;
465
- font-size: ${({theme:e})=>d(e).formControl.fontSize};
463
+ font-size: ${({theme:e})=>f(e).formControl.fontSize};
466
464
  `,Ce=t.styled.div`
467
- ${m}
465
+ ${h}
468
466
  `,we=t.styled.div`
469
467
  position: relative;
470
468
  `,Te=t.styled.input`
471
469
  ${Se}
472
- padding-right: ${({theme:e})=>d(e).formControl.trailingActionPadding};
470
+ padding-right: ${({theme:e})=>f(e).formControl.trailingActionPadding};
473
471
 
474
472
  /* TODO: Outline styles should be implemented for each form ui elements */
475
473
 
476
474
  &:disabled {
477
475
  cursor: not-allowed;
478
- opacity: ${({theme:e})=>d(e).opacity.disabled};
476
+ opacity: ${({theme:e})=>f(e).opacity.disabled};
479
477
  }
480
- `,Ee=(0,t.styled)(H)`
478
+ `,Ee=(0,t.styled)(U)`
481
479
  position: absolute;
482
480
  top: 50%;
483
- right: ${({theme:e})=>d(e).space.md};
481
+ right: ${({theme:e})=>f(e).space.md};
484
482
  translate: 0 -50%;
485
483
  `,De=t.styled.ul`
486
484
  position: absolute;
@@ -488,105 +486,113 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
488
486
  top: 100%;
489
487
  right: 0;
490
488
  left: 0;
491
- max-height: ${({theme:e})=>d(e).formControl.optionListMaxHeight};
489
+ max-height: ${({theme:e})=>f(e).formControl.optionListMaxHeight};
492
490
  margin: 0;
493
491
  padding: 0;
494
492
  overflow: auto;
495
- border: ${({theme:e})=>d(e).formControl.dropdownBorder};
496
- border-radius: ${({theme:e})=>d(e).formControl.borderRadius};
497
- background: ${({theme:e})=>d(e).colors.background};
493
+ border: ${({theme:e})=>f(e).formControl.dropdownBorder};
494
+ border-radius: ${({theme:e})=>f(e).formControl.borderRadius};
495
+ background: ${({theme:e})=>f(e).colors.background};
498
496
  list-style: none;
499
497
  `,Oe=t.styled.li`
500
- ${g}
501
- background: ${({theme:e,$active:t})=>t?d(e).colors.secondaryHover:`transparent`};
502
- color: ${({theme:e})=>d(e).colors.text};
498
+ ${_}
499
+ background: ${({theme:e,$active:t})=>t?f(e).colors.secondaryHover:`transparent`};
500
+ color: ${({theme:e})=>f(e).colors.text};
503
501
  cursor: pointer;
504
- `;function ke(){return(0,n.jsxs)(`svg`,{fill:`none`,viewBox:`0 0 24 24`,children:[(0,n.jsx)(`circle`,{cx:`10.8`,cy:`10.8`,r:`6.3`,stroke:`currentColor`,strokeWidth:`1.8`}),(0,n.jsx)(`path`,{d:`m15.5 15.5 4 4`,stroke:`currentColor`,strokeLinecap:`round`,strokeWidth:`1.8`})]})}function Ae({options:t,value:r,defaultValue:i=``,debounceMs:a=300,onSearch:o,onSelect:s,onChange:c,onFocus:l,onBlur:u,id:d,disabled:f,ref:p,...m}){let h=(0,e.useId)(),g=d??h,_=`${g}-options`,v=(0,e.useRef)(null),y=(0,e.useRef)(!1),b=(0,e.useRef)(null),[x,S]=(0,e.useState)(i),[C,w]=(0,e.useState)(!1),[T,E]=(0,e.useState)(-1),D=r??x,O=r!==void 0,k=D.trim().toLocaleLowerCase(),A=k?t.filter(e=>e.label.toLocaleLowerCase().includes(k)||String(e.value).toLocaleLowerCase().includes(k)):[],j=C&&A.length>0;(0,e.useEffect)(()=>{if(!y.current){y.current=!0;return}if(!o)return;let e=setTimeout(()=>{b.current=null,o(D)},a);return b.current=e,()=>{clearTimeout(e),b.current===e&&(b.current=null)}},[a,o,D]);let M=e=>{O||S(e.currentTarget.value),E(-1),c?.(e)},N=e=>{e.relatedTarget instanceof Node&&v.current?.querySelector(`[role="listbox"]`)?.contains(e.relatedTarget)||(w(!1),E(-1),u?.(e))},F=e=>{O||S(e.label),s?.(e),w(!1)},I=e=>{e.key===`ArrowDown`&&A.length>0?(e.preventDefault(),w(!0),E(e=>(e+1)%A.length)):e.key===`ArrowUp`&&A.length>0?(e.preventDefault(),w(!0),E(e=>e<=0?A.length-1:e-1)):e.key===`Enter`&&j&&A[T]?(e.preventDefault(),F(A[T])):e.key===`Escape`&&(w(!1),E(-1)),m.onKeyDown?.(e)};return(0,n.jsx)(Ce,{ref:v,children:(0,n.jsxs)(we,{children:[(0,n.jsx)(Te,{...m,"aria-activedescendant":j&&T>=0?`${_}-option-${String(T)}`:void 0,"aria-autocomplete":`list`,"aria-controls":j?_:void 0,"aria-expanded":j,"aria-haspopup":`listbox`,autoComplete:`off`,disabled:f,id:g,onBlur:N,onChange:M,onFocus:e=>{w(!0),l&&l(e)},onKeyDown:I,ref:p,role:`combobox`,value:D}),(0,n.jsx)(Ee,{"aria-label":`Search`,disabled:f,ghost:!0,onClick:()=>{b.current&&=(clearTimeout(b.current),null),o?.(D)},shape:`rounded`,size:`md`,type:`button`,variant:`primary`,children:(0,n.jsx)(P,{size:`md`,style:{color:`inherit`},title:`Search`,children:(0,n.jsx)(ke,{})})}),j?(0,n.jsx)(De,{id:_,role:`listbox`,children:A.map((e,t)=>(0,n.jsx)(Oe,{"aria-selected":t===T,id:`${_}-option-${String(t)}`,onClick:()=>{F(e)},onMouseDown:e=>{e.preventDefault()},role:`option`,$active:t===T,children:e.label},`${String(e.value)}-${e.label}`))}):null]})})}var je=t.styled.section`
505
- border: ${({theme:e})=>d(e).section.border};
506
- border-radius: ${({theme:e})=>d(e).section.borderRadius};
507
- padding: ${({theme:e})=>d(e).section.padding};
508
- background-color: ${({theme:e})=>d(e).colors.surface};
509
- box-shadow: ${({$shadow:e,theme:t})=>e?d(t).shadow.section:`none`};
510
- `;function Me({children:e,shadow:t=!1,...r}){return(0,n.jsx)(je,{$shadow:t,...r,children:e})}var Ne=t.css`
511
- color: ${({theme:e})=>d(e).colors.text};
512
- font-size: ${({theme:e})=>d(e).typography.small};
513
- font-weight: ${({theme:e})=>d(e).font.weight.semibold};
514
- `,Pe=t.css`
502
+ `;function ke({options:t,value:i,defaultValue:a=``,debounceMs:o=300,onSearch:s,onSelect:c,onChange:l,onFocus:u,onBlur:d,id:f,disabled:p,ref:m,...h}){let g=(0,e.useId)(),_=f??g,v=`${_}-options`,y=(0,e.useRef)(null),b=(0,e.useRef)(!1),x=(0,e.useRef)(null),[S,C]=(0,e.useState)(a),[w,T]=(0,e.useState)(!1),[E,D]=(0,e.useState)(-1),O=i??S,k=i!==void 0,A=O.trim().toLocaleLowerCase(),j=A?t.filter(e=>e.label.toLocaleLowerCase().includes(A)||String(e.value).toLocaleLowerCase().includes(A)):[],M=w&&j.length>0;(0,e.useEffect)(()=>{if(!b.current){b.current=!0;return}if(!s)return;let e=setTimeout(()=>{x.current=null,s(O)},o);return x.current=e,()=>{clearTimeout(e),x.current===e&&(x.current=null)}},[o,s,O]);let N=e=>{k||C(e.currentTarget.value),D(-1),l?.(e)},P=e=>{e.relatedTarget instanceof Node&&y.current?.querySelector(`[role="listbox"]`)?.contains(e.relatedTarget)||(T(!1),D(-1),d?.(e))},F=e=>{k||C(e.label),c?.(e),T(!1)},I=e=>{e.key===`ArrowDown`&&j.length>0?(e.preventDefault(),T(!0),D(e=>(e+1)%j.length)):e.key===`ArrowUp`&&j.length>0?(e.preventDefault(),T(!0),D(e=>e<=0?j.length-1:e-1)):e.key===`Enter`&&M&&j[E]?(e.preventDefault(),F(j[E])):e.key===`Escape`&&(T(!1),D(-1)),h.onKeyDown?.(e)};return(0,n.jsx)(Ce,{ref:y,children:(0,n.jsxs)(we,{children:[(0,n.jsx)(Te,{...h,"aria-activedescendant":M&&E>=0?`${v}-option-${String(E)}`:void 0,"aria-autocomplete":`list`,"aria-controls":M?v:void 0,"aria-expanded":M,"aria-haspopup":`listbox`,autoComplete:`off`,disabled:p,id:_,onBlur:P,onChange:N,onFocus:e=>{T(!0),u&&u(e)},onKeyDown:I,ref:m,role:`combobox`,value:O}),(0,n.jsx)(Ee,{"aria-label":`Search`,disabled:p,ghost:!0,onClick:()=>{x.current&&=(clearTimeout(x.current),null),s?.(O)},shape:`rounded`,size:`sm`,type:`button`,variant:`primary`,icon:r.Search}),M?(0,n.jsx)(De,{id:v,role:`listbox`,children:j.map((e,t)=>(0,n.jsx)(Oe,{"aria-selected":t===E,id:`${v}-option-${String(t)}`,onClick:()=>{F(e)},onMouseDown:e=>{e.preventDefault()},role:`option`,$active:t===E,children:e.label},`${String(e.value)}-${e.label}`))}):null]})})}var Ae=t.styled.section`
503
+ border: ${({theme:e})=>f(e).section.border};
504
+ border-radius: ${({theme:e})=>f(e).section.borderRadius};
505
+ padding: ${({theme:e})=>f(e).section.padding};
506
+ background-color: ${({theme:e})=>f(e).colors.surface};
507
+ box-shadow: ${({$shadow:e,theme:t})=>e?f(t).shadow.section:`none`};
508
+ `;function je({children:e,shadow:t=!1,...r}){return(0,n.jsx)(Ae,{$shadow:t,...r,children:e})}var Me=t.css`
509
+ color: ${({theme:e})=>f(e).colors.text};
510
+ font-size: ${({theme:e})=>f(e).typography.small};
511
+ font-weight: ${({theme:e})=>f(e).font.weight.semibold};
512
+ `,Ne=t.css`
515
513
  box-sizing: border-box;
516
514
  width: 100%;
517
- height: ${({theme:e})=>d(e).formControl.height};
518
- border: ${({theme:e})=>d(e).formControl.border};
519
- border-radius: ${({theme:e})=>d(e).formControl.borderRadius};
520
- padding: ${({theme:e,$hasTrailingAction:t})=>t?`${d(e).formControl.padding} ${d(e).formControl.trailingActionPadding} ${d(e).formControl.padding} ${d(e).formControl.padding}`:d(e).formControl.padding};
521
- background: ${({theme:e})=>d(e).colors.background};
522
- color: ${({theme:e})=>d(e).colors.text};
515
+ border: ${({theme:e})=>f(e).formControl.border};
516
+ border-radius: ${({theme:e})=>f(e).formControl.borderRadius};
517
+ padding: ${({theme:e,$hasTrailingAction:t})=>t?`${f(e).formControl.padding} ${f(e).formControl.trailingActionPadding} ${f(e).formControl.padding} ${f(e).formControl.padding}`:f(e).formControl.padding};
518
+ background: ${({theme:e})=>f(e).colors.background};
519
+ color: ${({theme:e})=>f(e).colors.text};
523
520
  font: inherit;
524
- font-size: ${({theme:e})=>d(e).formControl.fontSize};
521
+ font-size: ${({theme:e})=>f(e).formControl.fontSize};
525
522
 
526
- ${_(`formControl`)}
523
+ ${v(`formControl`)}
527
524
 
528
525
  &:disabled {
529
526
  cursor: not-allowed;
530
- opacity: ${({theme:e})=>d(e).opacity.disabled};
527
+ opacity: ${({theme:e})=>f(e).opacity.disabled};
531
528
  }
532
529
 
533
530
  ${({$invalid:e,theme:n})=>e&&t.css`
534
- border-color: ${d(n).colors.error};
531
+ border-color: ${f(n).colors.error};
535
532
  `}
536
533
 
537
534
  ${({$invalid:e,$warning:n,theme:r})=>!e&&n&&t.css`
538
- border-color: ${d(r).colors.warning};
535
+ border-color: ${f(r).colors.warning};
539
536
  `}
540
- `,Fe=t.css`
541
- color: ${({theme:e,$type:t})=>d(e).colors[t]};
542
- font-size: ${({theme:e})=>d(e).typography.small};
537
+ `,Pe=t.css`
538
+ color: ${({theme:e,$type:t})=>f(e).colors[t]};
539
+ font-size: ${({theme:e})=>f(e).typography.small};
540
+ `,Fe=t.styled.div`
541
+ ${h}
543
542
  `,Ie=t.styled.div`
544
- ${m}
545
- `,Le=t.styled.div`
546
543
  position: relative;
547
- `,Re=t.styled.label`
544
+ `,Le=t.styled.label`
545
+ ${Me}
546
+ `,Re=t.styled.div`
548
547
  ${Ne}
549
- `,ze=t.styled.div`
550
- ${Pe}
548
+ position: relative;
551
549
  display: flex;
552
550
  align-items: center;
553
- justify-content: space-between;
554
- gap: ${({theme:e})=>d(e).space.lg};
555
551
  text-align: left;
556
552
  cursor: ${({$disabled:e})=>e?`not-allowed`:`pointer`};
557
553
 
558
554
  ${({$disabled:e})=>e&&t.css`
559
- opacity: ${({theme:e})=>d(e).opacity.disabled};
555
+ opacity: ${({theme:e})=>f(e).opacity.disabled};
560
556
  `}
561
- `,Be=t.styled.div`
557
+ `,ze=t.styled.div`
562
558
  position: absolute;
563
559
  z-index: 10;
564
560
  top: 100%;
565
561
  right: 0;
566
562
  left: 0;
567
- max-height: ${({theme:e})=>d(e).formControl.optionListMaxHeight};
563
+ max-height: ${({theme:e})=>f(e).formControl.optionListMaxHeight};
568
564
  overflow: auto;
569
- border: ${({theme:e})=>d(e).formControl.dropdownBorder};
570
- border-radius: ${({theme:e})=>d(e).formControl.borderRadius};
571
- background: ${({theme:e})=>d(e).colors.background};
572
- `,Ve=t.styled.button`
565
+ border: ${({theme:e})=>f(e).formControl.dropdownBorder};
566
+ border-radius: ${({theme:e})=>f(e).formControl.borderRadius};
567
+ background: ${({theme:e})=>f(e).colors.background};
568
+ `,Be=t.styled.button`
573
569
  display: block;
574
570
  width: 100%;
575
- ${g}
571
+ ${_}
576
572
  border: 0;
577
573
  border-radius: 0;
578
- background: ${({theme:e,$selected:t})=>t?d(e).colors.secondary:`transparent`};
579
- color: ${({theme:e})=>d(e).colors.text};
574
+ background: ${({theme:e,$selected:t})=>t?f(e).colors.secondary:`transparent`};
575
+ color: ${({theme:e})=>f(e).colors.text};
580
576
  font: inherit;
581
577
  text-align: left;
582
- text-transform: ${({theme:e})=>d(e).formControl.optionTextTransform};
578
+ text-transform: ${({theme:e})=>f(e).formControl.optionTextTransform};
583
579
  cursor: pointer;
584
580
 
585
581
  &:hover,
586
582
  &:focus-visible {
587
- background: ${({theme:e})=>d(e).colors.secondaryHover};
583
+ background: ${({theme:e})=>f(e).colors.secondaryHover};
588
584
  outline: none;
589
585
  }
586
+ `,Ve=(0,t.styled)(U)`
587
+ position: absolute;
588
+ top: 50%;
589
+ right: ${({theme:e})=>f(e).space.md};
590
+ translate: 0 -50%;
591
+
592
+ svg {
593
+ transform: ${({$open:e})=>e?`rotate(180deg)`:`none`};
594
+ transition: transform 120ms ease;
595
+ }
590
596
  `,He=t.styled.select`
591
597
  position: absolute;
592
598
  width: 1px;
@@ -598,62 +604,63 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
598
604
  border: 0;
599
605
  `,Ue=t.styled.span`
600
606
  overflow: hidden;
601
- color: ${({theme:e,$placeholder:t})=>t?d(e).colors.muted:`inherit`};
607
+ color: ${({theme:e,$placeholder:t})=>t?f(e).colors.muted:`inherit`};
602
608
  text-overflow: ellipsis;
603
609
  white-space: nowrap;
604
610
  `,Y=t.styled.div`
605
- ${Fe}
606
- `;function We({options:t,value:r,defaultValue:i,onChange:a,onValueChange:o,onBlur:s,id:c,name:l,label:u,placeholder:d=`Select an option`,error:f,warning:p,disabled:m,required:h,ref:g,"aria-describedby":_,"aria-invalid":v,...y}){let b=(0,e.useId)(),x=c??b,S=`${x}-options`,C=`${x}-error`,w=`${x}-warning`,T=(0,e.useRef)(null),E=(0,e.useRef)(null),D=(0,e.useRef)(null),[O,k]=(0,e.useState)(i),[A,j]=(0,e.useState)(!1),M=r??O,N=t.find(e=>String(e.value)===String(M)),P=!!f||v===!0||v===`true`,F=[_,f?C:void 0,p?w:void 0].filter(Boolean).join(` `)||void 0,I=e=>{a?.(e)};(0,e.useEffect)(()=>{if(!A)return;let e=e=>{e.target instanceof Node&&T.current?.contains(e.target)||j(!1)};return document.addEventListener(`pointerdown`,e),()=>{document.removeEventListener(`pointerdown`,e)}},[A]),(0,e.useEffect)(()=>{A&&(T.current?.querySelector(`[role="option"][aria-selected="true"]`)??T.current?.querySelector(`[role="option"]`))?.focus()},[A]);let L=e=>{r===void 0&&k(e),o?.(e);let t=E.current;t&&(t.value=String(e),t.dispatchEvent(new Event(`change`,{bubbles:!0})))},R=e=>{T.current?.contains(e.relatedTarget)||(j(!1),E.current?.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0})))},z=(e,n)=>{let r;e.key===`ArrowDown`&&(r=(n+1)%t.length),e.key===`ArrowUp`&&(r=(n-1+t.length)%t.length),e.key===`Home`&&(r=0),e.key===`End`&&(r=t.length-1),e.key===`Escape`?(e.preventDefault(),j(!1),D.current?.focus()):r!==void 0&&(e.preventDefault(),T.current?.querySelectorAll(`[role="option"]`)[r]?.focus())};return(0,n.jsxs)(Ie,{ref:T,children:[u?(0,n.jsx)(Re,{htmlFor:x,children:u}):null,(0,n.jsxs)(Le,{children:[(0,n.jsxs)(He,{...y,"aria-hidden":`true`,"aria-invalid":P||void 0,disabled:m,id:`${x}-native`,name:l,onBlur:s,onChange:I,ref:e=>{E.current=e,typeof g==`function`?g(e):g&&(g.current=e)},required:h,tabIndex:-1,value:M===void 0?``:String(M),children:[(0,n.jsx)(`option`,{value:``,children:d}),t.map(e=>(0,n.jsx)(`option`,{value:String(e.value),children:e.label},String(e.value)))]}),(0,n.jsxs)(ze,{onClick:()=>{m||j(e=>!e)},$disabled:!!m,$invalid:P,$warning:!!p,children:[(0,n.jsx)(Ue,{$placeholder:!N,children:N?.label??d}),(0,n.jsx)(H,{"aria-controls":S,"aria-describedby":F,"aria-expanded":A,"aria-haspopup":`listbox`,"aria-invalid":P||void 0,"aria-label":u??d,disabled:m,ghost:!0,id:x,onBlur:R,onClick:e=>{e.stopPropagation(),j(e=>!e)},onKeyDown:e=>{e.key===`Escape`?j(!1):A||e.key!==`ArrowDown`&&e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),j(!0))},ref:D,shape:`rounded`,size:`md`,type:`button`,variant:`primary`,children:(0,n.jsx)(`svg`,{fill:`none`,style:{transform:A?`rotate(180deg)`:`rotate(0)`,transition:`transform 120ms ease`},viewBox:`0 0 24 24`,children:(0,n.jsx)(`path`,{d:`m6 9 6 6 6-6`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`2`})})})]}),A?(0,n.jsx)(Be,{id:S,role:`listbox`,"aria-label":u,children:t.map((e,t)=>{let r=String(e.value)===String(M??``);return(0,n.jsx)(Ve,{"aria-selected":r,onClick:()=>{L(e.value),j(!1),D.current?.focus()},onBlur:R,onKeyDown:e=>{z(e,t)},role:`option`,tabIndex:-1,type:`button`,$selected:r,children:e.label},String(e.value))})}):null]}),f?(0,n.jsx)(Y,{$type:`error`,id:C,role:`alert`,children:f}):null,p?(0,n.jsx)(Y,{$type:`warning`,id:w,role:`status`,children:p}):null]})}var Ge=t.styled.div`
607
- ${m}
611
+ ${Pe}
612
+ `;function We({options:t,value:i,defaultValue:a,onChange:o,onValueChange:s,onBlur:c,id:l,name:u,label:d,placeholder:f=`Select an option`,error:p,warning:m,disabled:h,required:g,ref:_,"aria-describedby":v,"aria-invalid":y,...b}){let x=(0,e.useId)(),S=l??x,C=`${S}-options`,w=`${S}-error`,T=`${S}-warning`,E=(0,e.useRef)(null),D=(0,e.useRef)(null),O=(0,e.useRef)(null),[k,A]=(0,e.useState)(a),[j,M]=(0,e.useState)(!1),N=i??k,P=t.find(e=>String(e.value)===String(N)),F=!!p||y===!0||y===`true`,I=[v,p?w:void 0,m?T:void 0].filter(Boolean).join(` `)||void 0,L=e=>{o?.(e)};(0,e.useEffect)(()=>{if(!j)return;let e=e=>{e.target instanceof Node&&E.current?.contains(e.target)||M(!1)};return document.addEventListener(`pointerdown`,e),()=>{document.removeEventListener(`pointerdown`,e)}},[j]),(0,e.useEffect)(()=>{j&&(E.current?.querySelector(`[role="option"][aria-selected="true"]`)??E.current?.querySelector(`[role="option"]`))?.focus()},[j]);let R=e=>{i===void 0&&A(e),s?.(e);let t=D.current;t&&(t.value=String(e),t.dispatchEvent(new Event(`change`,{bubbles:!0})))},z=e=>{E.current?.contains(e.relatedTarget)||(M(!1),D.current?.dispatchEvent(new FocusEvent(`focusout`,{bubbles:!0})))},B=(e,n)=>{let r;e.key===`ArrowDown`&&(r=(n+1)%t.length),e.key===`ArrowUp`&&(r=(n-1+t.length)%t.length),e.key===`Home`&&(r=0),e.key===`End`&&(r=t.length-1),e.key===`Escape`?(e.preventDefault(),M(!1),O.current?.focus()):r!==void 0&&(e.preventDefault(),E.current?.querySelectorAll(`[role="option"]`)[r]?.focus())};return(0,n.jsxs)(Fe,{ref:E,children:[d?(0,n.jsx)(Le,{htmlFor:S,children:d}):null,(0,n.jsxs)(Ie,{children:[(0,n.jsxs)(He,{...b,"aria-hidden":`true`,"aria-invalid":F||void 0,disabled:h,id:`${S}-native`,name:u,onBlur:c,onChange:L,ref:e=>{D.current=e,typeof _==`function`?_(e):_&&(_.current=e)},required:g,tabIndex:-1,value:N===void 0?``:String(N),children:[(0,n.jsx)(`option`,{value:``,children:f}),t.map(e=>(0,n.jsx)(`option`,{value:String(e.value),children:e.label},String(e.value)))]}),(0,n.jsxs)(Re,{onClick:()=>{h||M(e=>!e)},$disabled:!!h,$hasTrailingAction:!0,$invalid:F,$warning:!!m,children:[(0,n.jsx)(Ue,{$placeholder:!P,children:P?.label??f}),(0,n.jsx)(Ve,{"aria-controls":C,"aria-describedby":I,"aria-expanded":j,"aria-haspopup":`listbox`,"aria-invalid":F||void 0,"aria-label":d??f,disabled:h,ghost:!0,id:S,onBlur:z,onClick:e=>{e.stopPropagation(),M(e=>!e)},onKeyDown:e=>{e.key===`Escape`?M(!1):j||e.key!==`ArrowDown`&&e.key!==`Enter`&&e.key!==` `||(e.preventDefault(),M(!0))},ref:O,shape:`rounded`,size:`sm`,type:`button`,variant:`primary`,$open:j,icon:r.ChevronDown})]}),j?(0,n.jsx)(ze,{id:C,role:`listbox`,"aria-label":d,children:t.map((e,t)=>{let r=String(e.value)===String(N??``);return(0,n.jsx)(Be,{"aria-selected":r,onClick:()=>{R(e.value),M(!1),O.current?.focus()},onBlur:z,onKeyDown:e=>{B(e,t)},role:`option`,tabIndex:-1,type:`button`,$selected:r,children:e.label},String(e.value))})}):null]}),p?(0,n.jsx)(Y,{$type:`error`,id:w,role:`alert`,children:p}):null,m?(0,n.jsx)(Y,{$type:`warning`,id:T,role:`status`,children:m}):null]})}var Ge=t.styled.div`
613
+ ${h}
608
614
  `,Ke=t.styled.label`
609
- color: ${({theme:e})=>d(e).colors.text};
610
- font-size: ${({theme:e})=>d(e).typography.small};
611
- font-weight: ${({theme:e})=>d(e).font.weight.semibold};
615
+ color: ${({theme:e})=>f(e).colors.text};
616
+ font-size: ${({theme:e})=>f(e).typography.small};
617
+ font-weight: ${({theme:e})=>f(e).font.weight.semibold};
612
618
  `,qe=t.styled.textarea`
613
619
  box-sizing: border-box;
614
620
  width: 100%;
615
- height: ${({$height:e,theme:t})=>e==null?d(t).formControl.textareaHeight:typeof e==`number`?`${e.toString()}px`:e};
616
- min-height: ${({theme:e})=>d(e).formControl.textareaHeight};
617
- border: ${({theme:e})=>d(e).formControl.border};
618
- border-radius: ${({theme:e})=>d(e).formControl.borderRadius};
619
- padding: ${({theme:e})=>d(e).formControl.padding};
620
- background: ${({theme:e})=>d(e).colors.background};
621
- color: ${({theme:e})=>d(e).colors.text};
621
+ height: ${({$height:e,theme:t})=>e==null?f(t).formControl.textareaHeight:typeof e==`number`?`${e.toString()}px`:e};
622
+ min-height: ${({theme:e})=>f(e).formControl.textareaHeight};
623
+ border: ${({theme:e})=>f(e).formControl.border};
624
+ border-radius: ${({theme:e})=>f(e).formControl.borderRadius};
625
+ padding: ${({theme:e})=>f(e).formControl.padding};
626
+ background: ${({theme:e})=>f(e).colors.background};
627
+ color: ${({theme:e})=>f(e).colors.text};
622
628
  font: inherit;
623
- font-size: ${({theme:e})=>d(e).formControl.fontSize};
629
+ font-size: ${({theme:e})=>f(e).formControl.fontSize};
624
630
  resize: ${({$resizable:e})=>e?`vertical`:`none`};
625
631
 
626
- ${_(`formControl`)}
632
+ ${v(`formControl`)}
627
633
 
628
634
  &:disabled {
629
635
  cursor: not-allowed;
630
- opacity: ${({theme:e})=>d(e).opacity.disabled};
636
+ opacity: ${({theme:e})=>f(e).opacity.disabled};
631
637
  }
632
638
 
633
639
  ${({$invalid:e,theme:n})=>e&&t.css`
634
- border-color: ${d(n).colors.error};
640
+ border-color: ${f(n).colors.error};
635
641
  `}
636
642
 
637
643
  ${({$invalid:e,$warning:n,theme:r})=>!e&&n&&t.css`
638
- border-color: ${d(r).colors.warning};
644
+ border-color: ${f(r).colors.warning};
639
645
  `}
640
646
 
641
647
  &:focus,
642
648
  &:focus-visible {
643
649
  ${({$invalid:e,$warning:n,theme:r})=>e?t.css`
644
- border-color: ${d(r).colors.error};
650
+ border-color: ${f(r).colors.error};
645
651
  `:n?t.css`
646
- border-color: ${d(r).colors.warning};
652
+ border-color: ${f(r).colors.warning};
647
653
  `:``}
648
654
  outline: none;
649
655
  }
650
656
  `,X=t.styled.div`
651
- color: ${({theme:e,$type:t})=>d(e).colors[t]};
652
- font-size: ${({theme:e})=>d(e).typography.small};
657
+ color: ${({theme:e,$type:t})=>f(e).colors[t]};
658
+ font-size: ${({theme:e})=>f(e).typography.small};
653
659
  `;function Je({id:t,label:r,error:i,warning:a,height:o,resizable:s=!1,ref:c,"aria-describedby":l,"aria-invalid":u,...d}){let f=(0,e.useId)(),p=t??f,m=`${p}-error`,h=`${p}-warning`,g=!!i||u===!0||u===`true`,_=[l,i?m:void 0,a?h:void 0].filter(Boolean).join(` `)||void 0;return(0,n.jsxs)(Ge,{children:[r?(0,n.jsx)(Ke,{htmlFor:p,children:r}):null,(0,n.jsx)(qe,{...d,$height:o,$invalid:g,$resizable:s,$warning:!!a,"aria-describedby":_,"aria-invalid":g||void 0,id:p,ref:c}),i?(0,n.jsx)(X,{$type:`error`,id:m,role:`alert`,children:i}):null,a?(0,n.jsx)(X,{$type:`warning`,id:h,role:`status`,children:a}):null]})}var Ye=t.styled.p`
654
- color: ${({theme:e})=>d(e).colors.text};
655
- font-family: ${({theme:e})=>d(e).font.sans};
656
- font-size: ${({theme:e,$fontSize:t,$tag:n})=>{if(t!==void 0)return t;let r=d(e).typography;return n&&Object.hasOwn(r,n)?r[n]:r.fallback}};
660
+ color: ${({theme:e})=>f(e).colors.text};
661
+ font-family: ${({theme:e})=>f(e).font.sans};
662
+ margin: 0;
663
+ font-size: ${({theme:e,$fontSize:t,$tag:n})=>{if(t!==void 0)return t;let r=f(e).typography;return n&&Object.hasOwn(r,n)?r[n]:r.fallback}};
657
664
  `;function Xe({tag:e,as:t,fontSize:r,...i}){let a=e??t??`p`;return(0,n.jsx)(Ye,{$tag:typeof a==`string`?a:void 0,$fontSize:r,as:a,...i})}var Ze=t.css`
658
665
  position: fixed;
659
666
  inset: 0;
@@ -661,7 +668,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
661
668
  display: flex;
662
669
  align-items: center;
663
670
  justify-content: center;
664
- padding: ${({theme:e})=>d(e).space.lg};
671
+ padding: ${({theme:e})=>f(e).space.lg};
665
672
  `,Qe=t.css`
666
673
  position: absolute;
667
674
  inset: 0;
@@ -670,7 +677,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
670
677
  cursor: pointer;
671
678
  background: color-mix(
672
679
  in srgb,
673
- ${({theme:e})=>d(e).colors.bg} 25%,
680
+ ${({theme:e})=>f(e).colors.bg} 25%,
674
681
  transparent
675
682
  );
676
683
  `,$e=t.css`
@@ -680,37 +687,37 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
680
687
  display: flex;
681
688
  flex-direction: column;
682
689
  width: 100%;
683
- max-width: ${({theme:e})=>d(e).modal.maxWidth};
684
- max-height: ${({theme:e})=>d(e).modal.maxHeight};
685
- padding: ${({theme:e})=>d(e).modal.padding};
690
+ max-width: ${({theme:e})=>f(e).modal.maxWidth};
691
+ max-height: ${({theme:e})=>f(e).modal.maxHeight};
692
+ padding: ${({theme:e})=>f(e).modal.padding};
686
693
  overflow: hidden;
687
- background-color: ${({theme:e})=>d(e).colors.surface};
688
- border: ${({theme:e})=>d(e).modal.border};
689
- border-radius: ${({theme:e})=>d(e).modal.borderRadius};
690
- box-shadow: ${({theme:e})=>d(e).shadow.modal};
694
+ background-color: ${({theme:e})=>f(e).colors.surface};
695
+ border: ${({theme:e})=>f(e).modal.border};
696
+ border-radius: ${({theme:e})=>f(e).modal.borderRadius};
697
+ box-shadow: ${({theme:e})=>f(e).shadow.modal};
691
698
  `,et=t.css`
692
699
  display: flex;
693
700
  align-items: center;
694
701
  justify-content: space-between;
695
- gap: ${({theme:e})=>d(e).space.md};
702
+ gap: ${({theme:e})=>f(e).space.md};
696
703
  flex-shrink: 0;
697
704
  `,tt=t.css`
698
705
  margin: 0;
699
706
  min-width: 0;
700
707
  flex: 1;
701
- font-family: ${({theme:e})=>d(e).font.sans};
702
- font-size: ${({theme:e})=>d(e).modal.title.fontSize};
703
- font-weight: ${({theme:e})=>d(e).modal.title.fontWeight};
704
- color: ${({theme:e})=>d(e).colors.text};
708
+ font-family: ${({theme:e})=>f(e).font.sans};
709
+ font-size: ${({theme:e})=>f(e).modal.title.fontSize};
710
+ font-weight: ${({theme:e})=>f(e).modal.title.fontWeight};
711
+ color: ${({theme:e})=>f(e).colors.text};
705
712
  `,nt=t.css`
706
713
  flex: 1;
707
714
  min-height: 0;
708
- margin-top: ${({theme:e})=>d(e).space.lg};
715
+ margin-top: ${({theme:e})=>f(e).space.lg};
709
716
  overflow-x: hidden;
710
717
  overflow-y: auto;
711
- font-family: ${({theme:e})=>d(e).font.sans};
712
- font-size: ${({theme:e})=>d(e).modal.body.fontSize};
713
- color: ${({theme:e})=>d(e).colors.text};
718
+ font-family: ${({theme:e})=>f(e).font.sans};
719
+ font-size: ${({theme:e})=>f(e).modal.body.fontSize};
720
+ color: ${({theme:e})=>f(e).colors.text};
714
721
  `,rt=t.styled.div`
715
722
  ${Ze}
716
723
  `,it=t.styled.button`
@@ -723,20 +730,20 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
723
730
  ${tt}
724
731
  `,ct=t.styled.div`
725
732
  ${nt}
726
- `;function lt(){return(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,children:(0,n.jsx)(`path`,{fill:`currentColor`,d:`M18.3 5.71a1 1 0 0 0-1.41 0L12 10.59 7.11 5.7A1 1 0 0 0 5.7 7.11L10.59 12l-4.9 4.89a1 1 0 1 0 1.42 1.42L12 13.41l4.89 4.9a1 1 0 0 0 1.42-1.42L13.41 12l4.9-4.89a1 1 0 0 0-.01-1.4Z`})})}function ut({open:t,onClose:i,title:a,children:o,closeLabel:s=`Close`}){let c=(0,e.useId)(),l=(0,e.useRef)(null);return(0,e.useEffect)(()=>{if(!t)return;l.current?.focus();let e=document.body.style.overflow;document.body.style.overflow=`hidden`;let n=e=>{e.key===`Escape`&&i()};return document.addEventListener(`keydown`,n),()=>{document.body.style.overflow=e,document.removeEventListener(`keydown`,n)}},[t,i]),!t||typeof document>`u`?null:(0,r.createPortal)((0,n.jsxs)(rt,{children:[(0,n.jsx)(it,{type:`button`,"aria-label":`Close overlay`,onClick:i}),(0,n.jsxs)(at,{ref:l,role:`dialog`,"aria-modal":`true`,"aria-labelledby":c,tabIndex:-1,children:[(0,n.jsxs)(ot,{children:[(0,n.jsx)(st,{id:c,children:a}),(0,n.jsx)(H,{"aria-label":s,ghost:!0,onClick:i,shape:`rounded`,size:`md`,variant:`primary`,children:(0,n.jsx)(lt,{})})]}),o==null?null:(0,n.jsx)(ct,{children:o})]})]}),document.body)}var Z=t.css`
733
+ `;function lt({open:t,onClose:a,title:o,children:s,closeLabel:c=`Close`}){let l=(0,e.useId)(),u=(0,e.useRef)(null);return(0,e.useEffect)(()=>{if(!t)return;u.current?.focus();let e=document.body.style.overflow;document.body.style.overflow=`hidden`;let n=e=>{e.key===`Escape`&&a()};return document.addEventListener(`keydown`,n),()=>{document.body.style.overflow=e,document.removeEventListener(`keydown`,n)}},[t,a]),!t||typeof document>`u`?null:(0,i.createPortal)((0,n.jsxs)(rt,{children:[(0,n.jsx)(it,{type:`button`,"aria-label":`Close overlay`,onClick:a}),(0,n.jsxs)(at,{ref:u,role:`dialog`,"aria-modal":`true`,"aria-labelledby":l,tabIndex:-1,children:[(0,n.jsxs)(ot,{children:[(0,n.jsx)(st,{id:l,children:o}),(0,n.jsx)(U,{"aria-label":c,ghost:!0,onClick:a,shape:`rounded`,size:`md`,variant:`primary`,icon:r.X})]}),s==null?null:(0,n.jsx)(ct,{children:s})]})]}),document.body)}var Z=t.css`
727
734
  display: inline-flex;
728
735
  align-items: center;
729
736
  justify-content: center;
730
737
  border: 0;
731
- padding: ${({theme:e})=>d(e).navLinks.itemPadding};
732
- box-shadow: ${({theme:e})=>d(e).shadow.link};
733
- background: ${({theme:e})=>d(e).colors.primary};
734
- color: ${({theme:e})=>d(e).colors.primaryText};
735
- font-family: ${({theme:e})=>d(e).font.sans};
736
- font-size: ${({theme:e})=>d(e).navLinks.fontSize};
737
- font-weight: ${({theme:e})=>d(e).font.weight.semibold};
738
- text-decoration: ${({theme:e})=>d(e).navLinks.textDecoration};
739
- text-transform: ${({theme:e})=>d(e).navLinks.textTransform};
738
+ padding: ${({theme:e})=>f(e).navLinks.itemPadding};
739
+ box-shadow: ${({theme:e})=>f(e).shadow.link};
740
+ background: ${({theme:e})=>f(e).colors.primary};
741
+ color: ${({theme:e})=>f(e).colors.primaryText};
742
+ font-family: ${({theme:e})=>f(e).font.sans};
743
+ font-size: ${({theme:e})=>f(e).navLinks.fontSize};
744
+ font-weight: ${({theme:e})=>f(e).font.weight.semibold};
745
+ text-decoration: ${({theme:e})=>f(e).navLinks.textDecoration};
746
+ text-transform: ${({theme:e})=>f(e).navLinks.textTransform};
740
747
  cursor: pointer;
741
748
  position: relative;
742
749
  z-index: 1;
@@ -747,99 +754,99 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
747
754
  transform 0.15s ease;
748
755
 
749
756
  &:hover:not(:disabled) {
750
- background: ${({theme:e})=>a(d(e).colors.primary,d(e).colors.ink)};
757
+ background: ${({theme:e})=>o(f(e).colors.primary,f(e).colors.ink)};
751
758
  }
752
759
 
753
760
  &:first-child {
754
- border-top-left-radius: ${({theme:e})=>d(e).navLinks.borderRadius};
755
- border-bottom-left-radius: ${({theme:e})=>d(e).navLinks.borderRadius};
761
+ border-top-left-radius: ${({theme:e})=>f(e).navLinks.borderRadius};
762
+ border-bottom-left-radius: ${({theme:e})=>f(e).navLinks.borderRadius};
756
763
  }
757
764
 
758
765
  &:last-child {
759
- border-top-right-radius: ${({theme:e})=>d(e).navLinks.borderRadius};
760
- border-bottom-right-radius: ${({theme:e})=>d(e).navLinks.borderRadius};
766
+ border-top-right-radius: ${({theme:e})=>f(e).navLinks.borderRadius};
767
+ border-bottom-right-radius: ${({theme:e})=>f(e).navLinks.borderRadius};
761
768
  }
762
769
 
763
- ${_(`navLinks`)}
770
+ ${v(`navLinks`)}
764
771
 
765
772
  &:disabled {
766
- opacity: ${({theme:e})=>d(e).opacity.disabledButton};
773
+ opacity: ${({theme:e})=>f(e).opacity.disabledButton};
767
774
  cursor: not-allowed;
768
775
  }
769
- `,dt=t.styled.nav`
776
+ `,ut=t.styled.nav`
770
777
  display: inline-flex;
771
778
  align-items: center;
772
- border-radius: ${({theme:e})=>d(e).navLinks.borderRadius};
779
+ border-radius: ${({theme:e})=>f(e).navLinks.borderRadius};
773
780
  padding: 0;
774
- box-shadow: ${({theme:e})=>d(e).shadow.navLinks};
775
- font-family: ${({theme:e})=>d(e).font.sans};
776
- font-size: ${({theme:e})=>d(e).navLinks.fontSize};
777
- text-transform: ${({theme:e})=>d(e).navLinks.textTransform};
781
+ box-shadow: ${({theme:e})=>f(e).shadow.navLinks};
782
+ font-family: ${({theme:e})=>f(e).font.sans};
783
+ font-size: ${({theme:e})=>f(e).navLinks.fontSize};
784
+ text-transform: ${({theme:e})=>f(e).navLinks.textTransform};
778
785
 
779
786
  & > a {
780
787
  ${Z}
781
788
 
782
- border: ${({theme:e})=>d(e).navLinks.border};
789
+ border: ${({theme:e})=>f(e).navLinks.border};
783
790
 
784
791
  &:active,
785
792
  &[aria-current='page'] {
786
793
  z-index: 0;
787
794
  box-shadow: none;
788
795
  transform: translate(
789
- calc(0px + ${({theme:e})=>d(e).shadow.offsetX}),
790
- ${({theme:e})=>d(e).shadow.offsetY}
796
+ calc(0px + ${({theme:e})=>f(e).shadow.offsetX}),
797
+ ${({theme:e})=>f(e).shadow.offsetY}
791
798
  );
792
799
  }
793
800
  }
794
- `,ft=t.styled.button`
801
+ `,dt=t.styled.button`
795
802
  ${Z}
796
- `;function pt({links:e,...t}){return(0,n.jsx)(dt,{...t,children:e.map(e=>`href`in e&&e.href!==void 0?(0,n.jsx)(i.NavLink,{to:e.href,className:e.className,style:e.style,end:e.end,caseSensitive:e.caseSensitive,children:e.label},e.id):(0,n.jsx)(ft,{type:`button`,disabled:e.disabled,onClick:e.onClick,children:e.label},e.id))})}var mt=t.styled.a`
803
+ `;function ft({links:e,...t}){return(0,n.jsx)(ut,{...t,children:e.map(e=>`href`in e&&e.href!==void 0?(0,n.jsx)(a.NavLink,{to:e.href,className:e.className,style:e.style,end:e.end,caseSensitive:e.caseSensitive,children:e.label},e.id):(0,n.jsx)(dt,{type:`button`,disabled:e.disabled,onClick:e.onClick,children:e.label},e.id))})}var pt=t.styled.a`
797
804
  display: inline-flex;
798
805
  align-items: center;
799
- gap: ${({theme:e})=>d(e).space.sm};
806
+ gap: ${({theme:e})=>f(e).space.sm};
800
807
  color: inherit;
801
- font-family: ${({theme:e})=>d(e).font.sans};
802
- text-decoration: ${({theme:e})=>d(e).userBadge.textDecoration};
808
+ font-family: ${({theme:e})=>f(e).font.sans};
809
+ text-decoration: ${({theme:e})=>f(e).userBadge.textDecoration};
803
810
 
804
- ${_(`userBadge`)}
805
- `;function ht({to:e,firstName:t,lastName:r,avatarSrc:a,size:o=`md`,showName:s=!0,...c}){let l=`${t} ${r}`.trim();return(0,n.jsxs)(mt,{as:i.Link,to:e,...c,children:[(0,n.jsx)(p,{firstName:t,lastName:r,src:a,alt:s?``:l,size:o,"aria-hidden":s?!0:void 0}),s?(0,n.jsx)(`span`,{children:l}):null]})}var gt=t.styled.aside`
811
+ ${v(`userBadge`)}
812
+ `;function Q({to:e,firstName:t,lastName:r,avatarSrc:i,size:o=`md`,showName:s=!0,...c}){let l=`${t} ${r}`.trim();return(0,n.jsxs)(pt,{as:a.Link,to:e,...c,children:[(0,n.jsx)(m,{firstName:t,lastName:r,src:i,alt:s?``:l,size:o,"aria-hidden":s?!0:void 0}),s?(0,n.jsx)(`span`,{children:l}):null]})}var mt=t.styled.aside`
806
813
  box-sizing: border-box;
807
814
  display: flex;
808
815
  flex: 0 0
809
- ${({$extended:e,theme:t})=>e?d(t).sidebar.width.extended:d(t).sidebar.width.compact};
816
+ ${({$extended:e,theme:t})=>e?f(t).sidebar.width.extended:f(t).sidebar.width.compact};
810
817
  flex-direction: column;
811
- gap: ${({theme:e})=>d(e).space.sm};
812
- width: ${({$extended:e,theme:t})=>e?d(t).sidebar.width.extended:d(t).sidebar.width.compact};
813
- height: ${({theme:e})=>d(e).sidebar.height.fallback};
814
- height: ${({theme:e})=>d(e).sidebar.height.dynamic};
818
+ gap: ${({theme:e})=>f(e).space.sm};
819
+ width: ${({$extended:e,theme:t})=>e?f(t).sidebar.width.extended:f(t).sidebar.width.compact};
820
+ height: ${({theme:e})=>f(e).sidebar.height.fallback};
821
+ height: ${({theme:e})=>f(e).sidebar.height.dynamic};
815
822
  min-height: 0;
816
823
  overflow: hidden;
817
- padding: ${({theme:e})=>d(e).space.inset};
818
- border: ${({theme:e})=>d(e).sidebar.border};
819
- border-radius: ${({theme:e})=>d(e).sidebar.borderRadius};
820
- background: ${({theme:e})=>d(e).colors.surface};
821
- box-shadow: ${({theme:e})=>d(e).shadow.sidebar};
824
+ padding: ${({theme:e})=>f(e).space.inset};
825
+ border: ${({theme:e})=>f(e).sidebar.border};
826
+ border-radius: ${({theme:e})=>f(e).sidebar.borderRadius};
827
+ background: ${({theme:e})=>f(e).colors.surface};
828
+ box-shadow: ${({theme:e})=>f(e).shadow.sidebar};
822
829
  transition:
823
830
  width 0.2s ease,
824
831
  flex-basis 0.2s ease;
825
- `,_t=t.styled.div`
832
+ `,ht=t.styled.div`
826
833
  display: flex;
827
834
  flex-direction: column;
828
835
  align-items: center;
829
- gap: ${({theme:e})=>d(e).space.sm};
836
+ gap: ${({theme:e})=>f(e).space.sm};
830
837
  align-items: ${({$extended:e})=>e?`flex-end`:`center`};
831
- `,vt=t.styled.nav`
838
+ `,gt=t.styled.nav`
832
839
  display: flex;
833
840
  min-height: 0;
834
841
  flex: 1;
835
842
  flex-direction: column;
836
843
  align-items: stretch;
837
- gap: ${({theme:e})=>d(e).space.sm};
838
- margin-inline: ${({theme:e})=>`-${d(e).space.xs}`};
839
- padding-inline: ${({theme:e})=>d(e).space.xs};
844
+ gap: ${({theme:e})=>f(e).space.sm};
845
+ margin-inline: ${({theme:e})=>`-${f(e).space.xs}`};
846
+ padding-inline: ${({theme:e})=>f(e).space.xs};
840
847
  overflow-y: auto;
841
848
  overflow-x: hidden;
842
- `,yt=t.styled.div`
849
+ `,_t=t.styled.div`
843
850
  display: flex;
844
851
  width: 100%;
845
852
  min-width: 0;
@@ -850,11 +857,11 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
850
857
  min-width: 0;
851
858
  justify-content: ${({$extended:e})=>e?`flex-start`:`center`};
852
859
  }
853
- `,bt=t.styled.div`
860
+ `,vt=t.styled.div`
854
861
  display: flex;
855
862
  flex-direction: column;
856
- gap: ${({theme:e})=>d(e).space.sm};
857
- `;function Q({extended:e}){return(0,n.jsx)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,"aria-hidden":`true`,children:e?(0,n.jsx)(`path`,{d:`m15 18-6-6 6-6`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}):(0,n.jsx)(`path`,{d:`m9 18 6-6-6-6`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`})})}function xt({links:t,logout:r,extended:i,defaultExtended:a=!1,onExtendedChange:o,navigationLabel:s=`Primary navigation`,"aria-label":c=`Application sidebar`,...l}){let[u,d]=(0,e.useState)(a),f=i??u,[p,m]=(0,e.useState)(f);function h(){let e=!f;e||m(!0),i===void 0&&d(e),o?.(e)}function g(e){e.target===e.currentTarget&&e.propertyName===`width`&&m(f)}function _(e){return(0,n.jsx)(yt,{$extended:p,children:p?(0,n.jsxs)(J,{href:e.href,children:[(0,n.jsx)(P,{size:`md`,style:{color:`inherit`},children:e.icon}),e.label]}):(0,n.jsx)(W,{href:e.href,"aria-label":e.label,title:e.label,children:e.icon})},e.id)}return(0,n.jsxs)(gt,{...l,$extended:f,"aria-label":c,"data-extended":f,onTransitionEnd:g,children:[(0,n.jsx)(_t,{$extended:f,children:(0,n.jsx)(H,{"aria-label":f?`Collapse sidebar`:`Expand sidebar`,"aria-expanded":f,onClick:h,size:`sm`,ghost:!0,children:(0,n.jsx)(Q,{extended:f})})}),(0,n.jsx)(vt,{"aria-label":s,children:t.map(e=>_(e))}),(0,n.jsx)(bt,{children:_(r)})]})}var St=t.styled.div`
863
+ gap: ${({theme:e})=>f(e).space.sm};
864
+ `;function yt({links:t,logout:i,extended:a,defaultExtended:o=!1,onExtendedChange:s,navigationLabel:c=`Primary navigation`,"aria-label":l=`Application sidebar`,...u}){let[d,f]=(0,e.useState)(o),p=a??d,[m,h]=(0,e.useState)(p);function g(){let e=!p;e||h(!0),a===void 0&&f(e),s?.(e)}function _(e){e.target===e.currentTarget&&e.propertyName===`width`&&h(p)}function v(e){return(0,n.jsx)(_t,{$extended:m,children:m?(0,n.jsxs)(J,{href:e.href,children:[(0,n.jsx)(F,{size:`md`,style:{color:`inherit`},children:e.icon}),e.label]}):(0,n.jsx)(G,{href:e.href,"aria-label":e.label,title:e.label,children:e.icon})},e.id)}return(0,n.jsxs)(mt,{...u,$extended:p,"aria-label":l,"data-extended":p,onTransitionEnd:_,children:[(0,n.jsx)(ht,{$extended:p,children:(0,n.jsx)(U,{"aria-label":p?`Collapse sidebar`:`Expand sidebar`,"aria-expanded":p,onClick:g,size:`sm`,ghost:!0,icon:p?r.ChevronLeft:r.ChevronRight})}),(0,n.jsx)(gt,{"aria-label":c,children:t.map(e=>v(e))}),(0,n.jsx)(vt,{children:v(i)})]})}var bt=t.styled.div`
858
865
  position: relative;
859
866
  display: block;
860
867
  width: 100%;
@@ -862,69 +869,69 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require
862
869
  aspect-ratio: ${({$aspectRatio:e})=>e};
863
870
  box-sizing: border-box;
864
871
  overflow: hidden;
865
- padding: ${({theme:e})=>d(e).space.inset};
866
- border: ${({theme:e})=>d(e).camera.border};
867
- border-radius: ${({theme:e})=>d(e).camera.borderRadius};
868
- background: ${({theme:e})=>d(e).colors.surface};
869
- color: ${({theme:e})=>d(e).colors.text};
870
- `,Ct=t.styled.video`
872
+ padding: ${({theme:e})=>f(e).space.inset};
873
+ border: ${({theme:e})=>f(e).camera.border};
874
+ border-radius: ${({theme:e})=>f(e).camera.borderRadius};
875
+ background: ${({theme:e})=>f(e).colors.surface};
876
+ color: ${({theme:e})=>f(e).colors.text};
877
+ `,xt=t.styled.video`
871
878
  position: absolute;
872
879
  inset: 0;
873
880
  width: 100%;
874
881
  height: 100%;
875
882
  object-fit: cover;
876
- `,wt=t.styled.div`
883
+ `,St=t.styled.div`
877
884
  position: absolute;
878
885
  inset: 0;
879
886
  display: flex;
880
887
  align-items: center;
881
888
  justify-content: center;
882
- background: ${({theme:e})=>d(e).colors.secondary};
883
- color: ${({theme:e})=>d(e).colors.primary};
884
- font-family: ${({theme:e})=>d(e).font.sans};
885
- font-size: ${({theme:e})=>d(e).camera.fallbackFontSize};
886
- font-weight: ${({theme:e})=>d(e).camera.fallbackFontWeight};
889
+ background: ${({theme:e})=>f(e).colors.secondary};
890
+ color: ${({theme:e})=>f(e).colors.primary};
891
+ font-family: ${({theme:e})=>f(e).font.sans};
892
+ font-size: ${({theme:e})=>f(e).camera.fallbackFontSize};
893
+ font-weight: ${({theme:e})=>f(e).camera.fallbackFontWeight};
887
894
  `,$=t.styled.div`
888
895
  position: absolute;
889
896
  z-index: 1;
890
897
  ${({$placement:e})=>e===`top-right`?t.css`
891
- top: ${({theme:e})=>d(e).space.inset};
892
- right: ${({theme:e})=>d(e).space.inset};
898
+ top: ${({theme:e})=>f(e).space.inset};
899
+ right: ${({theme:e})=>f(e).space.inset};
893
900
  `:t.css`
894
- right: ${({theme:e})=>d(e).space.inset};
895
- bottom: ${({theme:e})=>d(e).space.inset};
901
+ right: ${({theme:e})=>f(e).space.inset};
902
+ bottom: ${({theme:e})=>f(e).space.inset};
896
903
  `}
897
- `,Tt=t.styled.span`
904
+ `,Ct=t.styled.span`
898
905
  position: absolute;
899
906
  z-index: 1;
900
- bottom: ${({theme:e})=>d(e).space.inset};
901
- left: ${({theme:e})=>d(e).space.inset};
902
- max-width: ${({theme:e})=>`calc(100% - ${d(e).camera.nameMaxWidthOffset})`};
907
+ bottom: ${({theme:e})=>f(e).space.inset};
908
+ left: ${({theme:e})=>f(e).space.inset};
909
+ max-width: ${({theme:e})=>`calc(100% - ${f(e).camera.nameMaxWidthOffset})`};
903
910
  overflow: hidden;
904
- padding: ${({theme:e})=>`${d(e).space.xs} ${d(e).space.sm}`};
905
- border-radius: ${({theme:e})=>d(e).camera.nameBorderRadius};
906
- background: ${({theme:e})=>`color-mix(in srgb, ${d(e).colors.ink} 65%, transparent)`};
907
- color: ${({theme:e})=>d(e).colors.muted};
908
- font-family: ${({theme:e})=>d(e).font.sans};
909
- font-size: ${({theme:e})=>d(e).typography.small};
911
+ padding: ${({theme:e})=>`${f(e).space.xs} ${f(e).space.sm}`};
912
+ border-radius: ${({theme:e})=>f(e).camera.nameBorderRadius};
913
+ background: ${({theme:e})=>`color-mix(in srgb, ${f(e).colors.ink} 65%, transparent)`};
914
+ color: ${({theme:e})=>f(e).colors.muted};
915
+ font-family: ${({theme:e})=>f(e).font.sans};
916
+ font-size: ${({theme:e})=>f(e).typography.small};
910
917
  text-overflow: ellipsis;
911
918
  white-space: nowrap;
912
- `;function Et({disabled:e}){return(0,n.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,"aria-hidden":`true`,children:[(0,n.jsx)(`path`,{d:`M4 7.5h11.5A1.5 1.5 0 0 1 17 9v1.5l4-2.5v8l-4-2.5V15a1.5 1.5 0 0 1-1.5 1.5H5.5A1.5 1.5 0 0 1 4 15V7.5Z`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}),e?(0,n.jsx)(`path`,{d:`m3 3 18 18`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`}):null]})}function Dt({disabled:e}){return(0,n.jsxs)(`svg`,{viewBox:`0 0 24 24`,fill:`none`,"aria-hidden":`true`,children:[(0,n.jsx)(`path`,{d:`M12 15a3 3 0 0 0 3-3V6a3 3 0 0 0-6 0v6a3 3 0 0 0 3 3Zm0 0v5m-4 0h8m-11-8a7 7 0 0 0 14 0`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`,strokeLinejoin:`round`}),e?(0,n.jsx)(`path`,{d:`m3 3 18 18`,stroke:`currentColor`,strokeWidth:`2`,strokeLinecap:`round`}):null]})}function Ot({firstName:t,lastName:r,stream:i,cameraEnabled:a,audioEnabled:o,onCameraToggle:s,onAudioToggle:c,aspectRatio:l=16/9,...u}){let d=(0,e.useRef)(null),f=`${t} ${r}`.trim(),p=`${t.charAt(0)}${r.charAt(0)}`.toUpperCase(),m=a&&!!i;return(0,e.useEffect)(()=>{let e=d.current;if(e)return e.srcObject=m?i??null:null,()=>{e.srcObject=null}},[m,i]),(0,n.jsxs)(St,{...u,$aspectRatio:Number.isFinite(l)&&l>0?l:16/9,role:`group`,"aria-label":`${f} camera`,children:[m?(0,n.jsx)(Ct,{ref:d,autoPlay:!0,muted:!0,playsInline:!0}):(0,n.jsx)(wt,{"aria-hidden":`true`,children:p}),(0,n.jsx)($,{$placement:`top-right`,children:(0,n.jsx)(H,{"aria-label":`Turn camera ${a?`off`:`on`}`,"aria-pressed":a,variant:`primary`,size:`md`,shape:`rounded`,ghost:!0,onClick:s,children:(0,n.jsx)(Et,{disabled:!a})})}),(0,n.jsx)($,{$placement:`bottom-right`,children:(0,n.jsx)(H,{"aria-label":`Turn audio ${o?`off`:`on`}`,"aria-pressed":o,variant:`primary`,size:`md`,shape:`rounded`,ghost:!0,onClick:c,children:(0,n.jsx)(Dt,{disabled:!o})})}),(0,n.jsx)(Tt,{children:f})]})}var kt=t.createGlobalStyle`
919
+ `;function wt({firstName:t,lastName:i,stream:a,cameraEnabled:o,audioEnabled:s,onCameraToggle:c,onAudioToggle:l,aspectRatio:u=16/9,...d}){let f=(0,e.useRef)(null),p=`${t} ${i}`.trim(),m=`${t.charAt(0)}${i.charAt(0)}`.toUpperCase(),h=o&&!!a;return(0,e.useEffect)(()=>{let e=f.current;if(e)return e.srcObject=h?a??null:null,()=>{e.srcObject=null}},[h,a]),(0,n.jsxs)(bt,{...d,$aspectRatio:Number.isFinite(u)&&u>0?u:16/9,role:`group`,"aria-label":`${p} camera`,children:[h?(0,n.jsx)(xt,{ref:f,autoPlay:!0,muted:!0,playsInline:!0}):(0,n.jsx)(St,{"aria-hidden":`true`,children:m}),(0,n.jsx)($,{$placement:`top-right`,children:(0,n.jsx)(U,{"aria-label":`Turn camera ${o?`off`:`on`}`,"aria-pressed":o,variant:`primary`,size:`md`,shape:`rounded`,ghost:!0,onClick:c,icon:o?r.Video:r.VideoOff})}),(0,n.jsx)($,{$placement:`bottom-right`,children:(0,n.jsx)(U,{"aria-label":`Turn audio ${s?`off`:`on`}`,"aria-pressed":s,variant:`primary`,size:`md`,shape:`rounded`,ghost:!0,onClick:l,icon:s?r.Mic:r.MicOff})}),(0,n.jsx)(Ct,{children:p})]})}var Tt=t.createGlobalStyle`
913
920
  :root {
914
- --jynko-shadow-solid: ${({theme:e})=>d(e).shadow.button};
915
- --jynko-modal-padding: ${({theme:e})=>d(e).modal.padding};
916
- --jynko-modal-max-width: ${({theme:e})=>d(e).modal.maxWidth};
917
- --jynko-modal-max-height: ${({theme:e})=>d(e).modal.maxHeight};
918
- --jynko-modal-border-radius: ${({theme:e})=>d(e).modal.borderRadius};
919
- --jynko-modal-box-shadow: ${({theme:e})=>d(e).shadow.modal};
921
+ --jynko-shadow-solid: ${({theme:e})=>f(e).shadow.button};
922
+ --jynko-modal-padding: ${({theme:e})=>f(e).modal.padding};
923
+ --jynko-modal-max-width: ${({theme:e})=>f(e).modal.maxWidth};
924
+ --jynko-modal-max-height: ${({theme:e})=>f(e).modal.maxHeight};
925
+ --jynko-modal-border-radius: ${({theme:e})=>f(e).modal.borderRadius};
926
+ --jynko-modal-box-shadow: ${({theme:e})=>f(e).shadow.modal};
920
927
  }
921
928
 
922
929
  button {
923
- border: ${({theme:e})=>d(e).button.border};
924
- border-radius: ${({theme:e})=>d(e).button.borderRadius};
925
- padding: ${({theme:e})=>d(e).button.padding};
926
- font-size: ${({theme:e})=>d(e).button.fontSize};
927
- text-transform: ${({theme:e})=>d(e).button.textTransform};
930
+ border: ${({theme:e})=>f(e).button.border};
931
+ border-radius: ${({theme:e})=>f(e).button.borderRadius};
932
+ padding: ${({theme:e})=>f(e).button.padding};
933
+ font-size: ${({theme:e})=>f(e).button.fontSize};
934
+ text-transform: ${({theme:e})=>f(e).button.textTransform};
928
935
  }
929
- `;function At({children:e,theme:r=u}){return(0,n.jsxs)(t.ThemeProvider,{theme:r,children:[(0,n.jsx)(kt,{}),e]})}exports.AAvatar=p,exports.ABadge=x,exports.AButton=j,exports.AIcon=P,exports.AIconButton=H,exports.AIconLink=W,exports.AInput=he,exports.ALink=J,exports.ALogo=xe,exports.ASearchInput=Ae,exports.ASection=Me,exports.ASelect=We,exports.ATextarea=Je,exports.ATypography=Xe,exports.JynkoProvider=At,exports.MModal=ut,exports.MNavLinks=pt,exports.MUserBadge=ht,exports.OSidebar=xt,exports.OUserCamera=Ot,exports.theme=u;
936
+ `;function Et({children:e,theme:r=d}){return(0,n.jsxs)(t.ThemeProvider,{theme:r,children:[(0,n.jsx)(Tt,{}),e]})}exports.AAvatar=m,exports.ABadge=S,exports.AButton=M,exports.AIcon=F,exports.AIconButton=U,exports.AIconLink=G,exports.AInput=he,exports.ALink=J,exports.ALogo=xe,exports.ASearchInput=ke,exports.ASection=je,exports.ASelect=We,exports.ATextarea=Je,exports.ATypography=Xe,exports.JynkoProvider=Et,exports.MModal=lt,exports.MNavLinks=ft,exports.MUserBadge=Q,exports.OSidebar=yt,exports.OUserCamera=wt,exports.theme=d;
930
937
  //# sourceMappingURL=index.cjs.map