@agimon-ai/po-web-components 0.0.0-alpha.72 → 0.0.0-alpha.74
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/packages/core/po-web-components/src/components/Tabs.d.mts +7 -3
- package/dist/packages/core/po-web-components/src/components/Tabs.d.mts.map +1 -1
- package/dist/packages/core/po-web-components/src/components/Tabs.mjs +1 -1
- package/dist/packages/core/po-web-components/src/components/Tabs.mjs.map +1 -1
- package/dist/src/components/Tabs.cjs +1 -1
- package/dist/src/components/Tabs.cjs.map +1 -1
- package/package.json +3 -3
|
@@ -10,9 +10,13 @@ import { VariantProps } from "class-variance-authority";
|
|
|
10
10
|
export declare const tabVariants: (props?: ({
|
|
11
11
|
active?: boolean | null | undefined;
|
|
12
12
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* The count a tab carries; it inverts on the active tab so it stays readable on the tint.
|
|
15
|
+
* `ask` counts things waiting on the person, in rose whatever the tab's state.
|
|
16
|
+
*/
|
|
14
17
|
export declare const tabBadgeVariants: (props?: ({
|
|
15
18
|
active?: boolean | null | undefined;
|
|
19
|
+
ask?: boolean | null | undefined;
|
|
16
20
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
17
21
|
export interface NavTabProps extends ComponentProps<'a'>, VariantProps<typeof tabVariants> {
|
|
18
22
|
/** Render the child element instead of an <a>, so a router Link can be the tab. */
|
|
@@ -24,8 +28,8 @@ export interface NavTabProps extends ComponentProps<'a'>, VariantProps<typeof ta
|
|
|
24
28
|
* leaves the semantics to the router.
|
|
25
29
|
*/
|
|
26
30
|
export declare function NavTab({ className, active, asChild, ...props }: NavTabProps): import("react").JSX.Element;
|
|
27
|
-
/** The count beside a tab's label. */
|
|
28
|
-
export declare function NavTabBadge({ className, active, ...props }: ComponentProps<'span'> & VariantProps<typeof tabBadgeVariants>): import("react").JSX.Element;
|
|
31
|
+
/** The count beside a tab's label, or on an icon's corner. */
|
|
32
|
+
export declare function NavTabBadge({ className, active, ask, ...props }: ComponentProps<'span'> & VariantProps<typeof tabBadgeVariants>): import("react").JSX.Element;
|
|
29
33
|
/** Radix Tabs, for a surface that swaps panels in place rather than navigating. */
|
|
30
34
|
declare function Tabs$1(props: ComponentProps<typeof Tabs.Root>): import("react").JSX.Element;
|
|
31
35
|
export declare function TabsList({ className, ...props }: ComponentProps<typeof Tabs.List>): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.d.mts","names":["Tabs","TabsPrimitive"],"sources":["../../../../../../src/components/Tabs.tsx"],"mappings":";;;;;;;;;qBAYa,cAAW;;6CAWvB
|
|
1
|
+
{"version":3,"file":"Tabs.d.mts","names":["Tabs","TabsPrimitive"],"sources":["../../../../../../src/components/Tabs.tsx"],"mappings":";;;;;;;;;qBAYa,cAAW;;6CAWvB;;;;;qBAMY,mBAAgB;;;6CAY5B;iBAEgB,oBAAoB,qBAAqB,oBAAoB;;EAE5E;;;;;;;wBAQc,SAAS,WAAW,QAAQ,YAAoB,SAAS,8BAAW,IAAA;;wBAapE,cACd,WACA,QACA,QACG,SACF,yBAAyB,oBAAoB,oCAAiB,IAAA;;iBAKjDA,OAAK,OAAO,sBAAsBC,KAAc,wBAAK,IAAA;wBAIrD,WAAW,cAAc,SAAS,sBAAsBA,KAAc,wBAAK,IAAA;wBAI3E,cAAc,cAAc,SAAS,sBAAsBA,KAAc,2BAAQ,IAAA;wBAcjF,cAAc,cAAc,SAAS,sBAAsBA,KAAc,2BAAQ,IAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{cn as e}from"../lib/cn.mjs";import{Slot as t,Tabs as n}from"radix-ui";import{jsx as r}from"react/jsx-runtime";import{cva as i}from"class-variance-authority";const a=i(`flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 rounded px-2 py-1 text-base font-medium transition-colors outline-none`,{variants:{active:{true:`bg-po-tint-green font-semibold text-po-green`,false:`text-po-dim hover:bg-po-panel hover:text-po-hi`}},defaultVariants:{active:!1}}),o=i(`flex h-[15px] min-w-[15px] items-center justify-center rounded-full px-1 text-2xs font-semibold`,{variants:{active:{true:`bg-po-green text-po-rail`,false:`bg-po-panel text-po-dim`}},defaultVariants:{active:!1}});function s({className:n,active:i,asChild:o=!1,...s}){let c=o?t.Root:`a`;return/* @__PURE__ */ r(c,{"data-slot":`nav-tab`,"data-active":i??!1,className:e(a({active:i}),n),...s})}function c({className:t,active:n,...
|
|
1
|
+
import{cn as e}from"../lib/cn.mjs";import{Slot as t,Tabs as n}from"radix-ui";import{jsx as r}from"react/jsx-runtime";import{cva as i}from"class-variance-authority";const a=i(`flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 rounded px-2 py-1 text-base font-medium transition-colors outline-none`,{variants:{active:{true:`bg-po-tint-green font-semibold text-po-green`,false:`text-po-dim hover:bg-po-panel hover:text-po-hi`}},defaultVariants:{active:!1}}),o=i(`flex h-[15px] min-w-[15px] items-center justify-center rounded-full px-1 text-2xs font-semibold`,{variants:{active:{true:`bg-po-green text-po-rail`,false:`bg-po-panel text-po-dim`},ask:{true:`bg-po-magenta text-po-bg`}},defaultVariants:{active:!1}});function s({className:n,active:i,asChild:o=!1,...s}){let c=o?t.Root:`a`;return/* @__PURE__ */ r(c,{"data-slot":`nav-tab`,"data-active":i??!1,className:e(a({active:i}),n),...s})}function c({className:t,active:n,ask:i,...a}){return/* @__PURE__ */ r(`span`,{"data-slot":`nav-tab-badge`,className:e(o({active:n,ask:i}),t),...a})}function l(e){return/* @__PURE__ */ r(n.Root,{"data-slot":`tabs`,...e})}function u({className:t,...i}){return/* @__PURE__ */ r(n.List,{"data-slot":`tabs-list`,className:e(`flex items-center gap-1`,t),...i})}function d({className:t,...i}){return/* @__PURE__ */ r(n.Trigger,{"data-slot":`tabs-trigger`,className:e(a({active:!1}),`data-[state=active]:bg-po-tint-green data-[state=active]:font-semibold data-[state=active]:text-po-green`,t),...i})}function f({className:t,...i}){return/* @__PURE__ */ r(n.Content,{"data-slot":`tabs-content`,className:e(`min-h-0 flex-1`,t),...i})}export{s as NavTab,c as NavTabBadge,l as Tabs,f as TabsContent,u as TabsList,d as TabsTrigger,o as tabBadgeVariants,a as tabVariants};
|
|
2
2
|
//# sourceMappingURL=Tabs.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.mjs","names":["Tabs","TabsPrimitive","tabVariants","cva","tabBadgeVariants","NavTab","props","Component","asChild","Slot","active","cn","className","NavTabBadge","Tabs$1","Tabs","TabsList","TabsTrigger","TabsContent"],"sources":["../../../../../../src/components/Tabs.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport { Tabs as TabsPrimitive } from 'radix-ui';\nimport { Slot } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/**\n * The look a tab wears, whether Radix drives it or a router link does. It is\n * exported because the cockpit's own tabs navigate routes rather than swap\n * panels, and a link that looks like a tab must not be a second implementation.\n */\nexport const tabVariants = cva(\n 'flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 rounded px-2 py-1 text-base font-medium transition-colors outline-none',\n {\n variants: {\n active: {\n true: 'bg-po-tint-green font-semibold text-po-green',\n false: 'text-po-dim hover:bg-po-panel hover:text-po-hi',\n },\n },\n defaultVariants: { active: false },\n },\n);\n\n
|
|
1
|
+
{"version":3,"file":"Tabs.mjs","names":["Tabs","TabsPrimitive","tabVariants","cva","tabBadgeVariants","NavTab","props","Component","asChild","Slot","active","cn","className","NavTabBadge","Tabs$1","Tabs","TabsList","TabsTrigger","TabsContent"],"sources":["../../../../../../src/components/Tabs.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport { Tabs as TabsPrimitive } from 'radix-ui';\nimport { Slot } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/**\n * The look a tab wears, whether Radix drives it or a router link does. It is\n * exported because the cockpit's own tabs navigate routes rather than swap\n * panels, and a link that looks like a tab must not be a second implementation.\n */\nexport const tabVariants = cva(\n 'flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 rounded px-2 py-1 text-base font-medium transition-colors outline-none',\n {\n variants: {\n active: {\n true: 'bg-po-tint-green font-semibold text-po-green',\n false: 'text-po-dim hover:bg-po-panel hover:text-po-hi',\n },\n },\n defaultVariants: { active: false },\n },\n);\n\n/**\n * The count a tab carries; it inverts on the active tab so it stays readable on the tint.\n * `ask` counts things waiting on the person, in rose whatever the tab's state.\n */\nexport const tabBadgeVariants = cva(\n 'flex h-[15px] min-w-[15px] items-center justify-center rounded-full px-1 text-2xs font-semibold',\n {\n variants: {\n active: {\n true: 'bg-po-green text-po-rail',\n false: 'bg-po-panel text-po-dim',\n },\n ask: { true: 'bg-po-magenta text-po-bg' },\n },\n defaultVariants: { active: false },\n },\n);\n\nexport interface NavTabProps extends ComponentProps<'a'>, VariantProps<typeof tabVariants> {\n /** Render the child element instead of an <a>, so a router Link can be the tab. */\n asChild?: boolean;\n}\n\n/**\n * A tab that navigates. Radix Tabs owns panels and roving focus over content\n * it renders; a route-driven tab strip has neither, so it gets the styling and\n * leaves the semantics to the router.\n */\nexport function NavTab({ className, active, asChild = false, ...props }: NavTabProps) {\n const Component = asChild ? Slot.Root : 'a';\n return (\n <Component\n data-slot=\"nav-tab\"\n data-active={active ?? false}\n className={cn(tabVariants({ active }), className)}\n {...props}\n />\n );\n}\n\n/** The count beside a tab's label, or on an icon's corner. */\nexport function NavTabBadge({\n className,\n active,\n ask,\n ...props\n}: ComponentProps<'span'> & VariantProps<typeof tabBadgeVariants>) {\n return <span data-slot=\"nav-tab-badge\" className={cn(tabBadgeVariants({ active, ask }), className)} {...props} />;\n}\n\n/** Radix Tabs, for a surface that swaps panels in place rather than navigating. */\nexport function Tabs(props: ComponentProps<typeof TabsPrimitive.Root>) {\n return <TabsPrimitive.Root data-slot=\"tabs\" {...props} />;\n}\n\nexport function TabsList({ className, ...props }: ComponentProps<typeof TabsPrimitive.List>) {\n return <TabsPrimitive.List data-slot=\"tabs-list\" className={cn('flex items-center gap-1', className)} {...props} />;\n}\n\nexport function TabsTrigger({ className, ...props }: ComponentProps<typeof TabsPrimitive.Trigger>) {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n tabVariants({ active: false }),\n 'data-[state=active]:bg-po-tint-green data-[state=active]:font-semibold data-[state=active]:text-po-green',\n className,\n )}\n {...props}\n />\n );\n}\n\nexport function TabsContent({ className, ...props }: ComponentProps<typeof TabsPrimitive.Content>) {\n return <TabsPrimitive.Content data-slot=\"tabs-content\" className={cn('min-h-0 flex-1', className)} {...props} />;\n}\n"],"mappings":"oKAYA,MAAaE,EAAcC,EACzB,kIACA,CACE,SAAU,CACR,OAAQ,CACN,KAAM,+CACN,MAAO,gDACT,CACF,EACA,gBAAiB,CAAE,OAAQ,EAAM,CACnC,CACF,EAMaC,EAAmBD,EAC9B,kGACA,CACE,SAAU,CACR,OAAQ,CACN,KAAM,2BACN,MAAO,yBACT,EACA,IAAK,CAAE,KAAM,0BAA2B,CAC1C,EACA,gBAAiB,CAAE,OAAQ,EAAM,CACnC,CACF,EAYA,SAAgBE,EAAO,CAAE,YAAW,SAAQ,UAAU,GAAO,GAAGC,GAAsB,CACpF,IAAMC,EAAYC,EAAUC,EAAK,KAAO,IACxC,MACE,kBAACF,EAAD,CACE,YAAU,UACV,cAAaG,GAAU,GACvB,UAAWC,EAAGT,EAAY,CAAE,QAAO,CAAC,EAAGU,CAAS,EAChD,GAAIN,CACL,CAAA,CAEL,CAGA,SAAgBO,EAAY,CAC1B,YACA,SACA,MACA,GAAGP,GAC8D,CACjE,MAAO,kBAAC,OAAD,CAAM,YAAU,gBAAgB,UAAWK,EAAGP,EAAiB,CAAE,SAAQ,KAAI,CAAC,EAAGQ,CAAS,EAAG,GAAIN,CAAQ,CAAA,CAClH,CAGA,SAAgBN,EAAK,EAAkD,CACrE,MAAO,kBAACC,EAAc,KAAf,CAAoB,YAAU,OAAO,GAAIK,CAAQ,CAAA,CAC1D,CAEA,SAAgBU,EAAS,CAAE,YAAW,GAAGV,GAAoD,CAC3F,MAAO,kBAACL,EAAc,KAAf,CAAoB,YAAU,YAAY,UAAWU,EAAG,0BAA2BC,CAAS,EAAG,GAAIN,CAAQ,CAAA,CACpH,CAEA,SAAgBW,EAAY,CAAE,YAAW,GAAGX,GAAuD,CACjG,MACE,kBAACL,EAAc,QAAf,CACE,YAAU,eACV,UAAWU,EACTT,EAAY,CAAE,OAAQ,EAAM,CAAC,EAC7B,2GACAU,CACF,EACA,GAAIN,CACL,CAAA,CAEL,CAEA,SAAgBY,EAAY,CAAE,YAAW,GAAGZ,GAAuD,CACjG,MAAO,kBAACL,EAAc,QAAf,CAAuB,YAAU,eAAe,UAAWU,EAAG,iBAAkBC,CAAS,EAAG,GAAIN,CAAQ,CAAA,CACjH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const e=require("../lib/cn.cjs");let t=require("radix-ui"),n=require("react/jsx-runtime"),r=require("class-variance-authority");const i=(0,r.cva)(`flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 rounded px-2 py-1 text-base font-medium transition-colors outline-none`,{variants:{active:{true:`bg-po-tint-green font-semibold text-po-green`,false:`text-po-dim hover:bg-po-panel hover:text-po-hi`}},defaultVariants:{active:!1}}),a=(0,r.cva)(`flex h-[15px] min-w-[15px] items-center justify-center rounded-full px-1 text-2xs font-semibold`,{variants:{active:{true:`bg-po-green text-po-rail`,false:`bg-po-panel text-po-dim`}},defaultVariants:{active:!1}});function o({className:r,active:a,asChild:o=!1,...s}){let c=o?t.Slot.Root:`a`;return/* @__PURE__ */ (0,n.jsx)(c,{"data-slot":`nav-tab`,"data-active":a??!1,className:e.cn(i({active:a}),r),...s})}function s({className:t,active:r,...
|
|
1
|
+
const e=require("../lib/cn.cjs");let t=require("radix-ui"),n=require("react/jsx-runtime"),r=require("class-variance-authority");const i=(0,r.cva)(`flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 rounded px-2 py-1 text-base font-medium transition-colors outline-none`,{variants:{active:{true:`bg-po-tint-green font-semibold text-po-green`,false:`text-po-dim hover:bg-po-panel hover:text-po-hi`}},defaultVariants:{active:!1}}),a=(0,r.cva)(`flex h-[15px] min-w-[15px] items-center justify-center rounded-full px-1 text-2xs font-semibold`,{variants:{active:{true:`bg-po-green text-po-rail`,false:`bg-po-panel text-po-dim`},ask:{true:`bg-po-magenta text-po-bg`}},defaultVariants:{active:!1}});function o({className:r,active:a,asChild:o=!1,...s}){let c=o?t.Slot.Root:`a`;return/* @__PURE__ */ (0,n.jsx)(c,{"data-slot":`nav-tab`,"data-active":a??!1,className:e.cn(i({active:a}),r),...s})}function s({className:t,active:r,ask:i,...o}){return/* @__PURE__ */ (0,n.jsx)(`span`,{"data-slot":`nav-tab-badge`,className:e.cn(a({active:r,ask:i}),t),...o})}function c(e){return/* @__PURE__ */ (0,n.jsx)(t.Tabs.Root,{"data-slot":`tabs`,...e})}function l({className:r,...i}){return/* @__PURE__ */ (0,n.jsx)(t.Tabs.List,{"data-slot":`tabs-list`,className:e.cn(`flex items-center gap-1`,r),...i})}function u({className:r,...a}){return/* @__PURE__ */ (0,n.jsx)(t.Tabs.Trigger,{"data-slot":`tabs-trigger`,className:e.cn(i({active:!1}),`data-[state=active]:bg-po-tint-green data-[state=active]:font-semibold data-[state=active]:text-po-green`,r),...a})}function d({className:r,...i}){return/* @__PURE__ */ (0,n.jsx)(t.Tabs.Content,{"data-slot":`tabs-content`,className:e.cn(`min-h-0 flex-1`,r),...i})}exports.NavTab=o,exports.NavTabBadge=s,exports.Tabs=c,exports.TabsContent=d,exports.TabsList=l,exports.TabsTrigger=u,exports.tabBadgeVariants=a,exports.tabVariants=i;
|
|
2
2
|
//# sourceMappingURL=Tabs.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tabs.cjs","names":["cva","Slot","cn","TabsPrimitive","require_cn","radix_ui","react_jsx_runtime","class_variance_authority","tabVariants","tabBadgeVariants","NavTab","props","Component","asChild","active","className","NavTabBadge","Tabs","TabsList","TabsTrigger","TabsContent"],"sources":["../../../src/components/Tabs.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport { Tabs as TabsPrimitive } from 'radix-ui';\nimport { Slot } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/**\n * The look a tab wears, whether Radix drives it or a router link does. It is\n * exported because the cockpit's own tabs navigate routes rather than swap\n * panels, and a link that looks like a tab must not be a second implementation.\n */\nexport const tabVariants = cva(\n 'flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 rounded px-2 py-1 text-base font-medium transition-colors outline-none',\n {\n variants: {\n active: {\n true: 'bg-po-tint-green font-semibold text-po-green',\n false: 'text-po-dim hover:bg-po-panel hover:text-po-hi',\n },\n },\n defaultVariants: { active: false },\n },\n);\n\n
|
|
1
|
+
{"version":3,"file":"Tabs.cjs","names":["cva","Slot","cn","TabsPrimitive","require_cn","radix_ui","react_jsx_runtime","class_variance_authority","tabVariants","tabBadgeVariants","NavTab","props","Component","asChild","active","className","NavTabBadge","Tabs","TabsList","TabsTrigger","TabsContent"],"sources":["../../../src/components/Tabs.tsx"],"sourcesContent":["import { cva, type VariantProps } from 'class-variance-authority';\nimport { Tabs as TabsPrimitive } from 'radix-ui';\nimport { Slot } from 'radix-ui';\nimport type { ComponentProps } from 'react';\n\nimport { cn } from '../lib/cn';\n\n/**\n * The look a tab wears, whether Radix drives it or a router link does. It is\n * exported because the cockpit's own tabs navigate routes rather than swap\n * panels, and a link that looks like a tab must not be a second implementation.\n */\nexport const tabVariants = cva(\n 'flex min-h-6 min-w-6 cursor-pointer items-center gap-1.5 rounded px-2 py-1 text-base font-medium transition-colors outline-none',\n {\n variants: {\n active: {\n true: 'bg-po-tint-green font-semibold text-po-green',\n false: 'text-po-dim hover:bg-po-panel hover:text-po-hi',\n },\n },\n defaultVariants: { active: false },\n },\n);\n\n/**\n * The count a tab carries; it inverts on the active tab so it stays readable on the tint.\n * `ask` counts things waiting on the person, in rose whatever the tab's state.\n */\nexport const tabBadgeVariants = cva(\n 'flex h-[15px] min-w-[15px] items-center justify-center rounded-full px-1 text-2xs font-semibold',\n {\n variants: {\n active: {\n true: 'bg-po-green text-po-rail',\n false: 'bg-po-panel text-po-dim',\n },\n ask: { true: 'bg-po-magenta text-po-bg' },\n },\n defaultVariants: { active: false },\n },\n);\n\nexport interface NavTabProps extends ComponentProps<'a'>, VariantProps<typeof tabVariants> {\n /** Render the child element instead of an <a>, so a router Link can be the tab. */\n asChild?: boolean;\n}\n\n/**\n * A tab that navigates. Radix Tabs owns panels and roving focus over content\n * it renders; a route-driven tab strip has neither, so it gets the styling and\n * leaves the semantics to the router.\n */\nexport function NavTab({ className, active, asChild = false, ...props }: NavTabProps) {\n const Component = asChild ? Slot.Root : 'a';\n return (\n <Component\n data-slot=\"nav-tab\"\n data-active={active ?? false}\n className={cn(tabVariants({ active }), className)}\n {...props}\n />\n );\n}\n\n/** The count beside a tab's label, or on an icon's corner. */\nexport function NavTabBadge({\n className,\n active,\n ask,\n ...props\n}: ComponentProps<'span'> & VariantProps<typeof tabBadgeVariants>) {\n return <span data-slot=\"nav-tab-badge\" className={cn(tabBadgeVariants({ active, ask }), className)} {...props} />;\n}\n\n/** Radix Tabs, for a surface that swaps panels in place rather than navigating. */\nexport function Tabs(props: ComponentProps<typeof TabsPrimitive.Root>) {\n return <TabsPrimitive.Root data-slot=\"tabs\" {...props} />;\n}\n\nexport function TabsList({ className, ...props }: ComponentProps<typeof TabsPrimitive.List>) {\n return <TabsPrimitive.List data-slot=\"tabs-list\" className={cn('flex items-center gap-1', className)} {...props} />;\n}\n\nexport function TabsTrigger({ className, ...props }: ComponentProps<typeof TabsPrimitive.Trigger>) {\n return (\n <TabsPrimitive.Trigger\n data-slot=\"tabs-trigger\"\n className={cn(\n tabVariants({ active: false }),\n 'data-[state=active]:bg-po-tint-green data-[state=active]:font-semibold data-[state=active]:text-po-green',\n className,\n )}\n {...props}\n />\n );\n}\n\nexport function TabsContent({ className, ...props }: ComponentProps<typeof TabsPrimitive.Content>) {\n return <TabsPrimitive.Content data-slot=\"tabs-content\" className={cn('min-h-0 flex-1', className)} {...props} />;\n}\n"],"mappings":"gIAYA,MAAaQ,GAAA,EAAcR,EAAAA,IAAAA,CACzB,kIACA,CACE,SAAU,CACR,OAAQ,CACN,KAAM,+CACN,MAAO,gDACT,CACF,EACA,gBAAiB,CAAE,OAAQ,EAAM,CACnC,CACF,EAMaS,GAAA,EAAmBT,EAAAA,IAAAA,CAC9B,kGACA,CACE,SAAU,CACR,OAAQ,CACN,KAAM,2BACN,MAAO,yBACT,EACA,IAAK,CAAE,KAAM,0BAA2B,CAC1C,EACA,gBAAiB,CAAE,OAAQ,EAAM,CACnC,CACF,EAYA,SAAgBU,EAAO,CAAE,YAAW,SAAQ,UAAU,GAAO,GAAGC,GAAsB,CACpF,IAAMC,EAAYC,EAAUZ,EAAAA,KAAK,KAAO,IACxC,MACE,iBAAA,EAAAK,EAAA,IAAA,CAACM,EAAD,CACE,YAAU,UACV,cAAaE,GAAU,GACvB,UAAWZ,EAAAA,GAAGM,EAAY,CAAE,QAAO,CAAC,EAAGO,CAAS,EAChD,GAAIJ,CACL,CAAA,CAEL,CAGA,SAAgBK,EAAY,CAC1B,YACA,SACA,MACA,GAAGL,GAC8D,CACjE,MAAO,iBAAA,EAAAL,EAAA,IAAA,CAAC,OAAD,CAAM,YAAU,gBAAgB,UAAWJ,EAAAA,GAAGO,EAAiB,CAAE,SAAQ,KAAI,CAAC,EAAGM,CAAS,EAAG,GAAIJ,CAAQ,CAAA,CAClH,CAGA,SAAgBM,EAAK,EAAkD,CACrE,MAAO,iBAAA,EAAAX,EAAA,IAAA,CAACH,EAAAA,KAAc,KAAf,CAAoB,YAAU,OAAO,GAAIQ,CAAQ,CAAA,CAC1D,CAEA,SAAgBO,EAAS,CAAE,YAAW,GAAGP,GAAoD,CAC3F,MAAO,iBAAA,EAAAL,EAAA,IAAA,CAACH,EAAAA,KAAc,KAAf,CAAoB,YAAU,YAAY,UAAWD,EAAAA,GAAG,0BAA2Ba,CAAS,EAAG,GAAIJ,CAAQ,CAAA,CACpH,CAEA,SAAgBQ,EAAY,CAAE,YAAW,GAAGR,GAAuD,CACjG,MACE,iBAAA,EAAAL,EAAA,IAAA,CAACH,EAAAA,KAAc,QAAf,CACE,YAAU,eACV,UAAWD,EAAAA,GACTM,EAAY,CAAE,OAAQ,EAAM,CAAC,EAC7B,2GACAO,CACF,EACA,GAAIJ,CACL,CAAA,CAEL,CAEA,SAAgBS,EAAY,CAAE,YAAW,GAAGT,GAAuD,CACjG,MAAO,iBAAA,EAAAL,EAAA,IAAA,CAACH,EAAAA,KAAc,QAAf,CAAuB,YAAU,eAAe,UAAWD,EAAAA,GAAG,iBAAkBa,CAAS,EAAG,GAAIJ,CAAQ,CAAA,CACjH"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agimon-ai/po-web-components",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.74",
|
|
4
4
|
"description": "Shared web components and theme tokens for the Po cockpit and its web plugins: shadcn-style primitives on Radix, tuned to the Po palette, with runtime theme configs.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -107,8 +107,8 @@
|
|
|
107
107
|
"tailwind-merge": "3.7.0"
|
|
108
108
|
},
|
|
109
109
|
"devDependencies": {
|
|
110
|
-
"@agimon-ai/po-core": "0.0.0-alpha.
|
|
111
|
-
"@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.
|
|
110
|
+
"@agimon-ai/po-core": "0.0.0-alpha.74",
|
|
111
|
+
"@agimon-ai/vibe-lint-plugin-po-web": "0.0.0-alpha.74",
|
|
112
112
|
"@types/node": "26.6.5",
|
|
113
113
|
"@types/react": "19.3.0",
|
|
114
114
|
"@types/react-dom": "19.3.0",
|