@aracna/react 1.0.35 → 1.0.36
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/components/memo.d.ts +3 -0
- package/components/memo.js +1 -0
- package/definitions/generated-props.d.ts +241 -0
- package/definitions/generated-props.js +0 -0
- package/definitions/props.d.ts +5 -241
- package/hooks/use-observable-element-component.d.ts +17 -0
- package/hooks/use-observable-element-component.js +1 -0
- package/index.cjs +1 -1
- package/index.d.ts +193 -185
- package/index.iife.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/hooks/use-base-element-component.d.ts +0 -19
- package/hooks/use-base-element-component.js +0 -1
package/index.d.ts
CHANGED
|
@@ -208,6 +208,7 @@ import type { AriaTooltipElementEventMap } from '@aracna/web';
|
|
|
208
208
|
import type { AriaTooltipTriggerElement } from '@aracna/web-components/elements/aria/aria-tooltip-element';
|
|
209
209
|
import type { AriaTooltipTriggerElementAttributes } from '@aracna/web';
|
|
210
210
|
import type { AriaTooltipTriggerElementEventMap } from '@aracna/web';
|
|
211
|
+
import type { AttributeChangeEvent } from '@aracna/web';
|
|
211
212
|
import type { AvatarElement } from '@aracna/web-components/elements/data/avatar-element';
|
|
212
213
|
import type { AvatarElementAttributes } from '@aracna/web';
|
|
213
214
|
import type { AvatarElementEventMap } from '@aracna/web';
|
|
@@ -364,6 +365,7 @@ import type { RadioGroupElement } from '@aracna/web-components/elements/input/ra
|
|
|
364
365
|
import type { RadioGroupElementAttributes } from '@aracna/web';
|
|
365
366
|
import type { RadioGroupElementEventMap } from '@aracna/web';
|
|
366
367
|
import { ReactElement } from 'react';
|
|
368
|
+
import { ReactNode } from 'react';
|
|
367
369
|
import type { RefAttributes } from 'react';
|
|
368
370
|
import type { SelectButtonElement } from '@aracna/web-components/elements/input/select-element';
|
|
369
371
|
import type { SelectButtonElementAttributes } from '@aracna/web';
|
|
@@ -389,6 +391,7 @@ import type { SliderElementEventMap } from '@aracna/web';
|
|
|
389
391
|
import type { SliderThumbElement } from '@aracna/web-components/elements/input/slider-element';
|
|
390
392
|
import type { SliderThumbElementAttributes } from '@aracna/web';
|
|
391
393
|
import type { SliderThumbElementEventMap } from '@aracna/web';
|
|
394
|
+
import type { StateChangeEvent } from '@aracna/web';
|
|
392
395
|
import type { SwitchElement } from '@aracna/web-components/elements/input/switch-element';
|
|
393
396
|
import type { SwitchElementAttributes } from '@aracna/web';
|
|
394
397
|
import type { SwitchElementEventMap } from '@aracna/web';
|
|
@@ -417,347 +420,350 @@ import type { TooltipTriggerElement } from '@aracna/web-components/elements/data
|
|
|
417
420
|
import type { TooltipTriggerElementAttributes } from '@aracna/web';
|
|
418
421
|
import type { TooltipTriggerElementEventMap } from '@aracna/web';
|
|
419
422
|
|
|
420
|
-
export declare type
|
|
423
|
+
export declare type AracnaAccordionButtonProps = ElementComponentProps<AccordionButtonElement, AccordionButtonElementAttributes, AccordionButtonElementEventMap>;
|
|
421
424
|
|
|
422
|
-
export declare type
|
|
425
|
+
export declare type AracnaAccordionHeaderProps = ElementComponentProps<AccordionHeaderElement, AccordionHeaderElementAttributes, AccordionHeaderElementEventMap>;
|
|
423
426
|
|
|
424
|
-
export declare type
|
|
427
|
+
export declare type AracnaAccordionPanelProps = ElementComponentProps<AccordionPanelElement, AccordionPanelElementAttributes, AccordionPanelElementEventMap>;
|
|
425
428
|
|
|
426
|
-
export declare type
|
|
429
|
+
export declare type AracnaAccordionProps = ElementComponentProps<AccordionElement, AccordionElementAttributes, AccordionElementEventMap>;
|
|
427
430
|
|
|
428
|
-
export declare type
|
|
431
|
+
export declare type AracnaAccordionSectionProps = ElementComponentProps<AccordionSectionElement, AccordionSectionElementAttributes, AccordionSectionElementEventMap>;
|
|
429
432
|
|
|
430
|
-
export declare type
|
|
433
|
+
export declare type AracnaAlertDialogDescriptionProps = ElementComponentProps<AlertDialogDescriptionElement, AlertDialogDescriptionElementAttributes, AlertDialogDescriptionElementEventMap>;
|
|
431
434
|
|
|
432
|
-
export declare type
|
|
435
|
+
export declare type AracnaAlertDialogLabelProps = ElementComponentProps<AlertDialogLabelElement, AlertDialogLabelElementAttributes, AlertDialogLabelElementEventMap>;
|
|
433
436
|
|
|
434
|
-
export declare type
|
|
437
|
+
export declare type AracnaAlertDialogProps = ElementComponentProps<AlertDialogElement, AlertDialogElementAttributes, AlertDialogElementEventMap>;
|
|
435
438
|
|
|
436
|
-
export declare type
|
|
439
|
+
export declare type AracnaAlertProps = ElementComponentProps<AlertElement, AlertElementAttributes, AlertElementEventMap>;
|
|
437
440
|
|
|
438
|
-
export declare type
|
|
441
|
+
export declare type AracnaAriaAccordionButtonProps = ElementComponentProps<AriaAccordionButtonElement, AriaAccordionButtonElementAttributes, AriaAccordionButtonElementEventMap>;
|
|
439
442
|
|
|
440
|
-
export declare type
|
|
443
|
+
export declare type AracnaAriaAccordionHeaderProps = ElementComponentProps<AriaAccordionHeaderElement, AriaAccordionHeaderElementAttributes, AriaAccordionHeaderElementEventMap>;
|
|
441
444
|
|
|
442
|
-
export declare type
|
|
445
|
+
export declare type AracnaAriaAccordionPanelProps = ElementComponentProps<AriaAccordionPanelElement, AriaAccordionPanelElementAttributes, AriaAccordionPanelElementEventMap>;
|
|
443
446
|
|
|
444
|
-
export declare type
|
|
447
|
+
export declare type AracnaAriaAccordionProps = ElementComponentProps<AriaAccordionElement, AriaAccordionElementAttributes, AriaAccordionElementEventMap>;
|
|
445
448
|
|
|
446
|
-
export declare type
|
|
449
|
+
export declare type AracnaAriaAccordionSectionProps = ElementComponentProps<AriaAccordionSectionElement, AriaAccordionSectionElementAttributes, AriaAccordionSectionElementEventMap>;
|
|
447
450
|
|
|
448
|
-
export declare type
|
|
451
|
+
export declare type AracnaAriaAlertDialogDescriptionProps = ElementComponentProps<AriaAlertDialogDescriptionElement, AriaAlertDialogDescriptionElementAttributes, AriaAlertDialogDescriptionElementEventMap>;
|
|
449
452
|
|
|
450
|
-
export declare type
|
|
453
|
+
export declare type AracnaAriaAlertDialogLabelProps = ElementComponentProps<AriaAlertDialogLabelElement, AriaAlertDialogLabelElementAttributes, AriaAlertDialogLabelElementEventMap>;
|
|
451
454
|
|
|
452
|
-
export declare type
|
|
455
|
+
export declare type AracnaAriaAlertDialogProps = ElementComponentProps<AriaAlertDialogElement, AriaAlertDialogElementAttributes, AriaAlertDialogElementEventMap>;
|
|
453
456
|
|
|
454
|
-
export declare type
|
|
457
|
+
export declare type AracnaAriaAlertProps = ElementComponentProps<AriaAlertElement, AriaAlertElementAttributes, AriaAlertElementEventMap>;
|
|
455
458
|
|
|
456
|
-
export declare type
|
|
459
|
+
export declare type AracnaAriaBreadcrumbItemProps = ElementComponentProps<AriaBreadcrumbItemElement, AriaBreadcrumbItemElementAttributes, AriaBreadcrumbItemElementEventMap>;
|
|
457
460
|
|
|
458
|
-
export declare type
|
|
461
|
+
export declare type AracnaAriaBreadcrumbListProps = ElementComponentProps<AriaBreadcrumbListElement, AriaBreadcrumbListElementAttributes, AriaBreadcrumbListElementEventMap>;
|
|
459
462
|
|
|
460
|
-
export declare type
|
|
463
|
+
export declare type AracnaAriaBreadcrumbProps = ElementComponentProps<AriaBreadcrumbElement, AriaBreadcrumbElementAttributes, AriaBreadcrumbElementEventMap>;
|
|
461
464
|
|
|
462
|
-
export declare type
|
|
465
|
+
export declare type AracnaAriaButtonProps = ElementComponentProps<AriaButtonElement, AriaButtonElementAttributes, AriaButtonElementEventMap>;
|
|
463
466
|
|
|
464
|
-
export declare type
|
|
467
|
+
export declare type AracnaAriaCarouselNextSlideControlProps = ElementComponentProps<AriaCarouselNextSlideControlElement, AriaCarouselNextSlideControlElementAttributes, AriaCarouselNextSlideControlElementEventMap>;
|
|
465
468
|
|
|
466
|
-
export declare type
|
|
469
|
+
export declare type AracnaAriaCarouselPreviousSlideControlProps = ElementComponentProps<AriaCarouselPreviousSlideControlElement, AriaCarouselPreviousSlideControlElementAttributes, AriaCarouselPreviousSlideControlElementEventMap>;
|
|
467
470
|
|
|
468
|
-
export declare type
|
|
471
|
+
export declare type AracnaAriaCarouselProps = ElementComponentProps<AriaCarouselElement, AriaCarouselElementAttributes, AriaCarouselElementEventMap>;
|
|
469
472
|
|
|
470
|
-
export declare type
|
|
473
|
+
export declare type AracnaAriaCarouselRotationControlProps = ElementComponentProps<AriaCarouselRotationControlElement, AriaCarouselRotationControlElementAttributes, AriaCarouselRotationControlElementEventMap>;
|
|
471
474
|
|
|
472
|
-
export declare type
|
|
475
|
+
export declare type AracnaAriaCarouselSlideProps = ElementComponentProps<AriaCarouselSlideElement, AriaCarouselSlideElementAttributes, AriaCarouselSlideElementEventMap>;
|
|
473
476
|
|
|
474
|
-
export declare type
|
|
477
|
+
export declare type AracnaAriaCarouselSlidesProps = ElementComponentProps<AriaCarouselSlidesElement, AriaCarouselSlidesElementAttributes, AriaCarouselSlidesElementEventMap>;
|
|
475
478
|
|
|
476
|
-
export declare type
|
|
479
|
+
export declare type AracnaAriaCarouselTabProps = ElementComponentProps<AriaCarouselTabElement, AriaCarouselTabElementAttributes, AriaCarouselTabElementEventMap>;
|
|
477
480
|
|
|
478
|
-
export declare type
|
|
481
|
+
export declare type AracnaAriaCarouselTabsProps = ElementComponentProps<AriaCarouselTabsElement, AriaCarouselTabsElementAttributes, AriaCarouselTabsElementEventMap>;
|
|
479
482
|
|
|
480
|
-
export declare type
|
|
483
|
+
export declare type AracnaAriaCheckBoxProps = ElementComponentProps<AriaCheckBoxElement, AriaCheckBoxElementAttributes, AriaCheckBoxElementEventMap>;
|
|
481
484
|
|
|
482
|
-
export declare type
|
|
485
|
+
export declare type AracnaAriaComboBoxButtonProps = ElementComponentProps<AriaComboBoxButtonElement, AriaComboBoxButtonElementAttributes, AriaComboBoxButtonElementEventMap>;
|
|
483
486
|
|
|
484
|
-
export declare type
|
|
487
|
+
export declare type AracnaAriaComboBoxGroupProps = ElementComponentProps<AriaComboBoxGroupElement, AriaComboBoxGroupElementAttributes, AriaComboBoxGroupElementEventMap>;
|
|
485
488
|
|
|
486
|
-
export declare type
|
|
489
|
+
export declare type AracnaAriaComboBoxInputProps = ElementComponentProps<AriaComboBoxInputElement, AriaComboBoxInputElementAttributes, AriaComboBoxInputElementEventMap>;
|
|
487
490
|
|
|
488
|
-
export declare type
|
|
491
|
+
export declare type AracnaAriaComboBoxListProps = ElementComponentProps<AriaComboBoxListElement, AriaComboBoxListElementAttributes, AriaComboBoxListElementEventMap>;
|
|
489
492
|
|
|
490
|
-
export declare type
|
|
493
|
+
export declare type AracnaAriaComboBoxOptionProps = ElementComponentProps<AriaComboBoxOptionElement, AriaComboBoxOptionElementAttributes, AriaComboBoxOptionElementEventMap>;
|
|
491
494
|
|
|
492
|
-
export declare type
|
|
495
|
+
export declare type AracnaAriaComboBoxProps = ElementComponentProps<AriaComboBoxElement, AriaComboBoxElementAttributes<AriaComboBoxOptionElement>, AriaComboBoxElementEventMap>;
|
|
493
496
|
|
|
494
|
-
export declare type
|
|
497
|
+
export declare type AracnaAriaDialogDescriptionProps = ElementComponentProps<AriaDialogDescriptionElement, AriaDialogDescriptionElementAttributes, AriaDialogDescriptionElementEventMap>;
|
|
495
498
|
|
|
496
|
-
export declare type
|
|
499
|
+
export declare type AracnaAriaDialogLabelProps = ElementComponentProps<AriaDialogLabelElement, AriaDialogLabelElementAttributes, AriaDialogLabelElementEventMap>;
|
|
497
500
|
|
|
498
|
-
export declare type
|
|
501
|
+
export declare type AracnaAriaDialogProps = ElementComponentProps<AriaDialogElement, AriaDialogElementAttributes, AriaDialogElementEventMap>;
|
|
499
502
|
|
|
500
|
-
export declare type
|
|
503
|
+
export declare type AracnaAriaDisclosureButtonProps = ElementComponentProps<AriaDisclosureButtonElement, AriaDisclosureButtonElementAttributes, AriaDisclosureButtonElementEventMap>;
|
|
501
504
|
|
|
502
|
-
export declare type
|
|
505
|
+
export declare type AracnaAriaDisclosurePanelProps = ElementComponentProps<AriaDisclosurePanelElement, AriaDisclosurePanelElementAttributes, AriaDisclosurePanelElementEventMap>;
|
|
503
506
|
|
|
504
|
-
export declare type
|
|
507
|
+
export declare type AracnaAriaDisclosureProps = ElementComponentProps<AriaDisclosureElement, AriaDisclosureElementAttributes, AriaDisclosureElementEventMap>;
|
|
505
508
|
|
|
506
|
-
export declare type
|
|
509
|
+
export declare type AracnaAriaDisclosureSectionProps = ElementComponentProps<AriaDisclosureSectionElement, AriaDisclosureSectionElementAttributes, AriaDisclosureSectionElementEventMap>;
|
|
507
510
|
|
|
508
|
-
export declare type
|
|
511
|
+
export declare type AracnaAriaFeedArticleDescriptionProps = ElementComponentProps<AriaFeedArticleDescriptionElement, AriaFeedArticleDescriptionElementAttributes, AriaFeedArticleDescriptionElementEventMap>;
|
|
509
512
|
|
|
510
|
-
export declare type
|
|
513
|
+
export declare type AracnaAriaFeedArticleLabelProps = ElementComponentProps<AriaFeedArticleLabelElement, AriaFeedArticleLabelElementAttributes, AriaFeedArticleLabelElementEventMap>;
|
|
511
514
|
|
|
512
|
-
export declare type
|
|
515
|
+
export declare type AracnaAriaFeedArticleProps = ElementComponentProps<AriaFeedArticleElement, AriaFeedArticleElementAttributes, AriaFeedArticleElementEventMap>;
|
|
513
516
|
|
|
514
|
-
export declare type
|
|
517
|
+
export declare type AracnaAriaFeedProps = ElementComponentProps<AriaFeedElement, AriaFeedElementAttributes, AriaFeedElementEventMap>;
|
|
515
518
|
|
|
516
|
-
export declare type
|
|
519
|
+
export declare type AracnaAriaLinkProps = ElementComponentProps<AriaLinkElement, AriaLinkElementAttributes, AriaLinkElementEventMap>;
|
|
517
520
|
|
|
518
|
-
export declare type
|
|
521
|
+
export declare type AracnaAriaListBoxOptionProps = ElementComponentProps<AriaListBoxOptionElement, AriaListBoxOptionElementAttributes, AriaListBoxOptionElementEventMap>;
|
|
519
522
|
|
|
520
|
-
export declare type
|
|
523
|
+
export declare type AracnaAriaListBoxProps = ElementComponentProps<AriaListBoxElement, AriaListBoxElementAttributes<AriaListBoxOptionElement>, AriaListBoxElementEventMap>;
|
|
521
524
|
|
|
522
|
-
export declare type
|
|
525
|
+
export declare type AracnaAriaListItemProps = ElementComponentProps<AriaListItemElement, AriaListItemElementAttributes, AriaListItemElementEventMap>;
|
|
523
526
|
|
|
524
|
-
export declare type
|
|
527
|
+
export declare type AracnaAriaListProps = ElementComponentProps<AriaListElement, AriaListElementAttributes, AriaListElementEventMap>;
|
|
525
528
|
|
|
526
|
-
export declare type
|
|
529
|
+
export declare type AracnaAriaMenuButtonProps = ElementComponentProps<AriaMenuButtonElement, AriaMenuButtonElementAttributes, AriaMenuButtonElementEventMap>;
|
|
527
530
|
|
|
528
|
-
export declare type
|
|
531
|
+
export declare type AracnaAriaMenuItemProps = ElementComponentProps<AriaMenuItemElement, AriaMenuItemElementAttributes, AriaMenuItemElementEventMap>;
|
|
529
532
|
|
|
530
|
-
export declare type
|
|
533
|
+
export declare type AracnaAriaMenuProps = ElementComponentProps<AriaMenuElement, AriaMenuElementAttributes<AriaMenuItemElement>, AriaMenuElementEventMap>;
|
|
531
534
|
|
|
532
|
-
export declare type
|
|
535
|
+
export declare type AracnaAriaMenuSubMenuProps = ElementComponentProps<AriaMenuSubMenuElement, AriaMenuSubMenuElementAttributes, AriaMenuSubMenuElementEventMap>;
|
|
533
536
|
|
|
534
|
-
export declare type
|
|
537
|
+
export declare type AracnaAriaMeterProps = ElementComponentProps<AriaMeterElement, AriaMeterElementAttributes, AriaMeterElementEventMap>;
|
|
535
538
|
|
|
536
|
-
export declare type
|
|
539
|
+
export declare type AracnaAriaRadioButtonProps = ElementComponentProps<AriaRadioButtonElement, AriaRadioButtonElementAttributes, AriaRadioButtonElementEventMap>;
|
|
537
540
|
|
|
538
|
-
export declare type
|
|
541
|
+
export declare type AracnaAriaRadioGroupProps = ElementComponentProps<AriaRadioGroupElement, AriaRadioGroupElementAttributes, AriaRadioGroupElementEventMap>;
|
|
539
542
|
|
|
540
|
-
export declare type
|
|
543
|
+
export declare type AracnaAriaSliderProps = ElementComponentProps<AriaSliderElement, AriaSliderElementAttributes, AriaSliderElementEventMap>;
|
|
541
544
|
|
|
542
|
-
export declare type
|
|
545
|
+
export declare type AracnaAriaSliderThumbProps = ElementComponentProps<AriaSliderThumbElement, AriaSliderThumbElementAttributes, AriaSliderThumbElementEventMap>;
|
|
543
546
|
|
|
544
|
-
export declare type
|
|
547
|
+
export declare type AracnaAriaSwitchProps = ElementComponentProps<AriaSwitchElement, AriaSwitchElementAttributes, AriaSwitchElementEventMap>;
|
|
545
548
|
|
|
546
|
-
export declare type
|
|
549
|
+
export declare type AracnaAriaTabsPanelProps = ElementComponentProps<AriaTabsPanelElement, AriaTabsPanelElementAttributes, AriaTabsPanelElementEventMap>;
|
|
547
550
|
|
|
548
|
-
export declare type
|
|
551
|
+
export declare type AracnaAriaTabsProps = ElementComponentProps<AriaTabsElement, AriaTabsElementAttributes, AriaTabsElementEventMap>;
|
|
549
552
|
|
|
550
|
-
export declare type
|
|
553
|
+
export declare type AracnaAriaTabsTabProps = ElementComponentProps<AriaTabsTabElement, AriaTabsTabElementAttributes, AriaTabsTabElementEventMap>;
|
|
551
554
|
|
|
552
|
-
export declare type
|
|
555
|
+
export declare type AracnaAriaTooltipArrowProps = ElementComponentProps<AriaTooltipArrowElement, AriaTooltipArrowElementAttributes, AriaTooltipArrowElementEventMap>;
|
|
553
556
|
|
|
554
|
-
export declare type
|
|
557
|
+
export declare type AracnaAriaTooltipContentProps = ElementComponentProps<AriaTooltipContentElement, AriaTooltipContentElementAttributes, AriaTooltipContentElementEventMap>;
|
|
555
558
|
|
|
556
|
-
export declare type
|
|
559
|
+
export declare type AracnaAriaTooltipProps = ElementComponentProps<AriaTooltipElement, AriaTooltipElementAttributes, AriaTooltipElementEventMap>;
|
|
557
560
|
|
|
558
|
-
export declare type
|
|
561
|
+
export declare type AracnaAriaTooltipTriggerProps = ElementComponentProps<AriaTooltipTriggerElement, AriaTooltipTriggerElementAttributes, AriaTooltipTriggerElementEventMap>;
|
|
559
562
|
|
|
560
|
-
export declare type
|
|
563
|
+
export declare type AracnaAvatarProps = ElementComponentProps<AvatarElement, AvatarElementAttributes, AvatarElementEventMap>;
|
|
561
564
|
|
|
562
|
-
export declare type
|
|
565
|
+
export declare type AracnaBadgeProps = ElementComponentProps<BadgeElement, BadgeElementAttributes, BadgeElementEventMap>;
|
|
563
566
|
|
|
564
|
-
export declare type
|
|
567
|
+
export declare type AracnaBreadcrumbItemProps = ElementComponentProps<BreadcrumbItemElement, BreadcrumbItemElementAttributes, BreadcrumbItemElementEventMap>;
|
|
565
568
|
|
|
566
|
-
export declare type
|
|
569
|
+
export declare type AracnaBreadcrumbListProps = ElementComponentProps<BreadcrumbListElement, BreadcrumbListElementAttributes, BreadcrumbListElementEventMap>;
|
|
567
570
|
|
|
568
|
-
export declare type
|
|
571
|
+
export declare type AracnaBreadcrumbProps = ElementComponentProps<BreadcrumbElement, BreadcrumbElementAttributes, BreadcrumbElementEventMap>;
|
|
569
572
|
|
|
570
|
-
export declare type
|
|
573
|
+
export declare type AracnaButtonGroupProps = ElementComponentProps<ButtonGroupElement, ButtonGroupElementAttributes, ButtonGroupElementEventMap>;
|
|
571
574
|
|
|
572
|
-
export declare type
|
|
575
|
+
export declare type AracnaButtonProps = ElementComponentProps<ButtonElement, ButtonElementAttributes, ButtonElementEventMap>;
|
|
573
576
|
|
|
574
|
-
export declare type
|
|
577
|
+
export declare type AracnaCarouselNextSlideControlProps = ElementComponentProps<CarouselNextSlideControlElement, CarouselNextSlideControlElementAttributes, CarouselNextSlideControlElementEventMap>;
|
|
575
578
|
|
|
576
|
-
export declare type
|
|
579
|
+
export declare type AracnaCarouselPreviousSlideControlProps = ElementComponentProps<CarouselPreviousSlideControlElement, CarouselPreviousSlideControlElementAttributes, CarouselPreviousSlideControlElementEventMap>;
|
|
577
580
|
|
|
578
|
-
export declare type
|
|
581
|
+
export declare type AracnaCarouselProps = ElementComponentProps<CarouselElement, CarouselElementAttributes, CarouselElementEventMap>;
|
|
579
582
|
|
|
580
|
-
export declare type
|
|
583
|
+
export declare type AracnaCarouselRotationControlProps = ElementComponentProps<CarouselRotationControlElement, CarouselRotationControlElementAttributes, CarouselRotationControlElementEventMap>;
|
|
581
584
|
|
|
582
|
-
export declare type
|
|
585
|
+
export declare type AracnaCarouselSlideProps = ElementComponentProps<CarouselSlideElement, CarouselSlideElementAttributes, CarouselSlideElementEventMap>;
|
|
583
586
|
|
|
584
|
-
export declare type
|
|
587
|
+
export declare type AracnaCarouselSlidesProps = ElementComponentProps<CarouselSlidesElement, CarouselSlidesElementAttributes, CarouselSlidesElementEventMap>;
|
|
585
588
|
|
|
586
|
-
export declare type
|
|
589
|
+
export declare type AracnaCarouselTabProps = ElementComponentProps<CarouselTabElement, CarouselTabElementAttributes, CarouselTabElementEventMap>;
|
|
587
590
|
|
|
588
|
-
export declare type
|
|
591
|
+
export declare type AracnaCarouselTabsProps = ElementComponentProps<CarouselTabsElement, CarouselTabsElementAttributes, CarouselTabsElementEventMap>;
|
|
589
592
|
|
|
590
|
-
export declare type
|
|
593
|
+
export declare type AracnaCheckBoxProps = ElementComponentProps<CheckBoxElement, CheckBoxElementAttributes, CheckBoxElementEventMap>;
|
|
591
594
|
|
|
592
|
-
export declare type
|
|
595
|
+
export declare type AracnaChipProps = ElementComponentProps<ChipElement, ChipElementAttributes, ChipElementEventMap>;
|
|
593
596
|
|
|
594
|
-
export declare
|
|
595
|
-
CONSTRUCTED = "CONSTRUCTED",
|
|
596
|
-
MOUNTED = "MOUNTED",
|
|
597
|
-
UNMOUNTED = "UNMOUNTED"
|
|
598
|
-
}
|
|
597
|
+
export declare type AracnaDialogDescriptionProps = ElementComponentProps<DialogDescriptionElement, DialogDescriptionElementAttributes, DialogDescriptionElementEventMap>;
|
|
599
598
|
|
|
600
|
-
export declare
|
|
601
|
-
new (): Element;
|
|
602
|
-
}, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
|
|
599
|
+
export declare type AracnaDialogLabelProps = ElementComponentProps<DialogLabelElement, DialogLabelElementAttributes, DialogLabelElementEventMap>;
|
|
603
600
|
|
|
604
|
-
export declare
|
|
605
|
-
new (): Element;
|
|
606
|
-
}, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
|
|
601
|
+
export declare type AracnaDialogProps = ElementComponentProps<DialogElement, DialogElementAttributes, DialogElementEventMap>;
|
|
607
602
|
|
|
608
|
-
export declare
|
|
609
|
-
new (): Element;
|
|
610
|
-
}, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
|
|
603
|
+
export declare type AracnaDisclosureButtonProps = ElementComponentProps<DisclosureButtonElement, DisclosureButtonElementAttributes, DisclosureButtonElementEventMap>;
|
|
611
604
|
|
|
612
|
-
export declare
|
|
613
|
-
new (): Element;
|
|
614
|
-
}, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
|
|
605
|
+
export declare type AracnaDisclosurePanelProps = ElementComponentProps<DisclosurePanelElement, DisclosurePanelElementAttributes, DisclosurePanelElementEventMap>;
|
|
615
606
|
|
|
616
|
-
export declare
|
|
617
|
-
new (): Element;
|
|
618
|
-
}, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
|
|
607
|
+
export declare type AracnaDisclosureProps = ElementComponentProps<DisclosureElement, DisclosureElementAttributes, DisclosureElementEventMap>;
|
|
619
608
|
|
|
620
|
-
export declare type
|
|
609
|
+
export declare type AracnaDisclosureSectionProps = ElementComponentProps<DisclosureSectionElement, DisclosureSectionElementAttributes, DisclosureSectionElementEventMap>;
|
|
621
610
|
|
|
622
|
-
export declare type
|
|
611
|
+
export declare type AracnaDividerProps = ElementComponentProps<DividerElement, DividerElementAttributes, DividerElementEventMap>;
|
|
623
612
|
|
|
624
|
-
export declare type
|
|
613
|
+
export declare type AracnaFeedArticleDescriptionProps = ElementComponentProps<FeedArticleDescriptionElement, FeedArticleDescriptionElementAttributes, FeedArticleDescriptionElementEventMap>;
|
|
625
614
|
|
|
626
|
-
export declare type
|
|
615
|
+
export declare type AracnaFeedArticleLabelProps = ElementComponentProps<FeedArticleLabelElement, FeedArticleLabelElementAttributes, FeedArticleLabelElementEventMap>;
|
|
627
616
|
|
|
628
|
-
export declare type
|
|
617
|
+
export declare type AracnaFeedArticleProps = ElementComponentProps<FeedArticleElement, FeedArticleElementAttributes, FeedArticleElementEventMap>;
|
|
629
618
|
|
|
630
|
-
export declare type
|
|
619
|
+
export declare type AracnaFeedProps = ElementComponentProps<FeedElement, FeedElementAttributes, FeedElementEventMap>;
|
|
631
620
|
|
|
632
|
-
export declare type
|
|
621
|
+
export declare type AracnaFormProps = ElementComponentProps<FormElement, FormElementAttributes, FormElementEventMap>;
|
|
633
622
|
|
|
634
|
-
export declare type
|
|
623
|
+
export declare type AracnaIconProps = ElementComponentProps<IconElement, IconElementAttributes, IconElementEventMap>;
|
|
635
624
|
|
|
636
|
-
export declare type
|
|
625
|
+
export declare type AracnaImageProps = ElementComponentProps<ImageElement, ImageElementAttributes, ImageElementEventMap>;
|
|
637
626
|
|
|
638
|
-
export declare type
|
|
627
|
+
export declare type AracnaInputFileProps = ElementComponentProps<InputFileElement, InputFileElementAttributes, InputFileElementEventMap>;
|
|
639
628
|
|
|
640
|
-
export declare type
|
|
629
|
+
export declare type AracnaInputProps = ElementComponentProps<InputElement, InputElementAttributes, InputElementEventMap>;
|
|
641
630
|
|
|
642
|
-
export declare type ElementComponentProps<
|
|
631
|
+
export declare type AracnaListItemProps = ElementComponentProps<ListItemElement, ListItemElementAttributes, ListItemElementEventMap>;
|
|
643
632
|
|
|
644
|
-
export declare type
|
|
633
|
+
export declare type AracnaListProps = ElementComponentProps<ListElement, ListElementAttributes, ListElementEventMap>;
|
|
645
634
|
|
|
646
|
-
export declare type
|
|
635
|
+
export declare type AracnaMenuButtonProps = ElementComponentProps<MenuButtonElement, MenuButtonElementAttributes, MenuButtonElementEventMap>;
|
|
647
636
|
|
|
648
|
-
export declare type
|
|
637
|
+
export declare type AracnaMenuItemProps = ElementComponentProps<MenuItemElement, MenuItemElementAttributes, MenuItemElementEventMap>;
|
|
649
638
|
|
|
650
|
-
export declare type
|
|
639
|
+
export declare type AracnaMenuProps = ElementComponentProps<MenuElement, MenuElementAttributes<MenuItemElement>, MenuElementEventMap>;
|
|
651
640
|
|
|
652
|
-
export declare type
|
|
641
|
+
export declare type AracnaMenuSubMenuProps = ElementComponentProps<MenuSubMenuElement, MenuSubMenuElementAttributes, MenuSubMenuElementEventMap>;
|
|
653
642
|
|
|
654
|
-
export declare
|
|
643
|
+
export declare type AracnaMeterProps = ElementComponentProps<MeterElement, MeterElementAttributes, MeterElementEventMap>;
|
|
655
644
|
|
|
656
|
-
export declare
|
|
645
|
+
export declare type AracnaNavigationBarItemProps = ElementComponentProps<NavigationBarItemElement, NavigationBarItemElementAttributes, NavigationBarItemElementEventMap>;
|
|
657
646
|
|
|
658
|
-
declare type
|
|
647
|
+
export declare type AracnaNavigationBarProps<T extends NavigationBarItemElementAttributes = NavigationBarItemElementAttributes> = ElementComponentProps<NavigationBarElement, NavigationBarElementAttributes<T>, NavigationBarElementEventMap>;
|
|
659
648
|
|
|
660
|
-
declare type
|
|
649
|
+
export declare type AracnaNavigationRailItemProps = ElementComponentProps<NavigationRailItemElement, NavigationRailItemElementAttributes, NavigationRailItemElementEventMap>;
|
|
661
650
|
|
|
662
|
-
export declare type
|
|
651
|
+
export declare type AracnaNavigationRailProps<T extends NavigationRailItemElementAttributes = NavigationRailItemElementAttributes> = ElementComponentProps<NavigationRailElement, NavigationRailElementAttributes<T>, NavigationRailElementEventMap>;
|
|
663
652
|
|
|
664
|
-
export declare type
|
|
653
|
+
export declare type AracnaRadioButtonProps = ElementComponentProps<RadioButtonElement, RadioButtonElementAttributes, RadioButtonElementEventMap>;
|
|
665
654
|
|
|
666
|
-
export declare type
|
|
655
|
+
export declare type AracnaRadioGroupProps = ElementComponentProps<RadioGroupElement, RadioGroupElementAttributes, RadioGroupElementEventMap>;
|
|
667
656
|
|
|
668
|
-
export declare type
|
|
657
|
+
export declare type AracnaSelectButtonProps = ElementComponentProps<SelectButtonElement, SelectButtonElementAttributes, SelectButtonElementEventMap>;
|
|
669
658
|
|
|
670
|
-
declare type
|
|
659
|
+
export declare type AracnaSelectGroupProps = ElementComponentProps<SelectGroupElement, SelectGroupElementAttributes, SelectGroupElementEventMap>;
|
|
671
660
|
|
|
672
|
-
declare type
|
|
661
|
+
export declare type AracnaSelectInputProps = ElementComponentProps<SelectInputElement, SelectInputElementAttributes, SelectInputElementEventMap>;
|
|
673
662
|
|
|
674
|
-
export declare type
|
|
663
|
+
export declare type AracnaSelectListProps = ElementComponentProps<SelectListElement, SelectListElementAttributes, SelectListElementEventMap>;
|
|
675
664
|
|
|
676
|
-
export declare type
|
|
665
|
+
export declare type AracnaSelectOptionProps = ElementComponentProps<SelectOptionElement, SelectOptionElementAttributes, SelectOptionElementEventMap>;
|
|
677
666
|
|
|
678
|
-
export declare type
|
|
679
|
-
[key in keyof Events as key extends string ? `on${KebabToPascalCase<key>}` : key]?: (event: Events[key]) => any;
|
|
680
|
-
};
|
|
667
|
+
export declare type AracnaSelectProps = ElementComponentProps<SelectElement, SelectElementAttributes<SelectOptionElement>, SelectElementEventMap>;
|
|
681
668
|
|
|
682
|
-
export declare type
|
|
669
|
+
export declare type AracnaSliderProps = ElementComponentProps<SliderElement, SliderElementAttributes, SliderElementEventMap>;
|
|
683
670
|
|
|
684
|
-
export declare type
|
|
671
|
+
export declare type AracnaSliderThumbProps = ElementComponentProps<SliderThumbElement, SliderThumbElementAttributes, SliderThumbElementEventMap>;
|
|
685
672
|
|
|
686
|
-
export declare type
|
|
673
|
+
export declare type AracnaSwitchProps = ElementComponentProps<SwitchElement, SwitchElementAttributes, SwitchElementEventMap>;
|
|
687
674
|
|
|
688
|
-
export declare type
|
|
675
|
+
export declare type AracnaTabsPanelProps = ElementComponentProps<TabsPanelElement, TabsPanelElementAttributes, TabsPanelElementEventMap>;
|
|
689
676
|
|
|
690
|
-
export declare type
|
|
677
|
+
export declare type AracnaTabsProps = ElementComponentProps<TabsElement, TabsElementAttributes, TabsElementEventMap>;
|
|
691
678
|
|
|
692
|
-
export declare type
|
|
679
|
+
export declare type AracnaTabsTabProps = ElementComponentProps<TabsTabElement, TabsTabElementAttributes, TabsTabElementEventMap>;
|
|
693
680
|
|
|
694
|
-
export declare type
|
|
681
|
+
export declare type AracnaTextAreaProps = ElementComponentProps<TextAreaElement, TextAreaElementAttributes, TextAreaElementEventMap>;
|
|
695
682
|
|
|
696
|
-
export declare type
|
|
683
|
+
export declare type AracnaTooltipArrowProps = ElementComponentProps<TooltipArrowElement, TooltipArrowElementAttributes, TooltipArrowElementEventMap>;
|
|
697
684
|
|
|
698
|
-
export declare type
|
|
685
|
+
export declare type AracnaTooltipContentProps = ElementComponentProps<TooltipContentElement, TooltipContentElementAttributes, TooltipContentElementEventMap>;
|
|
699
686
|
|
|
700
|
-
declare type
|
|
687
|
+
export declare type AracnaTooltipProps = ElementComponentProps<TooltipElement, TooltipElementAttributes, TooltipElementEventMap>;
|
|
701
688
|
|
|
702
|
-
declare type
|
|
689
|
+
export declare type AracnaTooltipTriggerProps = ElementComponentProps<TooltipTriggerElement, TooltipTriggerElementAttributes, TooltipTriggerElementEventMap>;
|
|
703
690
|
|
|
704
|
-
declare
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
whitelist?: string[];
|
|
709
|
-
};
|
|
710
|
-
state?: {
|
|
711
|
-
blacklist?: string[];
|
|
712
|
-
dispatch?: boolean;
|
|
713
|
-
whitelist?: string[];
|
|
714
|
-
};
|
|
691
|
+
export declare enum ComponentLifeCycle {
|
|
692
|
+
CONSTRUCTED = "CONSTRUCTED",
|
|
693
|
+
MOUNTED = "MOUNTED",
|
|
694
|
+
UNMOUNTED = "UNMOUNTED"
|
|
715
695
|
}
|
|
716
696
|
|
|
717
|
-
export declare
|
|
697
|
+
export declare function createBaseElementComponent<Element extends HTMLElementTagNameMap[Key], Attributes extends BaseElementAttributes = BaseElementAttributes, Events extends BaseElementEventMap = BaseElementEventMap, Props extends ElementComponentProps<Element, Attributes, Events> = ElementComponentProps<Element, Attributes, Events>, Key extends keyof HTMLElementTagNameMap = keyof HTMLElementTagNameMap>(tag: Key, element: {
|
|
698
|
+
new (): Element;
|
|
699
|
+
}, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
|
|
718
700
|
|
|
719
|
-
export declare
|
|
701
|
+
export declare function createElementComponent<Element extends HTMLElementTagNameMap[Key], Attributes extends ElementComponentAttributes = ElementComponentAttributes, Events extends ElementComponentEvents = ElementComponentEvents, Props extends ElementComponentProps<Element, Attributes, Events> = ElementComponentProps<Element, Attributes, Events>, Key extends keyof HTMLElementTagNameMap = keyof HTMLElementTagNameMap>(tag: Key, element: {
|
|
702
|
+
new (): Element;
|
|
703
|
+
}, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
|
|
720
704
|
|
|
721
|
-
declare
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
}
|
|
705
|
+
export declare function createFloatingElementComponent<Element extends HTMLElementTagNameMap[Key], Attributes extends FloatingElementAttributes = FloatingElementAttributes, Events extends FloatingElementEventMap = FloatingElementEventMap, Props extends ElementComponentProps<Element, Attributes, Events> = ElementComponentProps<Element, Attributes, Events>, Key extends keyof HTMLElementTagNameMap = keyof HTMLElementTagNameMap>(tag: Key, element: {
|
|
706
|
+
new (): Element;
|
|
707
|
+
}, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
|
|
725
708
|
|
|
726
|
-
export declare
|
|
709
|
+
export declare function createFocusTrapElementComponent<Element extends HTMLElementTagNameMap[Key], Attributes extends FocusTrapElementAttributes = FocusTrapElementAttributes, Events extends FocusTrapElementEventMap = FocusTrapElementEventMap, Props extends ElementComponentProps<Element, Attributes, Events> = ElementComponentProps<Element, Attributes, Events>, Key extends keyof HTMLElementTagNameMap = keyof HTMLElementTagNameMap>(tag: Key, element: {
|
|
710
|
+
new (): Element;
|
|
711
|
+
}, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
|
|
727
712
|
|
|
728
|
-
export declare
|
|
713
|
+
export declare function createFormFieldElementComponent<Element extends HTMLElementTagNameMap[Key], Attributes extends FormFieldElementAttributes = FormFieldElementAttributes, Events extends FormFieldElementEventMap = FormFieldElementEventMap, Props extends ElementComponentProps<Element, Attributes, Events> = ElementComponentProps<Element, Attributes, Events>, Key extends keyof HTMLElementTagNameMap = keyof HTMLElementTagNameMap>(tag: Key, element: {
|
|
714
|
+
new (): Element;
|
|
715
|
+
}, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
|
|
729
716
|
|
|
730
|
-
export declare type
|
|
717
|
+
export declare type ElementComponent<Element extends HTMLElement, Props extends HTMLAttributes<Element> = {}> = ForwardRefExoticComponent<Props>;
|
|
731
718
|
|
|
732
|
-
export declare type
|
|
719
|
+
export declare type ElementComponentAttributes = Record<string, any>;
|
|
733
720
|
|
|
734
|
-
export declare type
|
|
721
|
+
export declare type ElementComponentEvents = Record<string, any>;
|
|
735
722
|
|
|
736
|
-
export declare type
|
|
723
|
+
export declare type ElementComponentProps<Element extends HTMLElement, Attributes extends ElementComponentAttributes = ElementComponentAttributes, Events extends ElementComponentEvents = ElementComponentEvents> = HTMLAttributes<Element> & RefAttributes<Element> & Attributes & MapComponentEvents<Events>;
|
|
737
724
|
|
|
738
|
-
export declare
|
|
725
|
+
export declare function forwardRef<T, P = {}>(render: ForwardRefRenderFunction<T, P>): ForwardRefExoticComponent_2<P>;
|
|
739
726
|
|
|
740
|
-
export declare
|
|
727
|
+
export declare function forwardRef<T, P = {}>(render: NullableForwardRefRenderFunction<T, P>): NullableForwardRefExoticComponent<P>;
|
|
728
|
+
|
|
729
|
+
declare type ForwardRefExoticComponent_2<P = {}> = (props: P) => ReactElement;
|
|
730
|
+
|
|
731
|
+
declare type ForwardRefRenderFunction<T, P = {}> = (props: P, ref: ForwardedRef<T>) => ReactElement<P>;
|
|
741
732
|
|
|
742
|
-
|
|
733
|
+
declare type KebabToCamelCase<S extends string> = S extends `${infer T}-${infer U}` ? `${T}${Capitalize<KebabToCamelCase<U>>}` : S;
|
|
743
734
|
|
|
744
|
-
|
|
735
|
+
declare type KebabToPascalCase<S extends string> = Capitalize<KebabToCamelCase<S>>;
|
|
745
736
|
|
|
746
|
-
export declare type
|
|
737
|
+
export declare type MapComponentEvents<Events extends ElementComponentEvents> = {
|
|
738
|
+
[key in keyof Events as key extends string ? `on${KebabToPascalCase<key>}` : key]?: (event: Events[key]) => any;
|
|
739
|
+
};
|
|
747
740
|
|
|
748
|
-
export declare
|
|
741
|
+
export declare function Memo(props: MemoProps): ReactNode;
|
|
749
742
|
|
|
750
|
-
export declare
|
|
743
|
+
export declare interface MemoProps {
|
|
744
|
+
children: ReactNode;
|
|
745
|
+
deps: DependencyList;
|
|
746
|
+
}
|
|
751
747
|
|
|
752
|
-
|
|
748
|
+
declare type NullableForwardRefExoticComponent<P = {}> = (props: P) => ReactElement<P> | null;
|
|
753
749
|
|
|
754
|
-
|
|
750
|
+
declare type NullableForwardRefRenderFunction<T, P = {}> = (props: P, ref: ForwardedRef<T>) => ReactElement<P> | null;
|
|
755
751
|
|
|
756
|
-
|
|
752
|
+
declare interface Options {
|
|
753
|
+
blacklist?: string[];
|
|
754
|
+
whitelist?: string[];
|
|
755
|
+
}
|
|
757
756
|
|
|
758
|
-
|
|
757
|
+
declare interface Properties extends Record<string, any> {
|
|
758
|
+
}
|
|
759
759
|
|
|
760
|
-
|
|
760
|
+
declare interface ReturnInterface<K extends keyof HTMLElementTagNameMap, P extends Properties = Properties> {
|
|
761
|
+
element: HTMLElementTagNameMap[K] | null;
|
|
762
|
+
onAttributeChange: (event: AttributeChangeEvent) => void;
|
|
763
|
+
onStateChange: (event: StateChangeEvent<any>) => void;
|
|
764
|
+
properties: P;
|
|
765
|
+
ref: MutableRefObject<HTMLElementTagNameMap[K] | null>;
|
|
766
|
+
}
|
|
761
767
|
|
|
762
768
|
export declare function useDispatch(onDispatch?: () => any): () => void;
|
|
763
769
|
|
|
@@ -777,6 +783,8 @@ export declare function useIntersectionObserver(targets: MutableRefObject<HTMLEl
|
|
|
777
783
|
|
|
778
784
|
export declare function useLifeCycle(): MutableRefObject<ComponentLifeCycle>;
|
|
779
785
|
|
|
786
|
+
export declare function useObservableElementComponent<K extends keyof HTMLElementTagNameMap, P extends Properties = Properties>(options?: Options): ReturnInterface<K, P>;
|
|
787
|
+
|
|
780
788
|
export declare function useSafeRef<K extends keyof HTMLElementTagNameMap>(tagName: K, options?: ElementCreationOptions): MutableRefObject<HTMLElementTagNameMap[K]>;
|
|
781
789
|
|
|
782
790
|
export declare function useSafeRef<K extends keyof SVGElementTagNameMap>(tagName: K, options?: ElementCreationOptions): MutableRefObject<SVGElementTagNameMap[K]>;
|