@stokelp/ui 2.122.0 → 2.123.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.
@@ -1,2 +1,2 @@
1
- "use client";const e=require("../../utils/slots.cjs");let t=require("@ark-ui/react"),n=require("@stokelp/styled-system/jsx"),r=require("@stokelp/styled-system/recipes"),i=require("react"),a=require("react/jsx-runtime");var{withProvider:o,withContext:s}=e.createStyleContext(r.tabs),c=o((0,n.styled)(t.Tabs.Root),`root`,{defaultProps:{lazyMount:!0}}),l=s((0,n.styled)(t.Tabs.Content),`content`),u=s((0,n.styled)(t.Tabs.Trigger),`trigger`),d=(0,n.styled)(t.ark.span,r.tabsChip),f=s((0,n.styled)(t.Tabs.Indicator),`indicator`),p=(0,i.forwardRef)(({children:e,...n},r)=>(0,a.jsxs)(t.Tabs.List,{ref:r,...n,children:[e,(0,a.jsx)(f,{})]}));p.displayName=t.Tabs.List.displayName;var m=s((0,n.styled)(p),`list`);exports.Tabs=c,exports.TabsChip=d,exports.TabsContent=l,exports.TabsList=m,exports.TabsTrigger=u;
1
+ "use client";const e=require("../../utils/slots.cjs");let t=require("@ark-ui/react"),n=require("@stokelp/styled-system/jsx"),r=require("@stokelp/styled-system/recipes"),i=require("react"),a=require("react/jsx-runtime");var{withProvider:o,withContext:s}=e.createStyleContext(r.tabs),c=o((0,n.styled)(t.Tabs.Root),`root`,{defaultProps:{lazyMount:!0}}),l=s((0,n.styled)(t.Tabs.Content),`content`),u=(0,i.forwardRef)(({children:e,...n},r)=>(0,a.jsx)(t.Tabs.Trigger,{ref:r,...n,children:i.Children.map(e,e=>typeof e==`string`&&e.trim()!==``||typeof e==`number`?(0,a.jsx)(`span`,{"data-label":e,children:e}):e)}));u.displayName=t.Tabs.Trigger.displayName;var d=s((0,n.styled)(u),`trigger`),f=(0,n.styled)(t.ark.span,r.tabsChip),p=s((0,n.styled)(t.Tabs.Indicator),`indicator`),m=(0,i.forwardRef)(({children:e,...n},r)=>(0,a.jsxs)(t.Tabs.List,{ref:r,...n,children:[e,(0,a.jsx)(p,{})]}));m.displayName=t.Tabs.List.displayName;var h=s((0,n.styled)(m),`list`);exports.Tabs=c,exports.TabsChip=f,exports.TabsContent=l,exports.TabsList=h,exports.TabsTrigger=d;
2
2
  //# sourceMappingURL=Tabs.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.cjs","names":[],"sources":["../../../src/components/tabs/Tabs.tsx"],"sourcesContent":["import { ark, Tabs as ArkTab } from '@ark-ui/react'\nimport { ComponentProps, type ComponentPropsWithoutRef, type ElementRef, forwardRef } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { tabs, tabsChip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\n\nconst { withProvider, withContext } = createStyleContext(tabs)\n\nexport const Tabs = withProvider(styled(ArkTab.Root), 'root', {\n defaultProps: {\n lazyMount: true,\n },\n})\nexport const TabsContent = withContext(styled(ArkTab.Content), 'content')\nexport const TabsTrigger = withContext(styled(ArkTab.Trigger), 'trigger')\nexport const TabsChip = styled(ark.span, tabsChip)\n\nconst TabsIndicator = withContext(styled(ArkTab.Indicator), 'indicator')\n\nconst List = forwardRef<ElementRef<typeof ArkTab.List>, ComponentPropsWithoutRef<typeof ArkTab.List>>(\n ({ children, ...props }, ref) => (\n <ArkTab.List ref={ref} {...props}>\n {children}\n <TabsIndicator />\n </ArkTab.List>\n ),\n)\nList.displayName = ArkTab.List.displayName\n\nexport const TabsList = withContext(styled(List), 'list')\n\nexport interface TabsProps extends ComponentProps<typeof Tabs> {}\n\nexport interface TabsContentProps extends ComponentProps<typeof TabsContent> {}\n\nexport interface TabsIndicatorProps extends ComponentProps<typeof TabsIndicator> {}\n\nexport interface TabsListProps extends ComponentProps<typeof TabsList> {}\n\nexport interface TabsTriggerProps extends ComponentProps<typeof TabsTrigger> {}\n\nexport interface TabsChipProps extends ComponentProps<typeof TabsChip> {}\n"],"mappings":"2NAMA,GAAM,CAAE,eAAc,eAAgB,EAAA,mBAAmB,EAAA,IAAI,EAEhD,EAAO,GAAA,EAAA,EAAA,QAAoB,EAAA,KAAO,IAAI,EAAG,OAAQ,CAC5D,aAAc,CACZ,UAAW,EACb,CACF,CAAC,EACY,EAAc,GAAA,EAAA,EAAA,QAAmB,EAAA,KAAO,OAAO,EAAG,SAAS,EAC3D,EAAc,GAAA,EAAA,EAAA,QAAmB,EAAA,KAAO,OAAO,EAAG,SAAS,EAC3D,GAAA,EAAA,EAAA,QAAkB,EAAA,IAAI,KAAM,EAAA,QAAQ,EAE3C,EAAgB,GAAA,EAAA,EAAA,QAAmB,EAAA,KAAO,SAAS,EAAG,WAAW,EAEjE,GAAA,EAAA,EAAA,aACH,CAAE,WAAU,GAAG,GAAS,KACvB,EAAA,EAAA,MAAC,EAAA,KAAO,KAAR,CAAkB,MAAK,GAAI,WAA3B,CACG,GACD,EAAA,EAAA,KAAC,EAAD,CAAgB,CAAA,CACL,GAEjB,EACA,EAAK,YAAc,EAAA,KAAO,KAAK,YAE/B,IAAa,EAAW,GAAA,EAAA,EAAA,QAAmB,CAAI,EAAG,MAAM"}
