laif-ds 0.1.7 → 0.1.9

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.
@@ -53,8 +53,8 @@ function y({
53
53
  "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
54
54
  "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
55
55
  "shadow-xs",
56
- i && t !== "lg" ? "pl-8" : "pl-10",
57
- s && t !== "lg" ? "pr-8" : "pr-10",
56
+ i ? t !== "lg" ? "pl-8" : "pl-10" : "",
57
+ s ? t !== "lg" ? "pr-8" : "pr-10" : "",
58
58
  o
59
59
  ),
60
60
  ...u
package/dist/index.d.ts CHANGED
@@ -205,6 +205,22 @@ export declare const badgeVariants: (props?: ({
205
205
 
206
206
  declare type BarItemDataType = RepeatDataType | NoRepeatDataType;
207
207
 
208
+ export declare function Breadcrumb({ ...props }: React_2.ComponentProps<"nav">): JSX.Element;
209
+
210
+ export declare function BreadcrumbEllipsis({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
211
+
212
+ export declare function BreadcrumbItem({ className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
213
+
214
+ export declare function BreadcrumbLink({ asChild, className, ...props }: React_2.ComponentProps<"a"> & {
215
+ asChild?: boolean;
216
+ }): JSX.Element;
217
+
218
+ export declare function BreadcrumbList({ className, ...props }: React_2.ComponentProps<"ol">): JSX.Element;
219
+
220
+ export declare function BreadcrumbPage({ className, ...props }: React_2.ComponentProps<"span">): JSX.Element;
221
+
222
+ export declare function BreadcrumbSeparator({ children, className, ...props }: React_2.ComponentProps<"li">): JSX.Element;
223
+
208
224
  export declare function Button({ className, variant, size, asChild, iconLeft, iconRight, ...props }: ButtonProps): JSX.Element;
209
225
 
210
226
  export declare interface ButtonProps extends React_2.ComponentProps<"button">, VariantProps<typeof buttonVariants> {
@@ -293,6 +309,7 @@ declare interface ChartProps {
293
309
  className?: string;
294
310
  onBarDoubleClick?: OnBarDoubleClickType;
295
311
  onBarChange?: OnBarChangeType;
312
+ treeTitle?: string;
296
313
  }
297
314
 
298
315
  export declare const ChartStyle: ({ id, config }: {
@@ -462,7 +479,7 @@ declare type CopyButtonProps = {
462
479
  copyMessage?: string;
463
480
  };
464
481
 
465
- declare enum DataRepeatTypes {
482
+ export declare enum DataRepeatTypes {
466
483
  DAY = "DAY",
467
484
  WEEK = "WEEK",
468
485
  MONTH = "MONTH"
@@ -512,6 +529,18 @@ export declare function DialogTitle({ className, ...props }: React_2.ComponentPr
512
529
 
513
530
  export declare function DialogTrigger({ ...props }: React_2.ComponentProps<typeof DialogPrimitive.Trigger>): JSX.Element;
514
531
 
532
+ export declare enum DragStepSizes {
533
+ FIVE_MIN = "FIVE_MIN",
534
+ TEN_MIN = "TEN_MIN",
535
+ FIFTEEN_MIN = "FIFTEEN_MIN",
536
+ TWENTY_MIN = "TWENTY_MIN",
537
+ THIRTY_MIN = "THIRTY_MIN",
538
+ ONE_HOUR = "ONE_HOUR",
539
+ EIGHT_HOURS = "EIGHT_HOURS",
540
+ TWELVE_HOURS = "TWELVE_HOURS",
541
+ ONE_DAY = "ONE_DAY"
542
+ }
543
+
515
544
  export declare function Drawer({ ...props }: React_2.ComponentProps<typeof Drawer_2.Root>): JSX.Element;
516
545
 
517
546
  export declare function DrawerContent({ className, children, ...props }: React_2.ComponentProps<typeof Drawer_2.Content>): JSX.Element;
@@ -603,6 +632,21 @@ declare type GanttItemDataType<T = Record<string, unknown>> = TransformedDataTyp
603
632
  declare type GanttProps = {
604
633
  children: ReactNode | ReactNode[];
605
634
  draggable?: boolean;
635
+ /**
636
+ * Dimensione predefinita per il controllo dello zoom (1h, 1g, ecc.)
637
+ * @default GanttDimensions.HOUR
638
+ */
639
+ defaultDimension?: GanttDimensions;
640
+ /**
641
+ * Step size predefinito per il drag delle attività
642
+ * @default DragStepSizes.THIRTY_MIN
643
+ */
644
+ defaultDragStepSize?: DragStepSizes;
645
+ /**
646
+ * Titolo personalizzato per la colonna dell'albero
647
+ * @default "Attività"
648
+ */
649
+ treeTitle?: string;
606
650
  };
607
651
 
608
652
  export declare function HoverCard({ ...props }: React_2.ComponentProps<typeof HoverCardPrimitive.Root>): JSX.Element;