@ghostly-solutions/ui 0.3.10 → 1.0.1
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/chunk-dweaczp3.js +11 -0
- package/dist/components/badge/badge.d.ts +1 -1
- package/dist/components/button/button.d.ts +1 -1
- package/dist/components/command/command.d.ts.map +1 -1
- package/dist/components/kbd/kbd.d.ts +2 -0
- package/dist/components/kbd/kbd.d.ts.map +1 -1
- package/dist/components/navbar/navbar.d.ts +1 -1
- package/dist/components/spotlight/index.d.ts +1 -1
- package/dist/components/spotlight/index.d.ts.map +1 -1
- package/dist/components/spotlight/spotlight.d.ts +4 -7
- package/dist/components/spotlight/spotlight.d.ts.map +1 -1
- package/dist/contracts/component-contracts.d.ts +75 -0
- package/dist/contracts/component-contracts.d.ts.map +1 -0
- package/dist/contracts/events.d.ts +14 -0
- package/dist/contracts/events.d.ts.map +1 -0
- package/dist/contracts/hotkeys.d.ts +108 -0
- package/dist/contracts/hotkeys.d.ts.map +1 -0
- package/dist/contracts/index.d.ts +6 -0
- package/dist/contracts/index.d.ts.map +1 -0
- package/dist/contracts/primitives.d.ts +72 -0
- package/dist/contracts/primitives.d.ts.map +1 -0
- package/dist/contracts/theme.d.ts +24 -0
- package/dist/contracts/theme.d.ts.map +1 -0
- package/dist/hooks/use-media-query.d.ts.map +1 -1
- package/dist/hooks/use-platform.d.ts.map +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -4
- package/dist/lib/density.d.ts +3 -3
- package/dist/lib/density.d.ts.map +1 -1
- package/dist/lib/hotkey.d.ts +6 -91
- package/dist/lib/hotkey.d.ts.map +1 -1
- package/dist/lib/platform.d.ts +2 -1
- package/dist/lib/platform.d.ts.map +1 -1
- package/dist/lib/theme/constants.d.ts +3 -2
- package/dist/lib/theme/constants.d.ts.map +1 -1
- package/dist/lib/theme/system.d.ts.map +1 -1
- package/dist/lib/types.d.ts +1 -36
- package/dist/lib/types.d.ts.map +1 -1
- package/dist/server.d.ts +4 -2
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +1 -1
- package/dist/styles/index.css +1 -1
- package/dist/styles/themes/base.css +1 -1
- package/dist/styles/themes/ghost-guard.css +1 -1
- package/dist/styles/themes/ghostly-solutions.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-h6zev10f.js +0 -11
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import{clsx as x}from"clsx";import{twMerge as _}from"tailwind-merge";function ce(...e){return _(x(e))}var H={Mod:"mod",Ctrl:"ctrl",Control:"control",Alt:"alt",Option:"option",Shift:"shift",Meta:"meta",Cmd:"cmd",Command:"command",Enter:"enter",Return:"return",Escape:"escape",Esc:"esc",Backspace:"backspace",Delete:"delete",Del:"del",Tab:"tab",Space:"space",ArrowUp:"arrowup",ArrowDown:"arrowdown",ArrowLeft:"arrowleft",ArrowRight:"arrowright",Up:"up",Down:"down",Left:"left",Right:"right",Plus:"plus",A:"a",B:"b",C:"c",D:"d",E:"e",F:"f",G:"g",H:"h",I:"i",J:"j",K:"k",L:"l",M:"m",N:"n",O:"o",P:"p",Q:"q",R:"r",S:"s",T:"t",U:"u",V:"v",W:"w",X:"x",Y:"y",Z:"z",D0:"0",D1:"1",D2:"2",D3:"3",D4:"4",D5:"5",D6:"6",D7:"7",D8:"8",D9:"9",F1:"f1",F2:"f2",F3:"f3",F4:"f4",F5:"f5",F6:"f6",F7:"f7",F8:"f8",F9:"f9",F10:"f10",F11:"f11",F12:"f12"},c={mod:"mod",ctrl:"ctrl",control:"control",alt:"alt",option:"option",shift:"shift",meta:"meta",cmd:"cmd",command:"command"};var j={xs:"xs",sm:"sm",md:"md",lg:"lg",xl:"xl"},Y={default:"default",primary:"primary",secondary:"secondary",outline:"outline",ghost:"ghost",link:"link",destructive:"destructive",danger:"danger",neutral:"neutral"},v={default:"default",neutral:"neutral",success:"success",warning:"warning",error:"error",info:"info"},$={comfortable:"comfortable",compact:"compact",sm:"sm"},G={none:"none",subtle:"subtle",expressive:"expressive"},U={solid:"solid",glass:"glass"},q={low:"low",medium:"medium",high:"high"},B={horizontal:"horizontal",vertical:"vertical"},J={top:"top",right:"right",bottom:"bottom",left:"left"},Q={start:"start",center:"center",end:"end"};var S={light:"light",dark:"dark",system:"system"};var X={os:"linux",isMac:!1,isWindows:!1,isLinux:!0,isMobile:!1},d=null;function T(){if(typeof navigator>"u")return X;if(d)return d;let e=navigator.userAgentData?.platform??navigator.platform??"",t=navigator.userAgent??"",y=/mac/i.test(e),n=/win/i.test(e),r="maxTouchPoints"in navigator&&navigator.maxTouchPoints>1&&y&&/Mobile/i.test(t),f=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(t)||r,a=/linux/i.test(e)&&!f;return d={os:y?"mac":n?"windows":"linux",isMac:y,isWindows:n,isLinux:a,isMobile:f},d}function ke(...e){return e.join("+")}var Pe=new Set(Object.values(c)),Z={esc:"escape",return:"enter",del:"delete",space:" ",spacebar:" ",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright",plus:"+"},V={mod:"⌘",ctrl:"⌃",control:"⌃",alt:"⌥",option:"⌥",shift:"⇧",meta:"⌘",cmd:"⌘",command:"⌘",enter:"⏎",return:"⏎",backspace:"⌫",delete:"⌦",tab:"⇥",escape:"Esc",esc:"Esc",space:"␣",up:"↑",down:"↓",left:"←",right:"→",arrowup:"↑",arrowdown:"↓",arrowleft:"←",arrowright:"→"},b={mod:"Ctrl",cmd:"Ctrl",command:"Ctrl",meta:"Super",ctrl:"Ctrl",control:"Ctrl",alt:"Alt",option:"Alt",shift:"Shift",enter:"Enter",return:"Enter",backspace:"Backspace",delete:"Del",tab:"Tab",escape:"Esc",esc:"Esc",space:"Space",up:"↑",down:"↓",left:"←",right:"→",arrowup:"↑",arrowdown:"↓",arrowleft:"←",arrowright:"→"};function Ke(e){let t=e.split("+").map((n)=>n.trim().toLowerCase()),y={key:"",mod:!1,ctrl:!1,alt:!1,shift:!1,meta:!1};for(let n of t)if(n==="mod")y.mod=!0;else if(n==="ctrl"||n==="control")y.ctrl=!0;else if(n==="alt"||n==="option")y.alt=!0;else if(n==="shift")y.shift=!0;else if(n==="meta"||n==="cmd"||n==="command")y.meta=!0;else y.key=Z[n]??n;return y}function ge(e,t){let{isMac:y}=T(),n=e.key.toLowerCase(),i=t.key.toLowerCase();if(i&&n!==i&&e.code.toLowerCase()!==`key${i}`)return!1;let r=t.meta||t.mod&&y,f=t.ctrl||t.mod&&!y;if(e.metaKey!==r)return!1;if(e.ctrlKey!==f)return!1;if(e.altKey!==t.alt)return!1;if(e.shiftKey!==t.shift)return!1;return!0}function Ie(e,t){let y=t??T().isMac,n=y?V:b,r=(Array.isArray(e)?e.join("+"):e).split("+").map((f)=>{let a=f.trim().toLowerCase();return n[a]??f.trim().toUpperCase()});return y?r.join(""):r.join("+")}function We(e,t){let n=t??T().isMac?V:b;return(Array.isArray(e)?e.join("+"):e).split("+").map((r)=>{let f=r.trim().toLowerCase();return n[f]??r.trim().toUpperCase()})}import*as s from"react";function z(...e){return(t)=>{for(let y of e)if(typeof y==="function")y(t);else if(y!=null)y.current=t}}function xe(...e){return s.useCallback(z(...e),e)}function _e(e,t){let y=s.createContext(t);y.displayName=e;function n(){let i=s.useContext(y);if(i===void 0)throw Error(`use${e} must be used within a ${e}Provider`);return i}return[y.Provider,n,y]}function je(e){let t=s.createContext(void 0);t.displayName=e;function y(){return s.useContext(t)}return[t.Provider,y,t]}var p=S,w="data-gs-theme",h="data-gs-color-scheme",A="dark",$e=1,C="gs",R=`${C}-theme-state`,Ge=`${C}-density`,D=`${C}-theme-state`;var N="ghostly-solutions",ee=p.system,te="both",ye="/",ne="lax",ie=31536000;function L(e){return typeof e==="object"&&e!==null}function M(e){return e===p.light||e===p.dark||e===p.system}function O(e){return e===p.light||e===p.dark}function l(e){return typeof e==="string"&&e.trim().length>0}function k(e,t=ee){if(M(e))return e;return t}function re(e){if(!Array.isArray(e))return[];let t=e.filter(l);if(t.length===0)return[];return[...new Set(t)]}function fe(e,t){let y=l(e)?e:N;if(t.length===0)return y;if(t.includes(y))return y;return t[0]??y}function P(e,t,y){if(!l(e))return t;if(y.length===0)return e;if(y.includes(e))return e;return t}function le(e){if(e===!1)return!1;let t=e?.mode==="localStorage"||e?.mode==="cookie"||e?.mode==="both"?e.mode:te,y=l(e?.key)?e.key:R,n=l(e?.cookie?.name)?e.cookie.name:D,i=l(e?.cookie?.path)?e.cookie.path:ye,r=typeof e?.cookie?.maxAge==="number"&&Number.isFinite(e.cookie.maxAge)?Math.max(0,Math.floor(e.cookie.maxAge)):ie,f=e?.cookie?.sameSite==="strict"||e?.cookie?.sameSite==="none"||e?.cookie?.sameSite==="lax"?e.cookie.sameSite:ne,a=e?.cookie?.secure===!0;return{mode:t,key:y,cookie:{name:n,path:i,maxAge:r,sameSite:f,secure:a}}}function o(e={}){let t=re(e.themes);return{defaultTheme:fe(e.defaultTheme,t),defaultColorScheme:k(e.defaultColorScheme),themes:t,attribute:l(e.attribute)?e.attribute:w,colorSchemeAttribute:e.colorSchemeAttribute===!1?!1:l(e.colorSchemeAttribute)?e.colorSchemeAttribute:h,darkClassName:l(e.darkClassName)?e.darkClassName:A,storage:le(e.storage)}}function u(e,t={}){let y=o(t);return{theme:P(e?.theme,y.defaultTheme,y.themes),colorScheme:k(e?.colorScheme,y.defaultColorScheme)}}function K(e,t={}){let y=u(e,t);return JSON.stringify({theme:y.theme,colorScheme:y.colorScheme})}function g(e){if(!l(e))return null;try{let t=JSON.parse(e);if(!L(t))return null;let y=l(t.theme)?t.theme:l(t.t)?t.t:null,n=M(t.colorScheme)?t.colorScheme:M(t.c)?t.c:null;if(!(y&&n))return null;return{theme:y,colorScheme:n}}catch{return null}}function pe(e,t){if(!(l(e)&&l(t)))return null;let y=e.split(";");for(let n of y){let i=n.trim();if(!i)continue;let r=i.indexOf("=");if(r===-1)continue;if(i.slice(0,r).trim()!==t)continue;let a=i.slice(r+1).trim();return a.length>0?a:null}return null}function I(e){return Boolean(e&&(e.mode==="localStorage"||e.mode==="both"))}function m(e){return Boolean(e&&(e.mode==="cookie"||e.mode==="both"))}function W(e,t={}){if(!l(e))return null;let y=o(t);if(!m(y.storage))return null;let n=pe(e,y.storage.cookie.name);if(!l(n))return null;try{let i=decodeURIComponent(n),r=g(i);if(!r)return null;return u(r,y)}catch{return null}}function ae(e){if(e==="strict")return"Strict";if(e==="none")return"None";return"Lax"}function oe(e,t={}){let y=o(t);if(!m(y.storage))return null;let n=u(e,y),i=encodeURIComponent(K(n,y)),r=y.storage.cookie,f=`${r.name}=${i}; Path=${r.path}; Max-Age=${r.maxAge}; SameSite=${ae(r.sameSite)}`;if(r.secure)f+="; Secure";return f}function Be(e={}){if(typeof window>"u")return null;let t=o(e);if(I(t.storage))try{let y=window.localStorage.getItem(t.storage.key),n=g(y);if(n)return u(n,t)}catch{}if(m(t.storage))return W(window.document.cookie,t);return null}function Je(e,t={}){if(typeof window>"u")return;let y=o(t),n=u(e,y),i=K(n,y);if(I(y.storage))try{window.localStorage.setItem(y.storage.key,i)}catch{}if(m(y.storage)){let r=oe(n,y);if(r)window.document.cookie=r}}function F(e,t){if(e===p.system)return t;return e}function se(){if(typeof window>"u"||typeof window.matchMedia!=="function")return p.light;return window.matchMedia("(prefers-color-scheme: dark)").matches?p.dark:p.light}function Qe(e={}){let t=o(e),y=l(e.state?.theme),n=M(e.state?.colorScheme),i=u(e.state,t);if(l(e.cookieHeader)&&m(t.storage)){let f=W(e.cookieHeader,t);if(f)i=u({theme:y?e.state?.theme:f.theme,colorScheme:n?e.state?.colorScheme:f.colorScheme},t)}let r=O(e.systemColorScheme)?e.systemColorScheme:p.light;return{...i,resolvedColorScheme:F(i.colorScheme,r)}}function ue(e){return L(e)&&O(e.resolvedColorScheme)}function he(e,t={},y=p.light){let n=o(t),i=u(e,n),r=ue(e)?{...i,resolvedColorScheme:e.resolvedColorScheme}:{...i,resolvedColorScheme:F(i.colorScheme,y)},f={[n.attribute]:r.theme};if(n.colorSchemeAttribute)f[n.colorSchemeAttribute]=r.colorScheme;return{attributes:f,className:r.resolvedColorScheme===p.dark?n.darkClassName:"",style:{colorScheme:r.resolvedColorScheme},state:r}}function Xe(e,t,y={}){let n=o(y),i=he(t,n,se());if(e.setAttribute(n.attribute,i.state.theme),n.attribute!==w)e.removeAttribute(w);if(n.colorSchemeAttribute){if(e.setAttribute(n.colorSchemeAttribute,i.state.colorScheme),n.colorSchemeAttribute!==h)e.removeAttribute(h)}else e.removeAttribute(h);if(i.state.resolvedColorScheme===p.dark)e.classList.add(n.darkClassName);else e.classList.remove(n.darkClassName);return e.style.colorScheme=i.state.resolvedColorScheme,i.state}function me(e){return e.replace(/\\/g,"\\\\").replace(/"/g,"\\\"")}function E(e,t){let y=Object.entries(t).filter(([i,r])=>l(i)&&l(r));if(y.length===0)return"";let n=y.map(([i,r])=>` --${i}: ${r};`).join(`
|
|
2
|
+
`);return`${e} {
|
|
3
|
+
${n}
|
|
4
|
+
}`}function de(e){let t=o({attribute:e.attribute,darkClassName:e.darkClassName,defaultTheme:e.theme}),y=P(e.theme,t.defaultTheme,[]),n=me(y),i=`:root[${t.attribute}="${n}"]`,r=`${i}.${t.darkClassName}`,f=E(i,e.light),a=e.dark?E(r,e.dark):"";if(f&&a)return`${f}
|
|
5
|
+
|
|
6
|
+
${a}
|
|
7
|
+
`;if(f)return`${f}
|
|
8
|
+
`;if(a)return`${a}
|
|
9
|
+
`;return""}function Ze(e){if(!Array.isArray(e.themes)||e.themes.length===0)return"";return e.themes.map((t)=>de({theme:t.theme,light:t.light,dark:t.dark,attribute:e.attribute,darkClassName:e.darkClassName})).filter(l).join(`
|
|
10
|
+
`)}
|
|
11
|
+
export{ce as a,H as b,c,j as d,Y as e,v as f,$ as g,G as h,U as i,q as j,B as k,J as l,Q as m,S as n,X as o,T as p,ke as q,Ke as r,ge as s,Ie as t,We as u,z as v,xe as w,_e as x,je as y,p as z,w as A,h as B,A as C,$e as D,C as E,R as F,Ge as G,D as H,o as I,u as J,K,g as L,W as M,oe as N,Be as O,Je as P,F as Q,se as R,Qe as S,he as T,Xe as U,de as V,Ze as W};
|
|
@@ -17,7 +17,7 @@ declare const Size: {
|
|
|
17
17
|
type VariantValue = (typeof Variant)[keyof typeof Variant];
|
|
18
18
|
type SizeValue = (typeof Size)[keyof typeof Size];
|
|
19
19
|
declare const badgeVariants: (props?: ({
|
|
20
|
-
variant?: "default" | "
|
|
20
|
+
variant?: "default" | "primary" | "outline" | "success" | "warning" | "error" | "info" | null | undefined;
|
|
21
21
|
solid?: boolean | null | undefined;
|
|
22
22
|
size?: "sm" | "md" | "lg" | "dot" | null | undefined;
|
|
23
23
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -33,7 +33,7 @@ type SizeValue = (typeof Size)[keyof typeof Size];
|
|
|
33
33
|
type BadgeToneValue = (typeof BadgeTone)[keyof typeof BadgeTone];
|
|
34
34
|
type IconSizeValue = (typeof IconSize)[keyof typeof IconSize];
|
|
35
35
|
declare const buttonVariants: (props?: ({
|
|
36
|
-
variant?: "
|
|
36
|
+
variant?: "primary" | "secondary" | "outline" | "ghost" | "danger" | "neutral" | null | undefined;
|
|
37
37
|
size?: "sm" | "md" | "lg" | "xl" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
38
38
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
39
39
|
declare const buttonIconVariants: (props?: ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/components/command/command.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,EACN,KAAK,wBAAwB,EAI7B,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"command.d.ts","sourceRoot":"","sources":["../../../src/components/command/command.tsx"],"names":[],"mappings":"AAE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AC,EAAE,SAAS,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,kHAQpB,CAAC;AAIF,UAAU,mBAAoB,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IACpE,QAAQ,CAAC,EAAE,SAAS,CAAC;CACrB;AAED,QAAA,MAAM,cAAc,gHAQnB,CAAC;AAIF,UAAU,yBAAyB;IAClC,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,CAAC;IAC7C,QAAQ,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,kBAAkB,GAAI,6BAAsC,yBAAyB,SAE1F,CAAC;AAEF,OAAO,EACN,OAAO,EACP,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,oBAAoB,EACpB,YAAY,EACZ,2BAA2B,EAC3B,oBAAoB,EACpB,YAAY,EACZ,oBAAoB,EACpB,WAAW,EACX,mBAAmB,EACnB,WAAW,EACX,mBAAmB,EACnB,cAAc,EACd,sBAAsB,EACtB,sBAAsB,EACtB,gBAAgB,EAChB,wBAAwB,EACxB,eAAe,EACf,uBAAuB,EACvB,UAAU,EACV,kBAAkB,EAClB,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,YAAY,EACjB,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,GACzB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type HTMLAttributes } from "react";
|
|
2
|
+
import { type HotkeyCombo } from "@/lib/hotkey";
|
|
2
3
|
declare const Size: {
|
|
3
4
|
readonly sm: "sm";
|
|
4
5
|
readonly md: "md";
|
|
@@ -10,6 +11,7 @@ declare const kbdVariants: (props?: ({
|
|
|
10
11
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
11
12
|
interface KbdProps extends HTMLAttributes<HTMLElement> {
|
|
12
13
|
size?: SizeValue;
|
|
14
|
+
combo?: HotkeyCombo | string;
|
|
13
15
|
keys?: string;
|
|
14
16
|
}
|
|
15
17
|
declare const Kbd: import("react").ForwardRefExoticComponent<KbdProps & import("react").RefAttributes<HTMLElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kbd.d.ts","sourceRoot":"","sources":["../../../src/components/kbd/kbd.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"kbd.d.ts","sourceRoot":"","sources":["../../../src/components/kbd/kbd.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAc,KAAK,cAAc,EAAE,MAAM,OAAO,CAAC;AAIxD,OAAO,EAAE,KAAK,WAAW,EAAgB,MAAM,cAAc,CAAC;AAE9D,QAAA,MAAM,IAAI;;;;CAIA,CAAC;AAEX,KAAK,SAAS,GAAG,CAAC,OAAO,IAAI,CAAC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAElD,QAAA,MAAM,WAAW;;8EAchB,CAAC;AAEF,UAAU,QAAS,SAAQ,cAAc,CAAC,WAAW,CAAC;IACrD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;CACd;AAED,QAAA,MAAM,GAAG,kGAaR,CAAC;AAIF,OAAO,EAAE,GAAG,EAAE,WAAW,EAAE,IAAI,IAAI,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,SAAS,IAAI,YAAY,EAAE,CAAC"}
|
|
@@ -11,7 +11,7 @@ declare const navbarBrandTaglineVariants: (props?: ({
|
|
|
11
11
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
13
|
declare const navbarContentVariants: (props?: ({
|
|
14
|
-
align?: "
|
|
14
|
+
align?: "start" | "center" | "end" | null | undefined;
|
|
15
15
|
gap?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
16
16
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
17
17
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Spotlight, matchesQuery, type SpotlightAction, type SpotlightFilterFn, type SpotlightProps, type SpotlightRenderItem, SpotlightSize, type SpotlightSizeValue, SpotlightStatus, type SpotlightStatusValue, spotlightDrawerPanelVariants, spotlightGroupLabelVariants, spotlightHeaderVariants, spotlightIconVariants, spotlightInputVariants,
|
|
1
|
+
export { Spotlight, matchesQuery, type SpotlightAction, type SpotlightFilterFn, type SpotlightProps, type SpotlightRenderItem, SpotlightSize, type SpotlightSizeValue, SpotlightStatus, type SpotlightStatusValue, spotlightDrawerPanelVariants, spotlightGroupLabelVariants, spotlightHeaderVariants, spotlightIconVariants, spotlightInputVariants, spotlightOptionContentVariants, spotlightOptionDescriptionVariants, spotlightOptionIconVariants, spotlightOptionTitleVariants, spotlightOptionVariants, spotlightOverlayVariants, spotlightPanelVariants, spotlightResultsVariants, spotlightShortcutVariants, spotlightStatusDescriptionVariants, spotlightStatusTitleVariants, spotlightStatusVariants, } from "./spotlight";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/spotlight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,aAAa,EACb,KAAK,kBAAkB,EACvB,eAAe,EACf,KAAK,oBAAoB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/spotlight/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,aAAa,EACb,KAAK,kBAAkB,EACvB,eAAe,EACf,KAAK,oBAAoB,EACzB,4BAA4B,EAC5B,2BAA2B,EAC3B,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,8BAA8B,EAC9B,kCAAkC,EAClC,2BAA2B,EAC3B,4BAA4B,EAC5B,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,kCAAkC,EAClC,4BAA4B,EAC5B,uBAAuB,GACvB,MAAM,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type ComponentPropsWithoutRef, type ReactNode } from "react";
|
|
2
|
-
import { type
|
|
2
|
+
import { type HotkeyCombo } from "@/lib/hotkey";
|
|
3
3
|
declare const SpotlightSize: {
|
|
4
4
|
readonly sm: "sm";
|
|
5
5
|
readonly md: "md";
|
|
@@ -27,9 +27,6 @@ declare const spotlightInputVariants: (props?: ({
|
|
|
27
27
|
declare const spotlightIconVariants: (props?: ({
|
|
28
28
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
29
29
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
30
|
-
declare const spotlightKbdVariants: (props?: ({
|
|
31
|
-
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
32
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
33
30
|
declare const spotlightResultsVariants: (props?: ({
|
|
34
31
|
size?: "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
35
32
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
@@ -71,7 +68,7 @@ interface SpotlightAction {
|
|
|
71
68
|
description?: string;
|
|
72
69
|
group?: string;
|
|
73
70
|
icon?: ReactNode;
|
|
74
|
-
shortcut?:
|
|
71
|
+
shortcut?: HotkeyCombo;
|
|
75
72
|
keywords?: string[];
|
|
76
73
|
disabled?: boolean;
|
|
77
74
|
}
|
|
@@ -94,7 +91,7 @@ interface SpotlightProps extends Omit<ComponentPropsWithoutRef<"div">, "defaultV
|
|
|
94
91
|
status?: SpotlightStatusValue;
|
|
95
92
|
statusMessage?: string | null;
|
|
96
93
|
emptyText?: string;
|
|
97
|
-
hotkey?:
|
|
94
|
+
hotkey?: HotkeyCombo;
|
|
98
95
|
portal?: boolean;
|
|
99
96
|
filterFn?: SpotlightFilterFn;
|
|
100
97
|
renderItem?: SpotlightRenderItem;
|
|
@@ -102,5 +99,5 @@ interface SpotlightProps extends Omit<ComponentPropsWithoutRef<"div">, "defaultV
|
|
|
102
99
|
}
|
|
103
100
|
declare const matchesQuery: (action: SpotlightAction, query: string) => boolean;
|
|
104
101
|
declare const Spotlight: import("react").ForwardRefExoticComponent<SpotlightProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
105
|
-
export { Spotlight, SpotlightSize, SpotlightStatus, matchesQuery, spotlightDrawerPanelVariants, spotlightGroupLabelVariants, spotlightHeaderVariants, spotlightIconVariants, spotlightInputVariants,
|
|
102
|
+
export { Spotlight, SpotlightSize, SpotlightStatus, matchesQuery, spotlightDrawerPanelVariants, spotlightGroupLabelVariants, spotlightHeaderVariants, spotlightIconVariants, spotlightInputVariants, spotlightOptionContentVariants, spotlightOptionDescriptionVariants, spotlightOptionIconVariants, spotlightOptionTitleVariants, spotlightOptionVariants, spotlightOverlayVariants, spotlightPanelVariants, spotlightResultsVariants, spotlightShortcutVariants, spotlightStatusDescriptionVariants, spotlightStatusTitleVariants, spotlightStatusVariants, type SpotlightAction, type SpotlightFilterFn, type SpotlightProps, type SpotlightRenderItem, type SpotlightSizeValue, type SpotlightStatusValue, };
|
|
106
103
|
//# sourceMappingURL=spotlight.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spotlight.d.ts","sourceRoot":"","sources":["../../../src/components/spotlight/spotlight.tsx"],"names":[],"mappings":"AAGA,OAAO,EACN,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EAMd,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"spotlight.d.ts","sourceRoot":"","sources":["../../../src/components/spotlight/spotlight.tsx"],"names":[],"mappings":"AAGA,OAAO,EACN,KAAK,wBAAwB,EAE7B,KAAK,SAAS,EAMd,MAAM,OAAO,CAAC;AAQf,OAAO,EAAE,KAAK,WAAW,EAAsB,MAAM,cAAc,CAAC;AAIpE,QAAA,MAAM,aAAa;;;;;CAKT,CAAC;AAEX,KAAK,kBAAkB,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAS7E,QAAA,MAAM,eAAe;;;;CAIX,CAAC;AAEX,KAAK,oBAAoB,GAAG,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEnF,QAAA,MAAM,wBAAwB,oFAA6B,CAAC;AAE5D,QAAA,MAAM,sBAAsB;;8EAmB3B,CAAC;AAEF,QAAA,MAAM,4BAA4B,oFAKhC,CAAC;AAEH,QAAA,MAAM,uBAAuB;;8EAY3B,CAAC;AAEH,QAAA,MAAM,sBAAsB;;8EAmB3B,CAAC;AAEF,QAAA,MAAM,qBAAqB;;8EAYzB,CAAC;AAEH,QAAA,MAAM,wBAAwB;;8EAY5B,CAAC;AAEH,QAAA,MAAM,2BAA2B;;8EAehC,CAAC;AAEF,QAAA,MAAM,uBAAuB;;;;8EA8B5B,CAAC;AAEF,QAAA,MAAM,2BAA2B;;;8EAiB/B,CAAC;AAEH,QAAA,MAAM,8BAA8B,oFAAwB,CAAC;AAE7D,QAAA,MAAM,4BAA4B;;8EAYhC,CAAC;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,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,MAAM,CAAC,EAAE,oBAAoB,CAAC;IAC9B,aAAa,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IAC7B,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,MAAM,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,QAAA,MAAM,YAAY,GAAI,QAAQ,eAAe,EAAE,OAAO,MAAM,KAAG,OAO9D,CAAC;AAEF,QAAA,MAAM,SAAS,2GA4Yd,CAAC;AAIF,OAAO,EACN,SAAS,EACT,aAAa,EACb,eAAe,EACf,YAAY,EACZ,4BAA4B,EAC5B,2BAA2B,EAC3B,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,8BAA8B,EAC9B,kCAAkC,EAClC,2BAA2B,EAC3B,4BAA4B,EAC5B,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,kCAAkC,EAClC,4BAA4B,EAC5B,uBAAuB,EACvB,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,GACzB,CAAC"}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import type { AlignValue, DensityValue, EmphasisLevelValue, MotionLevelValue, OrientationValue, SideValue, SizeValue, StatusValue, SurfaceStyleValue, VariantValue } from "./primitives";
|
|
3
|
+
type RequiredProps<T, K extends keyof T> = T & Required<Pick<T, K>>;
|
|
4
|
+
type PolymorphicRef<C extends React.ElementType> = React.ComponentPropsWithRef<C>["ref"];
|
|
5
|
+
type PolymorphicComponentProps<C extends React.ElementType, Props = object> = Props & Omit<React.ComponentPropsWithoutRef<C>, keyof Props> & {
|
|
6
|
+
as?: C;
|
|
7
|
+
};
|
|
8
|
+
type PolymorphicComponentPropsWithRef<C extends React.ElementType, Props = object> = PolymorphicComponentProps<C, Props> & {
|
|
9
|
+
ref?: PolymorphicRef<C>;
|
|
10
|
+
};
|
|
11
|
+
type PropsOf<C extends React.ElementType> = React.ComponentPropsWithoutRef<C>;
|
|
12
|
+
interface ClassNameProps {
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
interface ChildrenProps {
|
|
16
|
+
children?: React.ReactNode;
|
|
17
|
+
}
|
|
18
|
+
interface BaseProps extends ClassNameProps, ChildrenProps {
|
|
19
|
+
}
|
|
20
|
+
interface SlotProps {
|
|
21
|
+
asChild?: boolean;
|
|
22
|
+
}
|
|
23
|
+
interface DisableableProps {
|
|
24
|
+
disabled?: boolean;
|
|
25
|
+
}
|
|
26
|
+
interface LoadableProps {
|
|
27
|
+
loading?: boolean;
|
|
28
|
+
}
|
|
29
|
+
interface WithSize<TSize extends string = SizeValue> {
|
|
30
|
+
size?: TSize;
|
|
31
|
+
}
|
|
32
|
+
interface WithVariant<TVariant extends string = VariantValue> {
|
|
33
|
+
variant?: TVariant;
|
|
34
|
+
}
|
|
35
|
+
interface WithStatus<TStatus extends string = StatusValue> {
|
|
36
|
+
status?: TStatus;
|
|
37
|
+
}
|
|
38
|
+
interface WithDensity<TDensity extends string = DensityValue> {
|
|
39
|
+
density?: TDensity;
|
|
40
|
+
}
|
|
41
|
+
interface WithOrientation<TOrientation extends string = OrientationValue> {
|
|
42
|
+
orientation?: TOrientation;
|
|
43
|
+
}
|
|
44
|
+
interface WithSide<TSide extends string = SideValue> {
|
|
45
|
+
side?: TSide;
|
|
46
|
+
}
|
|
47
|
+
interface WithAlign<TAlign extends string = AlignValue> {
|
|
48
|
+
align?: TAlign;
|
|
49
|
+
}
|
|
50
|
+
interface WithMotionLevel<TMotionLevel extends string = MotionLevelValue> {
|
|
51
|
+
motion?: TMotionLevel;
|
|
52
|
+
}
|
|
53
|
+
interface WithSurfaceStyle<TSurfaceStyle extends string = SurfaceStyleValue> {
|
|
54
|
+
surface?: TSurfaceStyle;
|
|
55
|
+
}
|
|
56
|
+
interface WithEmphasisLevel<TEmphasis extends string = EmphasisLevelValue> {
|
|
57
|
+
emphasis?: TEmphasis;
|
|
58
|
+
}
|
|
59
|
+
interface ValueChangeHandler<TValue> {
|
|
60
|
+
onValueChange?: (value: TValue) => void;
|
|
61
|
+
}
|
|
62
|
+
interface OpenChangeHandler {
|
|
63
|
+
onOpenChange?: (open: boolean) => void;
|
|
64
|
+
}
|
|
65
|
+
interface AriaDescribedBy {
|
|
66
|
+
"aria-describedby"?: string;
|
|
67
|
+
}
|
|
68
|
+
interface AriaLabelledBy {
|
|
69
|
+
"aria-labelledby"?: string;
|
|
70
|
+
}
|
|
71
|
+
interface TestIdProp {
|
|
72
|
+
testId?: string;
|
|
73
|
+
}
|
|
74
|
+
export type { AriaDescribedBy, AriaLabelledBy, BaseProps, ChildrenProps, ClassNameProps, DisableableProps, LoadableProps, OpenChangeHandler, PolymorphicComponentProps, PolymorphicComponentPropsWithRef, PolymorphicRef, PropsOf, RequiredProps, SlotProps, TestIdProp, ValueChangeHandler, WithAlign, WithDensity, WithEmphasisLevel, WithMotionLevel, WithOrientation, WithSide, WithSize, WithStatus, WithSurfaceStyle, WithVariant, };
|
|
75
|
+
//# sourceMappingURL=component-contracts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-contracts.d.ts","sourceRoot":"","sources":["../../src/contracts/component-contracts.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AACpC,OAAO,KAAK,EACX,UAAU,EACV,YAAY,EACZ,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,SAAS,EACT,WAAW,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B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,UAAU,UAAU;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,YAAY,EACX,eAAe,EACf,cAAc,EACd,SAAS,EACT,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,gCAAgC,EAChC,cAAc,EACd,OAAO,EACP,aAAa,EACb,SAAS,EACT,UAAU,EACV,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,WAAW,GACX,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
type ControllableValue<TValue> = {
|
|
2
|
+
value?: TValue;
|
|
3
|
+
defaultValue?: TValue;
|
|
4
|
+
onValueChange?: (value: TValue) => void;
|
|
5
|
+
};
|
|
6
|
+
type ControllableOpen = {
|
|
7
|
+
open?: boolean;
|
|
8
|
+
defaultOpen?: boolean;
|
|
9
|
+
onOpenChange?: (open: boolean) => void;
|
|
10
|
+
};
|
|
11
|
+
type ChangeReason = "user" | "programmatic" | "reset" | "initialize";
|
|
12
|
+
type SelectionChangeHandler<TValue> = (value: TValue, reason?: ChangeReason) => void;
|
|
13
|
+
export type { ChangeReason, ControllableOpen, ControllableValue, SelectionChangeHandler };
|
|
14
|
+
//# sourceMappingURL=events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../src/contracts/events.ts"],"names":[],"mappings":"AAAA,KAAK,iBAAiB,CAAC,MAAM,IAAI;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;CACvC,CAAC;AAEF,KAAK,YAAY,GAAG,MAAM,GAAG,cAAc,GAAG,OAAO,GAAG,YAAY,CAAC;AAErE,KAAK,sBAAsB,CAAC,MAAM,IAAI,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,YAAY,KAAK,IAAI,CAAC;AAErF,YAAY,EAAE,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,CAAC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
declare const HotkeyKey: {
|
|
2
|
+
readonly Mod: "mod";
|
|
3
|
+
readonly Ctrl: "ctrl";
|
|
4
|
+
readonly Control: "control";
|
|
5
|
+
readonly Alt: "alt";
|
|
6
|
+
readonly Option: "option";
|
|
7
|
+
readonly Shift: "shift";
|
|
8
|
+
readonly Meta: "meta";
|
|
9
|
+
readonly Cmd: "cmd";
|
|
10
|
+
readonly Command: "command";
|
|
11
|
+
readonly Enter: "enter";
|
|
12
|
+
readonly Return: "return";
|
|
13
|
+
readonly Escape: "escape";
|
|
14
|
+
readonly Esc: "esc";
|
|
15
|
+
readonly Backspace: "backspace";
|
|
16
|
+
readonly Delete: "delete";
|
|
17
|
+
readonly Del: "del";
|
|
18
|
+
readonly Tab: "tab";
|
|
19
|
+
readonly Space: "space";
|
|
20
|
+
readonly ArrowUp: "arrowup";
|
|
21
|
+
readonly ArrowDown: "arrowdown";
|
|
22
|
+
readonly ArrowLeft: "arrowleft";
|
|
23
|
+
readonly ArrowRight: "arrowright";
|
|
24
|
+
readonly Up: "up";
|
|
25
|
+
readonly Down: "down";
|
|
26
|
+
readonly Left: "left";
|
|
27
|
+
readonly Right: "right";
|
|
28
|
+
readonly Plus: "plus";
|
|
29
|
+
readonly A: "a";
|
|
30
|
+
readonly B: "b";
|
|
31
|
+
readonly C: "c";
|
|
32
|
+
readonly D: "d";
|
|
33
|
+
readonly E: "e";
|
|
34
|
+
readonly F: "f";
|
|
35
|
+
readonly G: "g";
|
|
36
|
+
readonly H: "h";
|
|
37
|
+
readonly I: "i";
|
|
38
|
+
readonly J: "j";
|
|
39
|
+
readonly K: "k";
|
|
40
|
+
readonly L: "l";
|
|
41
|
+
readonly M: "m";
|
|
42
|
+
readonly N: "n";
|
|
43
|
+
readonly O: "o";
|
|
44
|
+
readonly P: "p";
|
|
45
|
+
readonly Q: "q";
|
|
46
|
+
readonly R: "r";
|
|
47
|
+
readonly S: "s";
|
|
48
|
+
readonly T: "t";
|
|
49
|
+
readonly U: "u";
|
|
50
|
+
readonly V: "v";
|
|
51
|
+
readonly W: "w";
|
|
52
|
+
readonly X: "x";
|
|
53
|
+
readonly Y: "y";
|
|
54
|
+
readonly Z: "z";
|
|
55
|
+
readonly D0: "0";
|
|
56
|
+
readonly D1: "1";
|
|
57
|
+
readonly D2: "2";
|
|
58
|
+
readonly D3: "3";
|
|
59
|
+
readonly D4: "4";
|
|
60
|
+
readonly D5: "5";
|
|
61
|
+
readonly D6: "6";
|
|
62
|
+
readonly D7: "7";
|
|
63
|
+
readonly D8: "8";
|
|
64
|
+
readonly D9: "9";
|
|
65
|
+
readonly F1: "f1";
|
|
66
|
+
readonly F2: "f2";
|
|
67
|
+
readonly F3: "f3";
|
|
68
|
+
readonly F4: "f4";
|
|
69
|
+
readonly F5: "f5";
|
|
70
|
+
readonly F6: "f6";
|
|
71
|
+
readonly F7: "f7";
|
|
72
|
+
readonly F8: "f8";
|
|
73
|
+
readonly F9: "f9";
|
|
74
|
+
readonly F10: "f10";
|
|
75
|
+
readonly F11: "f11";
|
|
76
|
+
readonly F12: "f12";
|
|
77
|
+
};
|
|
78
|
+
type HotkeyToken = (typeof HotkeyKey)[keyof typeof HotkeyKey];
|
|
79
|
+
type HotkeyCombo = [HotkeyToken, ...HotkeyToken[]];
|
|
80
|
+
interface HotkeyDefinition {
|
|
81
|
+
key: string;
|
|
82
|
+
mod: boolean;
|
|
83
|
+
ctrl: boolean;
|
|
84
|
+
alt: boolean;
|
|
85
|
+
shift: boolean;
|
|
86
|
+
meta: boolean;
|
|
87
|
+
}
|
|
88
|
+
interface HotkeyBinding {
|
|
89
|
+
keys: string | string[];
|
|
90
|
+
label?: string;
|
|
91
|
+
preventDefault?: boolean;
|
|
92
|
+
stopPropagation?: boolean;
|
|
93
|
+
enabled?: boolean;
|
|
94
|
+
}
|
|
95
|
+
declare const HotkeyModifierKey: {
|
|
96
|
+
readonly mod: "mod";
|
|
97
|
+
readonly ctrl: "ctrl";
|
|
98
|
+
readonly control: "control";
|
|
99
|
+
readonly alt: "alt";
|
|
100
|
+
readonly option: "option";
|
|
101
|
+
readonly shift: "shift";
|
|
102
|
+
readonly meta: "meta";
|
|
103
|
+
readonly cmd: "cmd";
|
|
104
|
+
readonly command: "command";
|
|
105
|
+
};
|
|
106
|
+
type HotkeyModifierToken = (typeof HotkeyModifierKey)[keyof typeof HotkeyModifierKey];
|
|
107
|
+
export { HotkeyKey, HotkeyModifierKey, type HotkeyBinding, type HotkeyCombo, type HotkeyDefinition, type HotkeyModifierToken, type HotkeyToken, };
|
|
108
|
+
//# sourceMappingURL=hotkeys.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hotkeys.d.ts","sourceRoot":"","sources":["../../src/contracts/hotkeys.ts"],"names":[],"mappings":"AACA,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFL,CAAC;AAEX,KAAK,WAAW,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAC9D,KAAK,WAAW,GAAG,CAAC,WAAW,EAAE,GAAG,WAAW,EAAE,CAAC,CAAC;AAEnD,UAAU,gBAAgB;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,OAAO,CAAC;IACb,IAAI,EAAE,OAAO,CAAC;IACd,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,OAAO,CAAC;CACd;AAED,UAAU,aAAa;IACtB,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,OAAO,CAAC,EAAE,OAAO,CAAC;CAClB;AAED,QAAA,MAAM,iBAAiB;;;;;;;;;;CAUb,CAAC;AAEX,KAAK,mBAAmB,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC;AAEtF,OAAO,EACN,SAAS,EACT,iBAAiB,EACjB,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,EACxB,KAAK,WAAW,GAChB,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type { AriaDescribedBy, AriaLabelledBy, BaseProps, ChildrenProps, ClassNameProps, DisableableProps, LoadableProps, OpenChangeHandler, PolymorphicComponentProps, PolymorphicComponentPropsWithRef, PolymorphicRef, PropsOf, RequiredProps, SlotProps, TestIdProp, ValueChangeHandler, WithAlign, WithDensity, WithEmphasisLevel, WithMotionLevel, WithOrientation, WithSide, WithSize, WithStatus, WithSurfaceStyle, WithVariant, } from "./component-contracts";
|
|
2
|
+
export type { ChangeReason, ControllableOpen, ControllableValue, SelectionChangeHandler, } from "./events";
|
|
3
|
+
export { type HotkeyBinding, type HotkeyCombo, type HotkeyDefinition, HotkeyKey, HotkeyModifierKey, type HotkeyModifierToken, type HotkeyToken, } from "./hotkeys";
|
|
4
|
+
export { Align, type AlignValue, Density, type DensityValue, EmphasisLevel, type EmphasisLevelValue, MotionLevel, type MotionLevelValue, Orientation, type OrientationValue, Side, type SideValue, Size, type SizeValue, Status, type StatusValue, SurfaceStyle, type SurfaceStyleValue, Variant, type VariantValue, } from "./primitives";
|
|
5
|
+
export { type ResolvedThemeColorScheme, type ResolvedThemeState, ThemeColorScheme, type ThemeColorSchemeValue, type ThemeId, type ThemeState, type ThemeStateChangeMeta, type ThemeStateChangeReason, type ThemeStateReader, type ThemeStateWriter, } from "./theme";
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,eAAe,EACf,cAAc,EACd,SAAS,EACT,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,yBAAyB,EACzB,gCAAgC,EAChC,cAAc,EACd,OAAO,EACP,aAAa,EACb,SAAS,EACT,UAAU,EACV,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,QAAQ,EACR,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,WAAW,GACX,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EACX,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,GACtB,MAAM,UAAU,CAAC;AAClB,OAAO,EACN,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,SAAS,EACT,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,WAAW,GAChB,MAAM,WAAW,CAAC;AACnB,OAAO,EACN,KAAK,EACL,KAAK,UAAU,EACf,OAAO,EACP,KAAK,YAAY,EACjB,aAAa,EACb,KAAK,kBAAkB,EACvB,WAAW,EACX,KAAK,gBAAgB,EACrB,WAAW,EACX,KAAK,gBAAgB,EACrB,IAAI,EACJ,KAAK,SAAS,EACd,IAAI,EACJ,KAAK,SAAS,EACd,MAAM,EACN,KAAK,WAAW,EAChB,YAAY,EACZ,KAAK,iBAAiB,EACtB,OAAO,EACP,KAAK,YAAY,GACjB,MAAM,cAAc,CAAC;AACtB,OAAO,EACN,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,GACrB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
declare const Size: {
|
|
2
|
+
readonly xs: "xs";
|
|
3
|
+
readonly sm: "sm";
|
|
4
|
+
readonly md: "md";
|
|
5
|
+
readonly lg: "lg";
|
|
6
|
+
readonly xl: "xl";
|
|
7
|
+
};
|
|
8
|
+
declare const Variant: {
|
|
9
|
+
readonly default: "default";
|
|
10
|
+
readonly primary: "primary";
|
|
11
|
+
readonly secondary: "secondary";
|
|
12
|
+
readonly outline: "outline";
|
|
13
|
+
readonly ghost: "ghost";
|
|
14
|
+
readonly link: "link";
|
|
15
|
+
readonly destructive: "destructive";
|
|
16
|
+
readonly danger: "danger";
|
|
17
|
+
readonly neutral: "neutral";
|
|
18
|
+
};
|
|
19
|
+
declare const Status: {
|
|
20
|
+
readonly default: "default";
|
|
21
|
+
readonly neutral: "neutral";
|
|
22
|
+
readonly success: "success";
|
|
23
|
+
readonly warning: "warning";
|
|
24
|
+
readonly error: "error";
|
|
25
|
+
readonly info: "info";
|
|
26
|
+
};
|
|
27
|
+
declare const Density: {
|
|
28
|
+
readonly comfortable: "comfortable";
|
|
29
|
+
readonly compact: "compact";
|
|
30
|
+
readonly sm: "sm";
|
|
31
|
+
};
|
|
32
|
+
declare const MotionLevel: {
|
|
33
|
+
readonly none: "none";
|
|
34
|
+
readonly subtle: "subtle";
|
|
35
|
+
readonly expressive: "expressive";
|
|
36
|
+
};
|
|
37
|
+
declare const SurfaceStyle: {
|
|
38
|
+
readonly solid: "solid";
|
|
39
|
+
readonly glass: "glass";
|
|
40
|
+
};
|
|
41
|
+
declare const EmphasisLevel: {
|
|
42
|
+
readonly low: "low";
|
|
43
|
+
readonly medium: "medium";
|
|
44
|
+
readonly high: "high";
|
|
45
|
+
};
|
|
46
|
+
declare const Orientation: {
|
|
47
|
+
readonly horizontal: "horizontal";
|
|
48
|
+
readonly vertical: "vertical";
|
|
49
|
+
};
|
|
50
|
+
declare const Side: {
|
|
51
|
+
readonly top: "top";
|
|
52
|
+
readonly right: "right";
|
|
53
|
+
readonly bottom: "bottom";
|
|
54
|
+
readonly left: "left";
|
|
55
|
+
};
|
|
56
|
+
declare const Align: {
|
|
57
|
+
readonly start: "start";
|
|
58
|
+
readonly center: "center";
|
|
59
|
+
readonly end: "end";
|
|
60
|
+
};
|
|
61
|
+
type SizeValue = (typeof Size)[keyof typeof Size];
|
|
62
|
+
type VariantValue = (typeof Variant)[keyof typeof Variant];
|
|
63
|
+
type StatusValue = (typeof Status)[keyof typeof Status];
|
|
64
|
+
type DensityValue = (typeof Density)[keyof typeof Density];
|
|
65
|
+
type MotionLevelValue = (typeof MotionLevel)[keyof typeof MotionLevel];
|
|
66
|
+
type SurfaceStyleValue = (typeof SurfaceStyle)[keyof typeof SurfaceStyle];
|
|
67
|
+
type EmphasisLevelValue = (typeof EmphasisLevel)[keyof typeof EmphasisLevel];
|
|
68
|
+
type OrientationValue = (typeof Orientation)[keyof typeof Orientation];
|
|
69
|
+
type SideValue = (typeof Side)[keyof typeof Side];
|
|
70
|
+
type AlignValue = (typeof Align)[keyof typeof Align];
|
|
71
|
+
export { Align, type AlignValue, Density, type DensityValue, EmphasisLevel, type EmphasisLevelValue, MotionLevel, type MotionLevelValue, Orientation, type OrientationValue, Side, type SideValue, Size, type SizeValue, Status, type StatusValue, SurfaceStyle, type SurfaceStyleValue, Variant, type VariantValue, };
|
|
72
|
+
//# sourceMappingURL=primitives.d.ts.map
|
|
@@ -0,0 +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AC,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC;AAClD,KAAK,UAAU,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC;AAErD,OAAO,EACN,KAAK,EACL,KAAK,UAAU,EACf,OAAO,EACP,KAAK,YAAY,EACjB,aAAa,EACb,KAAK,kBAAkB,EACvB,WAAW,EACX,KAAK,gBAAgB,EACrB,WAAW,EACX,KAAK,gBAAgB,EACrB,IAAI,EACJ,KAAK,SAAS,EACd,IAAI,EACJ,KAAK,SAAS,EACd,MAAM,EACN,KAAK,WAAW,EAChB,YAAY,EACZ,KAAK,iBAAiB,EACtB,OAAO,EACP,KAAK,YAAY,GACjB,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const ThemeColorScheme: {
|
|
2
|
+
readonly light: "light";
|
|
3
|
+
readonly dark: "dark";
|
|
4
|
+
readonly system: "system";
|
|
5
|
+
};
|
|
6
|
+
type ThemeColorSchemeValue = (typeof ThemeColorScheme)[keyof typeof ThemeColorScheme];
|
|
7
|
+
type ResolvedThemeColorScheme = "light" | "dark";
|
|
8
|
+
type ThemeId = string;
|
|
9
|
+
interface ThemeState {
|
|
10
|
+
theme: ThemeId;
|
|
11
|
+
colorScheme: ThemeColorSchemeValue;
|
|
12
|
+
}
|
|
13
|
+
interface ResolvedThemeState extends ThemeState {
|
|
14
|
+
resolvedColorScheme: ResolvedThemeColorScheme;
|
|
15
|
+
}
|
|
16
|
+
interface ThemeStateChangeMeta {
|
|
17
|
+
reason: "set-theme" | "set-color-scheme" | "set-state" | "bootstrap";
|
|
18
|
+
persisted: boolean;
|
|
19
|
+
}
|
|
20
|
+
type ThemeStateChangeReason = ThemeStateChangeMeta["reason"];
|
|
21
|
+
type ThemeStateReader = () => ThemeState | null;
|
|
22
|
+
type ThemeStateWriter = (state: ThemeState) => void;
|
|
23
|
+
export { ThemeColorScheme, type ResolvedThemeColorScheme, type ResolvedThemeState, type ThemeId, type ThemeState, type ThemeStateChangeMeta, type ThemeStateChangeReason, type ThemeStateReader, type ThemeStateWriter, type ThemeColorSchemeValue, };
|
|
24
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/contracts/theme.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,gBAAgB;;;;CAIZ,CAAC;AAEX,KAAK,qBAAqB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AACtF,KAAK,wBAAwB,GAAG,OAAO,GAAG,MAAM,CAAC;AACjD,KAAK,OAAO,GAAG,MAAM,CAAC;AAEtB,UAAU,UAAU;IACnB,KAAK,EAAE,OAAO,CAAC;IACf,WAAW,EAAE,qBAAqB,CAAC;CACnC;AAED,UAAU,kBAAmB,SAAQ,UAAU;IAC9C,mBAAmB,EAAE,wBAAwB,CAAC;CAC9C;AAED,UAAU,oBAAoB;IAC7B,MAAM,EAAE,WAAW,GAAG,kBAAkB,GAAG,WAAW,GAAG,WAAW,CAAC;IACrE,SAAS,EAAE,OAAO,CAAC;CACnB;AAED,KAAK,sBAAsB,GAAG,oBAAoB,CAAC,QAAQ,CAAC,CAAC;AAC7D,KAAK,gBAAgB,GAAG,MAAM,UAAU,GAAG,IAAI,CAAC;AAChD,KAAK,gBAAgB,GAAG,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;AAEpD,OAAO,EACN,gBAAgB,EAChB,KAAK,wBAAwB,EAC7B,KAAK,kBAAkB,EACvB,KAAK,OAAO,EACZ,KAAK,UAAU,EACf,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-media-query.d.ts","sourceRoot":"","sources":["../../src/hooks/use-media-query.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-media-query.d.ts","sourceRoot":"","sources":["../../src/hooks/use-media-query.ts"],"names":[],"mappings":"AAMA,iBAAS,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAqB7C;AAED,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-platform.d.ts","sourceRoot":"","sources":["../../src/hooks/use-platform.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-platform.d.ts","sourceRoot":"","sources":["../../src/hooks/use-platform.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAgB,MAAM,gBAAgB,CAAC;AAMlG,iBAAS,WAAW,IAAI,YAAY,CAEnC;AAED,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -58,13 +58,15 @@ export * from "./components/toggle-group";
|
|
|
58
58
|
export * from "./components/toolbar";
|
|
59
59
|
export * from "./components/tooltip";
|
|
60
60
|
export * from "./components/ui-provider";
|
|
61
|
+
export type { AriaDescribedBy, AriaLabelledBy, ChangeReason, ControllableOpen, ControllableValue, HotkeyBinding, HotkeyModifierToken, OpenChangeHandler, ResolvedThemeColorScheme, SelectionChangeHandler, TestIdProp, ThemeColorSchemeValue, ThemeId, ValueChangeHandler, WithAlign, WithDensity, WithEmphasisLevel, WithMotionLevel, WithOrientation, WithSide, WithSize, WithStatus, WithSurfaceStyle, WithVariant, } from "./contracts";
|
|
62
|
+
export { Align, Density, EmphasisLevel, HotkeyKey, HotkeyModifierKey, MotionLevel, Orientation, Side, Size, Status, SurfaceStyle, ThemeColorScheme, Variant, } from "./contracts";
|
|
61
63
|
export { useControllableState } from "./hooks/use-controllable-state";
|
|
62
64
|
export { type UseHotkeyOptions, useHotkey } from "./hooks/use-hotkey";
|
|
63
65
|
export { detectPlatform, type PlatformInfo, type PlatformOS, usePlatform, } from "./hooks/use-platform";
|
|
64
66
|
export { type ClassValue, cn } from "./lib/cn";
|
|
65
67
|
export { composeRefs, createContext, createOptionalContext, useComposedRefs } from "./lib/compose";
|
|
66
68
|
export { DENSITY_DEFAULT, DensityProvider, type DensityProviderProps, type DensityValue, useDensity, useDensitySize, } from "./lib/density";
|
|
67
|
-
export {
|
|
68
|
-
export { ColorScheme, type ColorSchemeValue, type CreateThemeCssOptions, type CreateThemesCssOptions, createThemeContract, createThemeCss, createThemeRegistry, createThemeSetCookieHeader, createThemeSystem, createThemesCss, DARK_CLASS, defineThemes, getSystemColorScheme, getThemeRootProps, normalizeThemeState, parseThemeState, type ResolvedColorScheme, type ResolvedThemeState, type ResolvedThemeStateFor, type ResolveThemeStateOptions, readThemeStateFromBrowserStorage, readThemeStateFromCookieHeader, resolveThemeState, STORAGE_DENSITY_KEY, STORAGE_PREFIX, STORAGE_THEME_STATE_KEY, STORAGE_VERSION, serializeThemeState, THEME_ATTR, THEME_COLOR_SCHEME_ATTR, THEME_COOKIE_NAME, type ThemeContextValue, type ThemeContextValueFor, type ThemeContract, type ThemeContractOptions, type
|
|
69
|
-
export type {
|
|
69
|
+
export { formatHotkey, formatHotkeyTokens, type HotkeyCombo, type HotkeyDefinition, type HotkeyToken, hotkey, Key, matchHotkey, parseHotkey, } from "./lib/hotkey";
|
|
70
|
+
export { ColorScheme, type ColorSchemeValue, type CreateThemeCssOptions, type CreateThemeSystemOptions, type CreateThemesCssOptions, createThemeContract, createThemeCss, createThemeRegistry, createThemeSetCookieHeader, createThemeSystem, createThemesCss, DARK_CLASS, defineThemes, getSystemColorScheme, getThemeRootProps, normalizeThemeState, parseThemeState, type ResolvedColorScheme, type ResolvedThemeState, type ResolvedThemeStateFor, type ResolveThemeStateOptions, readThemeStateFromBrowserStorage, readThemeStateFromCookieHeader, resolveThemeState, STORAGE_DENSITY_KEY, STORAGE_PREFIX, STORAGE_THEME_STATE_KEY, STORAGE_VERSION, serializeThemeState, THEME_ATTR, THEME_COLOR_SCHEME_ATTR, THEME_COOKIE_NAME, type ThemeContextValue, type ThemeContextValueFor, type ThemeContract, type ThemeContractOptions, type ThemeCookieOptions, type ThemeCookieSameSite, type ThemeCssDefinition, type ThemeCssTextDefinition, ThemeProvider, type ThemeProviderProps, type ThemeRegistry, type ThemeRegistryDefinition, type ThemeRegistryInput, type ThemeRegistryOptions, ThemeRegistryProvider, type ThemeRegistryProviderProps, type ThemeRegistryRecord, type ThemeRegistryRecordValue, type ThemeRootProps, type ThemeState, type ThemeStateChangeMeta, type ThemeStateChangeReason, type ThemeStateFor, type ThemeStateReader, type ThemeStateUpdateFor, type ThemeStateWriter, type ThemeStorageMode, type ThemeStorageOptions, ThemeStyles, type ThemeStylesProps, type ThemeSystem, type ThemeSystemProviderProps, type ThemeSystemStylesProps, type ThemeTokenDefinition, type ThemeTokenMap, type ThemeTokenValue, useTheme, writeThemeStateToBrowserStorage, } from "./lib/theme";
|
|
71
|
+
export type { BaseProps, ControlSize, ControlStatus, ControlVariant, DisableableProps, LoadableProps, PolymorphicComponentProps, PolymorphicComponentPropsWithRef, SlotProps, } from "./lib/types";
|
|
70
72
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,GAAG,EAAE,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1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