@lindle/linoardo 1.0.10 → 1.0.11

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/index.d.cts CHANGED
@@ -425,31 +425,15 @@ interface ListProps extends React$1.HTMLAttributes<HTMLDivElement> {
425
425
  declare const List: React$1.ForwardRefExoticComponent<ListProps & React$1.RefAttributes<HTMLDivElement>>;
426
426
 
427
427
  type MenuPlacement = 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end';
428
- interface MenuActivatorRenderProps {
429
- ref: (node: HTMLElement | null) => void;
430
- id: string;
431
- 'aria-haspopup': 'menu';
432
- 'aria-expanded': boolean;
433
- 'aria-controls': string;
434
- onClick: React$1.MouseEventHandler<HTMLElement>;
435
- onKeyDown: React$1.KeyboardEventHandler<HTMLElement>;
436
- onMouseEnter?: React$1.MouseEventHandler<HTMLElement>;
437
- onMouseLeave?: React$1.MouseEventHandler<HTMLElement>;
438
- disabled?: boolean;
439
- open: boolean;
440
- }
441
428
  interface MenuProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'children'> {
442
- activator: (props: MenuActivatorRenderProps) => React$1.ReactNode;
429
+ activator: React$1.ReactNode;
443
430
  children: React$1.ReactNode;
444
- open?: boolean;
445
- defaultOpen?: boolean;
446
- onOpenChange?: (open: boolean) => void;
447
431
  placement?: MenuPlacement;
432
+ open?: boolean;
448
433
  openOnHover?: boolean;
449
- closeOnContentClick?: boolean;
434
+ openOnFocus?: boolean;
450
435
  matchActivatorWidth?: boolean;
451
436
  keepMounted?: boolean;
452
- disabled?: boolean;
453
437
  scrim?: boolean;
454
438
  contentClassName?: string;
455
439
  contentProps?: React$1.HTMLAttributes<HTMLDivElement>;
@@ -502,70 +486,33 @@ declare const ExpansionPanelItem: React$1.ForwardRefExoticComponent<ExpansionPan
502
486
 
503
487
  declare const ExpansionPanel: React$1.ForwardRefExoticComponent<ExpansionPanelProps & React$1.RefAttributes<HTMLDivElement>>;
504
488
 
505
- interface DialogActivatorRenderProps {
506
- ref: (node: HTMLElement | null) => void;
507
- id: string;
508
- open: boolean;
509
- disabled?: boolean;
510
- 'aria-haspopup': 'dialog';
511
- 'aria-expanded': boolean;
512
- 'aria-controls': string;
513
- onClick: React$1.MouseEventHandler<HTMLElement>;
514
- onKeyDown: React$1.KeyboardEventHandler<HTMLElement>;
515
- }
516
489
  interface DialogProps extends React$1.HTMLAttributes<HTMLDivElement> {
517
- activator?: (props: DialogActivatorRenderProps) => React$1.ReactNode;
490
+ activator?: React$1.ReactNode;
518
491
  open?: boolean;
519
- defaultOpen?: boolean;
520
- onOpenChange?: (open: boolean) => void;
521
- persistent?: boolean;
522
- closeOnEsc?: boolean;
523
- closeOnOutsideClick?: boolean;
524
- closeOnContentClick?: boolean;
525
- scrim?: boolean;
526
492
  keepMounted?: boolean;
493
+ scrim?: boolean;
527
494
  fullscreen?: boolean;
528
495
  maxWidth?: string | number;
529
496
  width?: string | number;
530
497
  containerClassName?: string;
531
498
  overlayClassName?: string;
532
499
  overlayProps?: React$1.HTMLAttributes<HTMLDivElement>;
533
- scrollLock?: boolean;
534
- disabled?: boolean;
535
500
  }
536
501
  declare const Dialog: React$1.ForwardRefExoticComponent<DialogProps & React$1.RefAttributes<HTMLDivElement>>;
537
502
 
538
503
  type ToolTipPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
539
- interface ToolTipActivatorRenderProps {
540
- id: string;
541
- open: boolean;
542
- disabled?: boolean;
543
- 'aria-describedby'?: string;
544
- onPointerEnter: React$1.PointerEventHandler<HTMLElement>;
545
- onPointerLeave: React$1.PointerEventHandler<HTMLElement>;
546
- onFocus: React$1.FocusEventHandler<HTMLElement>;
547
- onBlur: React$1.FocusEventHandler<HTMLElement>;
548
- onClick?: React$1.MouseEventHandler<HTMLElement>;
549
- onKeyDown?: React$1.KeyboardEventHandler<HTMLElement>;
550
- }
551
504
  interface ToolTipProps extends React$1.HTMLAttributes<HTMLDivElement> {
552
- activator: (props: ToolTipActivatorRenderProps) => React$1.ReactNode;
553
- open?: boolean;
554
- defaultOpen?: boolean;
555
- onOpenChange?: (open: boolean) => void;
505
+ activator: React$1.ReactNode;
556
506
  placement?: ToolTipPlacement;
557
- openDelay?: number;
558
- closeDelay?: number;
559
- openOnHover?: boolean;
560
- openOnFocus?: boolean;
561
- openOnClick?: boolean;
562
- interactive?: boolean;
563
507
  arrow?: boolean;
564
508
  disabled?: boolean;
509
+ persistent?: boolean;
510
+ showOnHover?: boolean;
511
+ showOnFocus?: boolean;
512
+ interactive?: boolean;
565
513
  keepMounted?: boolean;
566
514
  maxWidth?: string | number;
567
515
  wrapperClassName?: string;
568
- closeOnContentClick?: boolean;
569
516
  }
570
517
  declare const ToolTip: React$1.ForwardRefExoticComponent<ToolTipProps & React$1.RefAttributes<HTMLDivElement>>;
571
518
 
@@ -588,4 +535,4 @@ type InputProp = React.InputHTMLAttributes<HTMLInputElement> & InputStatusProps
588
535
 
589
536
  declare const Input: React.FC<InputProp>;
590
537
 
591
- export { Button, Chip, type ChipProps, type ChipSize, type ChipVariant, Dialog, type DialogActivatorRenderProps, type DialogProps, ExpansionPanel, type ExpansionPanelDensity, ExpansionPanelItem, type ExpansionPanelItemProps, type ExpansionPanelProps, type ExpansionPanelRounded, type ExpansionPanelValue, type ExpansionPanelVariant, Input, List, type ListDensity, ListItem, type ListItemProps, type ListLines, type ListProps, type ListRounded, type ListVariant, Menu, type MenuActivatorRenderProps, type MenuPlacement, type MenuProps, ToolTip, type ToolTipActivatorRenderProps, type ToolTipPlacement, type ToolTipProps };
538
+ export { Button, Chip, type ChipProps, type ChipSize, type ChipVariant, Dialog, type DialogProps, ExpansionPanel, type ExpansionPanelDensity, ExpansionPanelItem, type ExpansionPanelItemProps, type ExpansionPanelProps, type ExpansionPanelRounded, type ExpansionPanelValue, type ExpansionPanelVariant, Input, List, type ListDensity, ListItem, type ListItemProps, type ListLines, type ListProps, type ListRounded, type ListVariant, Menu, type MenuPlacement, type MenuProps, ToolTip, type ToolTipPlacement, type ToolTipProps };
package/dist/index.d.ts CHANGED
@@ -425,31 +425,15 @@ interface ListProps extends React$1.HTMLAttributes<HTMLDivElement> {
425
425
  declare const List: React$1.ForwardRefExoticComponent<ListProps & React$1.RefAttributes<HTMLDivElement>>;
426
426
 
427
427
  type MenuPlacement = 'bottom-start' | 'bottom' | 'bottom-end' | 'top-start' | 'top' | 'top-end';
428
- interface MenuActivatorRenderProps {
429
- ref: (node: HTMLElement | null) => void;
430
- id: string;
431
- 'aria-haspopup': 'menu';
432
- 'aria-expanded': boolean;
433
- 'aria-controls': string;
434
- onClick: React$1.MouseEventHandler<HTMLElement>;
435
- onKeyDown: React$1.KeyboardEventHandler<HTMLElement>;
436
- onMouseEnter?: React$1.MouseEventHandler<HTMLElement>;
437
- onMouseLeave?: React$1.MouseEventHandler<HTMLElement>;
438
- disabled?: boolean;
439
- open: boolean;
440
- }
441
428
  interface MenuProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, 'children'> {
442
- activator: (props: MenuActivatorRenderProps) => React$1.ReactNode;
429
+ activator: React$1.ReactNode;
443
430
  children: React$1.ReactNode;
444
- open?: boolean;
445
- defaultOpen?: boolean;
446
- onOpenChange?: (open: boolean) => void;
447
431
  placement?: MenuPlacement;
432
+ open?: boolean;
448
433
  openOnHover?: boolean;
449
- closeOnContentClick?: boolean;
434
+ openOnFocus?: boolean;
450
435
  matchActivatorWidth?: boolean;
451
436
  keepMounted?: boolean;
452
- disabled?: boolean;
453
437
  scrim?: boolean;
454
438
  contentClassName?: string;
455
439
  contentProps?: React$1.HTMLAttributes<HTMLDivElement>;
@@ -502,70 +486,33 @@ declare const ExpansionPanelItem: React$1.ForwardRefExoticComponent<ExpansionPan
502
486
 
503
487
  declare const ExpansionPanel: React$1.ForwardRefExoticComponent<ExpansionPanelProps & React$1.RefAttributes<HTMLDivElement>>;
504
488
 
505
- interface DialogActivatorRenderProps {
506
- ref: (node: HTMLElement | null) => void;
507
- id: string;
508
- open: boolean;
509
- disabled?: boolean;
510
- 'aria-haspopup': 'dialog';
511
- 'aria-expanded': boolean;
512
- 'aria-controls': string;
513
- onClick: React$1.MouseEventHandler<HTMLElement>;
514
- onKeyDown: React$1.KeyboardEventHandler<HTMLElement>;
515
- }
516
489
  interface DialogProps extends React$1.HTMLAttributes<HTMLDivElement> {
517
- activator?: (props: DialogActivatorRenderProps) => React$1.ReactNode;
490
+ activator?: React$1.ReactNode;
518
491
  open?: boolean;
519
- defaultOpen?: boolean;
520
- onOpenChange?: (open: boolean) => void;
521
- persistent?: boolean;
522
- closeOnEsc?: boolean;
523
- closeOnOutsideClick?: boolean;
524
- closeOnContentClick?: boolean;
525
- scrim?: boolean;
526
492
  keepMounted?: boolean;
493
+ scrim?: boolean;
527
494
  fullscreen?: boolean;
528
495
  maxWidth?: string | number;
529
496
  width?: string | number;
530
497
  containerClassName?: string;
531
498
  overlayClassName?: string;
532
499
  overlayProps?: React$1.HTMLAttributes<HTMLDivElement>;
533
- scrollLock?: boolean;
534
- disabled?: boolean;
535
500
  }
536
501
  declare const Dialog: React$1.ForwardRefExoticComponent<DialogProps & React$1.RefAttributes<HTMLDivElement>>;
537
502
 
538
503
  type ToolTipPlacement = 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end' | 'right' | 'right-start' | 'right-end';
539
- interface ToolTipActivatorRenderProps {
540
- id: string;
541
- open: boolean;
542
- disabled?: boolean;
543
- 'aria-describedby'?: string;
544
- onPointerEnter: React$1.PointerEventHandler<HTMLElement>;
545
- onPointerLeave: React$1.PointerEventHandler<HTMLElement>;
546
- onFocus: React$1.FocusEventHandler<HTMLElement>;
547
- onBlur: React$1.FocusEventHandler<HTMLElement>;
548
- onClick?: React$1.MouseEventHandler<HTMLElement>;
549
- onKeyDown?: React$1.KeyboardEventHandler<HTMLElement>;
550
- }
551
504
  interface ToolTipProps extends React$1.HTMLAttributes<HTMLDivElement> {
552
- activator: (props: ToolTipActivatorRenderProps) => React$1.ReactNode;
553
- open?: boolean;
554
- defaultOpen?: boolean;
555
- onOpenChange?: (open: boolean) => void;
505
+ activator: React$1.ReactNode;
556
506
  placement?: ToolTipPlacement;
557
- openDelay?: number;
558
- closeDelay?: number;
559
- openOnHover?: boolean;
560
- openOnFocus?: boolean;
561
- openOnClick?: boolean;
562
- interactive?: boolean;
563
507
  arrow?: boolean;
564
508
  disabled?: boolean;
509
+ persistent?: boolean;
510
+ showOnHover?: boolean;
511
+ showOnFocus?: boolean;
512
+ interactive?: boolean;
565
513
  keepMounted?: boolean;
566
514
  maxWidth?: string | number;
567
515
  wrapperClassName?: string;
568
- closeOnContentClick?: boolean;
569
516
  }
570
517
  declare const ToolTip: React$1.ForwardRefExoticComponent<ToolTipProps & React$1.RefAttributes<HTMLDivElement>>;
571
518
 
@@ -588,4 +535,4 @@ type InputProp = React.InputHTMLAttributes<HTMLInputElement> & InputStatusProps
588
535
 
589
536
  declare const Input: React.FC<InputProp>;
590
537
 
591
- export { Button, Chip, type ChipProps, type ChipSize, type ChipVariant, Dialog, type DialogActivatorRenderProps, type DialogProps, ExpansionPanel, type ExpansionPanelDensity, ExpansionPanelItem, type ExpansionPanelItemProps, type ExpansionPanelProps, type ExpansionPanelRounded, type ExpansionPanelValue, type ExpansionPanelVariant, Input, List, type ListDensity, ListItem, type ListItemProps, type ListLines, type ListProps, type ListRounded, type ListVariant, Menu, type MenuActivatorRenderProps, type MenuPlacement, type MenuProps, ToolTip, type ToolTipActivatorRenderProps, type ToolTipPlacement, type ToolTipProps };
538
+ export { Button, Chip, type ChipProps, type ChipSize, type ChipVariant, Dialog, type DialogProps, ExpansionPanel, type ExpansionPanelDensity, ExpansionPanelItem, type ExpansionPanelItemProps, type ExpansionPanelProps, type ExpansionPanelRounded, type ExpansionPanelValue, type ExpansionPanelVariant, Input, List, type ListDensity, ListItem, type ListItemProps, type ListLines, type ListProps, type ListRounded, type ListVariant, Menu, type MenuPlacement, type MenuProps, ToolTip, type ToolTipPlacement, type ToolTipProps };