1
+ {"version":3,"file":"Tabs.cjs","names":[],"sources":["../../../src/components/tabs/Tabs.tsx"],"sourcesContent":["import { ark, Tabs as ArkTab } from '@ark-ui/react'\nimport { Children, ComponentProps, type ComponentPropsWithoutRef, type ElementRef, forwardRef } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { tabs, tabsChip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\n\nconst { withProvider, withContext } = createStyleContext(tabs)\n\nexport const Tabs = withProvider(styled(ArkTab.Root), 'root', {\n defaultProps: {\n lazyMount: true,\n },\n})\nexport const TabsContent = withContext(styled(ArkTab.Content), 'content')\n\n// Hover and selection render a trigger bold, which widens its label. The recipe\n// reserves the bold width on every [data-label] element, so string labels are\n// wrapped here and a weight change never moves a tab. Wrap a JSX label yourself\n// with `<span data-label={label}>{label}</span>` to get the same guarantee.\nconst Trigger = forwardRef<ElementRef<typeof ArkTab.Trigger>, ComponentPropsWithoutRef<typeof ArkTab.Trigger>>(\n ({ children, ...props }, ref) => (\n <ArkTab.Trigger ref={ref} {...props}>\n {Children.map(children, child =>\n (typeof child === 'string' && child.trim() !== '') || typeof child === 'number' ? (\n <span data-label={child}>{child}</span>\n ) : (\n child\n ),\n )}\n </ArkTab.Trigger>\n ),\n)\nTrigger.displayName = ArkTab.Trigger.displayName\n\nexport const TabsTrigger = withContext(styled(Trigger), 'trigger')\nexport const TabsChip = styled(ark.span, tabsChip)\n\nconst TabsIndicator = withContext(styled(ArkTab.Indicator), 'indicator')\n\nconst List = forwardRef<ElementRef<typeof ArkTab.List>, ComponentPropsWithoutRef<typeof ArkTab.List>>(\n ({ children, ...props }, ref) => (\n <ArkTab.List ref={ref} {...props}>\n {children}\n <TabsIndicator />\n </ArkTab.List>\n ),\n)\nList.displayName = ArkTab.List.displayName\n\nexport const TabsList = withContext(styled(List), 'list')\n\nexport interface TabsProps extends ComponentProps<typeof Tabs> {}\n\nexport interface TabsContentProps extends ComponentProps<typeof TabsContent> {}\n\nexport interface TabsIndicatorProps extends ComponentProps<typeof TabsIndicator> {}\n\nexport interface TabsListProps extends ComponentProps<typeof TabsList> {}\n\nexport interface TabsTriggerProps extends ComponentProps<typeof TabsTrigger> {}\n\nexport interface TabsChipProps extends ComponentProps<typeof TabsChip> {}\n"],"mappings":"2NAMA,GAAM,CAAE,eAAc,eAAgB,EAAA,mBAAmB,EAAA,IAAI,EAEhD,EAAO,GAAA,EAAA,EAAA,QAAoB,EAAA,KAAO,IAAI,EAAG,OAAQ,CAC5D,aAAc,CACZ,UAAW,EACb,CACF,CAAC,EACY,EAAc,GAAA,EAAA,EAAA,QAAmB,EAAA,KAAO,OAAO,EAAG,SAAS,EAMlE,GAAA,EAAA,EAAA,aACH,CAAE,WAAU,GAAG,GAAS,KACvB,EAAA,EAAA,KAAC,EAAA,KAAO,QAAR,CAAqB,MAAK,GAAI,WAC3B,EAAA,SAAS,IAAI,EAAU,GACrB,OAAO,GAAU,UAAY,EAAM,KAAK,IAAM,IAAO,OAAO,GAAU,UACrE,EAAA,EAAA,KAAC,OAAD,CAAM,aAAY,WAAQ,CAAY,CAAA,EAEtC,CAEJ,CACc,CAAA,CAEpB,EACA,EAAQ,YAAc,EAAA,KAAO,QAAQ,YAErC,IAAa,EAAc,GAAA,EAAA,EAAA,QAAmB,CAAO,EAAG,SAAS,EACpD,GAAA,EAAA,EAAA,QAAkB,EAAA,IAAI,KAAM,EAAA,QAAQ,EAE3C,EAAgB,GAAA,EAAA,EAAA,QAAmB,EAAA,KAAO,SAAS,EAAG,WAAW,EAEjE,GAAA,EAAA,EAAA,aACH,CAAE,WAAU,GAAG,GAAS,KACvB,EAAA,EAAA,MAAC,EAAA,KAAO,KAAR,CAAkB,MAAK,GAAI,WAA3B,CACG,GACD,EAAA,EAAA,KAAC,EAAD,CAAgB,CAAA,CACL,GAEjB,EACA,EAAK,YAAc,EAAA,KAAO,KAAK,YAE/B,IAAa,EAAW,GAAA,EAAA,EAAA,QAAmB,CAAI,EAAG,MAAM"}
@@ -5,7 +5,7 @@ import { StyledComponent } from '@stokelp/styled-system/types';
5
5
  import { TabsRecipe } from '@stokelp/styled-system/recipes';
6
6
  export declare const Tabs: ComponentVariants<StyledComponent<ForwardRefExoticComponent<ArkTab.RootProps & RefAttributes<HTMLDivElement>>, {}>, TabsRecipe>;
7
7
  export declare const TabsContent: StyledComponent<ForwardRefExoticComponent<ArkTab.ContentProps & RefAttributes<HTMLDivElement>>, {}>;
