@pactor-app/ui 1.17.1 → 1.18.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-IH67RZJ4.js → chunk-COMLXFWS.js} +1 -1
- package/dist/{chunk-LU36YCYA.js → chunk-IMRMBMHI.js} +2 -2
- package/dist/{chunk-GVBFVV7I.js → chunk-MHM7LTV2.js} +333 -166
- package/dist/{chunk-OGNXKVGQ.js → chunk-RB7RCKAX.js} +3 -1
- package/dist/{chunk-64JZPHD3.js → chunk-XA6OJ54X.js} +10 -4
- package/dist/components/index.cjs +446 -268
- package/dist/components/index.d.cts +42 -1
- package/dist/components/index.d.ts +42 -1
- package/dist/components/index.js +6 -4
- package/dist/index.cjs +597 -419
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +7 -5
- package/dist/layout/index.cjs +3 -1
- package/dist/layout/index.js +3 -3
- package/dist/ui/index.cjs +12 -4
- package/dist/ui/index.js +2 -2
- package/package.json +5 -5
- package/styles.css +40 -3
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Accordion, AccordionItemData, AccordionProps, Alert, AlertDialog, AlertDialogProps, AlertProps, AlertVariant, AspectRatio, AspectRatioProps, Avatar, AvatarProps, Badge, BadgeProps, BadgeVariant, Breadcrumb, BreadcrumbItemData, BreadcrumbProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonVariant, Calendar, CalendarProps, Card, CardProps, Carousel, CarouselImage, CarouselItemData, CarouselProps, Chart, ChartProps, ChartType, ChatInput, ChatInputProps, Checkbox, CheckboxProps, Collapsible, CollapsibleProps, Combobox, ComboboxOption, ComboboxProps, Command, CommandGroupData, CommandItemData, CommandProps, Content, ContentProps, ContextMenu, ContextMenuItemData, ContextMenuProps, DataTable, DataTableColumn, DataTablePagination, DataTableProps, DataTableSort, DataTableSortOrder, DatePicker, DatePickerPreset, DatePickerPresetKey, DatePickerProps, DatePickerRangeProps, DatePickerSingleProps, DateRangeValue, Dialog, DialogProps, Drawer, DrawerPlacement, DrawerProps, DropdownMenu, DropdownMenuItemData, DropdownMenuProps, Empty, EmptyProps, Field, FieldProps, FieldRule, Flex, FlexProps, Footer, FooterProps, Form, FormContextValue, FormProps, Grid, GridProps, Header, HeaderBrandPosition, HeaderDropdown, HeaderDropdownItem, HeaderLocale, HeaderMenuItem, HeaderProps, HeaderTheme, HeaderUser, HeaderUserItem, HoverCard, HoverCardProps, ICONS, Icon, IconProps, IconSize, Input, InputGroup, InputGroupProps, InputOTP, InputOTPProps, InputProps, Item, ItemProps, Kbd, KbdProps, Label, LabelProps, Layout, LayoutProps, Link, LinkProps, Menu, MenuItem, MenuProps, Menubar, MenubarLeafItem, MenubarMenuData, MenubarProps, NavigationMenu, NavigationMenuChildItem, NavigationMenuItemData, NavigationMenuProps, Page, PageProps, Pagination, PaginationProps, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, RailTooltip, Resizable, ResizablePanelData, ResizableProps, ScrollArea, ScrollAreaProps, Select, SelectOption, SelectProps, Separator, SeparatorProps, Sheet, SheetProps, SheetSide, Sidebar, SidebarBrand, SidebarNavItem, SidebarProps, Sider, SiderProps, Skeleton, SkeletonProps, SkeletonShape, Slider, SliderProps, Sonner, SonnerProps, Spinner, SpinnerProps, SpinnerSize, Statistic, StatisticProps, Switch, SwitchProps, TabItem, Table, TableColumn, TablePagination, TablePaginationInfo, TableProps, Tabs, TabsProps, Text, TextProps, TextType, Textarea, TextareaProps, Toggle, ToggleGroup, ToggleGroupOption, ToggleGroupProps, ToggleProps, Tooltip, TooltipProps, Typography, TypographyProps, TypographyVariant, builtinComponents, createComponentRegistry, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer } from './components/index.cjs';
|
|
1
|
+
export { Accordion, AccordionItemData, AccordionProps, Alert, AlertDialog, AlertDialogProps, AlertProps, AlertVariant, AspectRatio, AspectRatioProps, Avatar, AvatarProps, Badge, BadgeProps, BadgeVariant, Breadcrumb, BreadcrumbItemData, BreadcrumbProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonVariant, Calendar, CalendarProps, Card, CardProps, Carousel, CarouselImage, CarouselItemData, CarouselProps, Chart, ChartProps, ChartType, ChatInput, ChatInputProps, Checkbox, CheckboxProps, Collapsible, CollapsibleProps, Combobox, ComboboxOption, ComboboxProps, Command, CommandGroupData, CommandItemData, CommandProps, Content, ContentProps, ContextMenu, ContextMenuItemData, ContextMenuProps, DataTable, DataTableColumn, DataTablePagination, DataTableProps, DataTableSort, DataTableSortOrder, DatePicker, DatePickerPreset, DatePickerPresetKey, DatePickerProps, DatePickerRangeProps, DatePickerSingleProps, DateRangeValue, Dialog, DialogProps, Drawer, DrawerPlacement, DrawerProps, DropdownMenu, DropdownMenuItemData, DropdownMenuProps, Empty, EmptyProps, Field, FieldProps, FieldRule, Flex, FlexProps, Footer, FooterProps, Form, FormContextValue, FormProps, Grid, GridProps, Header, HeaderBrandPosition, HeaderDropdown, HeaderDropdownItem, HeaderLocale, HeaderMenuItem, HeaderProps, HeaderTheme, HeaderUser, HeaderUserItem, HoverCard, HoverCardProps, ICONS, Icon, IconProps, IconSize, Input, InputGroup, InputGroupProps, InputOTP, InputOTPProps, InputProps, Item, ItemProps, Kbd, KbdProps, Label, LabelProps, Layout, LayoutProps, Link, LinkProps, Menu, MenuItem, MenuProps, Menubar, MenubarLeafItem, MenubarMenuData, MenubarProps, NavigationMenu, NavigationMenuChildItem, NavigationMenuItemData, NavigationMenuProps, NumberInput, NumberInputProps, Page, PageProps, Pagination, PaginationProps, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, RailTooltip, Resizable, ResizablePanelData, ResizableProps, ScrollArea, ScrollAreaProps, Select, SelectOption, SelectProps, Separator, SeparatorProps, Sheet, SheetProps, SheetSide, Sidebar, SidebarBrand, SidebarNavItem, SidebarProps, Sider, SiderProps, Skeleton, SkeletonProps, SkeletonShape, Slider, SliderProps, Sonner, SonnerProps, Spinner, SpinnerProps, SpinnerSize, Statistic, StatisticProps, Switch, SwitchProps, TabItem, Table, TableColumn, TablePagination, TablePaginationInfo, TableProps, Tabs, TabsProps, Text, TextProps, TextType, Textarea, TextareaProps, Toggle, ToggleGroup, ToggleGroupOption, ToggleGroupProps, ToggleProps, Tooltip, TooltipProps, Typography, TypographyProps, TypographyVariant, builtinComponents, createComponentRegistry, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer } from './components/index.cjs';
|
|
2
2
|
export { AdminBrand, AdminLayout, AdminLayoutBreakpoint, AdminLayoutConfig, AdminLayoutMode, AdminLayoutProps, BlankLayout, BlankLayoutProps, ChatLayout, ChatLayoutBrand, ChatLayoutMenuItem, ChatLayoutProps, LandingLayout, LandingLayoutProps, LayoutComponent, LayoutRegistry, LoginBrand, LoginLayout, LoginLayoutProps, collectDefaultOpenKeys, createLayoutRegistry, findMenuChain, registerBuiltinLayouts, resolveLayout } from './layout/index.cjs';
|
|
3
3
|
export { InteractionProvider, InteractionProviderProps, OVERLAY_CANCEL_PAYLOAD, OverlayConfig, OverlayEntry, OverlayHost, OverlayHostProps, OverlayListener, OverlayManager, ResolvePageFn, UiBridge, UiMessage, UiModal, createUiBridge, registerInteractionActions } from './interaction/index.cjs';
|
|
4
4
|
import '@pactor-app/runtime';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Accordion, AccordionItemData, AccordionProps, Alert, AlertDialog, AlertDialogProps, AlertProps, AlertVariant, AspectRatio, AspectRatioProps, Avatar, AvatarProps, Badge, BadgeProps, BadgeVariant, Breadcrumb, BreadcrumbItemData, BreadcrumbProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonVariant, Calendar, CalendarProps, Card, CardProps, Carousel, CarouselImage, CarouselItemData, CarouselProps, Chart, ChartProps, ChartType, ChatInput, ChatInputProps, Checkbox, CheckboxProps, Collapsible, CollapsibleProps, Combobox, ComboboxOption, ComboboxProps, Command, CommandGroupData, CommandItemData, CommandProps, Content, ContentProps, ContextMenu, ContextMenuItemData, ContextMenuProps, DataTable, DataTableColumn, DataTablePagination, DataTableProps, DataTableSort, DataTableSortOrder, DatePicker, DatePickerPreset, DatePickerPresetKey, DatePickerProps, DatePickerRangeProps, DatePickerSingleProps, DateRangeValue, Dialog, DialogProps, Drawer, DrawerPlacement, DrawerProps, DropdownMenu, DropdownMenuItemData, DropdownMenuProps, Empty, EmptyProps, Field, FieldProps, FieldRule, Flex, FlexProps, Footer, FooterProps, Form, FormContextValue, FormProps, Grid, GridProps, Header, HeaderBrandPosition, HeaderDropdown, HeaderDropdownItem, HeaderLocale, HeaderMenuItem, HeaderProps, HeaderTheme, HeaderUser, HeaderUserItem, HoverCard, HoverCardProps, ICONS, Icon, IconProps, IconSize, Input, InputGroup, InputGroupProps, InputOTP, InputOTPProps, InputProps, Item, ItemProps, Kbd, KbdProps, Label, LabelProps, Layout, LayoutProps, Link, LinkProps, Menu, MenuItem, MenuProps, Menubar, MenubarLeafItem, MenubarMenuData, MenubarProps, NavigationMenu, NavigationMenuChildItem, NavigationMenuItemData, NavigationMenuProps, Page, PageProps, Pagination, PaginationProps, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, RailTooltip, Resizable, ResizablePanelData, ResizableProps, ScrollArea, ScrollAreaProps, Select, SelectOption, SelectProps, Separator, SeparatorProps, Sheet, SheetProps, SheetSide, Sidebar, SidebarBrand, SidebarNavItem, SidebarProps, Sider, SiderProps, Skeleton, SkeletonProps, SkeletonShape, Slider, SliderProps, Sonner, SonnerProps, Spinner, SpinnerProps, SpinnerSize, Statistic, StatisticProps, Switch, SwitchProps, TabItem, Table, TableColumn, TablePagination, TablePaginationInfo, TableProps, Tabs, TabsProps, Text, TextProps, TextType, Textarea, TextareaProps, Toggle, ToggleGroup, ToggleGroupOption, ToggleGroupProps, ToggleProps, Tooltip, TooltipProps, Typography, TypographyProps, TypographyVariant, builtinComponents, createComponentRegistry, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer } from './components/index.js';
|
|
1
|
+
export { Accordion, AccordionItemData, AccordionProps, Alert, AlertDialog, AlertDialogProps, AlertProps, AlertVariant, AspectRatio, AspectRatioProps, Avatar, AvatarProps, Badge, BadgeProps, BadgeVariant, Breadcrumb, BreadcrumbItemData, BreadcrumbProps, Button, ButtonGroup, ButtonGroupProps, ButtonProps, ButtonSize, ButtonVariant, Calendar, CalendarProps, Card, CardProps, Carousel, CarouselImage, CarouselItemData, CarouselProps, Chart, ChartProps, ChartType, ChatInput, ChatInputProps, Checkbox, CheckboxProps, Collapsible, CollapsibleProps, Combobox, ComboboxOption, ComboboxProps, Command, CommandGroupData, CommandItemData, CommandProps, Content, ContentProps, ContextMenu, ContextMenuItemData, ContextMenuProps, DataTable, DataTableColumn, DataTablePagination, DataTableProps, DataTableSort, DataTableSortOrder, DatePicker, DatePickerPreset, DatePickerPresetKey, DatePickerProps, DatePickerRangeProps, DatePickerSingleProps, DateRangeValue, Dialog, DialogProps, Drawer, DrawerPlacement, DrawerProps, DropdownMenu, DropdownMenuItemData, DropdownMenuProps, Empty, EmptyProps, Field, FieldProps, FieldRule, Flex, FlexProps, Footer, FooterProps, Form, FormContextValue, FormProps, Grid, GridProps, Header, HeaderBrandPosition, HeaderDropdown, HeaderDropdownItem, HeaderLocale, HeaderMenuItem, HeaderProps, HeaderTheme, HeaderUser, HeaderUserItem, HoverCard, HoverCardProps, ICONS, Icon, IconProps, IconSize, Input, InputGroup, InputGroupProps, InputOTP, InputOTPProps, InputProps, Item, ItemProps, Kbd, KbdProps, Label, LabelProps, Layout, LayoutProps, Link, LinkProps, Menu, MenuItem, MenuProps, Menubar, MenubarLeafItem, MenubarMenuData, MenubarProps, NavigationMenu, NavigationMenuChildItem, NavigationMenuItemData, NavigationMenuProps, NumberInput, NumberInputProps, Page, PageProps, Pagination, PaginationProps, Popover, PopoverProps, Progress, ProgressProps, RadioGroup, RadioGroupOption, RadioGroupProps, RailTooltip, Resizable, ResizablePanelData, ResizableProps, ScrollArea, ScrollAreaProps, Select, SelectOption, SelectProps, Separator, SeparatorProps, Sheet, SheetProps, SheetSide, Sidebar, SidebarBrand, SidebarNavItem, SidebarProps, Sider, SiderProps, Skeleton, SkeletonProps, SkeletonShape, Slider, SliderProps, Sonner, SonnerProps, Spinner, SpinnerProps, SpinnerSize, Statistic, StatisticProps, Switch, SwitchProps, TabItem, Table, TableColumn, TablePagination, TablePaginationInfo, TableProps, Tabs, TabsProps, Text, TextProps, TextType, Textarea, TextareaProps, Toggle, ToggleGroup, ToggleGroupOption, ToggleGroupProps, ToggleProps, Tooltip, TooltipProps, Typography, TypographyProps, TypographyVariant, builtinComponents, createComponentRegistry, normalizeIconName, registerBuiltinComponents, useFormContext, useSidebarDrawer } from './components/index.js';
|
|
2
2
|
export { AdminBrand, AdminLayout, AdminLayoutBreakpoint, AdminLayoutConfig, AdminLayoutMode, AdminLayoutProps, BlankLayout, BlankLayoutProps, ChatLayout, ChatLayoutBrand, ChatLayoutMenuItem, ChatLayoutProps, LandingLayout, LandingLayoutProps, LayoutComponent, LayoutRegistry, LoginBrand, LoginLayout, LoginLayoutProps, collectDefaultOpenKeys, createLayoutRegistry, findMenuChain, registerBuiltinLayouts, resolveLayout } from './layout/index.js';
|
|
3
3
|
export { InteractionProvider, InteractionProviderProps, OVERLAY_CANCEL_PAYLOAD, OverlayConfig, OverlayEntry, OverlayHost, OverlayHostProps, OverlayListener, OverlayManager, ResolvePageFn, UiBridge, UiMessage, UiModal, createUiBridge, registerInteractionActions } from './interaction/index.js';
|
|
4
4
|
import '@pactor-app/runtime';
|
package/dist/index.js
CHANGED
|
@@ -42,6 +42,7 @@ import {
|
|
|
42
42
|
Link,
|
|
43
43
|
Menubar,
|
|
44
44
|
NavigationMenu,
|
|
45
|
+
NumberInput,
|
|
45
46
|
Page,
|
|
46
47
|
Pagination,
|
|
47
48
|
Popover,
|
|
@@ -71,7 +72,7 @@ import {
|
|
|
71
72
|
createComponentRegistry,
|
|
72
73
|
registerBuiltinComponents,
|
|
73
74
|
useFormContext
|
|
74
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-MHM7LTV2.js";
|
|
75
76
|
import {
|
|
76
77
|
InteractionProvider,
|
|
77
78
|
OVERLAY_CANCEL_PAYLOAD,
|
|
@@ -91,7 +92,7 @@ import {
|
|
|
91
92
|
findMenuChain,
|
|
92
93
|
registerBuiltinLayouts,
|
|
93
94
|
resolveLayout
|
|
94
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-IMRMBMHI.js";
|
|
95
96
|
import {
|
|
96
97
|
ICONS,
|
|
97
98
|
Icon,
|
|
@@ -100,10 +101,10 @@ import {
|
|
|
100
101
|
Sidebar,
|
|
101
102
|
normalizeIconName,
|
|
102
103
|
useSidebarDrawer
|
|
103
|
-
} from "./chunk-
|
|
104
|
-
import "./chunk-
|
|
104
|
+
} from "./chunk-COMLXFWS.js";
|
|
105
|
+
import "./chunk-XA6OJ54X.js";
|
|
105
106
|
import "./chunk-XUHJ5YSG.js";
|
|
106
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-RB7RCKAX.js";
|
|
107
108
|
import "./chunk-WKJUCGV4.js";
|
|
108
109
|
export {
|
|
109
110
|
Accordion,
|
|
@@ -158,6 +159,7 @@ export {
|
|
|
158
159
|
Menu,
|
|
159
160
|
Menubar,
|
|
160
161
|
NavigationMenu,
|
|
162
|
+
NumberInput,
|
|
161
163
|
OVERLAY_CANCEL_PAYLOAD,
|
|
162
164
|
OverlayHost,
|
|
163
165
|
OverlayManager,
|
package/dist/layout/index.cjs
CHANGED
|
@@ -1366,7 +1366,9 @@ function SidebarInset({ className, ...props }) {
|
|
|
1366
1366
|
{
|
|
1367
1367
|
"data-slot": "sidebar-inset",
|
|
1368
1368
|
className: cn(
|
|
1369
|
-
|
|
1369
|
+
// min-w-0:作为横向 flex 项需允许收缩到内容 min-content 以下,
|
|
1370
|
+
// 否则宽表格等内容会撑破视口(内部 overflow-x-auto 永不生效)
|
|
1371
|
+
"relative flex w-full min-w-0 flex-1 flex-col bg-background",
|
|
1370
1372
|
"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
1371
1373
|
className
|
|
1372
1374
|
),
|
package/dist/layout/index.js
CHANGED
|
@@ -9,9 +9,9 @@ import {
|
|
|
9
9
|
findMenuChain,
|
|
10
10
|
registerBuiltinLayouts,
|
|
11
11
|
resolveLayout
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-IMRMBMHI.js";
|
|
13
|
+
import "../chunk-COMLXFWS.js";
|
|
14
|
+
import "../chunk-RB7RCKAX.js";
|
|
15
15
|
import "../chunk-WKJUCGV4.js";
|
|
16
16
|
export {
|
|
17
17
|
AdminLayout,
|
package/dist/ui/index.cjs
CHANGED
|
@@ -1606,7 +1606,7 @@ function ComboboxContent({
|
|
|
1606
1606
|
PopoverContent,
|
|
1607
1607
|
{
|
|
1608
1608
|
"data-slot": "combobox-content",
|
|
1609
|
-
className: cn("w-
|
|
1609
|
+
className: cn("w-(--anchor-width) p-0", className),
|
|
1610
1610
|
...props,
|
|
1611
1611
|
children
|
|
1612
1612
|
}
|
|
@@ -3537,7 +3537,9 @@ function SelectContent({
|
|
|
3537
3537
|
children,
|
|
3538
3538
|
side = "bottom",
|
|
3539
3539
|
sideOffset = 4,
|
|
3540
|
-
|
|
3540
|
+
// 弹层左边缘对齐触发器左边缘(shadcn 上游默认为 'center',居中会显得
|
|
3541
|
+
// 弹层"对着触发器中间",与主流控制台左对齐惯例不符,故改默认值)
|
|
3542
|
+
align = "start",
|
|
3541
3543
|
alignItemWithTrigger = false,
|
|
3542
3544
|
...props
|
|
3543
3545
|
}) {
|
|
@@ -3554,7 +3556,11 @@ function SelectContent({
|
|
|
3554
3556
|
{
|
|
3555
3557
|
"data-slot": "select-content",
|
|
3556
3558
|
className: cn(
|
|
3557
|
-
|
|
3559
|
+
// min-w 跟随触发器宽度(Base UI Positioner 在定位元素上暴露
|
|
3560
|
+
// --anchor-width,Popup 作为其子节点可经 var() 继承到),
|
|
3561
|
+
// 选项更长时弹层随内容继续撑宽;不再使用固定的 min-w-[8rem]
|
|
3562
|
+
//(触发器比 8rem 宽时弹层会显得比触发器窄)
|
|
3563
|
+
"relative z-50 max-h-96 min-w-(--anchor-width) overflow-x-hidden overflow-y-auto rounded-md border border-border bg-popover text-popover-foreground shadow-md shadow-(color:--shadow-color) duration-200 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fill-mode-forwards data-closed:fade-out-0 data-closed:zoom-out-95",
|
|
3558
3564
|
className
|
|
3559
3565
|
),
|
|
3560
3566
|
...props,
|
|
@@ -3946,7 +3952,9 @@ function SidebarInset({ className, ...props }) {
|
|
|
3946
3952
|
{
|
|
3947
3953
|
"data-slot": "sidebar-inset",
|
|
3948
3954
|
className: cn(
|
|
3949
|
-
|
|
3955
|
+
// min-w-0:作为横向 flex 项需允许收缩到内容 min-content 以下,
|
|
3956
|
+
// 否则宽表格等内容会撑破视口(内部 overflow-x-auto 永不生效)
|
|
3957
|
+
"relative flex w-full min-w-0 flex-1 flex-col bg-background",
|
|
3950
3958
|
"md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2",
|
|
3951
3959
|
className
|
|
3952
3960
|
),
|
package/dist/ui/index.js
CHANGED
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
toggleVariants,
|
|
161
161
|
typographyVariants,
|
|
162
162
|
useCarousel
|
|
163
|
-
} from "../chunk-
|
|
163
|
+
} from "../chunk-XA6OJ54X.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-
|
|
242
|
+
} from "../chunk-RB7RCKAX.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.
|
|
3
|
+
"version": "1.18.1",
|
|
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/
|
|
109
|
-
"@pactor-app/
|
|
110
|
-
"@pactor-app/
|
|
111
|
-
"@pactor-app/runtime": "1.
|
|
108
|
+
"@pactor-app/permission": "1.18.1",
|
|
109
|
+
"@pactor-app/router": "1.18.1",
|
|
110
|
+
"@pactor-app/core": "1.18.1",
|
|
111
|
+
"@pactor-app/runtime": "1.18.1"
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
114
114
|
"react": ">=18",
|
package/styles.css
CHANGED
|
@@ -617,6 +617,9 @@
|
|
|
617
617
|
.min-h-svh {
|
|
618
618
|
min-height: 100svh;
|
|
619
619
|
}
|
|
620
|
+
.w-\(--anchor-width\) {
|
|
621
|
+
width: var(--anchor-width);
|
|
622
|
+
}
|
|
620
623
|
.w-\(--sidebar-width\) {
|
|
621
624
|
width: var(--sidebar-width);
|
|
622
625
|
}
|
|
@@ -635,6 +638,9 @@
|
|
|
635
638
|
.w-5 {
|
|
636
639
|
width: calc(var(--spacing) * 5);
|
|
637
640
|
}
|
|
641
|
+
.w-7 {
|
|
642
|
+
width: calc(var(--spacing) * 7);
|
|
643
|
+
}
|
|
638
644
|
.w-8 {
|
|
639
645
|
width: calc(var(--spacing) * 8);
|
|
640
646
|
}
|
|
@@ -671,9 +677,6 @@
|
|
|
671
677
|
.w-80 {
|
|
672
678
|
width: calc(var(--spacing) * 80);
|
|
673
679
|
}
|
|
674
|
-
.w-\[--anchor-width\] {
|
|
675
|
-
width: --anchor-width;
|
|
676
|
-
}
|
|
677
680
|
.w-\[100px\] {
|
|
678
681
|
width: 100px;
|
|
679
682
|
}
|
|
@@ -710,6 +713,9 @@
|
|
|
710
713
|
.max-w-sm {
|
|
711
714
|
max-width: var(--container-sm);
|
|
712
715
|
}
|
|
716
|
+
.min-w-\(--anchor-width\) {
|
|
717
|
+
min-width: var(--anchor-width);
|
|
718
|
+
}
|
|
713
719
|
.min-w-0 {
|
|
714
720
|
min-width: 0px;
|
|
715
721
|
}
|
|
@@ -869,6 +875,9 @@
|
|
|
869
875
|
.list-none {
|
|
870
876
|
list-style-type: none;
|
|
871
877
|
}
|
|
878
|
+
.\[appearance\:textfield\] {
|
|
879
|
+
appearance: textfield;
|
|
880
|
+
}
|
|
872
881
|
.auto-rows-min {
|
|
873
882
|
grid-auto-rows: min-content;
|
|
874
883
|
}
|
|
@@ -982,6 +991,16 @@
|
|
|
982
991
|
.gap-y-2 {
|
|
983
992
|
row-gap: calc(var(--spacing) * 2);
|
|
984
993
|
}
|
|
994
|
+
:where(.divide-y > :not(:last-child)) {
|
|
995
|
+
--tw-divide-y-reverse: 0;
|
|
996
|
+
border-bottom-style: var(--tw-border-style);
|
|
997
|
+
border-top-style: var(--tw-border-style);
|
|
998
|
+
border-top-width: calc(1px * var(--tw-divide-y-reverse));
|
|
999
|
+
border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
|
|
1000
|
+
}
|
|
1001
|
+
:where(.divide-input > :not(:last-child)) {
|
|
1002
|
+
border-color: var(--input);
|
|
1003
|
+
}
|
|
985
1004
|
.self-end {
|
|
986
1005
|
align-self: flex-end;
|
|
987
1006
|
}
|
|
@@ -1369,6 +1388,9 @@
|
|
|
1369
1388
|
.pr-3 {
|
|
1370
1389
|
padding-right: calc(var(--spacing) * 3);
|
|
1371
1390
|
}
|
|
1391
|
+
.pr-7 {
|
|
1392
|
+
padding-right: calc(var(--spacing) * 7);
|
|
1393
|
+
}
|
|
1372
1394
|
.pr-8 {
|
|
1373
1395
|
padding-right: calc(var(--spacing) * 8);
|
|
1374
1396
|
}
|
|
@@ -1399,6 +1421,9 @@
|
|
|
1399
1421
|
.text-left {
|
|
1400
1422
|
text-align: left;
|
|
1401
1423
|
}
|
|
1424
|
+
.text-right {
|
|
1425
|
+
text-align: right;
|
|
1426
|
+
}
|
|
1402
1427
|
.align-middle {
|
|
1403
1428
|
vertical-align: middle;
|
|
1404
1429
|
}
|
|
@@ -2905,6 +2930,12 @@
|
|
|
2905
2930
|
border-style: var(--tw-border-style);
|
|
2906
2931
|
border-width: 0px;
|
|
2907
2932
|
}
|
|
2933
|
+
.\[\&\:\:-webkit-inner-spin-button\]\:appearance-none::-webkit-inner-spin-button {
|
|
2934
|
+
appearance: none;
|
|
2935
|
+
}
|
|
2936
|
+
.\[\&\:\:-webkit-outer-spin-button\]\:appearance-none::-webkit-outer-spin-button {
|
|
2937
|
+
appearance: none;
|
|
2938
|
+
}
|
|
2908
2939
|
.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]) {
|
|
2909
2940
|
padding-right: 0px;
|
|
2910
2941
|
}
|
|
@@ -3452,6 +3483,11 @@
|
|
|
3452
3483
|
inherits: false;
|
|
3453
3484
|
initial-value: 0;
|
|
3454
3485
|
}
|
|
3486
|
+
@property --tw-divide-y-reverse {
|
|
3487
|
+
syntax: "*";
|
|
3488
|
+
inherits: false;
|
|
3489
|
+
initial-value: 0;
|
|
3490
|
+
}
|
|
3455
3491
|
@property --tw-border-style {
|
|
3456
3492
|
syntax: "*";
|
|
3457
3493
|
inherits: false;
|
|
@@ -3722,6 +3758,7 @@
|
|
|
3722
3758
|
--tw-skew-y: initial;
|
|
3723
3759
|
--tw-scroll-snap-strictness: proximity;
|
|
3724
3760
|
--tw-space-y-reverse: 0;
|
|
3761
|
+
--tw-divide-y-reverse: 0;
|
|
3725
3762
|
--tw-border-style: solid;
|
|
3726
3763
|
--tw-leading: initial;
|
|
3727
3764
|
--tw-font-weight: initial;
|