@pactor-app/ui 1.31.0 → 1.32.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.
@@ -141,7 +141,19 @@ import {
141
141
  Typography,
142
142
  navigationMenuTriggerStyle,
143
143
  toast
144
- } from "./chunk-JWZHJEUS.js";
144
+ } from "./chunk-WYISCB4V.js";
145
+ import {
146
+ Dialog,
147
+ DialogContent,
148
+ DialogDescription,
149
+ DialogHeader,
150
+ DialogTitle,
151
+ DialogTrigger,
152
+ Drawer,
153
+ DrawerContent,
154
+ DrawerHeader,
155
+ DrawerTitle
156
+ } from "./chunk-HAOAXDTW.js";
145
157
  import {
146
158
  Accordion,
147
159
  AccordionContent,
@@ -165,18 +177,6 @@ import {
165
177
  TooltipContent,
166
178
  TooltipTrigger
167
179
  } from "./chunk-RB7RCKAX.js";
168
- import {
169
- Dialog,
170
- DialogContent,
171
- DialogDescription,
172
- DialogHeader,
173
- DialogTitle,
174
- DialogTrigger,
175
- Drawer,
176
- DrawerContent,
177
- DrawerHeader,
178
- DrawerTitle
179
- } from "./chunk-HAOAXDTW.js";
180
180
  import {
181
181
  Button,
182
182
  cn
@@ -595,11 +595,11 @@ function useFormContext() {
595
595
  function formItemClass(layout) {
596
596
  switch (layout) {
597
597
  case "horizontal":
598
- return "mb-4 flex min-h-9 items-center gap-2";
598
+ return "mb-2 flex min-h-9 items-center gap-2";
599
599
  case "inline":
600
600
  return "flex min-h-9 items-center gap-2";
601
601
  default:
602
- return "mb-4 flex min-h-9 flex-col justify-center gap-1.5";
602
+ return "mb-2 flex min-h-9 flex-col justify-center gap-1.5";
603
603
  }
604
604
  }
605
605
 
@@ -2697,7 +2697,7 @@ function Field2({
2697
2697
  "div",
2698
2698
  {
2699
2699
  "data-slot": "field-control",
2700
- className: cn(label || labelHint ? "mt-2" : void 0, controlClassName),
2700
+ className: cn(controlClassName),
2701
2701
  style: controlStyle,
2702
2702
  children
2703
2703
  }
@@ -1269,7 +1269,7 @@ function Field({ className, ...props }) {
1269
1269
  FieldPrimitive.Root,
1270
1270
  {
1271
1271
  "data-slot": "field",
1272
- className: cn("flex flex-col gap-1.5", className),
1272
+ className: cn("flex flex-col gap-2", className),
1273
1273
  ...props
1274
1274
  }
1275
1275
  );
@@ -1478,11 +1478,11 @@ function useFormContext() {
1478
1478
  function formItemClass(layout) {
1479
1479
  switch (layout) {
1480
1480
  case "horizontal":
1481
- return "mb-4 flex min-h-9 items-center gap-2";
1481
+ return "mb-2 flex min-h-9 items-center gap-2";
1482
1482
  case "inline":
1483
1483
  return "flex min-h-9 items-center gap-2";
1484
1484
  default:
1485
- return "mb-4 flex min-h-9 flex-col justify-center gap-1.5";
1485
+ return "mb-2 flex min-h-9 flex-col justify-center gap-1.5";
1486
1486
  }
1487
1487
  }
1488
1488
 
@@ -4558,7 +4558,7 @@ function Field({ className, ...props }) {
4558
4558
  import_field.Field.Root,
4559
4559
  {
4560
4560
  "data-slot": "field",
4561
- className: cn("flex flex-col gap-1.5", className),
4561
+ className: cn("flex flex-col gap-2", className),
4562
4562
  ...props
4563
4563
  }
4564
4564
  );
@@ -4642,7 +4642,7 @@ function Field2({
4642
4642
  "div",
4643
4643
  {
4644
4644
  "data-slot": "field-control",
4645
- className: cn(label || labelHint ? "mt-2" : void 0, controlClassName),
4645
+ className: cn(controlClassName),
4646
4646
  style: controlStyle,
4647
4647
  children
4648
4648
  }
@@ -154,7 +154,7 @@ import {
154
154
  inferKind,
155
155
  registerBuiltinComponents,
156
156
  useFormContext
157
- } from "../chunk-F4YSZZHL.js";
157
+ } from "../chunk-R5KHWCWB.js";
158
158
  import {
159
159
  ICONS,
160
160
  Icon,
@@ -164,9 +164,9 @@ import {
164
164
  normalizeIconName,
165
165
  useSidebarDrawer
166
166
  } from "../chunk-44DAGWXZ.js";
167
- import "../chunk-JWZHJEUS.js";
168
- import "../chunk-RB7RCKAX.js";
167
+ import "../chunk-WYISCB4V.js";
169
168
  import "../chunk-HAOAXDTW.js";
169
+ import "../chunk-RB7RCKAX.js";
170
170
  import "../chunk-WKJUCGV4.js";
171
171
  export {
172
172
  Accordion,
package/dist/index.cjs CHANGED
@@ -1494,11 +1494,11 @@ function useFormContext() {
1494
1494
  function formItemClass(layout) {
1495
1495
  switch (layout) {
1496
1496
  case "horizontal":
1497
- return "mb-4 flex min-h-9 items-center gap-2";
1497
+ return "mb-2 flex min-h-9 items-center gap-2";
1498
1498
  case "inline":
1499
1499
  return "flex min-h-9 items-center gap-2";
1500
1500
  default:
1501
- return "mb-4 flex min-h-9 flex-col justify-center gap-1.5";
1501
+ return "mb-2 flex min-h-9 flex-col justify-center gap-1.5";
1502
1502
  }
1503
1503
  }
1504
1504
 
@@ -4597,7 +4597,7 @@ function Field({ className, ...props }) {
4597
4597
  import_field.Field.Root,
4598
4598
  {
4599
4599
  "data-slot": "field",
4600
- className: cn("flex flex-col gap-1.5", className),
4600
+ className: cn("flex flex-col gap-2", className),
4601
4601
  ...props
4602
4602
  }
4603
4603
  );
@@ -4681,7 +4681,7 @@ function Field2({
4681
4681
  "div",
4682
4682
  {
4683
4683
  "data-slot": "field-control",
4684
- className: cn(label || labelHint ? "mt-2" : void 0, controlClassName),
4684
+ className: cn(controlClassName),
4685
4685
  style: controlStyle,
4686
4686
  children
4687
4687
  }
package/dist/index.js CHANGED
@@ -154,7 +154,15 @@ import {
154
154
  inferKind,
155
155
  registerBuiltinComponents,
156
156
  useFormContext
157
- } from "./chunk-F4YSZZHL.js";
157
+ } from "./chunk-R5KHWCWB.js";
158
+ import {
159
+ InteractionProvider,
160
+ OVERLAY_CANCEL_PAYLOAD,
161
+ OverlayHost,
162
+ OverlayManager,
163
+ createUiBridge,
164
+ registerInteractionActions
165
+ } from "./chunk-U5EFJR5Z.js";
158
166
  import {
159
167
  AdminLayout,
160
168
  BlankLayout,
@@ -176,17 +184,9 @@ import {
176
184
  normalizeIconName,
177
185
  useSidebarDrawer
178
186
  } from "./chunk-44DAGWXZ.js";
179
- import {
180
- InteractionProvider,
181
- OVERLAY_CANCEL_PAYLOAD,
182
- OverlayHost,
183
- OverlayManager,
184
- createUiBridge,
185
- registerInteractionActions
186
- } from "./chunk-U5EFJR5Z.js";
187
- import "./chunk-JWZHJEUS.js";
188
- import "./chunk-RB7RCKAX.js";
187
+ import "./chunk-WYISCB4V.js";
189
188
  import "./chunk-HAOAXDTW.js";
189
+ import "./chunk-RB7RCKAX.js";
190
190
  import "./chunk-WKJUCGV4.js";
191
191
  export {
192
192
  Accordion,
package/dist/ui/index.cjs CHANGED
@@ -2934,7 +2934,7 @@ function Field({ className, ...props }) {
2934
2934
  import_field.Field.Root,
2935
2935
  {
2936
2936
  "data-slot": "field",
2937
- className: cn("flex flex-col gap-1.5", className),
2937
+ className: cn("flex flex-col gap-2", className),
2938
2938
  ...props
2939
2939
  }
2940
2940
  );
package/dist/ui/index.js CHANGED
@@ -161,7 +161,29 @@ import {
161
161
  toggleVariants,
162
162
  typographyVariants,
163
163
  useCarousel
164
- } from "../chunk-JWZHJEUS.js";
164
+ } from "../chunk-WYISCB4V.js";
165
+ import {
166
+ Dialog,
167
+ DialogClose,
168
+ DialogContent,
169
+ DialogDescription,
170
+ DialogFooter,
171
+ DialogHeader,
172
+ DialogOverlay,
173
+ DialogPortal,
174
+ DialogTitle,
175
+ DialogTrigger,
176
+ Drawer,
177
+ DrawerClose,
178
+ DrawerContent,
179
+ DrawerDescription,
180
+ DrawerFooter,
181
+ DrawerHeader,
182
+ DrawerOverlay,
183
+ DrawerPortal,
184
+ DrawerTitle,
185
+ DrawerTrigger
186
+ } from "../chunk-HAOAXDTW.js";
165
187
  import {
166
188
  Accordion,
167
189
  AccordionContent,
@@ -219,28 +241,6 @@ import {
219
241
  TooltipTrigger,
220
242
  useSidebar
221
243
  } from "../chunk-RB7RCKAX.js";
222
- import {
223
- Dialog,
224
- DialogClose,
225
- DialogContent,
226
- DialogDescription,
227
- DialogFooter,
228
- DialogHeader,
229
- DialogOverlay,
230
- DialogPortal,
231
- DialogTitle,
232
- DialogTrigger,
233
- Drawer,
234
- DrawerClose,
235
- DrawerContent,
236
- DrawerDescription,
237
- DrawerFooter,
238
- DrawerHeader,
239
- DrawerOverlay,
240
- DrawerPortal,
241
- DrawerTitle,
242
- DrawerTrigger
243
- } from "../chunk-HAOAXDTW.js";
244
244
  import {
245
245
  Button,
246
246
  buttonVariants,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pactor-app/ui",
3
- "version": "1.31.0",
3
+ "version": "1.32.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",
@@ -107,11 +107,11 @@
107
107
  "react-resizable-panels": "^4.12.3",
108
108
  "tailwind-merge": "^3.6.0",
109
109
  "vaul": "^1.1.2",
110
- "@pactor-app/core": "1.31.0",
111
- "@pactor-app/router": "1.31.0",
112
- "@pactor-app/markdown": "1.31.0",
113
- "@pactor-app/permission": "1.31.0",
114
- "@pactor-app/runtime": "1.31.0"
110
+ "@pactor-app/core": "1.32.0",
111
+ "@pactor-app/markdown": "1.32.0",
112
+ "@pactor-app/permission": "1.32.0",
113
+ "@pactor-app/router": "1.32.0",
114
+ "@pactor-app/runtime": "1.32.0"
115
115
  },
116
116
  "peerDependencies": {
117
117
  "react": ">=18",