8
- export declare const TabsTrigger: StyledComponent<ForwardRefExoticComponent<ArkTab.TriggerProps & RefAttributes<HTMLButtonElement>>, {}>;
8
+ export declare const TabsTrigger: StyledComponent<ForwardRefExoticComponent<Omit<ArkTab.TriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>, {}>;
9
9
  export declare const TabsChip: StyledComponent<any, {
10
10
  [x: string]: unknown;
11
11
  [x: number]: unknown;
@@ -3,17 +3,26 @@ import { createStyleContext as e } from "../../utils/slots.js";
3
3
  import { Tabs as t, ark as n } from "@ark-ui/react";
4
4
  import { styled as r } from "@stokelp/styled-system/jsx";
5
5
  import { tabs as i, tabsChip as a } from "@stokelp/styled-system/recipes";
6
- import { forwardRef as o } from "react";
7
- import { jsx as s, jsxs as c } from "react/jsx-runtime";
6
+ import { Children as o, forwardRef as s } from "react";
7
+ import { jsx as c, jsxs as l } from "react/jsx-runtime";
8
8
  //#region src/components/tabs/Tabs.tsx
9
- var { withProvider: l, withContext: u } = e(i), d = l(r(t.Root), "root", { defaultProps: { lazyMount: !0 } }), f = u(r(t.Content), "content"), p = u(r(t.Trigger), "trigger"), m = r(n.span, a), h = u(r(t.Indicator), "indicator"), g = o(({ children: e, ...n }, r) => /* @__PURE__ */ c(t.List, {
9
+ var { withProvider: u, withContext: d } = e(i), f = u(r(t.Root), "root", { defaultProps: { lazyMount: !0 } }), p = d(r(t.Content), "content"), m = s(({ children: e, ...n }, r) => /* @__PURE__ */ c(t.Trigger, {
10
10
  ref: r,
11
11
  ...n,
12
- children: [e, /* @__PURE__ */ s(h, {})]
12
+ children: o.map(e, (e) => typeof e == "string" && e.trim() !== "" || typeof e == "number" ? /* @__PURE__ */ c("span", {
13
+ "data-label": e,
14
+ children: e
15
+ }) : e)
13
16
  }));
14
- g.displayName = t.List.displayName;
15
- var _ = u(r(g), "list");
17
+ m.displayName = t.Trigger.displayName;
18
+ var h = d(r(m), "trigger"), g = r(n.span, a), _ = d(r(t.Indicator), "indicator"), v = s(({ children: e, ...n }, r) => /* @__PURE__ */ l(t.List, {
19
+ ref: r,
20
+ ...n,
21
+ children: [e, /* @__PURE__ */ c(_, {})]
22
+ }));
23
+ v.displayName = t.List.displayName;
24
+ var y = d(r(v), "list");
16
25
  //#endregion
17
- export { d as Tabs, m as TabsChip, f as TabsContent, _ as TabsList, p as TabsTrigger };
26
+ export { f as Tabs, g as TabsChip, p as TabsContent, y as TabsList, h as TabsTrigger };
18
27
 
19
28
  //# sourceMappingURL=Tabs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Tabs.js","names":[],"sources":["../../../src/components/tabs/Tabs.tsx"],"sourcesContent":["import { ark, Tabs as ArkTab } from '@ark-ui/react'\nimport { ComponentProps, type ComponentPropsWithoutRef, type ElementRef, forwardRef } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { tabs, tabsChip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\n\nconst { withProvider, withContext } = createStyleContext(tabs)\n\nexport const Tabs = withProvider(styled(ArkTab.Root), 'root', {\n defaultProps: {\n lazyMount: true,\n },\n})\nexport const TabsContent = withContext(styled(ArkTab.Content), 'content')\nexport const TabsTrigger = withContext(styled(ArkTab.Trigger), 'trigger')\nexport const TabsChip = styled(ark.span, tabsChip)\n\nconst TabsIndicator = withContext(styled(ArkTab.Indicator), 'indicator')\n\nconst List = forwardRef<ElementRef<typeof ArkTab.List>, ComponentPropsWithoutRef<typeof ArkTab.List>>(\n ({ children, ...props }, ref) => (\n <ArkTab.List ref={ref} {...props}>\n {children}\n <TabsIndicator />\n </ArkTab.List>\n ),\n)\nList.displayName = ArkTab.List.displayName\n\nexport const TabsList = withContext(styled(List), 'list')\n\nexport interface TabsProps extends ComponentProps<typeof Tabs> {}\n\nexport interface TabsContentProps extends ComponentProps<typeof TabsContent> {}\n\nexport interface TabsIndicatorProps extends ComponentProps<typeof TabsIndicator> {}\n\nexport interface TabsListProps extends ComponentProps<typeof TabsList> {}\n\nexport interface TabsTriggerProps extends ComponentProps<typeof TabsTrigger> {}\n\nexport interface TabsChipProps extends ComponentProps<typeof TabsChip> {}\n"],"mappings":";;;;;;;;AAMA,IAAM,EAAE,iBAAc,mBAAgB,EAAmB,CAAI,GAEhD,IAAO,EAAa,EAAO,EAAO,IAAI,GAAG,QAAQ,EAC5D,cAAc,EACZ,WAAW,GACb,EACF,CAAC,GACY,IAAc,EAAY,EAAO,EAAO,OAAO,GAAG,SAAS,GAC3D,IAAc,EAAY,EAAO,EAAO,OAAO,GAAG,SAAS,GAC3D,IAAW,EAAO,EAAI,MAAM,CAAQ,GAE3C,IAAgB,EAAY,EAAO,EAAO,SAAS,GAAG,WAAW,GAEjE,IAAO,GACV,EAAE,aAAU,GAAG,KAAS,MACvB,kBAAC,EAAO,MAAR;CAAkB;CAAK,GAAI;WAA3B,CACG,GACD,kBAAC,GAAD,CAAgB,CAAA,CACL;EAEjB;AACA,EAAK,cAAc,EAAO,KAAK;AAE/B,IAAa,IAAW,EAAY,EAAO,CAAI,GAAG,MAAM"}
1
+ {"version":3,"file":"Tabs.js","names":[],"sources":["../../../src/components/tabs/Tabs.tsx"],"sourcesContent":["import { ark, Tabs as ArkTab } from '@ark-ui/react'\nimport { Children, ComponentProps, type ComponentPropsWithoutRef, type ElementRef, forwardRef } from 'react'\nimport { styled } from '@stokelp/styled-system/jsx'\nimport { tabs, tabsChip } from '@stokelp/styled-system/recipes'\nimport { createStyleContext } from '~/utils/slots.tsx'\n\nconst { withProvider, withContext } = createStyleContext(tabs)\n\nexport const Tabs = withProvider(styled(ArkTab.Root), 'root', {\n defaultProps: {\n lazyMount: true,\n },\n})\nexport const TabsContent = withContext(styled(ArkTab.Content), 'content')\n\n// Hover and selection render a trigger bold, which widens its label. The recipe\n// reserves the bold width on every [data-label] element, so string labels are\n// wrapped here and a weight change never moves a tab. Wrap a JSX label yourself\n// with `<span data-label={label}>{label}</span>` to get the same guarantee.\nconst Trigger = forwardRef<ElementRef<typeof ArkTab.Trigger>, ComponentPropsWithoutRef<typeof ArkTab.Trigger>>(\n ({ children, ...props }, ref) => (\n <ArkTab.Trigger ref={ref} {...props}>\n {Children.map(children, child =>\n (typeof child === 'string' && child.trim() !== '') || typeof child === 'number' ? (\n <span data-label={child}>{child}</span>\n ) : (\n child\n ),\n )}\n </ArkTab.Trigger>\n ),\n)\nTrigger.displayName = ArkTab.Trigger.displayName\n\nexport const TabsTrigger = withContext(styled(Trigger), 'trigger')\nexport const TabsChip = styled(ark.span, tabsChip)\n\nconst TabsIndicator = withContext(styled(ArkTab.Indicator), 'indicator')\n\nconst List = forwardRef<ElementRef<typeof ArkTab.List>, ComponentPropsWithoutRef<typeof ArkTab.List>>(\n ({ children, ...props }, ref) => (\n <ArkTab.List ref={ref} {...props}>\n {children}\n <TabsIndicator />\n </ArkTab.List>\n ),\n)\nList.displayName = ArkTab.List.displayName\n\nexport const TabsList = withContext(styled(List), 'list')\n\nexport interface TabsProps extends ComponentProps<typeof Tabs> {}\n\nexport interface TabsContentProps extends ComponentProps<typeof TabsContent> {}\n\nexport interface TabsIndicatorProps extends ComponentProps<typeof TabsIndicator> {}\n\nexport interface TabsListProps extends ComponentProps<typeof TabsList> {}\n\nexport interface TabsTriggerProps extends ComponentProps<typeof TabsTrigger> {}\n\nexport interface TabsChipProps extends ComponentProps<typeof TabsChip> {}\n"],"mappings":";;;;;;;;AAMA,IAAM,EAAE,iBAAc,mBAAgB,EAAmB,CAAI,GAEhD,IAAO,EAAa,EAAO,EAAO,IAAI,GAAG,QAAQ,EAC5D,cAAc,EACZ,WAAW,GACb,EACF,CAAC,GACY,IAAc,EAAY,EAAO,EAAO,OAAO,GAAG,SAAS,GAMlE,IAAU,GACb,EAAE,aAAU,GAAG,KAAS,MACvB,kBAAC,EAAO,SAAR;CAAqB;CAAK,GAAI;WAC3B,EAAS,IAAI,IAAU,MACrB,OAAO,KAAU,YAAY,EAAM,KAAK,MAAM,MAAO,OAAO,KAAU,WACrE,kBAAC,QAAD;EAAM,cAAY;YAAQ;CAAY,CAAA,IAEtC,CAEJ;AACc,CAAA,CAEpB;AACA,EAAQ,cAAc,EAAO,QAAQ;AAErC,IAAa,IAAc,EAAY,EAAO,CAAO,GAAG,SAAS,GACpD,IAAW,EAAO,EAAI,MAAM,CAAQ,GAE3C,IAAgB,EAAY,EAAO,EAAO,SAAS,GAAG,WAAW,GAEjE,IAAO,GACV,EAAE,aAAU,GAAG,KAAS,MACvB,kBAAC,EAAO,MAAR;CAAkB;CAAK,GAAI;WAA3B,CACG,GACD,kBAAC,GAAD,CAAgB,CAAA,CACL;EAEjB;AACA,EAAK,cAAc,EAAO,KAAK;AAE/B,IAAa,IAAW,EAAY,EAAO,CAAI,GAAG,MAAM"}
@@ -1,2 +1,2 @@
1
- "use client";let e=require("@ark-ui/react");var t=(0,require("@pandacss/dev").defineSlotRecipe)({className:`tabs`,slots:[...e.tabsAnatomy.keys()],base:{root:{isolation:`isolate`,display:`flex`,fontFamily:`satoshi`,_horizontal:{flexDirection:`column`},_vertical:{flexDirection:`row`}},list:{display:`flex`,flexShrink:`0`,_horizontal:{flexDirection:`row`},_vertical:{flexDirection:`column`},overflow:`auto`,position:`relative`,scrollbarWidth:`none`,"&::-webkit-scrollbar":{display:`none`}},trigger:{alignItems:`center`,color:`grey.400`,cursor:`pointer`,display:`inline-flex`,flexShrink:`0`,textStyle:`body.md`,gap:`space-4`,justifyContent:`center`,transitionDuration:`normal`,transitionProperty:`color, background, border-color`,transitionTimingFunction:`default`,whiteSpace:`nowrap`,zIndex:1,_disabled:{color:`grey.100`,cursor:`not-allowed`,_hover:{color:`grey.100`}},_hover:{color:`secondary.500`,fontWeight:`bold`},_selected:{color:`secondary.500`,fontWeight:`bold`,_hover:{color:`secondary.500`}},_vertical:{justifyContent:`flex-start`}}},defaultVariants:{variant:`line`,lineVariant:`primary`},variants:{lineVariant:{primary:{list:{color:`{colors.primary.100}`}},white:{list:{color:`white`}}},variant:{line:{list:{_horizontal:{boxShadow:`0 -2px 0 0 inset`},_vertical:{boxShadow:`2px 0 0 0 inset`}},indicator:{background:`secondary.500`,_horizontal:{bottom:0,height:`2px`,width:`var(--width)`},_vertical:{height:`var(--height)`,left:0,width:`2px`}},content:{pt:`space-4`},trigger:{_horizontal:{px:`space-24`,pb:`space-8`}}}}}});exports.tabsRecipe=t;
1
+ "use client";let e=require("@ark-ui/react");var t=(0,require("@pandacss/dev").defineSlotRecipe)({className:`tabs`,slots:[...e.tabsAnatomy.keys()],base:{root:{isolation:`isolate`,display:`flex`,fontFamily:`satoshi`,_horizontal:{flexDirection:`column`},_vertical:{flexDirection:`row`}},list:{display:`flex`,flexShrink:`0`,_horizontal:{flexDirection:`row`},_vertical:{flexDirection:`column`},overflow:`auto`,position:`relative`,scrollbarWidth:`none`,"&::-webkit-scrollbar":{display:`none`}},trigger:{alignItems:`center`,color:`grey.400`,cursor:`pointer`,display:`inline-flex`,flexShrink:`0`,textStyle:`body.md`,gap:`space-4`,justifyContent:`center`,transitionDuration:`normal`,transitionProperty:`color, background, border-color`,transitionTimingFunction:`default`,whiteSpace:`nowrap`,zIndex:1,_disabled:{color:`grey.100`,cursor:`not-allowed`,_hover:{color:`grey.100`}},_hover:{color:`secondary.500`,fontWeight:`bold`},_selected:{color:`secondary.500`,fontWeight:`bold`,_hover:{color:`secondary.500`}},_vertical:{justifyContent:`flex-start`,"& [data-label]":{textAlign:`start`}},"& [data-label]":{textAlign:`center`,_after:{content:`attr(data-label)`,display:`block`,fontWeight:`bold`,height:0,overflow:`hidden`,visibility:`hidden`}}}},defaultVariants:{variant:`line`,lineVariant:`primary`},variants:{lineVariant:{primary:{list:{color:`{colors.primary.100}`}},white:{list:{color:`white`}}},variant:{line:{list:{_horizontal:{boxShadow:`0 -2px 0 0 inset`},_vertical:{boxShadow:`2px 0 0 0 inset`}},indicator:{background:`secondary.500`,_horizontal:{bottom:0,height:`2px`,width:`var(--width)`},_vertical:{height:`var(--height)`,left:0,width:`2px`}},content:{pt:`space-4`},trigger:{_horizontal:{px:`space-24`,pb:`space-8`}}}}}});exports.tabsRecipe=t;
2
2
  //# sourceMappingURL=tabs.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.cjs","names":[],"sources":["../../../src/theme/recipes/tabs.ts"],"sourcesContent":["import { tabsAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const tabsRecipe = defineSlotRecipe({\n className: 'tabs',\n slots: [...tabsAnatomy.keys()],\n base: {\n root: {\n isolation: 'isolate',\n display: 'flex',\n fontFamily: 'satoshi',\n _horizontal: {\n flexDirection: 'column',\n },\n _vertical: {\n flexDirection: 'row',\n },\n },\n list: {\n display: 'flex',\n flexShrink: '0',\n _horizontal: {\n flexDirection: 'row',\n },\n _vertical: {\n flexDirection: 'column',\n },\n overflow: 'auto',\n position: 'relative',\n scrollbarWidth: 'none',\n '&::-webkit-scrollbar': {\n display: 'none',\n },\n },\n trigger: {\n alignItems: 'center',\n color: 'grey.400',\n cursor: 'pointer',\n display: 'inline-flex',\n flexShrink: '0',\n textStyle: 'body.md',\n gap: 'space-4',\n justifyContent: 'center',\n transitionDuration: 'normal',\n transitionProperty: 'color, background, border-color',\n transitionTimingFunction: 'default',\n whiteSpace: 'nowrap',\n zIndex: 1,\n _disabled: {\n color: 'grey.100',\n cursor: 'not-allowed',\n _hover: {\n color: 'grey.100',\n },\n },\n _hover: {\n color: 'secondary.500',\n fontWeight: 'bold',\n },\n _selected: {\n color: 'secondary.500',\n fontWeight: 'bold',\n _hover: {\n color: 'secondary.500',\n },\n },\n _vertical: {\n justifyContent: 'flex-start',\n },\n },\n },\n defaultVariants: {\n variant: 'line',\n lineVariant: 'primary',\n },\n variants: {\n lineVariant: {\n primary: {\n list: {\n color: '{colors.primary.100}',\n },\n },\n white: {\n list: {\n color: 'white',\n },\n },\n },\n variant: {\n line: {\n list: {\n _horizontal: {\n boxShadow: '0 -2px 0 0 inset',\n },\n _vertical: {\n boxShadow: '2px 0 0 0 inset',\n },\n },\n indicator: {\n background: 'secondary.500',\n _horizontal: {\n bottom: 0,\n height: '2px',\n width: 'var(--width)',\n },\n _vertical: {\n height: 'var(--height)',\n left: 0,\n width: '2px',\n },\n },\n content: {\n pt: 'space-4',\n },\n trigger: {\n _horizontal: {\n px: 'space-24',\n pb: 'space-8',\n },\n },\n },\n },\n },\n})\n"],"mappings":"4CAGA,IAAa,GAAA,yBAAA,EAAA,kBAA8B,CACzC,UAAW,OACX,MAAO,CAAC,GAAG,EAAA,YAAY,KAAK,CAAC,EAC7B,KAAM,CACJ,KAAM,CACJ,UAAW,UACX,QAAS,OACT,WAAY,UACZ,YAAa,CACX,cAAe,QACjB,EACA,UAAW,CACT,cAAe,KACjB,CACF,EACA,KAAM,CACJ,QAAS,OACT,WAAY,IACZ,YAAa,CACX,cAAe,KACjB,EACA,UAAW,CACT,cAAe,QACjB,EACA,SAAU,OACV,SAAU,WACV,eAAgB,OAChB,uBAAwB,CACtB,QAAS,MACX,CACF,EACA,QAAS,CACP,WAAY,SACZ,MAAO,WACP,OAAQ,UACR,QAAS,cACT,WAAY,IACZ,UAAW,UACX,IAAK,UACL,eAAgB,SAChB,mBAAoB,SACpB,mBAAoB,kCACpB,yBAA0B,UAC1B,WAAY,SACZ,OAAQ,EACR,UAAW,CACT,MAAO,WACP,OAAQ,cACR,OAAQ,CACN,MAAO,UACT,CACF,EACA,OAAQ,CACN,MAAO,gBACP,WAAY,MACd,EACA,UAAW,CACT,MAAO,gBACP,WAAY,OACZ,OAAQ,CACN,MAAO,eACT,CACF,EACA,UAAW,CACT,eAAgB,YAClB,CACF,CACF,EACA,gBAAiB,CACf,QAAS,OACT,YAAa,SACf,EACA,SAAU,CACR,YAAa,CACX,QAAS,CACP,KAAM,CACJ,MAAO,sBACT,CACF,EACA,MAAO,CACL,KAAM,CACJ,MAAO,OACT,CACF,CACF,EACA,QAAS,CACP,KAAM,CACJ,KAAM,CACJ,YAAa,CACX,UAAW,kBACb,EACA,UAAW,CACT,UAAW,iBACb,CACF,EACA,UAAW,CACT,WAAY,gBACZ,YAAa,CACX,OAAQ,EACR,OAAQ,MACR,MAAO,cACT,EACA,UAAW,CACT,OAAQ,gBACR,KAAM,EACN,MAAO,KACT,CACF,EACA,QAAS,CACP,GAAI,SACN,EACA,QAAS,CACP,YAAa,CACX,GAAI,WACJ,GAAI,SACN,CACF,CACF,CACF,CACF,CACF,CAAC"}
1
+ {"version":3,"file":"tabs.cjs","names":[],"sources":["../../../src/theme/recipes/tabs.ts"],"sourcesContent":["import { tabsAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const tabsRecipe = defineSlotRecipe({\n className: 'tabs',\n slots: [...tabsAnatomy.keys()],\n base: {\n root: {\n isolation: 'isolate',\n display: 'flex',\n fontFamily: 'satoshi',\n _horizontal: {\n flexDirection: 'column',\n },\n _vertical: {\n flexDirection: 'row',\n },\n },\n list: {\n display: 'flex',\n flexShrink: '0',\n _horizontal: {\n flexDirection: 'row',\n },\n _vertical: {\n flexDirection: 'column',\n },\n overflow: 'auto',\n position: 'relative',\n scrollbarWidth: 'none',\n '&::-webkit-scrollbar': {\n display: 'none',\n },\n },\n trigger: {\n alignItems: 'center',\n color: 'grey.400',\n cursor: 'pointer',\n display: 'inline-flex',\n flexShrink: '0',\n textStyle: 'body.md',\n gap: 'space-4',\n justifyContent: 'center',\n transitionDuration: 'normal',\n transitionProperty: 'color, background, border-color',\n transitionTimingFunction: 'default',\n whiteSpace: 'nowrap',\n zIndex: 1,\n _disabled: {\n color: 'grey.100',\n cursor: 'not-allowed',\n _hover: {\n color: 'grey.100',\n },\n },\n _hover: {\n color: 'secondary.500',\n fontWeight: 'bold',\n },\n _selected: {\n color: 'secondary.500',\n fontWeight: 'bold',\n _hover: {\n color: 'secondary.500',\n },\n },\n _vertical: {\n justifyContent: 'flex-start',\n '& [data-label]': {\n textAlign: 'start',\n },\n },\n // Hover and selection go bold, which widens the label. Reserve the bold\n // width with a hidden bold copy so a weight change never moves a tab.\n '& [data-label]': {\n textAlign: 'center',\n _after: {\n content: 'attr(data-label)',\n display: 'block',\n fontWeight: 'bold',\n height: 0,\n overflow: 'hidden',\n visibility: 'hidden',\n },\n },\n },\n },\n defaultVariants: {\n variant: 'line',\n lineVariant: 'primary',\n },\n variants: {\n lineVariant: {\n primary: {\n list: {\n color: '{colors.primary.100}',\n },\n },\n white: {\n list: {\n color: 'white',\n },\n },\n },\n variant: {\n line: {\n list: {\n _horizontal: {\n boxShadow: '0 -2px 0 0 inset',\n },\n _vertical: {\n boxShadow: '2px 0 0 0 inset',\n },\n },\n indicator: {\n background: 'secondary.500',\n _horizontal: {\n bottom: 0,\n height: '2px',\n width: 'var(--width)',\n },\n _vertical: {\n height: 'var(--height)',\n left: 0,\n width: '2px',\n },\n },\n content: {\n pt: 'space-4',\n },\n trigger: {\n _horizontal: {\n px: 'space-24',\n pb: 'space-8',\n },\n },\n },\n },\n },\n})\n"],"mappings":"4CAGA,IAAa,GAAA,yBAAA,EAAA,kBAA8B,CACzC,UAAW,OACX,MAAO,CAAC,GAAG,EAAA,YAAY,KAAK,CAAC,EAC7B,KAAM,CACJ,KAAM,CACJ,UAAW,UACX,QAAS,OACT,WAAY,UACZ,YAAa,CACX,cAAe,QACjB,EACA,UAAW,CACT,cAAe,KACjB,CACF,EACA,KAAM,CACJ,QAAS,OACT,WAAY,IACZ,YAAa,CACX,cAAe,KACjB,EACA,UAAW,CACT,cAAe,QACjB,EACA,SAAU,OACV,SAAU,WACV,eAAgB,OAChB,uBAAwB,CACtB,QAAS,MACX,CACF,EACA,QAAS,CACP,WAAY,SACZ,MAAO,WACP,OAAQ,UACR,QAAS,cACT,WAAY,IACZ,UAAW,UACX,IAAK,UACL,eAAgB,SAChB,mBAAoB,SACpB,mBAAoB,kCACpB,yBAA0B,UAC1B,WAAY,SACZ,OAAQ,EACR,UAAW,CACT,MAAO,WACP,OAAQ,cACR,OAAQ,CACN,MAAO,UACT,CACF,EACA,OAAQ,CACN,MAAO,gBACP,WAAY,MACd,EACA,UAAW,CACT,MAAO,gBACP,WAAY,OACZ,OAAQ,CACN,MAAO,eACT,CACF,EACA,UAAW,CACT,eAAgB,aAChB,iBAAkB,CAChB,UAAW,OACb,CACF,EAGA,iBAAkB,CAChB,UAAW,SACX,OAAQ,CACN,QAAS,mBACT,QAAS,QACT,WAAY,OACZ,OAAQ,EACR,SAAU,SACV,WAAY,QACd,CACF,CACF,CACF,EACA,gBAAiB,CACf,QAAS,OACT,YAAa,SACf,EACA,SAAU,CACR,YAAa,CACX,QAAS,CACP,KAAM,CACJ,MAAO,sBACT,CACF,EACA,MAAO,CACL,KAAM,CACJ,MAAO,OACT,CACF,CACF,EACA,QAAS,CACP,KAAM,CACJ,KAAM,CACJ,YAAa,CACX,UAAW,kBACb,EACA,UAAW,CACT,UAAW,iBACb,CACF,EACA,UAAW,CACT,WAAY,gBACZ,YAAa,CACX,OAAQ,EACR,OAAQ,MACR,MAAO,cACT,EACA,UAAW,CACT,OAAQ,gBACR,KAAM,EACN,MAAO,KACT,CACF,EACA,QAAS,CACP,GAAI,SACN,EACA,QAAS,CACP,YAAa,CACX,GAAI,WACJ,GAAI,SACN,CACF,CACF,CACF,CACF,CACF,CAAC"}
@@ -51,7 +51,21 @@ var n = t({
51
51
  fontWeight: "bold",
52
52
  _hover: { color: "secondary.500" }
53
53
  },
54
- _vertical: { justifyContent: "flex-start" }
54
+ _vertical: {
55
+ justifyContent: "flex-start",
56
+ "& [data-label]": { textAlign: "start" }
57
+ },
58
+ "& [data-label]": {
59
+ textAlign: "center",
60
+ _after: {
61
+ content: "attr(data-label)",
62
+ display: "block",
63
+ fontWeight: "bold",
64
+ height: 0,
65
+ overflow: "hidden",
66
+ visibility: "hidden"
67
+ }
68
+ }
55
69
  }
56
70
  },
57
71
  defaultVariants: {
@@ -1 +1 @@
1
- {"version":3,"file":"tabs.js","names":[],"sources":["../../../src/theme/recipes/tabs.ts"],"sourcesContent":["import { tabsAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const tabsRecipe = defineSlotRecipe({\n className: 'tabs',\n slots: [...tabsAnatomy.keys()],\n base: {\n root: {\n isolation: 'isolate',\n display: 'flex',\n fontFamily: 'satoshi',\n _horizontal: {\n flexDirection: 'column',\n },\n _vertical: {\n flexDirection: 'row',\n },\n },\n list: {\n display: 'flex',\n flexShrink: '0',\n _horizontal: {\n flexDirection: 'row',\n },\n _vertical: {\n flexDirection: 'column',\n },\n overflow: 'auto',\n position: 'relative',\n scrollbarWidth: 'none',\n '&::-webkit-scrollbar': {\n display: 'none',\n },\n },\n trigger: {\n alignItems: 'center',\n color: 'grey.400',\n cursor: 'pointer',\n display: 'inline-flex',\n flexShrink: '0',\n textStyle: 'body.md',\n gap: 'space-4',\n justifyContent: 'center',\n transitionDuration: 'normal',\n transitionProperty: 'color, background, border-color',\n transitionTimingFunction: 'default',\n whiteSpace: 'nowrap',\n zIndex: 1,\n _disabled: {\n color: 'grey.100',\n cursor: 'not-allowed',\n _hover: {\n color: 'grey.100',\n },\n },\n _hover: {\n color: 'secondary.500',\n fontWeight: 'bold',\n },\n _selected: {\n color: 'secondary.500',\n fontWeight: 'bold',\n _hover: {\n color: 'secondary.500',\n },\n },\n _vertical: {\n justifyContent: 'flex-start',\n },\n },\n },\n defaultVariants: {\n variant: 'line',\n lineVariant: 'primary',\n },\n variants: {\n lineVariant: {\n primary: {\n list: {\n color: '{colors.primary.100}',\n },\n },\n white: {\n list: {\n color: 'white',\n },\n },\n },\n variant: {\n line: {\n list: {\n _horizontal: {\n boxShadow: '0 -2px 0 0 inset',\n },\n _vertical: {\n boxShadow: '2px 0 0 0 inset',\n },\n },\n indicator: {\n background: 'secondary.500',\n _horizontal: {\n bottom: 0,\n height: '2px',\n width: 'var(--width)',\n },\n _vertical: {\n height: 'var(--height)',\n left: 0,\n width: '2px',\n },\n },\n content: {\n pt: 'space-4',\n },\n trigger: {\n _horizontal: {\n px: 'space-24',\n pb: 'space-8',\n },\n },\n },\n },\n },\n})\n"],"mappings":";;;;AAGA,IAAa,IAAa,EAAiB;CACzC,WAAW;CACX,OAAO,CAAC,GAAG,EAAY,KAAK,CAAC;CAC7B,MAAM;EACJ,MAAM;GACJ,WAAW;GACX,SAAS;GACT,YAAY;GACZ,aAAa,EACX,eAAe,SACjB;GACA,WAAW,EACT,eAAe,MACjB;EACF;EACA,MAAM;GACJ,SAAS;GACT,YAAY;GACZ,aAAa,EACX,eAAe,MACjB;GACA,WAAW,EACT,eAAe,SACjB;GACA,UAAU;GACV,UAAU;GACV,gBAAgB;GAChB,wBAAwB,EACtB,SAAS,OACX;EACF;EACA,SAAS;GACP,YAAY;GACZ,OAAO;GACP,QAAQ;GACR,SAAS;GACT,YAAY;GACZ,WAAW;GACX,KAAK;GACL,gBAAgB;GAChB,oBAAoB;GACpB,oBAAoB;GACpB,0BAA0B;GAC1B,YAAY;GACZ,QAAQ;GACR,WAAW;IACT,OAAO;IACP,QAAQ;IACR,QAAQ,EACN,OAAO,WACT;GACF;GACA,QAAQ;IACN,OAAO;IACP,YAAY;GACd;GACA,WAAW;IACT,OAAO;IACP,YAAY;IACZ,QAAQ,EACN,OAAO,gBACT;GACF;GACA,WAAW,EACT,gBAAgB,aAClB;EACF;CACF;CACA,iBAAiB;EACf,SAAS;EACT,aAAa;CACf;CACA,UAAU;EACR,aAAa;GACX,SAAS,EACP,MAAM,EACJ,OAAO,uBACT,EACF;GACA,OAAO,EACL,MAAM,EACJ,OAAO,QACT,EACF;EACF;EACA,SAAS,EACP,MAAM;GACJ,MAAM;IACJ,aAAa,EACX,WAAW,mBACb;IACA,WAAW,EACT,WAAW,kBACb;GACF;GACA,WAAW;IACT,YAAY;IACZ,aAAa;KACX,QAAQ;KACR,QAAQ;KACR,OAAO;IACT;IACA,WAAW;KACT,QAAQ;KACR,MAAM;KACN,OAAO;IACT;GACF;GACA,SAAS,EACP,IAAI,UACN;GACA,SAAS,EACP,aAAa;IACX,IAAI;IACJ,IAAI;GACN,EACF;EACF,EACF;CACF;AACF,CAAC"}
1
+ {"version":3,"file":"tabs.js","names":[],"sources":["../../../src/theme/recipes/tabs.ts"],"sourcesContent":["import { tabsAnatomy } from '@ark-ui/react'\nimport { defineSlotRecipe } from '@pandacss/dev'\n\nexport const tabsRecipe = defineSlotRecipe({\n className: 'tabs',\n slots: [...tabsAnatomy.keys()],\n base: {\n root: {\n isolation: 'isolate',\n display: 'flex',\n fontFamily: 'satoshi',\n _horizontal: {\n flexDirection: 'column',\n },\n _vertical: {\n flexDirection: 'row',\n },\n },\n list: {\n display: 'flex',\n flexShrink: '0',\n _horizontal: {\n flexDirection: 'row',\n },\n _vertical: {\n flexDirection: 'column',\n },\n overflow: 'auto',\n position: 'relative',\n scrollbarWidth: 'none',\n '&::-webkit-scrollbar': {\n display: 'none',\n },\n },\n trigger: {\n alignItems: 'center',\n color: 'grey.400',\n cursor: 'pointer',\n display: 'inline-flex',\n flexShrink: '0',\n textStyle: 'body.md',\n gap: 'space-4',\n justifyContent: 'center',\n transitionDuration: 'normal',\n transitionProperty: 'color, background, border-color',\n transitionTimingFunction: 'default',\n whiteSpace: 'nowrap',\n zIndex: 1,\n _disabled: {\n color: 'grey.100',\n cursor: 'not-allowed',\n _hover: {\n color: 'grey.100',\n },\n },\n _hover: {\n color: 'secondary.500',\n fontWeight: 'bold',\n },\n _selected: {\n color: 'secondary.500',\n fontWeight: 'bold',\n _hover: {\n color: 'secondary.500',\n },\n },\n _vertical: {\n justifyContent: 'flex-start',\n '& [data-label]': {\n textAlign: 'start',\n },\n },\n // Hover and selection go bold, which widens the label. Reserve the bold\n // width with a hidden bold copy so a weight change never moves a tab.\n '& [data-label]': {\n textAlign: 'center',\n _after: {\n content: 'attr(data-label)',\n display: 'block',\n fontWeight: 'bold',\n height: 0,\n overflow: 'hidden',\n visibility: 'hidden',\n },\n },\n },\n },\n defaultVariants: {\n variant: 'line',\n lineVariant: 'primary',\n },\n variants: {\n lineVariant: {\n primary: {\n list: {\n color: '{colors.primary.100}',\n },\n },\n white: {\n list: {\n color: 'white',\n },\n },\n },\n variant: {\n line: {\n list: {\n _horizontal: {\n boxShadow: '0 -2px 0 0 inset',\n },\n _vertical: {\n boxShadow: '2px 0 0 0 inset',\n },\n },\n indicator: {\n background: 'secondary.500',\n _horizontal: {\n bottom: 0,\n height: '2px',\n width: 'var(--width)',\n },\n _vertical: {\n height: 'var(--height)',\n left: 0,\n width: '2px',\n },\n },\n content: {\n pt: 'space-4',\n },\n trigger: {\n _horizontal: {\n px: 'space-24',\n pb: 'space-8',\n },\n },\n },\n },\n },\n})\n"],"mappings":";;;;AAGA,IAAa,IAAa,EAAiB;CACzC,WAAW;CACX,OAAO,CAAC,GAAG,EAAY,KAAK,CAAC;CAC7B,MAAM;EACJ,MAAM;GACJ,WAAW;GACX,SAAS;GACT,YAAY;GACZ,aAAa,EACX,eAAe,SACjB;GACA,WAAW,EACT,eAAe,MACjB;EACF;EACA,MAAM;GACJ,SAAS;GACT,YAAY;GACZ,aAAa,EACX,eAAe,MACjB;GACA,WAAW,EACT,eAAe,SACjB;GACA,UAAU;GACV,UAAU;GACV,gBAAgB;GAChB,wBAAwB,EACtB,SAAS,OACX;EACF;EACA,SAAS;GACP,YAAY;GACZ,OAAO;GACP,QAAQ;GACR,SAAS;GACT,YAAY;GACZ,WAAW;GACX,KAAK;GACL,gBAAgB;GAChB,oBAAoB;GACpB,oBAAoB;GACpB,0BAA0B;GAC1B,YAAY;GACZ,QAAQ;GACR,WAAW;IACT,OAAO;IACP,QAAQ;IACR,QAAQ,EACN,OAAO,WACT;GACF;GACA,QAAQ;IACN,OAAO;IACP,YAAY;GACd;GACA,WAAW;IACT,OAAO;IACP,YAAY;IACZ,QAAQ,EACN,OAAO,gBACT;GACF;GACA,WAAW;IACT,gBAAgB;IAChB,kBAAkB,EAChB,WAAW,QACb;GACF;GAGA,kBAAkB;IAChB,WAAW;IACX,QAAQ;KACN,SAAS;KACT,SAAS;KACT,YAAY;KACZ,QAAQ;KACR,UAAU;KACV,YAAY;IACd;GACF;EACF;CACF;CACA,iBAAiB;EACf,SAAS;EACT,aAAa;CACf;CACA,UAAU;EACR,aAAa;GACX,SAAS,EACP,MAAM,EACJ,OAAO,uBACT,EACF;GACA,OAAO,EACL,MAAM,EACJ,OAAO,QACT,EACF;EACF;EACA,SAAS,EACP,MAAM;GACJ,MAAM;IACJ,aAAa,EACX,WAAW,mBACb;IACA,WAAW,EACT,WAAW,kBACb;GACF;GACA,WAAW;IACT,YAAY;IACZ,aAAa;KACX,QAAQ;KACR,QAAQ;KACR,OAAO;IACT;IACA,WAAW;KACT,QAAQ;KACR,MAAM;KACN,OAAO;IACT;GACF;GACA,SAAS,EACP,IAAI,UACN;GACA,SAAS,EACP,aAAa;IACX,IAAI;IACJ,IAAI;GACN,EACF;EACF,EACF;CACF;AACF,CAAC"}