@pactor-app/ui 1.7.0 → 1.8.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.
@@ -2,7 +2,7 @@ import {
2
2
  Icon,
3
3
  Menu,
4
4
  Sidebar
5
- } from "./chunk-ZM3WJZZ7.js";
5
+ } from "./chunk-PECP7DJB.js";
6
6
  import {
7
7
  Alert,
8
8
  AlertDescription,
@@ -141,7 +141,7 @@ import {
141
141
  chartColor,
142
142
  navigationMenuTriggerStyle,
143
143
  toast
144
- } from "./chunk-E2TD6JD2.js";
144
+ } from "./chunk-XUIXZJDQ.js";
145
145
  import {
146
146
  Dialog,
147
147
  DialogContent,
@@ -176,7 +176,7 @@ import {
176
176
  Tooltip,
177
177
  TooltipContent,
178
178
  TooltipTrigger
179
- } from "./chunk-L4Z7MNYY.js";
179
+ } from "./chunk-VM4FESQB.js";
180
180
  import {
181
181
  Button,
182
182
  cn
@@ -467,10 +467,11 @@ function Calendar2({
467
467
 
468
468
  // src/components/components/Card/index.tsx
469
469
  import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
470
- function Card2({ title, bordered = true, className, style, children }) {
470
+ function Card2({ title, bordered = true, rounded, className, style, children }) {
471
471
  return /* @__PURE__ */ jsxs8(
472
472
  Card,
473
473
  {
474
+ rounded,
474
475
  className: cn("gap-4 py-4", !bordered && "border-transparent shadow-none", className),
475
476
  style,
476
477
  children: [
@@ -16,7 +16,7 @@ import {
16
16
  TooltipTrigger,
17
17
  useIsMobile,
18
18
  useSidebar
19
- } from "./chunk-L4Z7MNYY.js";
19
+ } from "./chunk-VM4FESQB.js";
20
20
  import {
21
21
  cn
22
22
  } from "./chunk-WKJUCGV4.js";
@@ -2,7 +2,7 @@ import {
2
2
  Icon,
3
3
  Menu,
4
4
  Sidebar
5
- } from "./chunk-ZM3WJZZ7.js";
5
+ } from "./chunk-PECP7DJB.js";
6
6
  import {
7
7
  Accordion,
8
8
  AccordionContent,
@@ -15,7 +15,7 @@ import {
15
15
  Popover,
16
16
  PopoverContent,
17
17
  PopoverTrigger
18
- } from "./chunk-L4Z7MNYY.js";
18
+ } from "./chunk-VM4FESQB.js";
19
19
  import {
20
20
  cn
21
21
  } from "./chunk-WKJUCGV4.js";
@@ -84,13 +84,27 @@ function AccordionContent({
84
84
 
85
85
  // src/ui/card.tsx
86
86
  import { jsx as jsx2 } from "react/jsx-runtime";
87
- function Card({ className, ...props }) {
87
+ var cardRoundedClasses = {
88
+ none: "rounded-none",
89
+ sm: "rounded-sm",
90
+ md: "rounded-md",
91
+ lg: "rounded-lg",
92
+ xl: "rounded-xl",
93
+ "2xl": "rounded-2xl",
94
+ "3xl": "rounded-3xl"
95
+ };
96
+ function Card({
97
+ className,
98
+ rounded = "lg",
99
+ ...props
100
+ }) {
88
101
  return /* @__PURE__ */ jsx2(
89
102
  "div",
90
103
  {
91
104
  "data-slot": "card",
92
105
  className: cn(
93
- "flex flex-col gap-6 rounded-xl border border-border bg-card py-6 text-card-foreground shadow-(--card-shadow)",
106
+ "flex flex-col gap-6 border border-border bg-card py-6 text-card-foreground shadow-(--card-shadow)",
107
+ cardRoundedClasses[rounded],
94
108
  className
95
109
  ),
96
110
  ...props
@@ -2,7 +2,7 @@ import {
2
2
  Popover,
3
3
  PopoverContent,
4
4
  PopoverTrigger
5
- } from "./chunk-L4Z7MNYY.js";
5
+ } from "./chunk-VM4FESQB.js";
6
6
  import {
7
7
  Button,
8
8
  buttonVariants,
@@ -1012,13 +1012,27 @@ function Calendar2({
1012
1012
 
1013
1013
  // src/ui/card.tsx
1014
1014
  var import_jsx_runtime22 = require("react/jsx-runtime");
1015
- function Card({ className, ...props }) {
1015
+ var cardRoundedClasses = {
1016
+ none: "rounded-none",
1017
+ sm: "rounded-sm",
1018
+ md: "rounded-md",
1019
+ lg: "rounded-lg",
1020
+ xl: "rounded-xl",
1021
+ "2xl": "rounded-2xl",
1022
+ "3xl": "rounded-3xl"
1023
+ };
1024
+ function Card({
1025
+ className,
1026
+ rounded = "lg",
1027
+ ...props
1028
+ }) {
1016
1029
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1017
1030
  "div",
1018
1031
  {
1019
1032
  "data-slot": "card",
1020
1033
  className: cn(
1021
- "flex flex-col gap-6 rounded-xl border border-border bg-card py-6 text-card-foreground shadow-(--card-shadow)",
1034
+ "flex flex-col gap-6 border border-border bg-card py-6 text-card-foreground shadow-(--card-shadow)",
1035
+ cardRoundedClasses[rounded],
1022
1036
  className
1023
1037
  ),
1024
1038
  ...props
@@ -1061,10 +1075,11 @@ function CardContent({ className, ...props }) {
1061
1075
 
1062
1076
  // src/components/components/Card/index.tsx
1063
1077
  var import_jsx_runtime23 = require("react/jsx-runtime");
1064
- function Card2({ title, bordered = true, className, style, children }) {
1078
+ function Card2({ title, bordered = true, rounded, className, style, children }) {
1065
1079
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1066
1080
  Card,
1067
1081
  {
1082
+ rounded,
1068
1083
  className: cn("gap-4 py-4", !bordered && "border-transparent shadow-none", className),
1069
1084
  style,
1070
1085
  children: [
@@ -2,8 +2,8 @@ import { ComponentRegistry } from '@pactor-app/runtime';
2
2
  import * as React from 'react';
3
3
  import { CSSProperties, ReactNode, ReactElement } from 'react';
4
4
  import { DslNode, DslChildren } from '@pactor-app/core';
5
+ import { i as CardRounded, t as toggleVariants, h as typographyVariants } from '../typography-BYDh5oku.cjs';
5
6
  import { LucideIcon } from 'lucide-react';
6
- import { t as toggleVariants, b as typographyVariants } from '../typography-DsGdDBc2.cjs';
7
7
  import { VariantProps } from 'class-variance-authority';
8
8
  import 'class-variance-authority/types';
9
9
  import '@base-ui/react/toggle';
@@ -249,14 +249,16 @@ interface CardProps {
249
249
  title?: string;
250
250
  /** 是否有边框,默认 true(false 去边框与阴影) */
251
251
  bordered?: boolean;
252
+ /** 圆角档位,默认 'lg'(即 --radius 基准值) */
253
+ rounded?: CardRounded;
252
254
  /** 通用:根节点 class(与内置样式合并) */
253
255
  className?: string;
254
256
  /** 通用:根节点内联样式(布局逃逸口,如 `{ flex: 1 }`) */
255
257
  style?: CSSProperties;
256
258
  children?: ReactNode;
257
259
  }
258
- /** Card 适配器(shadcn kit):可选标题 + 边框开关(bordered=false 去边框与阴影) */
259
- declare function Card({ title, bordered, className, style, children }: CardProps): React.JSX.Element;
260
+ /** Card 适配器(shadcn kit):可选标题 + 边框开关(bordered=false 去边框与阴影)+ 圆角档位 */
261
+ declare function Card({ title, bordered, rounded, className, style, children }: CardProps): React.JSX.Element;
260
262
 
261
263
  /** 轮播图片项 */
262
264
  interface CarouselImage {
@@ -2,8 +2,8 @@ import { ComponentRegistry } from '@pactor-app/runtime';
2
2
  import * as React from 'react';
3
3
  import { CSSProperties, ReactNode, ReactElement } from 'react';
4
4
  import { DslNode, DslChildren } from '@pactor-app/core';
5
+ import { i as CardRounded, t as toggleVariants, h as typographyVariants } from '../typography-BYDh5oku.js';
5
6
  import { LucideIcon } from 'lucide-react';
6
- import { t as toggleVariants, b as typographyVariants } from '../typography-DsGdDBc2.js';
7
7
  import { VariantProps } from 'class-variance-authority';
8
8
  import 'class-variance-authority/types';
9
9
  import '@base-ui/react/toggle';
@@ -249,14 +249,16 @@ interface CardProps {
249
249
  title?: string;
250
250
  /** 是否有边框,默认 true(false 去边框与阴影) */
251
251
  bordered?: boolean;
252
+ /** 圆角档位,默认 'lg'(即 --radius 基准值) */
253
+ rounded?: CardRounded;
252
254
  /** 通用:根节点 class(与内置样式合并) */
253
255
  className?: string;
254
256
  /** 通用:根节点内联样式(布局逃逸口,如 `{ flex: 1 }`) */
255
257
  style?: CSSProperties;
256
258
  children?: ReactNode;
257
259
  }
258
- /** Card 适配器(shadcn kit):可选标题 + 边框开关(bordered=false 去边框与阴影) */
259
- declare function Card({ title, bordered, className, style, children }: CardProps): React.JSX.Element;
260
+ /** Card 适配器(shadcn kit):可选标题 + 边框开关(bordered=false 去边框与阴影)+ 圆角档位 */
261
+ declare function Card({ title, bordered, rounded, className, style, children }: CardProps): React.JSX.Element;
260
262
 
261
263
  /** 轮播图片项 */
262
264
  interface CarouselImage {
@@ -71,7 +71,7 @@ import {
71
71
  createComponentRegistry,
72
72
  registerBuiltinComponents,
73
73
  useFormContext
74
- } from "../chunk-PMYLC26E.js";
74
+ } from "../chunk-7YOIAVV6.js";
75
75
  import {
76
76
  ICONS,
77
77
  Icon,
@@ -80,10 +80,10 @@ import {
80
80
  Sidebar,
81
81
  normalizeIconName,
82
82
  useSidebarDrawer
83
- } from "../chunk-ZM3WJZZ7.js";
84
- import "../chunk-E2TD6JD2.js";
83
+ } from "../chunk-PECP7DJB.js";
84
+ import "../chunk-XUIXZJDQ.js";
85
85
  import "../chunk-F42SGQNW.js";
86
- import "../chunk-L4Z7MNYY.js";
86
+ import "../chunk-VM4FESQB.js";
87
87
  import "../chunk-WKJUCGV4.js";
88
88
  export {
89
89
  Accordion,
package/dist/index.cjs CHANGED
@@ -1028,13 +1028,27 @@ function Calendar2({
1028
1028
 
1029
1029
  // src/ui/card.tsx
1030
1030
  var import_jsx_runtime22 = require("react/jsx-runtime");
1031
- function Card({ className, ...props }) {
1031
+ var cardRoundedClasses = {
1032
+ none: "rounded-none",
1033
+ sm: "rounded-sm",
1034
+ md: "rounded-md",
1035
+ lg: "rounded-lg",
1036
+ xl: "rounded-xl",
1037
+ "2xl": "rounded-2xl",
1038
+ "3xl": "rounded-3xl"
1039
+ };
1040
+ function Card({
1041
+ className,
1042
+ rounded = "lg",
1043
+ ...props
1044
+ }) {
1032
1045
  return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
1033
1046
  "div",
1034
1047
  {
1035
1048
  "data-slot": "card",
1036
1049
  className: cn(
1037
- "flex flex-col gap-6 rounded-xl border border-border bg-card py-6 text-card-foreground shadow-(--card-shadow)",
1050
+ "flex flex-col gap-6 border border-border bg-card py-6 text-card-foreground shadow-(--card-shadow)",
1051
+ cardRoundedClasses[rounded],
1038
1052
  className
1039
1053
  ),
1040
1054
  ...props
@@ -1077,10 +1091,11 @@ function CardContent({ className, ...props }) {
1077
1091
 
1078
1092
  // src/components/components/Card/index.tsx
1079
1093
  var import_jsx_runtime23 = require("react/jsx-runtime");
1080
- function Card2({ title, bordered = true, className, style, children }) {
1094
+ function Card2({ title, bordered = true, rounded, className, style, children }) {
1081
1095
  return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
1082
1096
  Card,
1083
1097
  {
1098
+ rounded,
1084
1099
  className: cn("gap-4 py-4", !bordered && "border-transparent shadow-none", className),
1085
1100
  style,
1086
1101
  children: [
package/dist/index.d.cts CHANGED
@@ -4,10 +4,10 @@ export { InteractionProvider, InteractionProviderProps, OVERLAY_CANCEL_PAYLOAD,
4
4
  import '@pactor-app/runtime';
5
5
  import 'react';
6
6
  import '@pactor-app/core';
7
- import 'lucide-react';
8
- import './typography-DsGdDBc2.cjs';
7
+ import './typography-BYDh5oku.cjs';
9
8
  import 'class-variance-authority/types';
10
9
  import '@base-ui/react/toggle';
11
10
  import 'class-variance-authority';
11
+ import 'lucide-react';
12
12
  import '@pactor-app/permission';
13
13
  import '@pactor-app/router';
package/dist/index.d.ts CHANGED
@@ -4,10 +4,10 @@ export { InteractionProvider, InteractionProviderProps, OVERLAY_CANCEL_PAYLOAD,
4
4
  import '@pactor-app/runtime';
5
5
  import 'react';
6
6
  import '@pactor-app/core';
7
- import 'lucide-react';
8
- import './typography-DsGdDBc2.js';
7
+ import './typography-BYDh5oku.js';
9
8
  import 'class-variance-authority/types';
10
9
  import '@base-ui/react/toggle';
11
10
  import 'class-variance-authority';
11
+ import 'lucide-react';
12
12
  import '@pactor-app/permission';
13
13
  import '@pactor-app/router';
package/dist/index.js CHANGED
@@ -71,7 +71,7 @@ import {
71
71
  createComponentRegistry,
72
72
  registerBuiltinComponents,
73
73
  useFormContext
74
- } from "./chunk-PMYLC26E.js";
74
+ } from "./chunk-7YOIAVV6.js";
75
75
  import {
76
76
  InteractionProvider,
77
77
  OVERLAY_CANCEL_PAYLOAD,
@@ -91,7 +91,7 @@ import {
91
91
  findMenuChain,
92
92
  registerBuiltinLayouts,
93
93
  resolveLayout
94
- } from "./chunk-FJPRXEKQ.js";
94
+ } from "./chunk-TAJXMOEX.js";
95
95
  import {
96
96
  ICONS,
97
97
  Icon,
@@ -100,10 +100,10 @@ import {
100
100
  Sidebar,
101
101
  normalizeIconName,
102
102
  useSidebarDrawer
103
- } from "./chunk-ZM3WJZZ7.js";
104
- import "./chunk-E2TD6JD2.js";
103
+ } from "./chunk-PECP7DJB.js";
104
+ import "./chunk-XUIXZJDQ.js";
105
105
  import "./chunk-F42SGQNW.js";
106
- import "./chunk-L4Z7MNYY.js";
106
+ import "./chunk-VM4FESQB.js";
107
107
  import "./chunk-WKJUCGV4.js";
108
108
  export {
109
109
  Accordion,
@@ -2051,13 +2051,27 @@ function menuItemToMenuData(item) {
2051
2051
 
2052
2052
  // src/ui/card.tsx
2053
2053
  var import_jsx_runtime13 = require("react/jsx-runtime");
2054
- function Card({ className, ...props }) {
2054
+ var cardRoundedClasses = {
2055
+ none: "rounded-none",
2056
+ sm: "rounded-sm",
2057
+ md: "rounded-md",
2058
+ lg: "rounded-lg",
2059
+ xl: "rounded-xl",
2060
+ "2xl": "rounded-2xl",
2061
+ "3xl": "rounded-3xl"
2062
+ };
2063
+ function Card({
2064
+ className,
2065
+ rounded = "lg",
2066
+ ...props
2067
+ }) {
2055
2068
  return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
2056
2069
  "div",
2057
2070
  {
2058
2071
  "data-slot": "card",
2059
2072
  className: cn(
2060
- "flex flex-col gap-6 rounded-xl border border-border bg-card py-6 text-card-foreground shadow-(--card-shadow)",
2073
+ "flex flex-col gap-6 border border-border bg-card py-6 text-card-foreground shadow-(--card-shadow)",
2074
+ cardRoundedClasses[rounded],
2061
2075
  className
2062
2076
  ),
2063
2077
  ...props
@@ -9,9 +9,9 @@ import {
9
9
  findMenuChain,
10
10
  registerBuiltinLayouts,
11
11
  resolveLayout
12
- } from "../chunk-FJPRXEKQ.js";
13
- import "../chunk-ZM3WJZZ7.js";
14
- import "../chunk-L4Z7MNYY.js";
12
+ } from "../chunk-TAJXMOEX.js";
13
+ import "../chunk-PECP7DJB.js";
14
+ import "../chunk-VM4FESQB.js";
15
15
  import "../chunk-WKJUCGV4.js";
16
16
  export {
17
17
  AdminLayout,
@@ -3,6 +3,19 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
3
3
  import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
+ /** shadcn/ui Card(vendored 源码) */
7
+ /** 圆角档位(静态映射:Tailwind 预编译扫描源码,动态拼接类名不进产物) */
8
+ type CardRounded = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
9
+ declare function Card({ className, rounded, ...props }: React.ComponentProps<'div'> & {
10
+ rounded?: CardRounded;
11
+ }): React.JSX.Element;
12
+ declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
13
+ declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
14
+ declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
15
+ declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
16
+ declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
17
+ declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
18
+
6
19
  /** shadcn/ui Toggle(vendored 源码,Base UI 原语):按下态切换按钮 */
7
20
  declare const toggleVariants: (props?: ({
8
21
  variant?: "default" | "outline" | null | undefined;
@@ -21,4 +34,4 @@ interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProp
21
34
  }
22
35
  declare function Typography({ className, variant, ...props }: TypographyProps): React.JSX.Element;
23
36
 
24
- export { Toggle as T, Typography as a, typographyVariants as b, toggleVariants as t };
37
+ export { Card as C, Toggle as T, CardAction as a, CardContent as b, CardDescription as c, CardFooter as d, CardHeader as e, CardTitle as f, Typography as g, typographyVariants as h, type CardRounded as i, toggleVariants as t };
@@ -3,6 +3,19 @@ import * as class_variance_authority_types from 'class-variance-authority/types'
3
3
  import { Toggle as Toggle$1 } from '@base-ui/react/toggle';
4
4
  import { VariantProps } from 'class-variance-authority';
5
5
 
6
+ /** shadcn/ui Card(vendored 源码) */
7
+ /** 圆角档位(静态映射:Tailwind 预编译扫描源码,动态拼接类名不进产物) */
8
+ type CardRounded = 'none' | 'sm' | 'md' | 'lg' | 'xl' | '2xl' | '3xl';
9
+ declare function Card({ className, rounded, ...props }: React.ComponentProps<'div'> & {
10
+ rounded?: CardRounded;
11
+ }): React.JSX.Element;
12
+ declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
13
+ declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
14
+ declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
15
+ declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
16
+ declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
17
+ declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
18
+
6
19
  /** shadcn/ui Toggle(vendored 源码,Base UI 原语):按下态切换按钮 */
7
20
  declare const toggleVariants: (props?: ({
8
21
  variant?: "default" | "outline" | null | undefined;
@@ -21,4 +34,4 @@ interface TypographyProps extends React.HTMLAttributes<HTMLElement>, VariantProp
21
34
  }
22
35
  declare function Typography({ className, variant, ...props }: TypographyProps): React.JSX.Element;
23
36
 
24
- export { Toggle as T, Typography as a, typographyVariants as b, toggleVariants as t };
37
+ export { Card as C, Toggle as T, CardAction as a, CardContent as b, CardDescription as c, CardFooter as d, CardHeader as e, CardTitle as f, Typography as g, typographyVariants as h, type CardRounded as i, toggleVariants as t };
package/dist/ui/index.cjs CHANGED
@@ -2648,13 +2648,27 @@ function TooltipContent({
2648
2648
 
2649
2649
  // src/ui/card.tsx
2650
2650
  var import_jsx_runtime30 = require("react/jsx-runtime");
2651
- function Card({ className, ...props }) {
2651
+ var cardRoundedClasses = {
2652
+ none: "rounded-none",
2653
+ sm: "rounded-sm",
2654
+ md: "rounded-md",
2655
+ lg: "rounded-lg",
2656
+ xl: "rounded-xl",
2657
+ "2xl": "rounded-2xl",
2658
+ "3xl": "rounded-3xl"
2659
+ };
2660
+ function Card({
2661
+ className,
2662
+ rounded = "lg",
2663
+ ...props
2664
+ }) {
2652
2665
  return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
2653
2666
  "div",
2654
2667
  {
2655
2668
  "data-slot": "card",
2656
2669
  className: cn(
2657
- "flex flex-col gap-6 rounded-xl border border-border bg-card py-6 text-card-foreground shadow-(--card-shadow)",
2670
+ "flex flex-col gap-6 border border-border bg-card py-6 text-card-foreground shadow-(--card-shadow)",
2671
+ cardRoundedClasses[rounded],
2658
2672
  className
2659
2673
  ),
2660
2674
  ...props
@@ -19,6 +19,8 @@ import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-me
19
19
  import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
20
20
  import * as _base_ui_react from '@base-ui/react';
21
21
  import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
22
+ import { t as toggleVariants } from '../typography-BYDh5oku.cjs';
23
+ export { C as Card, a as CardAction, b as CardContent, c as CardDescription, d as CardFooter, e as CardHeader, f as CardTitle, T as Toggle, g as Typography, h as typographyVariants } from '../typography-BYDh5oku.cjs';
22
24
  import { Field as Field$1 } from '@base-ui/react/field';
23
25
  import { OTPInput } from 'input-otp';
24
26
  import { Progress as Progress$1 } from '@base-ui/react/progress';
@@ -31,8 +33,6 @@ import { Separator as Separator$2 } from '@base-ui/react/separator';
31
33
  import { Slider as Slider$1 } from '@base-ui/react/slider';
32
34
  import { Switch as Switch$1 } from '@base-ui/react/switch';
33
35
  import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
34
- import { t as toggleVariants } from '../typography-DsGdDBc2.cjs';
35
- export { T as Toggle, a as Typography, b as typographyVariants } from '../typography-DsGdDBc2.cjs';
36
36
  import { Toggle } from '@base-ui/react/toggle';
37
37
  import { ToggleGroup as ToggleGroup$1 } from '@base-ui/react/toggle-group';
38
38
 
@@ -424,15 +424,6 @@ declare function Tooltip({ ...props }: Tooltip$1.Root.Props): React.JSX.Element;
424
424
  declare function TooltipTrigger({ ...props }: Tooltip$1.Trigger.Props): React.JSX.Element;
425
425
  declare function TooltipContent({ className, side, sideOffset, align, children, ...props }: Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, 'align' | 'side' | 'sideOffset'>): React.JSX.Element;
426
426
 
427
- /** shadcn/ui Card(vendored 源码) */
428
- declare function Card({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
429
- declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
430
- declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
431
- declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
432
- declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
433
- declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
434
- declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
435
-
436
427
  /**
437
428
  * shadcn/ui Dialog(vendored 源码,Base UI 原语)。
438
429
  * 官方源码:https://ui.shadcn.com/r/styles/base-nova/dialog.json
@@ -679,4 +670,4 @@ declare function Textarea({ className, ...props }: React.ComponentProps<'textare
679
670
  declare function ToggleGroup({ className, variant, size, children, ...props }: ToggleGroup$1.Props & VariantProps<typeof toggleVariants>): React.JSX.Element;
680
671
  declare function ToggleGroupItem({ className, children, variant, size, ...props }: Toggle.Props & VariantProps<typeof toggleVariants>): React.JSX.Element;
681
672
 
682
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, CHART_TOKEN_COLORS, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyTitle, Field, FieldDescription, FieldError, FieldLabel, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupInput, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemMedia, ItemTitle, Kbd, Label, Menubar, MenubarContent, MenubarItem, MenubarMenu, MenubarSeparator, MenubarTrigger, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Panel, PanelGroup, Popover, PopoverContent, PopoverTrigger, Progress, ProgressIndicator, ProgressTrack, RadioGroup, RadioGroupItem, ResizableHandle, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarContent as SidebarContentArea, SidebarFooter as SidebarFooterArea, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader as SidebarHeaderArea, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarRoot, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderControl, SliderIndicator, SliderThumb, SliderTrack, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ToastOptions, type ToastVariant, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, chartColor, navigationMenuTriggerStyle, toast, toastManager, toggleVariants, useCarousel, useSidebar };
673
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, CHART_TOKEN_COLORS, Calendar, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyTitle, Field, FieldDescription, FieldError, FieldLabel, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupInput, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemMedia, ItemTitle, Kbd, Label, Menubar, MenubarContent, MenubarItem, MenubarMenu, MenubarSeparator, MenubarTrigger, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Panel, PanelGroup, Popover, PopoverContent, PopoverTrigger, Progress, ProgressIndicator, ProgressTrack, RadioGroup, RadioGroupItem, ResizableHandle, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarContent as SidebarContentArea, SidebarFooter as SidebarFooterArea, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader as SidebarHeaderArea, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarRoot, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderControl, SliderIndicator, SliderThumb, SliderTrack, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ToastOptions, type ToastVariant, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, chartColor, navigationMenuTriggerStyle, toast, toastManager, toggleVariants, useCarousel, useSidebar };
@@ -19,6 +19,8 @@ import { NavigationMenu as NavigationMenu$1 } from '@base-ui/react/navigation-me
19
19
  import { Dialog as Dialog$1 } from '@base-ui/react/dialog';
20
20
  import * as _base_ui_react from '@base-ui/react';
21
21
  import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
22
+ import { t as toggleVariants } from '../typography-BYDh5oku.js';
23
+ export { C as Card, a as CardAction, b as CardContent, c as CardDescription, d as CardFooter, e as CardHeader, f as CardTitle, T as Toggle, g as Typography, h as typographyVariants } from '../typography-BYDh5oku.js';
22
24
  import { Field as Field$1 } from '@base-ui/react/field';
23
25
  import { OTPInput } from 'input-otp';
24
26
  import { Progress as Progress$1 } from '@base-ui/react/progress';
@@ -31,8 +33,6 @@ import { Separator as Separator$2 } from '@base-ui/react/separator';
31
33
  import { Slider as Slider$1 } from '@base-ui/react/slider';
32
34
  import { Switch as Switch$1 } from '@base-ui/react/switch';
33
35
  import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
34
- import { t as toggleVariants } from '../typography-DsGdDBc2.js';
35
- export { T as Toggle, a as Typography, b as typographyVariants } from '../typography-DsGdDBc2.js';
36
36
  import { Toggle } from '@base-ui/react/toggle';
37
37
  import { ToggleGroup as ToggleGroup$1 } from '@base-ui/react/toggle-group';
38
38
 
@@ -424,15 +424,6 @@ declare function Tooltip({ ...props }: Tooltip$1.Root.Props): React.JSX.Element;
424
424
  declare function TooltipTrigger({ ...props }: Tooltip$1.Trigger.Props): React.JSX.Element;
425
425
  declare function TooltipContent({ className, side, sideOffset, align, children, ...props }: Tooltip$1.Popup.Props & Pick<Tooltip$1.Positioner.Props, 'align' | 'side' | 'sideOffset'>): React.JSX.Element;
426
426
 
427
- /** shadcn/ui Card(vendored 源码) */
428
- declare function Card({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
429
- declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
430
- declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
431
- declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
432
- declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
433
- declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
434
- declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
435
-
436
427
  /**
437
428
  * shadcn/ui Dialog(vendored 源码,Base UI 原语)。
438
429
  * 官方源码:https://ui.shadcn.com/r/styles/base-nova/dialog.json
@@ -679,4 +670,4 @@ declare function Textarea({ className, ...props }: React.ComponentProps<'textare
679
670
  declare function ToggleGroup({ className, variant, size, children, ...props }: ToggleGroup$1.Props & VariantProps<typeof toggleVariants>): React.JSX.Element;
680
671
  declare function ToggleGroupItem({ className, children, variant, size, ...props }: Toggle.Props & VariantProps<typeof toggleVariants>): React.JSX.Element;
681
672
 
682
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, CHART_TOKEN_COLORS, Calendar, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyTitle, Field, FieldDescription, FieldError, FieldLabel, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupInput, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemMedia, ItemTitle, Kbd, Label, Menubar, MenubarContent, MenubarItem, MenubarMenu, MenubarSeparator, MenubarTrigger, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Panel, PanelGroup, Popover, PopoverContent, PopoverTrigger, Progress, ProgressIndicator, ProgressTrack, RadioGroup, RadioGroupItem, ResizableHandle, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarContent as SidebarContentArea, SidebarFooter as SidebarFooterArea, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader as SidebarHeaderArea, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarRoot, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderControl, SliderIndicator, SliderThumb, SliderTrack, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ToastOptions, type ToastVariant, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, chartColor, navigationMenuTriggerStyle, toast, toastManager, toggleVariants, useCarousel, useSidebar };
673
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Alert, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AspectRatio, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, AttachmentTitle, AttachmentTrigger, Avatar, AvatarFallback, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Bubble, BubbleContent, BubbleGroup, BubbleReactions, Button, ButtonGroup, CHART_TOKEN_COLORS, Calendar, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, Checkbox, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxContent, ComboboxTrigger, Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, ContextMenu, ContextMenuContent, ContextMenuItem, ContextMenuSeparator, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyTitle, Field, FieldDescription, FieldError, FieldLabel, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupInput, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemMedia, ItemTitle, Kbd, Label, Menubar, MenubarContent, MenubarItem, MenubarMenu, MenubarSeparator, MenubarTrigger, Message, MessageAvatar, MessageContent, MessageFooter, MessageGroup, MessageHeader, NavigationMenu, NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuViewport, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Panel, PanelGroup, Popover, PopoverContent, PopoverTrigger, Progress, ProgressIndicator, ProgressTrack, RadioGroup, RadioGroupItem, ResizableHandle, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, SidebarContent as SidebarContentArea, SidebarFooter as SidebarFooterArea, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader as SidebarHeaderArea, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarRoot, SidebarSeparator, SidebarTrigger, Skeleton, Slider, SliderControl, SliderIndicator, SliderThumb, SliderTrack, Spinner, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type ToastOptions, type ToastVariant, Toaster, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, badgeVariants, buttonVariants, chartColor, navigationMenuTriggerStyle, toast, toastManager, toggleVariants, useCarousel, useSidebar };
package/dist/ui/index.js CHANGED
@@ -160,7 +160,7 @@ import {
160
160
  toggleVariants,
161
161
  typographyVariants,
162
162
  useCarousel
163
- } from "../chunk-E2TD6JD2.js";
163
+ } from "../chunk-XUIXZJDQ.js";
164
164
  import {
165
165
  Dialog,
166
166
  DialogClose,
@@ -239,7 +239,7 @@ import {
239
239
  TooltipProvider,
240
240
  TooltipTrigger,
241
241
  useSidebar
242
- } from "../chunk-L4Z7MNYY.js";
242
+ } from "../chunk-VM4FESQB.js";
243
243
  import {
244
244
  Button,
245
245
  buttonVariants,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pactor-app/ui",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "description": "Pactor UI kit (shadcn): the single built-in UI kit — vendored shadcn/ui components (Base UI primitives + cva + tailwind-merge + lucide-react), props contracts, interaction core (OverlayManager / UiBridge) and layouts, with build-time Tailwind v4 prebuilt styles.css (zero consumer-side Tailwind config)",
5
5
  "keywords": [
6
6
  "pactor",
@@ -105,10 +105,10 @@
105
105
  "recharts": "^3.10.1",
106
106
  "tailwind-merge": "^3.6.0",
107
107
  "vaul": "^1.1.2",
108
- "@pactor-app/core": "1.7.0",
109
- "@pactor-app/permission": "1.7.0",
110
- "@pactor-app/runtime": "1.7.0",
111
- "@pactor-app/router": "1.7.0"
108
+ "@pactor-app/core": "1.8.0",
109
+ "@pactor-app/runtime": "1.8.0",
110
+ "@pactor-app/permission": "1.8.0",
111
+ "@pactor-app/router": "1.8.0"
112
112
  },
113
113
  "peerDependencies": {
114
114
  "react": ">=18",
package/styles.css CHANGED
@@ -1008,6 +1008,12 @@
1008
1008
  .rounded-\(--pagination-active-radius\) {
1009
1009
  border-radius: var(--pagination-active-radius);
1010
1010
  }
1011
+ .rounded-2xl {
1012
+ border-radius: calc(var(--radius) * 1.8);
1013
+ }
1014
+ .rounded-3xl {
1015
+ border-radius: calc(var(--radius) * 2.2);
1016
+ }
1011
1017
  .rounded-\[2px\] {
1012
1018
  border-radius: 2px;
1013
1019
  }
@@ -1026,6 +1032,9 @@
1026
1032
  .rounded-md {
1027
1033
  border-radius: calc(var(--radius) * 0.8);
1028
1034
  }
1035
+ .rounded-none {
1036
+ border-radius: 0;
1037
+ }
1029
1038
  .rounded-sm {
1030
1039
  border-radius: calc(var(--radius) * 0.6);
1031
1040
  }
@@ -3193,14 +3202,14 @@
3193
3202
  --chart-3: oklch(0.398 0.07 227.392);
3194
3203
  --chart-4: oklch(0.828 0.189 84.429);
3195
3204
  --chart-5: oklch(0.769 0.188 70.08);
3196
- --sidebar: oklch(0.985 0 0);
3197
- --sidebar-foreground: oklch(0.145 0 0);
3198
- --sidebar-primary: oklch(0.205 0 0);
3199
- --sidebar-primary-foreground: oklch(0.985 0 0);
3200
- --sidebar-accent: oklch(0.97 0 0);
3201
- --sidebar-accent-foreground: oklch(0.205 0 0);
3202
- --sidebar-border: oklch(0.922 0 0);
3203
- --sidebar-ring: oklch(0.708 0 0);
3205
+ --sidebar: var(--card);
3206
+ --sidebar-foreground: var(--card-foreground);
3207
+ --sidebar-primary: var(--primary);
3208
+ --sidebar-primary-foreground: var(--primary-foreground);
3209
+ --sidebar-accent: var(--accent);
3210
+ --sidebar-accent-foreground: var(--accent-foreground);
3211
+ --sidebar-border: var(--border);
3212
+ --sidebar-ring: var(--ring);
3204
3213
  --font-sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto,
3205
3214
  'Helvetica Neue', Arial, sans-serif;
3206
3215
  --background-image: none;
@@ -3272,14 +3281,8 @@
3272
3281
  --chart-3: oklch(0.769 0.188 70.08);
3273
3282
  --chart-4: oklch(0.627 0.265 303.9);
3274
3283
  --chart-5: oklch(0.645 0.246 16.439);
3275
- --sidebar: oklch(0.205 0 0);
3276
- --sidebar-foreground: oklch(0.985 0 0);
3277
3284
  --sidebar-primary: oklch(0.488 0.243 264.376);
3278
3285
  --sidebar-primary-foreground: oklch(0.985 0 0);
3279
- --sidebar-accent: oklch(0.269 0 0);
3280
- --sidebar-accent-foreground: oklch(0.985 0 0);
3281
- --sidebar-border: oklch(1 0 0 / 10%);
3282
- --sidebar-ring: oklch(0.556 0 0);
3283
3286
  --bubble-background: oklch(from var(--primary) 0.3 calc(c * 0.4) h);
3284
3287
  --bubble-hover-background: oklch(
3285
3288
  from var(--primary) 0.35 calc(c * 0.5) h
@@ -3315,14 +3318,8 @@
3315
3318
  --chart-3: oklch(0.769 0.188 70.08);
3316
3319
  --chart-4: oklch(0.627 0.265 303.9);
3317
3320
  --chart-5: oklch(0.645 0.246 16.439);
3318
- --sidebar: oklch(0.205 0 0);
3319
- --sidebar-foreground: oklch(0.985 0 0);
3320
3321
  --sidebar-primary: oklch(0.488 0.243 264.376);
3321
3322
  --sidebar-primary-foreground: oklch(0.985 0 0);
3322
- --sidebar-accent: oklch(0.269 0 0);
3323
- --sidebar-accent-foreground: oklch(0.985 0 0);
3324
- --sidebar-border: oklch(1 0 0 / 10%);
3325
- --sidebar-ring: oklch(0.556 0 0);
3326
3323
  --bubble-background: oklch(from var(--primary) 0.3 calc(c * 0.4) h);
3327
3324
  --bubble-hover-background: oklch(
3328
3325
  from var(--primary) 0.35 calc(c * 0.5) h