@aracna/react 1.0.14 → 1.0.16

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.
Files changed (35) hide show
  1. package/definitions/props.d.ts +53 -53
  2. package/functions/create.base.element.component.d.ts +1 -1
  3. package/functions/create.base.element.component.js +1 -0
  4. package/functions/create.element.component.d.ts +1 -1
  5. package/functions/create.floating.element.component.d.ts +1 -1
  6. package/functions/create.floating.element.component.js +1 -0
  7. package/functions/create.focus.trap.element.component.d.ts +1 -1
  8. package/functions/create.focus.trap.element.component.js +1 -0
  9. package/functions/create.form.field.element.component.d.ts +1 -1
  10. package/functions/create.form.field.element.component.js +1 -0
  11. package/hooks/use.aracna.element.js +1 -0
  12. package/hooks/use.dispatch.js +1 -0
  13. package/hooks/use.life.cycle.d.ts +1 -1
  14. package/hooks/use.life.cycle.js +1 -0
  15. package/index.cjs +1 -1
  16. package/index.d.ts +132 -132
  17. package/index.iife.js +1 -1
  18. package/index.js +1 -0
  19. package/package.json +9 -1
  20. package/functions/create.base.element.component.mjs +0 -1
  21. package/functions/create.floating.element.component.mjs +0 -1
  22. package/functions/create.focus.trap.element.component.mjs +0 -1
  23. package/functions/create.form.field.element.component.mjs +0 -1
  24. package/hooks/use.aracna.element.mjs +0 -1
  25. package/hooks/use.dispatch.mjs +0 -1
  26. package/hooks/use.life.cycle.mjs +0 -1
  27. package/index.mjs +0 -1
  28. /package/definitions/{enums.mjs → enums.js} +0 -0
  29. /package/definitions/{props.mjs → props.js} +0 -0
  30. /package/definitions/{types.mjs → types.js} +0 -0
  31. /package/functions/{create.element.component.mjs → create.element.component.js} +0 -0
  32. /package/functions/{forward.ref.mjs → forward.ref.js} +0 -0
  33. /package/hooks/{use.event.listener.mjs → use.event.listener.js} +0 -0
  34. /package/hooks/{use.safe.ref.mjs → use.safe.ref.js} +0 -0
  35. /package/hooks/{use.window.event.listener.mjs → use.window.event.listener.js} +0 -0
@@ -1,57 +1,57 @@
1
1
  import type { AccordionButtonElementAttributes, AccordionButtonElementEventMap, AccordionElementAttributes, AccordionElementEventMap, AccordionHeaderElementAttributes, AccordionHeaderElementEventMap, AccordionPanelElementAttributes, AccordionPanelElementEventMap, AccordionSectionElementAttributes, AccordionSectionElementEventMap, AlertDialogDescriptionElementAttributes, AlertDialogDescriptionElementEventMap, AlertDialogElementAttributes, AlertDialogElementEventMap, AlertDialogLabelElementAttributes, AlertDialogLabelElementEventMap, AlertElementAttributes, AlertElementEventMap, AriaAccordionButtonElementAttributes, AriaAccordionButtonElementEventMap, AriaAccordionElementAttributes, AriaAccordionElementEventMap, AriaAccordionHeaderElementAttributes, AriaAccordionHeaderElementEventMap, AriaAccordionPanelElementAttributes, AriaAccordionPanelElementEventMap, AriaAccordionSectionElementAttributes, AriaAccordionSectionElementEventMap, AriaAlertDialogDescriptionElementAttributes, AriaAlertDialogDescriptionElementEventMap, AriaAlertDialogElementAttributes, AriaAlertDialogElementEventMap, AriaAlertDialogLabelElementAttributes, AriaAlertDialogLabelElementEventMap, AriaAlertElementAttributes, AriaAlertElementEventMap, AriaBreadcrumbElementAttributes, AriaBreadcrumbElementEventMap, AriaBreadcrumbItemElementAttributes, AriaBreadcrumbItemElementEventMap, AriaBreadcrumbListElementAttributes, AriaBreadcrumbListElementEventMap, AriaButtonElementAttributes, AriaButtonElementEventMap, AriaCarouselElementAttributes, AriaCarouselElementEventMap, AriaCarouselNextSlideControlElementAttributes, AriaCarouselNextSlideControlElementEventMap, AriaCarouselPreviousSlideControlElementAttributes, AriaCarouselPreviousSlideControlElementEventMap, AriaCarouselRotationControlElementAttributes, AriaCarouselRotationControlElementEventMap, AriaCarouselSlideElementAttributes, AriaCarouselSlideElementEventMap, AriaCarouselSlidesElementAttributes, AriaCarouselSlidesElementEventMap, AriaCarouselTabElementAttributes, AriaCarouselTabElementEventMap, AriaCarouselTabsElementAttributes, AriaCarouselTabsElementEventMap, AriaCheckBoxElementAttributes, AriaCheckBoxElementEventMap, AriaComboBoxButtonElementAttributes, AriaComboBoxButtonElementEventMap, AriaComboBoxElementAttributes, AriaComboBoxElementEventMap, AriaComboBoxGroupElementAttributes, AriaComboBoxGroupElementEventMap, AriaComboBoxInputElementAttributes, AriaComboBoxInputElementEventMap, AriaComboBoxListElementAttributes, AriaComboBoxListElementEventMap, AriaComboBoxOptionElementAttributes, AriaComboBoxOptionElementEventMap, AriaDialogDescriptionElementAttributes, AriaDialogDescriptionElementEventMap, AriaDialogElementAttributes, AriaDialogElementEventMap, AriaDialogLabelElementAttributes, AriaDialogLabelElementEventMap, AriaDisclosureButtonElementAttributes, AriaDisclosureButtonElementEventMap, AriaDisclosureElementAttributes, AriaDisclosureElementEventMap, AriaDisclosurePanelElementAttributes, AriaDisclosurePanelElementEventMap, AriaDisclosureSectionElementAttributes, AriaDisclosureSectionElementEventMap, AriaFeedArticleDescriptionElementAttributes, AriaFeedArticleDescriptionElementEventMap, AriaFeedArticleElementAttributes, AriaFeedArticleElementEventMap, AriaFeedArticleLabelElementAttributes, AriaFeedArticleLabelElementEventMap, AriaFeedElementAttributes, AriaFeedElementEventMap, AriaLinkElementAttributes, AriaLinkElementEventMap, AriaListBoxElementAttributes, AriaListBoxElementEventMap, AriaListBoxOptionElementAttributes, AriaListBoxOptionElementEventMap, AriaMenuButtonElementAttributes, AriaMenuButtonElementEventMap, AriaMenuElementAttributes, AriaMenuElementEventMap, AriaMenuItemElementAttributes, AriaMenuItemElementEventMap, AriaMenuSubMenuElementAttributes, AriaMenuSubMenuElementEventMap, AriaMeterElementAttributes, AriaMeterElementEventMap, AriaRadioButtonElementAttributes, AriaRadioButtonElementEventMap, AriaRadioGroupElementAttributes, AriaRadioGroupElementEventMap, AriaSliderElementAttributes, AriaSliderElementEventMap, AriaSliderThumbElementAttributes, AriaSliderThumbElementEventMap, AriaSwitchElementAttributes, AriaSwitchElementEventMap, AriaTabsElementAttributes, AriaTabsElementEventMap, AriaTabsPanelElementAttributes, AriaTabsPanelElementEventMap, AriaTabsTabElementAttributes, AriaTabsTabElementEventMap, AriaTooltipArrowElementAttributes, AriaTooltipArrowElementEventMap, AriaTooltipContentElementAttributes, AriaTooltipContentElementEventMap, AriaTooltipElementAttributes, AriaTooltipElementEventMap, AriaTooltipTriggerElementAttributes, AriaTooltipTriggerElementEventMap, AvatarElementAttributes, AvatarElementEventMap, BadgeElementAttributes, BadgeElementEventMap, BreadcrumbElementAttributes, BreadcrumbElementEventMap, BreadcrumbItemElementAttributes, BreadcrumbItemElementEventMap, BreadcrumbListElementAttributes, BreadcrumbListElementEventMap, ButtonElementAttributes, ButtonElementEventMap, ButtonGroupElementAttributes, ButtonGroupElementEventMap, CarouselElementAttributes, CarouselElementEventMap, CarouselNextSlideControlElementAttributes, CarouselNextSlideControlElementEventMap, CarouselPreviousSlideControlElementAttributes, CarouselPreviousSlideControlElementEventMap, CarouselRotationControlElementAttributes, CarouselRotationControlElementEventMap, CarouselSlideElementAttributes, CarouselSlideElementEventMap, CarouselSlidesElementAttributes, CarouselSlidesElementEventMap, CarouselTabElementAttributes, CarouselTabElementEventMap, CarouselTabsElementAttributes, CarouselTabsElementEventMap, CheckBoxElementAttributes, CheckBoxElementEventMap, ChipElementAttributes, ChipElementEventMap, DialogDescriptionElementAttributes, DialogDescriptionElementEventMap, DialogElementAttributes, DialogElementEventMap, DialogLabelElementAttributes, DialogLabelElementEventMap, DisclosureButtonElementAttributes, DisclosureButtonElementEventMap, DisclosureElementAttributes, DisclosureElementEventMap, DisclosurePanelElementAttributes, DisclosurePanelElementEventMap, DisclosureSectionElementAttributes, DisclosureSectionElementEventMap, DividerElementAttributes, DividerElementEventMap, FeedArticleDescriptionElementAttributes, FeedArticleDescriptionElementEventMap, FeedArticleElementAttributes, FeedArticleElementEventMap, FeedArticleLabelElementAttributes, FeedArticleLabelElementEventMap, FeedElementAttributes, FeedElementEventMap, FormElementAttributes, FormElementEventMap, IconElementAttributes, IconElementEventMap, ImageElementAttributes, ImageElementEventMap, InputElementAttributes, InputElementEventMap, InputFileElementAttributes, InputFileElementEventMap, ListElementAttributes, ListElementEventMap, ListItemElementAttributes, ListItemElementEventMap, MenuButtonElementAttributes, MenuButtonElementEventMap, MenuElementAttributes, MenuElementEventMap, MenuItemElementAttributes, MenuItemElementEventMap, MenuSubMenuElementAttributes, MenuSubMenuElementEventMap, MeterElementAttributes, MeterElementEventMap, NavigationBarElementAttributes, NavigationBarElementEventMap, NavigationBarItemElementAttributes, NavigationBarItemElementEventMap, NavigationRailElementAttributes, NavigationRailElementEventMap, NavigationRailItemElementAttributes, NavigationRailItemElementEventMap, RadioButtonElementAttributes, RadioButtonElementEventMap, RadioGroupElementAttributes, RadioGroupElementEventMap, SelectButtonElementAttributes, SelectButtonElementEventMap, SelectElementAttributes, SelectElementEventMap, SelectGroupElementAttributes, SelectGroupElementEventMap, SelectInputElementAttributes, SelectInputElementEventMap, SelectListElementAttributes, SelectListElementEventMap, SelectOptionElementAttributes, SelectOptionElementEventMap, SliderElementAttributes, SliderElementEventMap, SliderThumbElementAttributes, SliderThumbElementEventMap, SwitchElementAttributes, SwitchElementEventMap, TabsElementAttributes, TabsElementEventMap, TabsPanelElementAttributes, TabsPanelElementEventMap, TabsTabElementAttributes, TabsTabElementEventMap, TextAreaElementAttributes, TextAreaElementEventMap, TooltipArrowElementAttributes, TooltipArrowElementEventMap, TooltipContentElementAttributes, TooltipContentElementEventMap, TooltipElementAttributes, TooltipElementEventMap, TooltipTriggerElementAttributes, TooltipTriggerElementEventMap } from '@aracna/web';
2
- import type { AvatarElement } from '@aracna/web-components/elements/data/avatar.element';
3
- import type { BadgeElement } from '@aracna/web-components/elements/data/badge.element';
4
- import type { CarouselElement, CarouselNextSlideControlElement, CarouselPreviousSlideControlElement, CarouselRotationControlElement, CarouselSlideElement, CarouselSlidesElement, CarouselTabElement, CarouselTabsElement } from '@aracna/web-components/elements/data/carousel.element';
5
- import type { ChipElement } from '@aracna/web-components/elements/data/chip.element';
6
- import type { FeedArticleDescriptionElement, FeedArticleElement, FeedArticleLabelElement, FeedElement } from '@aracna/web-components/elements/data/feed.element';
7
- import type { IconElement } from '@aracna/web-components/elements/data/icon.element';
8
- import type { ImageElement } from '@aracna/web-components/elements/data/image.element';
9
- import type { ListElement, ListItemElement } from '@aracna/web-components/elements/data/list.element';
10
- import type { TooltipArrowElement, TooltipContentElement, TooltipElement, TooltipTriggerElement } from '@aracna/web-components/elements/data/tooltip.element';
11
- import type { AlertDialogDescriptionElement, AlertDialogElement, AlertDialogLabelElement } from '@aracna/web-components/elements/feedback/alert.dialog.element';
12
- import type { AlertElement } from '@aracna/web-components/elements/feedback/alert.element';
13
- import type { DialogDescriptionElement, DialogElement, DialogLabelElement } from '@aracna/web-components/elements/feedback/dialog.element';
14
- import type { MeterElement } from '@aracna/web-components/elements/feedback/meter.element';
15
- import type { ButtonElement } from '@aracna/web-components/elements/input/button.element';
16
- import type { ButtonGroupElement } from '@aracna/web-components/elements/input/button.group.element';
17
- import type { CheckBoxElement } from '@aracna/web-components/elements/input/check.box.element';
18
- import type { FormElement } from '@aracna/web-components/elements/input/form.element';
19
- import type { InputElement } from '@aracna/web-components/elements/input/input.element';
20
- import type { InputFileElement } from '@aracna/web-components/elements/input/input.file.element';
21
- import type { RadioButtonElement, RadioGroupElement } from '@aracna/web-components/elements/input/radio.group.element';
22
- import type { SelectButtonElement, SelectElement, SelectGroupElement, SelectInputElement, SelectListElement, SelectOptionElement } from '@aracna/web-components/elements/input/select.element';
23
- import type { SliderElement, SliderThumbElement } from '@aracna/web-components/elements/input/slider.element';
24
- import type { SwitchElement } from '@aracna/web-components/elements/input/switch.element';
25
- import type { TextAreaElement } from '@aracna/web-components/elements/input/text.area.element';
26
- import type { DividerElement } from '@aracna/web-components/elements/layout/divider.element';
27
- import type { BreadcrumbElement, BreadcrumbItemElement, BreadcrumbListElement } from '@aracna/web-components/elements/navigation/breadcrumb.element';
28
- import type { MenuButtonElement, MenuElement, MenuItemElement, MenuSubMenuElement } from '@aracna/web-components/elements/navigation/menu.element';
29
- import type { NavigationBarElement, NavigationBarItemElement } from '@aracna/web-components/elements/navigation/navigation.bar.element';
30
- import type { NavigationRailElement, NavigationRailItemElement } from '@aracna/web-components/elements/navigation/navigation.rail.element';
31
- import type { TabsElement, TabsPanelElement, TabsTabElement } from '@aracna/web-components/elements/navigation/tabs.element';
32
- import type { AccordionButtonElement, AccordionElement, AccordionHeaderElement, AccordionPanelElement, AccordionSectionElement } from '@aracna/web-components/elements/surface/accordion.element';
33
- import type { DisclosureButtonElement, DisclosureElement, DisclosurePanelElement, DisclosureSectionElement } from '@aracna/web-components/elements/surface/disclosure.element';
34
- import type { AriaAccordionButtonElement, AriaAccordionElement, AriaAccordionHeaderElement, AriaAccordionPanelElement, AriaAccordionSectionElement } from '@aracna/web-components/elements/aria/aria.accordion.element';
35
- import type { AriaAlertDialogDescriptionElement, AriaAlertDialogElement, AriaAlertDialogLabelElement } from '@aracna/web-components/elements/aria/aria.alert.dialog.element';
36
- import type { AriaAlertElement } from '@aracna/web-components/elements/aria/aria.alert.element';
37
- import type { AriaBreadcrumbElement, AriaBreadcrumbItemElement, AriaBreadcrumbListElement } from '@aracna/web-components/elements/aria/aria.breadcrumb.element';
38
- import type { AriaButtonElement } from '@aracna/web-components/elements/aria/aria.button.element';
39
- import type { AriaCarouselElement, AriaCarouselNextSlideControlElement, AriaCarouselPreviousSlideControlElement, AriaCarouselRotationControlElement, AriaCarouselSlideElement, AriaCarouselSlidesElement, AriaCarouselTabElement, AriaCarouselTabsElement } from '@aracna/web-components/elements/aria/aria.carousel.element';
40
- import type { AriaCheckBoxElement } from '@aracna/web-components/elements/aria/aria.check.box.element';
41
- import type { AriaComboBoxButtonElement, AriaComboBoxElement, AriaComboBoxGroupElement, AriaComboBoxInputElement, AriaComboBoxListElement, AriaComboBoxOptionElement } from '@aracna/web-components/elements/aria/aria.combo.box.element';
42
- import type { AriaDialogDescriptionElement, AriaDialogElement, AriaDialogLabelElement } from '@aracna/web-components/elements/aria/aria.dialog.element';
43
- import type { AriaDisclosureButtonElement, AriaDisclosureElement, AriaDisclosurePanelElement, AriaDisclosureSectionElement } from '@aracna/web-components/elements/aria/aria.disclosure.element';
44
- import type { AriaFeedArticleDescriptionElement, AriaFeedArticleElement, AriaFeedArticleLabelElement, AriaFeedElement } from '@aracna/web-components/elements/aria/aria.feed.element';
45
- import type { AriaLinkElement } from '@aracna/web-components/elements/aria/aria.link.element';
46
- import type { AriaListBoxElement, AriaListBoxOptionElement } from '@aracna/web-components/elements/aria/aria.list.box.element';
47
- import type { AriaMenuButtonElement, AriaMenuElement, AriaMenuItemElement, AriaMenuSubMenuElement } from '@aracna/web-components/elements/aria/aria.menu.element';
48
- import type { AriaMeterElement } from '@aracna/web-components/elements/aria/aria.meter.element';
49
- import type { AriaRadioButtonElement, AriaRadioGroupElement } from '@aracna/web-components/elements/aria/aria.radio.group.element';
50
- import type { AriaSliderElement, AriaSliderThumbElement } from '@aracna/web-components/elements/aria/aria.slider.element';
51
- import type { AriaSwitchElement } from '@aracna/web-components/elements/aria/aria.switch.element';
52
- import type { AriaTabsElement, AriaTabsPanelElement, AriaTabsTabElement } from '@aracna/web-components/elements/aria/aria.tabs.element';
53
- import type { AriaTooltipArrowElement, AriaTooltipContentElement, AriaTooltipElement, AriaTooltipTriggerElement } from '@aracna/web-components/elements/aria/aria.tooltip.element';
54
- import type { ElementComponentProps } from './types';
2
+ import type { AvatarElement } from '@aracna/web-components/elements/data/avatar.element.js';
3
+ import type { BadgeElement } from '@aracna/web-components/elements/data/badge.element.js';
4
+ import type { CarouselElement, CarouselNextSlideControlElement, CarouselPreviousSlideControlElement, CarouselRotationControlElement, CarouselSlideElement, CarouselSlidesElement, CarouselTabElement, CarouselTabsElement } from '@aracna/web-components/elements/data/carousel.element.js';
5
+ import type { ChipElement } from '@aracna/web-components/elements/data/chip.element.js';
6
+ import type { FeedArticleDescriptionElement, FeedArticleElement, FeedArticleLabelElement, FeedElement } from '@aracna/web-components/elements/data/feed.element.js';
7
+ import type { IconElement } from '@aracna/web-components/elements/data/icon.element.js';
8
+ import type { ImageElement } from '@aracna/web-components/elements/data/image.element.js';
9
+ import type { ListElement, ListItemElement } from '@aracna/web-components/elements/data/list.element.js';
10
+ import type { TooltipArrowElement, TooltipContentElement, TooltipElement, TooltipTriggerElement } from '@aracna/web-components/elements/data/tooltip.element.js';
11
+ import type { AlertDialogDescriptionElement, AlertDialogElement, AlertDialogLabelElement } from '@aracna/web-components/elements/feedback/alert.dialog.element.js';
12
+ import type { AlertElement } from '@aracna/web-components/elements/feedback/alert.element.js';
13
+ import type { DialogDescriptionElement, DialogElement, DialogLabelElement } from '@aracna/web-components/elements/feedback/dialog.element.js';
14
+ import type { MeterElement } from '@aracna/web-components/elements/feedback/meter.element.js';
15
+ import type { ButtonElement } from '@aracna/web-components/elements/input/button.element.js';
16
+ import type { ButtonGroupElement } from '@aracna/web-components/elements/input/button.group.element.js';
17
+ import type { CheckBoxElement } from '@aracna/web-components/elements/input/check.box.element.js';
18
+ import type { FormElement } from '@aracna/web-components/elements/input/form.element.js';
19
+ import type { InputElement } from '@aracna/web-components/elements/input/input.element.js';
20
+ import type { InputFileElement } from '@aracna/web-components/elements/input/input.file.element.js';
21
+ import type { RadioButtonElement, RadioGroupElement } from '@aracna/web-components/elements/input/radio.group.element.js';
22
+ import type { SelectButtonElement, SelectElement, SelectGroupElement, SelectInputElement, SelectListElement, SelectOptionElement } from '@aracna/web-components/elements/input/select.element.js';
23
+ import type { SliderElement, SliderThumbElement } from '@aracna/web-components/elements/input/slider.element.js';
24
+ import type { SwitchElement } from '@aracna/web-components/elements/input/switch.element.js';
25
+ import type { TextAreaElement } from '@aracna/web-components/elements/input/text.area.element.js';
26
+ import type { DividerElement } from '@aracna/web-components/elements/layout/divider.element.js';
27
+ import type { BreadcrumbElement, BreadcrumbItemElement, BreadcrumbListElement } from '@aracna/web-components/elements/navigation/breadcrumb.element.js';
28
+ import type { MenuButtonElement, MenuElement, MenuItemElement, MenuSubMenuElement } from '@aracna/web-components/elements/navigation/menu.element.js';
29
+ import type { NavigationBarElement, NavigationBarItemElement } from '@aracna/web-components/elements/navigation/navigation.bar.element.js';
30
+ import type { NavigationRailElement, NavigationRailItemElement } from '@aracna/web-components/elements/navigation/navigation.rail.element.js';
31
+ import type { TabsElement, TabsPanelElement, TabsTabElement } from '@aracna/web-components/elements/navigation/tabs.element.js';
32
+ import type { AccordionButtonElement, AccordionElement, AccordionHeaderElement, AccordionPanelElement, AccordionSectionElement } from '@aracna/web-components/elements/surface/accordion.element.js';
33
+ import type { DisclosureButtonElement, DisclosureElement, DisclosurePanelElement, DisclosureSectionElement } from '@aracna/web-components/elements/surface/disclosure.element.js';
34
+ import type { AriaAccordionButtonElement, AriaAccordionElement, AriaAccordionHeaderElement, AriaAccordionPanelElement, AriaAccordionSectionElement } from '@aracna/web-components/elements/aria/aria.accordion.element.js';
35
+ import type { AriaAlertDialogDescriptionElement, AriaAlertDialogElement, AriaAlertDialogLabelElement } from '@aracna/web-components/elements/aria/aria.alert.dialog.element.js';
36
+ import type { AriaAlertElement } from '@aracna/web-components/elements/aria/aria.alert.element.js';
37
+ import type { AriaBreadcrumbElement, AriaBreadcrumbItemElement, AriaBreadcrumbListElement } from '@aracna/web-components/elements/aria/aria.breadcrumb.element.js';
38
+ import type { AriaButtonElement } from '@aracna/web-components/elements/aria/aria.button.element.js';
39
+ import type { AriaCarouselElement, AriaCarouselNextSlideControlElement, AriaCarouselPreviousSlideControlElement, AriaCarouselRotationControlElement, AriaCarouselSlideElement, AriaCarouselSlidesElement, AriaCarouselTabElement, AriaCarouselTabsElement } from '@aracna/web-components/elements/aria/aria.carousel.element.js';
40
+ import type { AriaCheckBoxElement } from '@aracna/web-components/elements/aria/aria.check.box.element.js';
41
+ import type { AriaComboBoxButtonElement, AriaComboBoxElement, AriaComboBoxGroupElement, AriaComboBoxInputElement, AriaComboBoxListElement, AriaComboBoxOptionElement } from '@aracna/web-components/elements/aria/aria.combo.box.element.js';
42
+ import type { AriaDialogDescriptionElement, AriaDialogElement, AriaDialogLabelElement } from '@aracna/web-components/elements/aria/aria.dialog.element.js';
43
+ import type { AriaDisclosureButtonElement, AriaDisclosureElement, AriaDisclosurePanelElement, AriaDisclosureSectionElement } from '@aracna/web-components/elements/aria/aria.disclosure.element.js';
44
+ import type { AriaFeedArticleDescriptionElement, AriaFeedArticleElement, AriaFeedArticleLabelElement, AriaFeedElement } from '@aracna/web-components/elements/aria/aria.feed.element.js';
45
+ import type { AriaLinkElement } from '@aracna/web-components/elements/aria/aria.link.element.js';
46
+ import type { AriaListBoxElement, AriaListBoxOptionElement } from '@aracna/web-components/elements/aria/aria.list.box.element.js';
47
+ import type { AriaMenuButtonElement, AriaMenuElement, AriaMenuItemElement, AriaMenuSubMenuElement } from '@aracna/web-components/elements/aria/aria.menu.element.js';
48
+ import type { AriaMeterElement } from '@aracna/web-components/elements/aria/aria.meter.element.js';
49
+ import type { AriaRadioButtonElement, AriaRadioGroupElement } from '@aracna/web-components/elements/aria/aria.radio.group.element.js';
50
+ import type { AriaSliderElement, AriaSliderThumbElement } from '@aracna/web-components/elements/aria/aria.slider.element.js';
51
+ import type { AriaSwitchElement } from '@aracna/web-components/elements/aria/aria.switch.element.js';
52
+ import type { AriaTabsElement, AriaTabsPanelElement, AriaTabsTabElement } from '@aracna/web-components/elements/aria/aria.tabs.element.js';
53
+ import type { AriaTooltipArrowElement, AriaTooltipContentElement, AriaTooltipElement, AriaTooltipTriggerElement } from '@aracna/web-components/elements/aria/aria.tooltip.element.js';
54
+ import type { ElementComponentProps } from './types.js';
55
55
  /**
56
56
  * ARIA Props
57
57
  */
@@ -1,6 +1,6 @@
1
1
  import { KeyOf } from '@aracna/core';
2
2
  import { BaseElementAttributes, BaseElementEventMap } from '@aracna/web';
3
- import { ElementComponent, ElementComponentProps } from '../definitions/types';
3
+ import { ElementComponent, ElementComponentProps } from '../definitions/types.js';
4
4
  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: {
5
5
  new (): Element;
6
6
  }, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
@@ -0,0 +1 @@
1
+ import{createElementComponent as m}from"./create.element.component.js";function f(e,t,n=[]){return m(e,t,["attribute-change","state-change",...n])}export{f as createBaseElementComponent};
@@ -1,5 +1,5 @@
1
1
  import { KeyOf } from '@aracna/core';
2
- import { ElementComponent, ElementComponentAttributes, ElementComponentEvents, ElementComponentProps } from '../definitions/types';
2
+ import { ElementComponent, ElementComponentAttributes, ElementComponentEvents, ElementComponentProps } from '../definitions/types.js';
3
3
  export declare function createElementComponent<Element extends HTMLElementTagNameMap[Key], Attributes extends ElementComponentAttributes = {}, Events extends ElementComponentEvents = {}, Props extends ElementComponentProps<Element, Attributes, Events> = ElementComponentProps<Element, Attributes, Events>, Key extends keyof HTMLElementTagNameMap = keyof HTMLElementTagNameMap>(tag: Key, element: {
4
4
  new (): Element;
5
5
  }, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
@@ -1,6 +1,6 @@
1
1
  import { KeyOf } from '@aracna/core';
2
2
  import { FloatingElementAttributes, FloatingElementEventMap } from '@aracna/web';
3
- import { ElementComponent, ElementComponentProps } from '../definitions/types';
3
+ import { ElementComponent, ElementComponentProps } from '../definitions/types.js';
4
4
  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: {
5
5
  new (): Element;
6
6
  }, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
@@ -0,0 +1 @@
1
+ import{createBaseElementComponent as m}from"./create.base.element.component.js";function f(e,t,n){return m(e,t,n)}export{f as createFloatingElementComponent};
@@ -1,6 +1,6 @@
1
1
  import { KeyOf } from '@aracna/core';
2
2
  import { FocusTrapElementAttributes, FocusTrapElementEventMap } from '@aracna/web';
3
- import { ElementComponent, ElementComponentProps } from '../definitions/types';
3
+ import { ElementComponent, ElementComponentProps } from '../definitions/types.js';
4
4
  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: {
5
5
  new (): Element;
6
6
  }, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
@@ -0,0 +1 @@
1
+ import{createBaseElementComponent as o}from"./create.base.element.component.js";function i(e,t,n=[]){return o(e,t,["focus-trap-activate","focus-trap-deactivate","focus-trap-post-activate","focus-trap-post-deactivate",...n])}export{i as createFocusTrapElementComponent};
@@ -1,6 +1,6 @@
1
1
  import { KeyOf } from '@aracna/core';
2
2
  import { FormFieldElementAttributes, FormFieldElementEventMap } from '@aracna/web';
3
- import { ElementComponent, ElementComponentProps } from '../definitions/types';
3
+ import { ElementComponent, ElementComponentProps } from '../definitions/types.js';
4
4
  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: {
5
5
  new (): Element;
6
6
  }, events?: KeyOf.Shallow<Events>[]): ElementComponent<Element, Props>;
@@ -0,0 +1 @@
1
+ import{createBaseElementComponent as m}from"./create.base.element.component.js";function d(e,t,n){return m(e,t,n)}export{d as createFormFieldElementComponent};
@@ -0,0 +1 @@
1
+ import{useEffect as u,useReducer as s,useRef as c}from"react";import{useEventListener as n}from"./use.event.listener.js";function m(t){const e=c(null),[,r]=s(()=>({}),{}),i=a=>{t?.attribute?.dispatch===!0&&a.detail&&(t.attribute.blacklist&&t.attribute.blacklist.includes(a.detail.name)||t.attribute.whitelist&&!t.attribute.whitelist.includes(a.detail.name)||r())},l=a=>{t?.state?.dispatch===!0&&a.detail&&(t.state.blacklist&&t.state.blacklist.includes(a.detail.name)||t.state.whitelist&&!t.state.whitelist.includes(a.detail.name)||r())};return n(e,"attribute-changed",i,[e.current]),n(e,"state-changed",l,[e.current]),u(()=>r(),[e.current]),{element:e.current,ref:e}}export{m as useComponent};
@@ -0,0 +1 @@
1
+ import{useReducer as o}from"react";import{ComponentLifeCycle as e}from"../definitions/enums.js";import{useLifeCycle as s}from"./use.life.cycle.js";function f(r){const c=s(),t=o(()=>({}),{});return()=>{switch(c.current){case e.CONSTRUCTED:case e.UNMOUNTED:break;case e.MOUNTED:t[1](),r&&r();break}}}export{f as useDispatch};
@@ -1,5 +1,5 @@
1
1
  import { MutableRefObject } from 'react';
2
- import { ComponentLifeCycle } from '../definitions/enums';
2
+ import { ComponentLifeCycle } from '../definitions/enums.js';
3
3
  /**
4
4
  * Returns the life cycle of a component.
5
5
  *
@@ -0,0 +1 @@
1
+ import{useEffect as n,useRef as o}from"react";import{ComponentLifeCycle as t}from"../definitions/enums.js";function u(){const e=o(t.CONSTRUCTED);return n(()=>(e.current=t.MOUNTED,()=>{e.current=t.UNMOUNTED})),e}export{u as useLifeCycle};
package/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";var d=Object.defineProperty;var O=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var A=(e,t)=>{for(var n in t)d(e,n,{get:t[n],enumerable:!0})},h=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of w(t))!F.call(e,s)&&s!==n&&d(e,s,{get:()=>t[s],enumerable:!(r=O(t,s))||r.enumerable});return e};var k=e=>h(d({},"__esModule",{value:!0}),e);var W={};A(W,{ComponentLifeCycle:()=>v,createBaseElementComponent:()=>l,createElementComponent:()=>M,createFloatingElementComponent:()=>H,createFocusTrapElementComponent:()=>S,createFormFieldElementComponent:()=>D,forwardRef:()=>j,useComponent:()=>U,useDispatch:()=>B,useEventListener:()=>f,useLifeCycle:()=>b,useSafeRef:()=>G,useWindowEventListener:()=>V});module.exports=k(W);var v=(r=>(r.CONSTRUCTED="CONSTRUCTED",r.MOUNTED="MOUNTED",r.UNMOUNTED="UNMOUNTED",r))(v||{});var i=require("@aracna/core"),a=require("react");function M(e,t,n){return(0,a.forwardRef)((r,s)=>{r={...r};for(let m in r)r[m]===!1&&delete r[m],r[m]===!0&&(r[m]="");r.className&&((0,i.setObjectProperty)(r,"class",r.className),delete r.className);let o=s??(0,a.createRef)(),N=(0,a.createElement)(e,{...r,ref:o,suppressHydrationWarning:!0}),[c]=(0,a.useState)(new Map),P=()=>{if(!(typeof o!="object"||!o?.current||!n))for(let m of n){let y,p;y="on"+(0,i.getPascalCaseString)(String(m)),p=(0,i.getObjectProperty)(r,y),typeof p=="function"&&(o.current.addEventListener(String(m),p),c.set(String(m),p))}},T=()=>{if(!(typeof o!="object"||!o?.current))for(let m of c)o.current.removeEventListener(...m),c.delete(m[0])};return(0,a.useEffect)(()=>(T(),P(),T),[r]),N})}function l(e,t,n=[]){return M(e,t,["attribute-change","state-change",...n])}function H(e,t,n){return l(e,t,n)}function S(e,t,n=[]){return l(e,t,["focus-trap-activate","focus-trap-deactivate","focus-trap-post-activate","focus-trap-post-deactivate",...n])}function D(e,t,n){return l(e,t,n)}var x=require("react");function j(...e){return(0,x.forwardRef)(e[0])}var E=require("react");var C=require("react");function f(e,t,n,r=[]){(0,C.useEffect)(()=>(e.current?.addEventListener(t,n),()=>e.current?.removeEventListener(t,n)),r)}function U(e){let t=(0,E.useRef)(null),[,n]=(0,E.useReducer)(()=>({}),{}),r=o=>{e?.attribute?.dispatch===!0&&o.detail&&(e.attribute.blacklist&&e.attribute.blacklist.includes(o.detail.name)||e.attribute.whitelist&&!e.attribute.whitelist.includes(o.detail.name)||n())},s=o=>{e?.state?.dispatch===!0&&o.detail&&(e.state.blacklist&&e.state.blacklist.includes(o.detail.name)||e.state.whitelist&&!e.state.whitelist.includes(o.detail.name)||n())};return f(t,"attribute-changed",r,[t.current]),f(t,"state-changed",s,[t.current]),(0,E.useEffect)(()=>n(),[t.current]),{element:t.current,ref:t}}var g=require("react");var u=require("react");function b(){let e=(0,u.useRef)("CONSTRUCTED");return(0,u.useEffect)(()=>(e.current="MOUNTED",()=>{e.current="UNMOUNTED"})),e}function B(e){let t=b(),n=(0,g.useReducer)(()=>({}),{});return()=>{switch(t.current){case"CONSTRUCTED":case"UNMOUNTED":break;case"MOUNTED":n[1](),e&&e();break}}}var R=require("@aracna/core"),K=require("react");function G(e,t){return(0,K.useRef)(R.Environment.isWindowDefined?document.createElement(e,t):{current:{}})}var L=require("react");function V(e,t,n=[]){(0,L.useEffect)(()=>(window.addEventListener(e,t),()=>window.removeEventListener(e,t)),n)}
1
+ "use strict";var d=Object.defineProperty;var O=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var F=Object.prototype.hasOwnProperty;var A=(e,t)=>{for(var n in t)d(e,n,{get:t[n],enumerable:!0})},h=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of w(t))!F.call(e,s)&&s!==n&&d(e,s,{get:()=>t[s],enumerable:!(r=O(t,s))||r.enumerable});return e};var k=e=>h(d({},"__esModule",{value:!0}),e);var W={};A(W,{ComponentLifeCycle:()=>v,createBaseElementComponent:()=>l,createElementComponent:()=>M,createFloatingElementComponent:()=>H,createFocusTrapElementComponent:()=>S,createFormFieldElementComponent:()=>j,forwardRef:()=>D,useComponent:()=>U,useDispatch:()=>B,useEventListener:()=>f,useLifeCycle:()=>b,useSafeRef:()=>G,useWindowEventListener:()=>V});module.exports=k(W);var v=(r=>(r.CONSTRUCTED="CONSTRUCTED",r.MOUNTED="MOUNTED",r.UNMOUNTED="UNMOUNTED",r))(v||{});var i=require("@aracna/core"),a=require("react");function M(e,t,n){return(0,a.forwardRef)((r,s)=>{r={...r};for(let m in r)r[m]===!1&&delete r[m],r[m]===!0&&(r[m]="");r.className&&((0,i.setObjectProperty)(r,"class",r.className),delete r.className);let o=s??(0,a.createRef)(),N=(0,a.createElement)(e,{...r,ref:o,suppressHydrationWarning:!0}),[c]=(0,a.useState)(new Map),P=()=>{if(!(typeof o!="object"||!o?.current||!n))for(let m of n){let y,p;y="on"+(0,i.getPascalCaseString)(String(m)),p=(0,i.getObjectProperty)(r,y),typeof p=="function"&&(o.current.addEventListener(String(m),p),c.set(String(m),p))}},T=()=>{if(!(typeof o!="object"||!o?.current))for(let m of c)o.current.removeEventListener(...m),c.delete(m[0])};return(0,a.useEffect)(()=>(T(),P(),T),[r]),N})}function l(e,t,n=[]){return M(e,t,["attribute-change","state-change",...n])}function H(e,t,n){return l(e,t,n)}function S(e,t,n=[]){return l(e,t,["focus-trap-activate","focus-trap-deactivate","focus-trap-post-activate","focus-trap-post-deactivate",...n])}function j(e,t,n){return l(e,t,n)}var x=require("react");function D(...e){return(0,x.forwardRef)(e[0])}var E=require("react");var C=require("react");function f(e,t,n,r=[]){(0,C.useEffect)(()=>(e.current?.addEventListener(t,n),()=>e.current?.removeEventListener(t,n)),r)}function U(e){let t=(0,E.useRef)(null),[,n]=(0,E.useReducer)(()=>({}),{}),r=o=>{e?.attribute?.dispatch===!0&&o.detail&&(e.attribute.blacklist&&e.attribute.blacklist.includes(o.detail.name)||e.attribute.whitelist&&!e.attribute.whitelist.includes(o.detail.name)||n())},s=o=>{e?.state?.dispatch===!0&&o.detail&&(e.state.blacklist&&e.state.blacklist.includes(o.detail.name)||e.state.whitelist&&!e.state.whitelist.includes(o.detail.name)||n())};return f(t,"attribute-changed",r,[t.current]),f(t,"state-changed",s,[t.current]),(0,E.useEffect)(()=>n(),[t.current]),{element:t.current,ref:t}}var g=require("react");var u=require("react");function b(){let e=(0,u.useRef)("CONSTRUCTED");return(0,u.useEffect)(()=>(e.current="MOUNTED",()=>{e.current="UNMOUNTED"})),e}function B(e){let t=b(),n=(0,g.useReducer)(()=>({}),{});return()=>{switch(t.current){case"CONSTRUCTED":case"UNMOUNTED":break;case"MOUNTED":n[1](),e&&e();break}}}var R=require("@aracna/core"),K=require("react");function G(e,t){return(0,K.useRef)(R.Environment.isWindowDefined?document.createElement(e,t):{current:{}})}var L=require("react");function V(e,t,n=[]){(0,L.useEffect)(()=>(window.addEventListener(e,t),()=>window.removeEventListener(e,t)),n)}
package/index.d.ts CHANGED
@@ -1,414 +1,414 @@
1
- import type { AccordionButtonElement } from '@aracna/web-components/elements/surface/accordion.element';
1
+ import type { AccordionButtonElement } from '@aracna/web-components/elements/surface/accordion.element.js';
2
2
  import type { AccordionButtonElementAttributes } from '@aracna/web';
3
3
  import type { AccordionButtonElementEventMap } from '@aracna/web';
4
- import type { AccordionElement } from '@aracna/web-components/elements/surface/accordion.element';
4
+ import type { AccordionElement } from '@aracna/web-components/elements/surface/accordion.element.js';
5
5
  import type { AccordionElementAttributes } from '@aracna/web';
6
6
  import type { AccordionElementEventMap } from '@aracna/web';
7
- import type { AccordionHeaderElement } from '@aracna/web-components/elements/surface/accordion.element';
7
+ import type { AccordionHeaderElement } from '@aracna/web-components/elements/surface/accordion.element.js';
8
8
  import type { AccordionHeaderElementAttributes } from '@aracna/web';
9
9
  import type { AccordionHeaderElementEventMap } from '@aracna/web';
10
- import type { AccordionPanelElement } from '@aracna/web-components/elements/surface/accordion.element';
10
+ import type { AccordionPanelElement } from '@aracna/web-components/elements/surface/accordion.element.js';
11
11
  import type { AccordionPanelElementAttributes } from '@aracna/web';
12
12
  import type { AccordionPanelElementEventMap } from '@aracna/web';
13
- import type { AccordionSectionElement } from '@aracna/web-components/elements/surface/accordion.element';
13
+ import type { AccordionSectionElement } from '@aracna/web-components/elements/surface/accordion.element.js';
14
14
  import type { AccordionSectionElementAttributes } from '@aracna/web';
15
15
  import type { AccordionSectionElementEventMap } from '@aracna/web';
16
- import type { AlertDialogDescriptionElement } from '@aracna/web-components/elements/feedback/alert.dialog.element';
16
+ import type { AlertDialogDescriptionElement } from '@aracna/web-components/elements/feedback/alert.dialog.element.js';
17
17
  import type { AlertDialogDescriptionElementAttributes } from '@aracna/web';
18
18
  import type { AlertDialogDescriptionElementEventMap } from '@aracna/web';
19
- import type { AlertDialogElement } from '@aracna/web-components/elements/feedback/alert.dialog.element';
19
+ import type { AlertDialogElement } from '@aracna/web-components/elements/feedback/alert.dialog.element.js';
20
20
  import type { AlertDialogElementAttributes } from '@aracna/web';
21
21
  import type { AlertDialogElementEventMap } from '@aracna/web';
22
- import type { AlertDialogLabelElement } from '@aracna/web-components/elements/feedback/alert.dialog.element';
22
+ import type { AlertDialogLabelElement } from '@aracna/web-components/elements/feedback/alert.dialog.element.js';
23
23
  import type { AlertDialogLabelElementAttributes } from '@aracna/web';
24
24
  import type { AlertDialogLabelElementEventMap } from '@aracna/web';
25
- import type { AlertElement } from '@aracna/web-components/elements/feedback/alert.element';
25
+ import type { AlertElement } from '@aracna/web-components/elements/feedback/alert.element.js';
26
26
  import type { AlertElementAttributes } from '@aracna/web';
27
27
  import type { AlertElementEventMap } from '@aracna/web';
28
- import type { AriaAccordionButtonElement } from '@aracna/web-components/elements/aria/aria.accordion.element';
28
+ import type { AriaAccordionButtonElement } from '@aracna/web-components/elements/aria/aria.accordion.element.js';
29
29
  import type { AriaAccordionButtonElementAttributes } from '@aracna/web';
30
30
  import type { AriaAccordionButtonElementEventMap } from '@aracna/web';
31
- import type { AriaAccordionElement } from '@aracna/web-components/elements/aria/aria.accordion.element';
31
+ import type { AriaAccordionElement } from '@aracna/web-components/elements/aria/aria.accordion.element.js';
32
32
  import type { AriaAccordionElementAttributes } from '@aracna/web';
33
33
  import type { AriaAccordionElementEventMap } from '@aracna/web';
34
- import type { AriaAccordionHeaderElement } from '@aracna/web-components/elements/aria/aria.accordion.element';
34
+ import type { AriaAccordionHeaderElement } from '@aracna/web-components/elements/aria/aria.accordion.element.js';
35
35
  import type { AriaAccordionHeaderElementAttributes } from '@aracna/web';
36
36
  import type { AriaAccordionHeaderElementEventMap } from '@aracna/web';
37
- import type { AriaAccordionPanelElement } from '@aracna/web-components/elements/aria/aria.accordion.element';
37
+ import type { AriaAccordionPanelElement } from '@aracna/web-components/elements/aria/aria.accordion.element.js';
38
38
  import type { AriaAccordionPanelElementAttributes } from '@aracna/web';
39
39
  import type { AriaAccordionPanelElementEventMap } from '@aracna/web';
40
- import type { AriaAccordionSectionElement } from '@aracna/web-components/elements/aria/aria.accordion.element';
40
+ import type { AriaAccordionSectionElement } from '@aracna/web-components/elements/aria/aria.accordion.element.js';
41
41
  import type { AriaAccordionSectionElementAttributes } from '@aracna/web';
42
42
  import type { AriaAccordionSectionElementEventMap } from '@aracna/web';
43
- import type { AriaAlertDialogDescriptionElement } from '@aracna/web-components/elements/aria/aria.alert.dialog.element';
43
+ import type { AriaAlertDialogDescriptionElement } from '@aracna/web-components/elements/aria/aria.alert.dialog.element.js';
44
44
  import type { AriaAlertDialogDescriptionElementAttributes } from '@aracna/web';
45
45
  import type { AriaAlertDialogDescriptionElementEventMap } from '@aracna/web';
46
- import type { AriaAlertDialogElement } from '@aracna/web-components/elements/aria/aria.alert.dialog.element';
46
+ import type { AriaAlertDialogElement } from '@aracna/web-components/elements/aria/aria.alert.dialog.element.js';
47
47
  import type { AriaAlertDialogElementAttributes } from '@aracna/web';
48
48
  import type { AriaAlertDialogElementEventMap } from '@aracna/web';
49
- import type { AriaAlertDialogLabelElement } from '@aracna/web-components/elements/aria/aria.alert.dialog.element';
49
+ import type { AriaAlertDialogLabelElement } from '@aracna/web-components/elements/aria/aria.alert.dialog.element.js';
50
50
  import type { AriaAlertDialogLabelElementAttributes } from '@aracna/web';
51
51
  import type { AriaAlertDialogLabelElementEventMap } from '@aracna/web';
52
- import type { AriaAlertElement } from '@aracna/web-components/elements/aria/aria.alert.element';
52
+ import type { AriaAlertElement } from '@aracna/web-components/elements/aria/aria.alert.element.js';
53
53
  import type { AriaAlertElementAttributes } from '@aracna/web';
54
54
  import type { AriaAlertElementEventMap } from '@aracna/web';
55
- import type { AriaBreadcrumbElement } from '@aracna/web-components/elements/aria/aria.breadcrumb.element';
55
+ import type { AriaBreadcrumbElement } from '@aracna/web-components/elements/aria/aria.breadcrumb.element.js';
56
56
  import type { AriaBreadcrumbElementAttributes } from '@aracna/web';
57
57
  import type { AriaBreadcrumbElementEventMap } from '@aracna/web';
58
- import type { AriaBreadcrumbItemElement } from '@aracna/web-components/elements/aria/aria.breadcrumb.element';
58
+ import type { AriaBreadcrumbItemElement } from '@aracna/web-components/elements/aria/aria.breadcrumb.element.js';
59
59
  import type { AriaBreadcrumbItemElementAttributes } from '@aracna/web';
60
60
  import type { AriaBreadcrumbItemElementEventMap } from '@aracna/web';
61
- import type { AriaBreadcrumbListElement } from '@aracna/web-components/elements/aria/aria.breadcrumb.element';
61
+ import type { AriaBreadcrumbListElement } from '@aracna/web-components/elements/aria/aria.breadcrumb.element.js';
62
62
  import type { AriaBreadcrumbListElementAttributes } from '@aracna/web';
63
63
  import type { AriaBreadcrumbListElementEventMap } from '@aracna/web';
64
- import type { AriaButtonElement } from '@aracna/web-components/elements/aria/aria.button.element';
64
+ import type { AriaButtonElement } from '@aracna/web-components/elements/aria/aria.button.element.js';
65
65
  import type { AriaButtonElementAttributes } from '@aracna/web';
66
66
  import type { AriaButtonElementEventMap } from '@aracna/web';
67
- import type { AriaCarouselElement } from '@aracna/web-components/elements/aria/aria.carousel.element';
67
+ import type { AriaCarouselElement } from '@aracna/web-components/elements/aria/aria.carousel.element.js';
68
68
  import type { AriaCarouselElementAttributes } from '@aracna/web';
69
69
  import type { AriaCarouselElementEventMap } from '@aracna/web';
70
- import type { AriaCarouselNextSlideControlElement } from '@aracna/web-components/elements/aria/aria.carousel.element';
70
+ import type { AriaCarouselNextSlideControlElement } from '@aracna/web-components/elements/aria/aria.carousel.element.js';
71
71
  import type { AriaCarouselNextSlideControlElementAttributes } from '@aracna/web';
72
72
  import type { AriaCarouselNextSlideControlElementEventMap } from '@aracna/web';
73
- import type { AriaCarouselPreviousSlideControlElement } from '@aracna/web-components/elements/aria/aria.carousel.element';
73
+ import type { AriaCarouselPreviousSlideControlElement } from '@aracna/web-components/elements/aria/aria.carousel.element.js';
74
74
  import type { AriaCarouselPreviousSlideControlElementAttributes } from '@aracna/web';
75
75
  import type { AriaCarouselPreviousSlideControlElementEventMap } from '@aracna/web';
76
- import type { AriaCarouselRotationControlElement } from '@aracna/web-components/elements/aria/aria.carousel.element';
76
+ import type { AriaCarouselRotationControlElement } from '@aracna/web-components/elements/aria/aria.carousel.element.js';
77
77
  import type { AriaCarouselRotationControlElementAttributes } from '@aracna/web';
78
78
  import type { AriaCarouselRotationControlElementEventMap } from '@aracna/web';
79
- import type { AriaCarouselSlideElement } from '@aracna/web-components/elements/aria/aria.carousel.element';
79
+ import type { AriaCarouselSlideElement } from '@aracna/web-components/elements/aria/aria.carousel.element.js';
80
80
  import type { AriaCarouselSlideElementAttributes } from '@aracna/web';
81
81
  import type { AriaCarouselSlideElementEventMap } from '@aracna/web';
82
- import type { AriaCarouselSlidesElement } from '@aracna/web-components/elements/aria/aria.carousel.element';
82
+ import type { AriaCarouselSlidesElement } from '@aracna/web-components/elements/aria/aria.carousel.element.js';
83
83
  import type { AriaCarouselSlidesElementAttributes } from '@aracna/web';
84
84
  import type { AriaCarouselSlidesElementEventMap } from '@aracna/web';
85
- import type { AriaCarouselTabElement } from '@aracna/web-components/elements/aria/aria.carousel.element';
85
+ import type { AriaCarouselTabElement } from '@aracna/web-components/elements/aria/aria.carousel.element.js';
86
86
  import type { AriaCarouselTabElementAttributes } from '@aracna/web';
87
87
  import type { AriaCarouselTabElementEventMap } from '@aracna/web';
88
- import type { AriaCarouselTabsElement } from '@aracna/web-components/elements/aria/aria.carousel.element';
88
+ import type { AriaCarouselTabsElement } from '@aracna/web-components/elements/aria/aria.carousel.element.js';
89
89
  import type { AriaCarouselTabsElementAttributes } from '@aracna/web';
90
90
  import type { AriaCarouselTabsElementEventMap } from '@aracna/web';
91
- import type { AriaCheckBoxElement } from '@aracna/web-components/elements/aria/aria.check.box.element';
91
+ import type { AriaCheckBoxElement } from '@aracna/web-components/elements/aria/aria.check.box.element.js';
92
92
  import type { AriaCheckBoxElementAttributes } from '@aracna/web';
93
93
  import type { AriaCheckBoxElementEventMap } from '@aracna/web';
94
- import type { AriaComboBoxButtonElement } from '@aracna/web-components/elements/aria/aria.combo.box.element';
94
+ import type { AriaComboBoxButtonElement } from '@aracna/web-components/elements/aria/aria.combo.box.element.js';
95
95
  import type { AriaComboBoxButtonElementAttributes } from '@aracna/web';
96
96
  import type { AriaComboBoxButtonElementEventMap } from '@aracna/web';
97
- import type { AriaComboBoxElement } from '@aracna/web-components/elements/aria/aria.combo.box.element';
97
+ import type { AriaComboBoxElement } from '@aracna/web-components/elements/aria/aria.combo.box.element.js';
98
98
  import type { AriaComboBoxElementAttributes } from '@aracna/web';
99
99
  import type { AriaComboBoxElementEventMap } from '@aracna/web';
100
- import type { AriaComboBoxGroupElement } from '@aracna/web-components/elements/aria/aria.combo.box.element';
100
+ import type { AriaComboBoxGroupElement } from '@aracna/web-components/elements/aria/aria.combo.box.element.js';
101
101
  import type { AriaComboBoxGroupElementAttributes } from '@aracna/web';
102
102
  import type { AriaComboBoxGroupElementEventMap } from '@aracna/web';
103
- import type { AriaComboBoxInputElement } from '@aracna/web-components/elements/aria/aria.combo.box.element';
103
+ import type { AriaComboBoxInputElement } from '@aracna/web-components/elements/aria/aria.combo.box.element.js';
104
104
  import type { AriaComboBoxInputElementAttributes } from '@aracna/web';
105
105
  import type { AriaComboBoxInputElementEventMap } from '@aracna/web';
106
- import type { AriaComboBoxListElement } from '@aracna/web-components/elements/aria/aria.combo.box.element';
106
+ import type { AriaComboBoxListElement } from '@aracna/web-components/elements/aria/aria.combo.box.element.js';
107
107
  import type { AriaComboBoxListElementAttributes } from '@aracna/web';
108
108
  import type { AriaComboBoxListElementEventMap } from '@aracna/web';
109
- import type { AriaComboBoxOptionElement } from '@aracna/web-components/elements/aria/aria.combo.box.element';
109
+ import type { AriaComboBoxOptionElement } from '@aracna/web-components/elements/aria/aria.combo.box.element.js';
110
110
  import type { AriaComboBoxOptionElementAttributes } from '@aracna/web';
111
111
  import type { AriaComboBoxOptionElementEventMap } from '@aracna/web';
112
- import type { AriaDialogDescriptionElement } from '@aracna/web-components/elements/aria/aria.dialog.element';
112
+ import type { AriaDialogDescriptionElement } from '@aracna/web-components/elements/aria/aria.dialog.element.js';
113
113
  import type { AriaDialogDescriptionElementAttributes } from '@aracna/web';
114
114
  import type { AriaDialogDescriptionElementEventMap } from '@aracna/web';
115
- import type { AriaDialogElement } from '@aracna/web-components/elements/aria/aria.dialog.element';
115
+ import type { AriaDialogElement } from '@aracna/web-components/elements/aria/aria.dialog.element.js';
116
116
  import type { AriaDialogElementAttributes } from '@aracna/web';
117
117
  import type { AriaDialogElementEventMap } from '@aracna/web';
118
- import type { AriaDialogLabelElement } from '@aracna/web-components/elements/aria/aria.dialog.element';
118
+ import type { AriaDialogLabelElement } from '@aracna/web-components/elements/aria/aria.dialog.element.js';
119
119
  import type { AriaDialogLabelElementAttributes } from '@aracna/web';
120
120
  import type { AriaDialogLabelElementEventMap } from '@aracna/web';
121
- import type { AriaDisclosureButtonElement } from '@aracna/web-components/elements/aria/aria.disclosure.element';
121
+ import type { AriaDisclosureButtonElement } from '@aracna/web-components/elements/aria/aria.disclosure.element.js';
122
122
  import type { AriaDisclosureButtonElementAttributes } from '@aracna/web';
123
123
  import type { AriaDisclosureButtonElementEventMap } from '@aracna/web';
124
- import type { AriaDisclosureElement } from '@aracna/web-components/elements/aria/aria.disclosure.element';
124
+ import type { AriaDisclosureElement } from '@aracna/web-components/elements/aria/aria.disclosure.element.js';
125
125
  import type { AriaDisclosureElementAttributes } from '@aracna/web';
126
126
  import type { AriaDisclosureElementEventMap } from '@aracna/web';
127
- import type { AriaDisclosurePanelElement } from '@aracna/web-components/elements/aria/aria.disclosure.element';
127
+ import type { AriaDisclosurePanelElement } from '@aracna/web-components/elements/aria/aria.disclosure.element.js';
128
128
  import type { AriaDisclosurePanelElementAttributes } from '@aracna/web';
129
129
  import type { AriaDisclosurePanelElementEventMap } from '@aracna/web';
130
- import type { AriaDisclosureSectionElement } from '@aracna/web-components/elements/aria/aria.disclosure.element';
130
+ import type { AriaDisclosureSectionElement } from '@aracna/web-components/elements/aria/aria.disclosure.element.js';
131
131
  import type { AriaDisclosureSectionElementAttributes } from '@aracna/web';
132
132
  import type { AriaDisclosureSectionElementEventMap } from '@aracna/web';
133
- import type { AriaFeedArticleDescriptionElement } from '@aracna/web-components/elements/aria/aria.feed.element';
133
+ import type { AriaFeedArticleDescriptionElement } from '@aracna/web-components/elements/aria/aria.feed.element.js';
134
134
  import type { AriaFeedArticleDescriptionElementAttributes } from '@aracna/web';
135
135
  import type { AriaFeedArticleDescriptionElementEventMap } from '@aracna/web';
136
- import type { AriaFeedArticleElement } from '@aracna/web-components/elements/aria/aria.feed.element';
136
+ import type { AriaFeedArticleElement } from '@aracna/web-components/elements/aria/aria.feed.element.js';
137
137
  import type { AriaFeedArticleElementAttributes } from '@aracna/web';
138
138
  import type { AriaFeedArticleElementEventMap } from '@aracna/web';
139
- import type { AriaFeedArticleLabelElement } from '@aracna/web-components/elements/aria/aria.feed.element';
139
+ import type { AriaFeedArticleLabelElement } from '@aracna/web-components/elements/aria/aria.feed.element.js';
140
140
  import type { AriaFeedArticleLabelElementAttributes } from '@aracna/web';
141
141
  import type { AriaFeedArticleLabelElementEventMap } from '@aracna/web';
142
- import type { AriaFeedElement } from '@aracna/web-components/elements/aria/aria.feed.element';
142
+ import type { AriaFeedElement } from '@aracna/web-components/elements/aria/aria.feed.element.js';
143
143
  import type { AriaFeedElementAttributes } from '@aracna/web';
144
144
  import type { AriaFeedElementEventMap } from '@aracna/web';
145
- import type { AriaLinkElement } from '@aracna/web-components/elements/aria/aria.link.element';
145
+ import type { AriaLinkElement } from '@aracna/web-components/elements/aria/aria.link.element.js';
146
146
  import type { AriaLinkElementAttributes } from '@aracna/web';
147
147
  import type { AriaLinkElementEventMap } from '@aracna/web';
148
- import type { AriaListBoxElement } from '@aracna/web-components/elements/aria/aria.list.box.element';
148
+ import type { AriaListBoxElement } from '@aracna/web-components/elements/aria/aria.list.box.element.js';
149
149
  import type { AriaListBoxElementAttributes } from '@aracna/web';
150
150
  import type { AriaListBoxElementEventMap } from '@aracna/web';
151
- import type { AriaListBoxOptionElement } from '@aracna/web-components/elements/aria/aria.list.box.element';
151
+ import type { AriaListBoxOptionElement } from '@aracna/web-components/elements/aria/aria.list.box.element.js';
152
152
  import type { AriaListBoxOptionElementAttributes } from '@aracna/web';
153
153
  import type { AriaListBoxOptionElementEventMap } from '@aracna/web';
154
- import type { AriaMenuButtonElement } from '@aracna/web-components/elements/aria/aria.menu.element';
154
+ import type { AriaMenuButtonElement } from '@aracna/web-components/elements/aria/aria.menu.element.js';
155
155
  import type { AriaMenuButtonElementAttributes } from '@aracna/web';
156
156
  import type { AriaMenuButtonElementEventMap } from '@aracna/web';
157
- import type { AriaMenuElement } from '@aracna/web-components/elements/aria/aria.menu.element';
157
+ import type { AriaMenuElement } from '@aracna/web-components/elements/aria/aria.menu.element.js';
158
158
  import type { AriaMenuElementAttributes } from '@aracna/web';
159
159
  import type { AriaMenuElementEventMap } from '@aracna/web';
160
- import type { AriaMenuItemElement } from '@aracna/web-components/elements/aria/aria.menu.element';
160
+ import type { AriaMenuItemElement } from '@aracna/web-components/elements/aria/aria.menu.element.js';
161
161
  import type { AriaMenuItemElementAttributes } from '@aracna/web';
162
162
  import type { AriaMenuItemElementEventMap } from '@aracna/web';
163
- import type { AriaMenuSubMenuElement } from '@aracna/web-components/elements/aria/aria.menu.element';
163
+ import type { AriaMenuSubMenuElement } from '@aracna/web-components/elements/aria/aria.menu.element.js';
164
164
  import type { AriaMenuSubMenuElementAttributes } from '@aracna/web';
165
165
  import type { AriaMenuSubMenuElementEventMap } from '@aracna/web';
166
- import type { AriaMeterElement } from '@aracna/web-components/elements/aria/aria.meter.element';
166
+ import type { AriaMeterElement } from '@aracna/web-components/elements/aria/aria.meter.element.js';
167
167
  import type { AriaMeterElementAttributes } from '@aracna/web';
168
168
  import type { AriaMeterElementEventMap } from '@aracna/web';
169
- import type { AriaRadioButtonElement } from '@aracna/web-components/elements/aria/aria.radio.group.element';
169
+ import type { AriaRadioButtonElement } from '@aracna/web-components/elements/aria/aria.radio.group.element.js';
170
170
  import type { AriaRadioButtonElementAttributes } from '@aracna/web';
171
171
  import type { AriaRadioButtonElementEventMap } from '@aracna/web';
172
- import type { AriaRadioGroupElement } from '@aracna/web-components/elements/aria/aria.radio.group.element';
172
+ import type { AriaRadioGroupElement } from '@aracna/web-components/elements/aria/aria.radio.group.element.js';
173
173
  import type { AriaRadioGroupElementAttributes } from '@aracna/web';
174
174
  import type { AriaRadioGroupElementEventMap } from '@aracna/web';
175
- import type { AriaSliderElement } from '@aracna/web-components/elements/aria/aria.slider.element';
175
+ import type { AriaSliderElement } from '@aracna/web-components/elements/aria/aria.slider.element.js';
176
176
  import type { AriaSliderElementAttributes } from '@aracna/web';
177
177
  import type { AriaSliderElementEventMap } from '@aracna/web';
178
- import type { AriaSliderThumbElement } from '@aracna/web-components/elements/aria/aria.slider.element';
178
+ import type { AriaSliderThumbElement } from '@aracna/web-components/elements/aria/aria.slider.element.js';
179
179
  import type { AriaSliderThumbElementAttributes } from '@aracna/web';
180
180
  import type { AriaSliderThumbElementEventMap } from '@aracna/web';
181
- import type { AriaSwitchElement } from '@aracna/web-components/elements/aria/aria.switch.element';
181
+ import type { AriaSwitchElement } from '@aracna/web-components/elements/aria/aria.switch.element.js';
182
182
  import type { AriaSwitchElementAttributes } from '@aracna/web';
183
183
  import type { AriaSwitchElementEventMap } from '@aracna/web';
184
- import type { AriaTabsElement } from '@aracna/web-components/elements/aria/aria.tabs.element';
184
+ import type { AriaTabsElement } from '@aracna/web-components/elements/aria/aria.tabs.element.js';
185
185
  import type { AriaTabsElementAttributes } from '@aracna/web';
186
186
  import type { AriaTabsElementEventMap } from '@aracna/web';
187
- import type { AriaTabsPanelElement } from '@aracna/web-components/elements/aria/aria.tabs.element';
187
+ import type { AriaTabsPanelElement } from '@aracna/web-components/elements/aria/aria.tabs.element.js';
188
188
  import type { AriaTabsPanelElementAttributes } from '@aracna/web';
189
189
  import type { AriaTabsPanelElementEventMap } from '@aracna/web';
190
- import type { AriaTabsTabElement } from '@aracna/web-components/elements/aria/aria.tabs.element';
190
+ import type { AriaTabsTabElement } from '@aracna/web-components/elements/aria/aria.tabs.element.js';
191
191
  import type { AriaTabsTabElementAttributes } from '@aracna/web';
192
192
  import type { AriaTabsTabElementEventMap } from '@aracna/web';
193
- import type { AriaTooltipArrowElement } from '@aracna/web-components/elements/aria/aria.tooltip.element';
193
+ import type { AriaTooltipArrowElement } from '@aracna/web-components/elements/aria/aria.tooltip.element.js';
194
194
  import type { AriaTooltipArrowElementAttributes } from '@aracna/web';
195
195
  import type { AriaTooltipArrowElementEventMap } from '@aracna/web';
196
- import type { AriaTooltipContentElement } from '@aracna/web-components/elements/aria/aria.tooltip.element';
196
+ import type { AriaTooltipContentElement } from '@aracna/web-components/elements/aria/aria.tooltip.element.js';
197
197
  import type { AriaTooltipContentElementAttributes } from '@aracna/web';
198
198
  import type { AriaTooltipContentElementEventMap } from '@aracna/web';
199
- import type { AriaTooltipElement } from '@aracna/web-components/elements/aria/aria.tooltip.element';
199
+ import type { AriaTooltipElement } from '@aracna/web-components/elements/aria/aria.tooltip.element.js';
200
200
  import type { AriaTooltipElementAttributes } from '@aracna/web';
201
201
  import type { AriaTooltipElementEventMap } from '@aracna/web';
202
- import type { AriaTooltipTriggerElement } from '@aracna/web-components/elements/aria/aria.tooltip.element';
202
+ import type { AriaTooltipTriggerElement } from '@aracna/web-components/elements/aria/aria.tooltip.element.js';
203
203
  import type { AriaTooltipTriggerElementAttributes } from '@aracna/web';
204
204
  import type { AriaTooltipTriggerElementEventMap } from '@aracna/web';
205
- import type { AvatarElement } from '@aracna/web-components/elements/data/avatar.element';
205
+ import type { AvatarElement } from '@aracna/web-components/elements/data/avatar.element.js';
206
206
  import type { AvatarElementAttributes } from '@aracna/web';
207
207
  import type { AvatarElementEventMap } from '@aracna/web';
208
- import type { BadgeElement } from '@aracna/web-components/elements/data/badge.element';
208
+ import type { BadgeElement } from '@aracna/web-components/elements/data/badge.element.js';
209
209
  import type { BadgeElementAttributes } from '@aracna/web';
210
210
  import type { BadgeElementEventMap } from '@aracna/web';
211
211
  import { BaseElementAttributes } from '@aracna/web';
212
212
  import { BaseElementEventMap } from '@aracna/web';
213
- import type { BreadcrumbElement } from '@aracna/web-components/elements/navigation/breadcrumb.element';
213
+ import type { BreadcrumbElement } from '@aracna/web-components/elements/navigation/breadcrumb.element.js';
214
214
  import type { BreadcrumbElementAttributes } from '@aracna/web';
215
215
  import type { BreadcrumbElementEventMap } from '@aracna/web';
216
- import type { BreadcrumbItemElement } from '@aracna/web-components/elements/navigation/breadcrumb.element';
216
+ import type { BreadcrumbItemElement } from '@aracna/web-components/elements/navigation/breadcrumb.element.js';
217
217
  import type { BreadcrumbItemElementAttributes } from '@aracna/web';
218
218
  import type { BreadcrumbItemElementEventMap } from '@aracna/web';
219
- import type { BreadcrumbListElement } from '@aracna/web-components/elements/navigation/breadcrumb.element';
219
+ import type { BreadcrumbListElement } from '@aracna/web-components/elements/navigation/breadcrumb.element.js';
220
220
  import type { BreadcrumbListElementAttributes } from '@aracna/web';
221
221
  import type { BreadcrumbListElementEventMap } from '@aracna/web';
222
- import type { ButtonElement } from '@aracna/web-components/elements/input/button.element';
222
+ import type { ButtonElement } from '@aracna/web-components/elements/input/button.element.js';
223
223
  import type { ButtonElementAttributes } from '@aracna/web';
224
224
  import type { ButtonElementEventMap } from '@aracna/web';
225
- import type { ButtonGroupElement } from '@aracna/web-components/elements/input/button.group.element';
225
+ import type { ButtonGroupElement } from '@aracna/web-components/elements/input/button.group.element.js';
226
226
  import type { ButtonGroupElementAttributes } from '@aracna/web';
227
227
  import type { ButtonGroupElementEventMap } from '@aracna/web';
228
- import type { CarouselElement } from '@aracna/web-components/elements/data/carousel.element';
228
+ import type { CarouselElement } from '@aracna/web-components/elements/data/carousel.element.js';
229
229
  import type { CarouselElementAttributes } from '@aracna/web';
230
230
  import type { CarouselElementEventMap } from '@aracna/web';
231
- import type { CarouselNextSlideControlElement } from '@aracna/web-components/elements/data/carousel.element';
231
+ import type { CarouselNextSlideControlElement } from '@aracna/web-components/elements/data/carousel.element.js';
232
232
  import type { CarouselNextSlideControlElementAttributes } from '@aracna/web';
233
233
  import type { CarouselNextSlideControlElementEventMap } from '@aracna/web';
234
- import type { CarouselPreviousSlideControlElement } from '@aracna/web-components/elements/data/carousel.element';
234
+ import type { CarouselPreviousSlideControlElement } from '@aracna/web-components/elements/data/carousel.element.js';
235
235
  import type { CarouselPreviousSlideControlElementAttributes } from '@aracna/web';
236
236
  import type { CarouselPreviousSlideControlElementEventMap } from '@aracna/web';
237
- import type { CarouselRotationControlElement } from '@aracna/web-components/elements/data/carousel.element';
237
+ import type { CarouselRotationControlElement } from '@aracna/web-components/elements/data/carousel.element.js';
238
238
  import type { CarouselRotationControlElementAttributes } from '@aracna/web';
239
239
  import type { CarouselRotationControlElementEventMap } from '@aracna/web';
240
- import type { CarouselSlideElement } from '@aracna/web-components/elements/data/carousel.element';
240
+ import type { CarouselSlideElement } from '@aracna/web-components/elements/data/carousel.element.js';
241
241
  import type { CarouselSlideElementAttributes } from '@aracna/web';
242
242
  import type { CarouselSlideElementEventMap } from '@aracna/web';
243
- import type { CarouselSlidesElement } from '@aracna/web-components/elements/data/carousel.element';
243
+ import type { CarouselSlidesElement } from '@aracna/web-components/elements/data/carousel.element.js';
244
244
  import type { CarouselSlidesElementAttributes } from '@aracna/web';
245
245
  import type { CarouselSlidesElementEventMap } from '@aracna/web';
246
- import type { CarouselTabElement } from '@aracna/web-components/elements/data/carousel.element';
246
+ import type { CarouselTabElement } from '@aracna/web-components/elements/data/carousel.element.js';
247
247
  import type { CarouselTabElementAttributes } from '@aracna/web';
248
248
  import type { CarouselTabElementEventMap } from '@aracna/web';
249
- import type { CarouselTabsElement } from '@aracna/web-components/elements/data/carousel.element';
249
+ import type { CarouselTabsElement } from '@aracna/web-components/elements/data/carousel.element.js';
250
250
  import type { CarouselTabsElementAttributes } from '@aracna/web';
251
251
  import type { CarouselTabsElementEventMap } from '@aracna/web';
252
- import type { CheckBoxElement } from '@aracna/web-components/elements/input/check.box.element';
252
+ import type { CheckBoxElement } from '@aracna/web-components/elements/input/check.box.element.js';
253
253
  import type { CheckBoxElementAttributes } from '@aracna/web';
254
254
  import type { CheckBoxElementEventMap } from '@aracna/web';
255
- import type { ChipElement } from '@aracna/web-components/elements/data/chip.element';
255
+ import type { ChipElement } from '@aracna/web-components/elements/data/chip.element.js';
256
256
  import type { ChipElementAttributes } from '@aracna/web';
257
257
  import type { ChipElementEventMap } from '@aracna/web';
258
258
  import { DependencyList } from 'react';
259
- import type { DialogDescriptionElement } from '@aracna/web-components/elements/feedback/dialog.element';
259
+ import type { DialogDescriptionElement } from '@aracna/web-components/elements/feedback/dialog.element.js';
260
260
  import type { DialogDescriptionElementAttributes } from '@aracna/web';
261
261
  import type { DialogDescriptionElementEventMap } from '@aracna/web';
262
- import type { DialogElement } from '@aracna/web-components/elements/feedback/dialog.element';
262
+ import type { DialogElement } from '@aracna/web-components/elements/feedback/dialog.element.js';
263
263
  import type { DialogElementAttributes } from '@aracna/web';
264
264
  import type { DialogElementEventMap } from '@aracna/web';
265
- import type { DialogLabelElement } from '@aracna/web-components/elements/feedback/dialog.element';
265
+ import type { DialogLabelElement } from '@aracna/web-components/elements/feedback/dialog.element.js';
266
266
  import type { DialogLabelElementAttributes } from '@aracna/web';
267
267
  import type { DialogLabelElementEventMap } from '@aracna/web';
268
- import type { DisclosureButtonElement } from '@aracna/web-components/elements/surface/disclosure.element';
268
+ import type { DisclosureButtonElement } from '@aracna/web-components/elements/surface/disclosure.element.js';
269
269
  import type { DisclosureButtonElementAttributes } from '@aracna/web';
270
270
  import type { DisclosureButtonElementEventMap } from '@aracna/web';
271
- import type { DisclosureElement } from '@aracna/web-components/elements/surface/disclosure.element';
271
+ import type { DisclosureElement } from '@aracna/web-components/elements/surface/disclosure.element.js';
272
272
  import type { DisclosureElementAttributes } from '@aracna/web';
273
273
  import type { DisclosureElementEventMap } from '@aracna/web';
274
- import type { DisclosurePanelElement } from '@aracna/web-components/elements/surface/disclosure.element';
274
+ import type { DisclosurePanelElement } from '@aracna/web-components/elements/surface/disclosure.element.js';
275
275
  import type { DisclosurePanelElementAttributes } from '@aracna/web';
276
276
  import type { DisclosurePanelElementEventMap } from '@aracna/web';
277
- import type { DisclosureSectionElement } from '@aracna/web-components/elements/surface/disclosure.element';
277
+ import type { DisclosureSectionElement } from '@aracna/web-components/elements/surface/disclosure.element.js';
278
278
  import type { DisclosureSectionElementAttributes } from '@aracna/web';
279
279
  import type { DisclosureSectionElementEventMap } from '@aracna/web';
280
- import type { DividerElement } from '@aracna/web-components/elements/layout/divider.element';
280
+ import type { DividerElement } from '@aracna/web-components/elements/layout/divider.element.js';
281
281
  import type { DividerElementAttributes } from '@aracna/web';
282
282
  import type { DividerElementEventMap } from '@aracna/web';
283
283
  import type { DOMElement } from 'react';
284
- import type { FeedArticleDescriptionElement } from '@aracna/web-components/elements/data/feed.element';
284
+ import type { FeedArticleDescriptionElement } from '@aracna/web-components/elements/data/feed.element.js';
285
285
  import type { FeedArticleDescriptionElementAttributes } from '@aracna/web';
286
286
  import type { FeedArticleDescriptionElementEventMap } from '@aracna/web';
287
- import type { FeedArticleElement } from '@aracna/web-components/elements/data/feed.element';
287
+ import type { FeedArticleElement } from '@aracna/web-components/elements/data/feed.element.js';
288
288
  import type { FeedArticleElementAttributes } from '@aracna/web';
289
289
  import type { FeedArticleElementEventMap } from '@aracna/web';
290
- import type { FeedArticleLabelElement } from '@aracna/web-components/elements/data/feed.element';
290
+ import type { FeedArticleLabelElement } from '@aracna/web-components/elements/data/feed.element.js';
291
291
  import type { FeedArticleLabelElementAttributes } from '@aracna/web';
292
292
  import type { FeedArticleLabelElementEventMap } from '@aracna/web';
293
- import type { FeedElement } from '@aracna/web-components/elements/data/feed.element';
293
+ import type { FeedElement } from '@aracna/web-components/elements/data/feed.element.js';
294
294
  import type { FeedElementAttributes } from '@aracna/web';
295
295
  import type { FeedElementEventMap } from '@aracna/web';
296
296
  import { FloatingElementAttributes } from '@aracna/web';
297
297
  import { FloatingElementEventMap } from '@aracna/web';
298
298
  import { FocusTrapElementAttributes } from '@aracna/web';
299
299
  import { FocusTrapElementEventMap } from '@aracna/web';
300
- import type { FormElement } from '@aracna/web-components/elements/input/form.element';
300
+ import type { FormElement } from '@aracna/web-components/elements/input/form.element.js';
301
301
  import type { FormElementAttributes } from '@aracna/web';
302
302
  import type { FormElementEventMap } from '@aracna/web';
303
303
  import { FormFieldElementAttributes } from '@aracna/web';
304
304
  import { FormFieldElementEventMap } from '@aracna/web';
305
305
  import { ForwardedRef } from 'react';
306
306
  import type { HTMLAttributes } from 'react';
307
- import type { IconElement } from '@aracna/web-components/elements/data/icon.element';
307
+ import type { IconElement } from '@aracna/web-components/elements/data/icon.element.js';
308
308
  import type { IconElementAttributes } from '@aracna/web';
309
309
  import type { IconElementEventMap } from '@aracna/web';
310
- import type { ImageElement } from '@aracna/web-components/elements/data/image.element';
310
+ import type { ImageElement } from '@aracna/web-components/elements/data/image.element.js';
311
311
  import type { ImageElementAttributes } from '@aracna/web';
312
312
  import type { ImageElementEventMap } from '@aracna/web';
313
- import type { InputElement } from '@aracna/web-components/elements/input/input.element';
313
+ import type { InputElement } from '@aracna/web-components/elements/input/input.element.js';
314
314
  import type { InputElementAttributes } from '@aracna/web';
315
315
  import type { InputElementEventMap } from '@aracna/web';
316
- import type { InputFileElement } from '@aracna/web-components/elements/input/input.file.element';
316
+ import type { InputFileElement } from '@aracna/web-components/elements/input/input.file.element.js';
317
317
  import type { InputFileElementAttributes } from '@aracna/web';
318
318
  import type { InputFileElementEventMap } from '@aracna/web';
319
319
  import { KeyOf } from '@aracna/core';
320
- import type { ListElement } from '@aracna/web-components/elements/data/list.element';
320
+ import type { ListElement } from '@aracna/web-components/elements/data/list.element.js';
321
321
  import type { ListElementAttributes } from '@aracna/web';
322
322
  import type { ListElementEventMap } from '@aracna/web';
323
- import type { ListItemElement } from '@aracna/web-components/elements/data/list.element';
323
+ import type { ListItemElement } from '@aracna/web-components/elements/data/list.element.js';
324
324
  import type { ListItemElementAttributes } from '@aracna/web';
325
325
  import type { ListItemElementEventMap } from '@aracna/web';
326
- import type { MenuButtonElement } from '@aracna/web-components/elements/navigation/menu.element';
326
+ import type { MenuButtonElement } from '@aracna/web-components/elements/navigation/menu.element.js';
327
327
  import type { MenuButtonElementAttributes } from '@aracna/web';
328
328
  import type { MenuButtonElementEventMap } from '@aracna/web';
329
- import type { MenuElement } from '@aracna/web-components/elements/navigation/menu.element';
329
+ import type { MenuElement } from '@aracna/web-components/elements/navigation/menu.element.js';
330
330
  import type { MenuElementAttributes } from '@aracna/web';
331
331
  import type { MenuElementEventMap } from '@aracna/web';
332
- import type { MenuItemElement } from '@aracna/web-components/elements/navigation/menu.element';
332
+ import type { MenuItemElement } from '@aracna/web-components/elements/navigation/menu.element.js';
333
333
  import type { MenuItemElementAttributes } from '@aracna/web';
334
334
  import type { MenuItemElementEventMap } from '@aracna/web';
335
- import type { MenuSubMenuElement } from '@aracna/web-components/elements/navigation/menu.element';
335
+ import type { MenuSubMenuElement } from '@aracna/web-components/elements/navigation/menu.element.js';
336
336
  import type { MenuSubMenuElementAttributes } from '@aracna/web';
337
337
  import type { MenuSubMenuElementEventMap } from '@aracna/web';
338
- import type { MeterElement } from '@aracna/web-components/elements/feedback/meter.element';
338
+ import type { MeterElement } from '@aracna/web-components/elements/feedback/meter.element.js';
339
339
  import type { MeterElementAttributes } from '@aracna/web';
340
340
  import type { MeterElementEventMap } from '@aracna/web';
341
341
  import { MutableRefObject } from 'react';
342
- import type { NavigationBarElement } from '@aracna/web-components/elements/navigation/navigation.bar.element';
342
+ import type { NavigationBarElement } from '@aracna/web-components/elements/navigation/navigation.bar.element.js';
343
343
  import type { NavigationBarElementAttributes } from '@aracna/web';
344
344
  import type { NavigationBarElementEventMap } from '@aracna/web';
345
- import type { NavigationBarItemElement } from '@aracna/web-components/elements/navigation/navigation.bar.element';
345
+ import type { NavigationBarItemElement } from '@aracna/web-components/elements/navigation/navigation.bar.element.js';
346
346
  import type { NavigationBarItemElementAttributes } from '@aracna/web';
347
347
  import type { NavigationBarItemElementEventMap } from '@aracna/web';
348
- import type { NavigationRailElement } from '@aracna/web-components/elements/navigation/navigation.rail.element';
348
+ import type { NavigationRailElement } from '@aracna/web-components/elements/navigation/navigation.rail.element.js';
349
349
  import type { NavigationRailElementAttributes } from '@aracna/web';
350
350
  import type { NavigationRailElementEventMap } from '@aracna/web';
351
- import type { NavigationRailItemElement } from '@aracna/web-components/elements/navigation/navigation.rail.element';
351
+ import type { NavigationRailItemElement } from '@aracna/web-components/elements/navigation/navigation.rail.element.js';
352
352
  import type { NavigationRailItemElementAttributes } from '@aracna/web';
353
353
  import type { NavigationRailItemElementEventMap } from '@aracna/web';
354
354
  import { PascalCase } from '@aracna/core';
355
- import type { RadioButtonElement } from '@aracna/web-components/elements/input/radio.group.element';
355
+ import type { RadioButtonElement } from '@aracna/web-components/elements/input/radio.group.element.js';
356
356
  import type { RadioButtonElementAttributes } from '@aracna/web';
357
357
  import type { RadioButtonElementEventMap } from '@aracna/web';
358
- import type { RadioGroupElement } from '@aracna/web-components/elements/input/radio.group.element';
358
+ import type { RadioGroupElement } from '@aracna/web-components/elements/input/radio.group.element.js';
359
359
  import type { RadioGroupElementAttributes } from '@aracna/web';
360
360
  import type { RadioGroupElementEventMap } from '@aracna/web';
361
361
  import { ReactElement } from 'react';
362
362
  import type { RefAttributes } from 'react';
363
- import type { SelectButtonElement } from '@aracna/web-components/elements/input/select.element';
363
+ import type { SelectButtonElement } from '@aracna/web-components/elements/input/select.element.js';
364
364
  import type { SelectButtonElementAttributes } from '@aracna/web';
365
365
  import type { SelectButtonElementEventMap } from '@aracna/web';
366
- import type { SelectElement } from '@aracna/web-components/elements/input/select.element';
366
+ import type { SelectElement } from '@aracna/web-components/elements/input/select.element.js';
367
367
  import type { SelectElementAttributes } from '@aracna/web';
368
368
  import type { SelectElementEventMap } from '@aracna/web';
369
- import type { SelectGroupElement } from '@aracna/web-components/elements/input/select.element';
369
+ import type { SelectGroupElement } from '@aracna/web-components/elements/input/select.element.js';
370
370
  import type { SelectGroupElementAttributes } from '@aracna/web';
371
371
  import type { SelectGroupElementEventMap } from '@aracna/web';
372
- import type { SelectInputElement } from '@aracna/web-components/elements/input/select.element';
372
+ import type { SelectInputElement } from '@aracna/web-components/elements/input/select.element.js';
373
373
  import type { SelectInputElementAttributes } from '@aracna/web';
374
374
  import type { SelectInputElementEventMap } from '@aracna/web';
375
- import type { SelectListElement } from '@aracna/web-components/elements/input/select.element';
375
+ import type { SelectListElement } from '@aracna/web-components/elements/input/select.element.js';
376
376
  import type { SelectListElementAttributes } from '@aracna/web';
377
377
  import type { SelectListElementEventMap } from '@aracna/web';
378
- import type { SelectOptionElement } from '@aracna/web-components/elements/input/select.element';
378
+ import type { SelectOptionElement } from '@aracna/web-components/elements/input/select.element.js';
379
379
  import type { SelectOptionElementAttributes } from '@aracna/web';
380
380
  import type { SelectOptionElementEventMap } from '@aracna/web';
381
- import type { SliderElement } from '@aracna/web-components/elements/input/slider.element';
381
+ import type { SliderElement } from '@aracna/web-components/elements/input/slider.element.js';
382
382
  import type { SliderElementAttributes } from '@aracna/web';
383
383
  import type { SliderElementEventMap } from '@aracna/web';
384
- import type { SliderThumbElement } from '@aracna/web-components/elements/input/slider.element';
384
+ import type { SliderThumbElement } from '@aracna/web-components/elements/input/slider.element.js';
385
385
  import type { SliderThumbElementAttributes } from '@aracna/web';
386
386
  import type { SliderThumbElementEventMap } from '@aracna/web';
387
- import type { SwitchElement } from '@aracna/web-components/elements/input/switch.element';
387
+ import type { SwitchElement } from '@aracna/web-components/elements/input/switch.element.js';
388
388
  import type { SwitchElementAttributes } from '@aracna/web';
389
389
  import type { SwitchElementEventMap } from '@aracna/web';
390
- import type { TabsElement } from '@aracna/web-components/elements/navigation/tabs.element';
390
+ import type { TabsElement } from '@aracna/web-components/elements/navigation/tabs.element.js';
391
391
  import type { TabsElementAttributes } from '@aracna/web';
392
392
  import type { TabsElementEventMap } from '@aracna/web';
393
- import type { TabsPanelElement } from '@aracna/web-components/elements/navigation/tabs.element';
393
+ import type { TabsPanelElement } from '@aracna/web-components/elements/navigation/tabs.element.js';
394
394
  import type { TabsPanelElementAttributes } from '@aracna/web';
395
395
  import type { TabsPanelElementEventMap } from '@aracna/web';
396
- import type { TabsTabElement } from '@aracna/web-components/elements/navigation/tabs.element';
396
+ import type { TabsTabElement } from '@aracna/web-components/elements/navigation/tabs.element.js';
397
397
  import type { TabsTabElementAttributes } from '@aracna/web';
398
398
  import type { TabsTabElementEventMap } from '@aracna/web';
399
- import type { TextAreaElement } from '@aracna/web-components/elements/input/text.area.element';
399
+ import type { TextAreaElement } from '@aracna/web-components/elements/input/text.area.element.js';
400
400
  import type { TextAreaElementAttributes } from '@aracna/web';
401
401
  import type { TextAreaElementEventMap } from '@aracna/web';
402
- import type { TooltipArrowElement } from '@aracna/web-components/elements/data/tooltip.element';
402
+ import type { TooltipArrowElement } from '@aracna/web-components/elements/data/tooltip.element.js';
403
403
  import type { TooltipArrowElementAttributes } from '@aracna/web';
404
404
  import type { TooltipArrowElementEventMap } from '@aracna/web';
405
- import type { TooltipContentElement } from '@aracna/web-components/elements/data/tooltip.element';
405
+ import type { TooltipContentElement } from '@aracna/web-components/elements/data/tooltip.element.js';
406
406
  import type { TooltipContentElementAttributes } from '@aracna/web';
407
407
  import type { TooltipContentElementEventMap } from '@aracna/web';
408
- import type { TooltipElement } from '@aracna/web-components/elements/data/tooltip.element';
408
+ import type { TooltipElement } from '@aracna/web-components/elements/data/tooltip.element.js';
409
409
  import type { TooltipElementAttributes } from '@aracna/web';
410
410
  import type { TooltipElementEventMap } from '@aracna/web';
411
- import type { TooltipTriggerElement } from '@aracna/web-components/elements/data/tooltip.element';
411
+ import type { TooltipTriggerElement } from '@aracna/web-components/elements/data/tooltip.element.js';
412
412
  import type { TooltipTriggerElementAttributes } from '@aracna/web';
413
413
  import type { TooltipTriggerElementEventMap } from '@aracna/web';
414
414
 
package/index.iife.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var AracnaReact=(()=>{var ye=Object.create;var g=Object.defineProperty;var _e=Object.getOwnPropertyDescriptor;var Te=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,be=Object.prototype.hasOwnProperty;var ge=(e,t,n)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var x=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var B=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Oe=(e,t)=>{for(var n in t)g(e,n,{get:t[n],enumerable:!0})},V=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Te(t))!be.call(e,s)&&s!==n&&g(e,s,{get:()=>t[s],enumerable:!(r=_e(t,s))||r.enumerable});return e};var d=(e,t,n)=>(n=e!=null?ye(Re(e)):{},V(t||!e||!e.__esModule?g(n,"default",{value:e,enumerable:!0}):n,e)),ve=e=>V(g({},"__esModule",{value:!0}),e);var $=(e,t,n)=>(ge(e,typeof t!="symbol"?t+"":t,n),n);var le=B(i=>{"use strict";var v=Symbol.for("react.element"),Le=Symbol.for("react.portal"),Pe=Symbol.for("react.fragment"),Ne=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),xe=Symbol.for("react.context"),De=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),Fe=Symbol.for("react.memo"),Ke=Symbol.for("react.lazy"),Z=Symbol.iterator;function Ue(e){return e===null||typeof e!="object"?null:(e=Z&&e[Z]||e["@@iterator"],typeof e=="function"?e:null)}var ne={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},re=Object.assign,oe={};function R(e,t,n){this.props=e,this.context=t,this.refs=oe,this.updater=n||ne}R.prototype.isReactComponent={};R.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};R.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function se(){}se.prototype=R.prototype;function K(e,t,n){this.props=e,this.context=t,this.refs=oe,this.updater=n||ne}var U=K.prototype=new se;U.constructor=K;re(U,R.prototype);U.isPureReactComponent=!0;var ee=Array.isArray,ie=Object.prototype.hasOwnProperty,j={current:null},ae={key:!0,ref:!0,__self:!0,__source:!0};function ue(e,t,n){var r,s={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)ie.call(t,r)&&!ae.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var u=Array(a),f=0;f<a;f++)u[f]=arguments[f+2];s.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:v,type:e,key:o,ref:l,props:s,_owner:j.current}}function je(e,t){return{$$typeof:v,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function k(e){return typeof e=="object"&&e!==null&&e.$$typeof===v}function ke(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var te=/\/+/g;function F(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ke(""+e.key):t.toString(36)}function P(e,t,n,r,s){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case v:case Le:l=!0}}if(l)return l=e,s=s(l),e=r===""?"."+F(l,0):r,ee(s)?(n="",e!=null&&(n=e.replace(te,"$&/")+"/"),P(s,t,n,"",function(f){return f})):s!=null&&(k(s)&&(s=je(s,n+(!s.key||l&&l.key===s.key?"":(""+s.key).replace(te,"$&/")+"/")+e)),t.push(s)),1;if(l=0,r=r===""?".":r+":",ee(e))for(var a=0;a<e.length;a++){o=e[a];var u=r+F(o,a);l+=P(o,t,n,u,s)}else if(u=Ue(e),typeof u=="function")for(e=u.call(e),a=0;!(o=e.next()).done;)o=o.value,u=r+F(o,a++),l+=P(o,t,n,u,s);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function L(e,t,n){if(e==null)return e;var r=[],s=0;return P(e,r,"","",function(o){return t.call(n,o,s++)}),r}function Ie(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var c={current:null},N={transition:null},He={ReactCurrentDispatcher:c,ReactCurrentBatchConfig:N,ReactCurrentOwner:j};i.Children={map:L,forEach:function(e,t,n){L(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return L(e,function(){t++}),t},toArray:function(e){return L(e,function(t){return t})||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};i.Component=R;i.Fragment=Pe;i.Profiler=Me;i.PureComponent=K;i.StrictMode=Ne;i.Suspense=we;i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=He;i.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=re({},e.props),s=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=j.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)ie.call(t,u)&&!ae.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var f=0;f<u;f++)a[f]=arguments[f+2];r.children=a}return{$$typeof:v,type:e.type,key:s,ref:o,props:r,_owner:l}};i.createContext=function(e){return e={$$typeof:xe,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:he,_context:e},e.Consumer=e};i.createElement=ue;i.createFactory=function(e){var t=ue.bind(null,e);return t.type=e,t};i.createRef=function(){return{current:null}};i.forwardRef=function(e){return{$$typeof:De,render:e}};i.isValidElement=k;i.lazy=function(e){return{$$typeof:Ke,_payload:{_status:-1,_result:e},_init:Ie}};i.memo=function(e,t){return{$$typeof:Fe,type:e,compare:t===void 0?null:t}};i.startTransition=function(e){var t=N.transition;N.transition={};try{e()}finally{N.transition=t}};i.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};i.useCallback=function(e,t){return c.current.useCallback(e,t)};i.useContext=function(e){return c.current.useContext(e)};i.useDebugValue=function(){};i.useDeferredValue=function(e){return c.current.useDeferredValue(e)};i.useEffect=function(e,t){return c.current.useEffect(e,t)};i.useId=function(){return c.current.useId()};i.useImperativeHandle=function(e,t,n){return c.current.useImperativeHandle(e,t,n)};i.useInsertionEffect=function(e,t){return c.current.useInsertionEffect(e,t)};i.useLayoutEffect=function(e,t){return c.current.useLayoutEffect(e,t)};i.useMemo=function(e,t){return c.current.useMemo(e,t)};i.useReducer=function(e,t,n){return c.current.useReducer(e,t,n)};i.useRef=function(e){return c.current.useRef(e)};i.useState=function(e){return c.current.useState(e)};i.useSyncExternalStore=function(e,t,n){return c.current.useSyncExternalStore(e,t,n)};i.useTransition=function(){return c.current.useTransition()};i.version="18.2.0"});var m=B((gt,ce)=>{"use strict";ce.exports=le()});var Qe={};Oe(Qe,{ComponentLifeCycle:()=>X,createBaseElementComponent:()=>y,createElementComponent:()=>I,createFloatingElementComponent:()=>Ge,createFocusTrapElementComponent:()=>Be,createFormFieldElementComponent:()=>Ve,forwardRef:()=>$e,useComponent:()=>Xe,useDispatch:()=>We,useEventListener:()=>M,useLifeCycle:()=>H,useSafeRef:()=>qe,useWindowEventListener:()=>Je});var X=(r=>(r.CONSTRUCTED="CONSTRUCTED",r.MOUNTED="MOUNTED",r.UNMOUNTED="UNMOUNTED",r))(X||{});function O(...e){}var W=()=>({tc:{log:!0,onCatch:O},tcp:{log:!0,onCatch:O}});var Se="abcdefghijklmnopqrstuvwxyz";var D="0123456789",Ae="ABCDEFGHIJKLMNOPQRSTUVWXYZ",tt=D+Se+Ae,nt=D+"abcdef",rt=D+"ABCDEF";var w=/([^.])\[/g,A=/[\[\]]/g;var q=/[^a-zA-Z]/g;var _=class{};$(_,"module",W());function T(e,t=_.module.tc.log){try{return e()}catch(n){return t&&console.error(n),_.module.tc.onCatch(n,t),n}}var C=class{static get(t){let n;return n=T(()=>process.env[t],!1),n instanceof Error?"":n||""}static has(t){let n;return n=T(()=>process.env[t],!1),!(n instanceof Error||typeof n>"u")}static get import(){return new Function("path","return import(path)")}static get require(){return typeof __webpack_require__=="function"?__non_webpack_require__:typeof x=="function"?x:O}static get isBlobDefined(){return typeof Blob<"u"}static get isBlobNotDefined(){return typeof Blob>"u"}static get isDevelopment(){return this.NODE_ENV==="development"}static get isNotDevelopment(){return this.NODE_ENV!=="development"}static get isDocumentDefined(){return typeof document<"u"}static get isDocumentNotDefined(){return typeof document>"u"}static get isFetchDefined(){return typeof fetch<"u"}static get isFetchNotDefined(){return typeof fetch>"u"}static get isFileDefined(){return typeof File<"u"}static get isFileNotDefined(){return typeof File>"u"}static get isFormDataDefined(){return typeof FormData<"u"}static get isFormDataNotDefined(){return typeof FormData>"u"}static get isJest(){return typeof T(()=>process.env.JEST_WORKER_ID,!1)=="string"}static get isNotJest(){return typeof T(()=>process.env.JEST_WORKER_ID,!1)!="string"}static get isProduction(){return this.NODE_ENV==="production"}static get isNotProduction(){return this.NODE_ENV!=="production"}static get isTest(){return this.NODE_ENV==="test"}static get isNotTest(){return this.NODE_ENV!=="test"}static get isProcessDefined(){return typeof process<"u"}static get isProcessNotDefined(){return typeof process>"u"}static get isWindowDefined(){return typeof window<"u"}static get isWindowNotDefined(){return typeof window>"u"}static get NODE_ENV(){let t;return t=T(()=>"production",!1),t instanceof Error?"":t||""}};function Ce(e,t=!1){return e.charAt(0).toUpperCase()+(t?e.slice(1).toLowerCase():e.slice(1))}function J(e){let t,n;t="",n=!1;for(let r of e){if(q.test(r)){n=!0;continue}if(n){t+=r.toUpperCase(),n=!1;continue}t+=r}return Ce(t)}function Q(e,t,n){switch(typeof t){case"number":case"symbol":return e[t];case"string":if(t.includes(".")){let r,s,o;return r=t.replace(w,"$1.[").split("."),s=r[r.length-1].replace(A,""),o=z(e,r),o instanceof Error?n:o[s]}return t in e?e[t]:n}}function z(e,t,n=!1){let r=e;for(let s=0;s<t.length;s++){let o;if(!(s>=t.length-1))switch(o=t[s],o=o.replace(A,""),typeof r[o]){case"object":if(r[o]===null)return new Error("The target value is null.");r=r[o];continue;case"undefined":if(n){r[o]=t[s+1].includes("[")?[]:{},r=r[o];continue}return new Error("The target type is undefined.");default:return new Error("The target type is nor undefined nor object.")}}return r}function Y(e,t,n){switch(typeof t){case"number":case"symbol":e[t]=n;break;case"string":if(t.includes(".")){let r,s,o;if(r=t.replace(w,"$1.[").split("."),o=r[r.length-1].replace(A,""),s=z(e,r,!0),s instanceof Error)return s;s[o]=n;break}e[t]=n;break}}var p=d(m());function I(e,t,n){return(0,p.forwardRef)((r,s)=>{r={...r};for(let E in r)r[E]===!1&&delete r[E],r[E]===!0&&(r[E]="");r.className&&(Y(r,"class",r.className),delete r.className);let o=s??(0,p.createRef)(),l=(0,p.createElement)(e,{...r,ref:o,suppressHydrationWarning:!0}),[a]=(0,p.useState)(new Map),u=()=>{if(!(typeof o!="object"||!o?.current||!n))for(let E of n){let G,S;G="on"+J(String(E)),S=Q(r,G),typeof S=="function"&&(o.current.addEventListener(String(E),S),a.set(String(E),S))}},f=()=>{if(!(typeof o!="object"||!o?.current))for(let E of a)o.current.removeEventListener(...E),a.delete(E[0])};return(0,p.useEffect)(()=>(f(),u(),f),[r]),l})}function y(e,t,n=[]){return I(e,t,["attribute-change","state-change",...n])}function Ge(e,t,n){return y(e,t,n)}function Be(e,t,n=[]){return y(e,t,["focus-trap-activate","focus-trap-deactivate","focus-trap-post-activate","focus-trap-post-deactivate",...n])}function Ve(e,t,n){return y(e,t,n)}var fe=d(m());function $e(...e){return(0,fe.forwardRef)(e[0])}var b=d(m());var Ee=d(m());function M(e,t,n,r=[]){(0,Ee.useEffect)(()=>(e.current?.addEventListener(t,n),()=>e.current?.removeEventListener(t,n)),r)}function Xe(e){let t=(0,b.useRef)(null),[,n]=(0,b.useReducer)(()=>({}),{}),r=o=>{e?.attribute?.dispatch===!0&&o.detail&&(e.attribute.blacklist&&e.attribute.blacklist.includes(o.detail.name)||e.attribute.whitelist&&!e.attribute.whitelist.includes(o.detail.name)||n())},s=o=>{e?.state?.dispatch===!0&&o.detail&&(e.state.blacklist&&e.state.blacklist.includes(o.detail.name)||e.state.whitelist&&!e.state.whitelist.includes(o.detail.name)||n())};return M(t,"attribute-changed",r,[t.current]),M(t,"state-changed",s,[t.current]),(0,b.useEffect)(()=>n(),[t.current]),{element:t.current,ref:t}}var pe=d(m());var h=d(m());function H(){let e=(0,h.useRef)("CONSTRUCTED");return(0,h.useEffect)(()=>(e.current="MOUNTED",()=>{e.current="UNMOUNTED"})),e}function We(e){let t=H(),n=(0,pe.useReducer)(()=>({}),{});return()=>{switch(t.current){case"CONSTRUCTED":case"UNMOUNTED":break;case"MOUNTED":n[1](),e&&e();break}}}var me=d(m());function qe(e,t){return(0,me.useRef)(C.isWindowDefined?document.createElement(e,t):{current:{}})}var de=d(m());function Je(e,t,n=[]){(0,de.useEffect)(()=>(window.addEventListener(e,t),()=>window.removeEventListener(e,t)),n)}return ve(Qe);})();
1
+ "use strict";var AracnaReact=(()=>{var ye=Object.create;var g=Object.defineProperty;var _e=Object.getOwnPropertyDescriptor;var Te=Object.getOwnPropertyNames;var Re=Object.getPrototypeOf,be=Object.prototype.hasOwnProperty;var ge=(e,t,n)=>t in e?g(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var x=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')});var B=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Oe=(e,t)=>{for(var n in t)g(e,n,{get:t[n],enumerable:!0})},V=(e,t,n,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Te(t))!be.call(e,s)&&s!==n&&g(e,s,{get:()=>t[s],enumerable:!(r=_e(t,s))||r.enumerable});return e};var d=(e,t,n)=>(n=e!=null?ye(Re(e)):{},V(t||!e||!e.__esModule?g(n,"default",{value:e,enumerable:!0}):n,e)),ve=e=>V(g({},"__esModule",{value:!0}),e);var $=(e,t,n)=>(ge(e,typeof t!="symbol"?t+"":t,n),n);var le=B(i=>{"use strict";var v=Symbol.for("react.element"),Le=Symbol.for("react.portal"),Pe=Symbol.for("react.fragment"),Ne=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),he=Symbol.for("react.provider"),xe=Symbol.for("react.context"),De=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),Fe=Symbol.for("react.memo"),Ke=Symbol.for("react.lazy"),Z=Symbol.iterator;function Ue(e){return e===null||typeof e!="object"?null:(e=Z&&e[Z]||e["@@iterator"],typeof e=="function"?e:null)}var ne={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},re=Object.assign,oe={};function R(e,t,n){this.props=e,this.context=t,this.refs=oe,this.updater=n||ne}R.prototype.isReactComponent={};R.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};R.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function se(){}se.prototype=R.prototype;function K(e,t,n){this.props=e,this.context=t,this.refs=oe,this.updater=n||ne}var U=K.prototype=new se;U.constructor=K;re(U,R.prototype);U.isPureReactComponent=!0;var ee=Array.isArray,ie=Object.prototype.hasOwnProperty,j={current:null},ae={key:!0,ref:!0,__self:!0,__source:!0};function ue(e,t,n){var r,s={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)ie.call(t,r)&&!ae.hasOwnProperty(r)&&(s[r]=t[r]);var a=arguments.length-2;if(a===1)s.children=n;else if(1<a){for(var u=Array(a),f=0;f<a;f++)u[f]=arguments[f+2];s.children=u}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)s[r]===void 0&&(s[r]=a[r]);return{$$typeof:v,type:e,key:o,ref:l,props:s,_owner:j.current}}function je(e,t){return{$$typeof:v,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function k(e){return typeof e=="object"&&e!==null&&e.$$typeof===v}function ke(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var te=/\/+/g;function F(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ke(""+e.key):t.toString(36)}function P(e,t,n,r,s){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case v:case Le:l=!0}}if(l)return l=e,s=s(l),e=r===""?"."+F(l,0):r,ee(s)?(n="",e!=null&&(n=e.replace(te,"$&/")+"/"),P(s,t,n,"",function(f){return f})):s!=null&&(k(s)&&(s=je(s,n+(!s.key||l&&l.key===s.key?"":(""+s.key).replace(te,"$&/")+"/")+e)),t.push(s)),1;if(l=0,r=r===""?".":r+":",ee(e))for(var a=0;a<e.length;a++){o=e[a];var u=r+F(o,a);l+=P(o,t,n,u,s)}else if(u=Ue(e),typeof u=="function")for(e=u.call(e),a=0;!(o=e.next()).done;)o=o.value,u=r+F(o,a++),l+=P(o,t,n,u,s);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function L(e,t,n){if(e==null)return e;var r=[],s=0;return P(e,r,"","",function(o){return t.call(n,o,s++)}),r}function Ie(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var c={current:null},N={transition:null},He={ReactCurrentDispatcher:c,ReactCurrentBatchConfig:N,ReactCurrentOwner:j};i.Children={map:L,forEach:function(e,t,n){L(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return L(e,function(){t++}),t},toArray:function(e){return L(e,function(t){return t})||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};i.Component=R;i.Fragment=Pe;i.Profiler=Me;i.PureComponent=K;i.StrictMode=Ne;i.Suspense=we;i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=He;i.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=re({},e.props),s=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=j.current),t.key!==void 0&&(s=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(u in t)ie.call(t,u)&&!ae.hasOwnProperty(u)&&(r[u]=t[u]===void 0&&a!==void 0?a[u]:t[u])}var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){a=Array(u);for(var f=0;f<u;f++)a[f]=arguments[f+2];r.children=a}return{$$typeof:v,type:e.type,key:s,ref:o,props:r,_owner:l}};i.createContext=function(e){return e={$$typeof:xe,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:he,_context:e},e.Consumer=e};i.createElement=ue;i.createFactory=function(e){var t=ue.bind(null,e);return t.type=e,t};i.createRef=function(){return{current:null}};i.forwardRef=function(e){return{$$typeof:De,render:e}};i.isValidElement=k;i.lazy=function(e){return{$$typeof:Ke,_payload:{_status:-1,_result:e},_init:Ie}};i.memo=function(e,t){return{$$typeof:Fe,type:e,compare:t===void 0?null:t}};i.startTransition=function(e){var t=N.transition;N.transition={};try{e()}finally{N.transition=t}};i.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")};i.useCallback=function(e,t){return c.current.useCallback(e,t)};i.useContext=function(e){return c.current.useContext(e)};i.useDebugValue=function(){};i.useDeferredValue=function(e){return c.current.useDeferredValue(e)};i.useEffect=function(e,t){return c.current.useEffect(e,t)};i.useId=function(){return c.current.useId()};i.useImperativeHandle=function(e,t,n){return c.current.useImperativeHandle(e,t,n)};i.useInsertionEffect=function(e,t){return c.current.useInsertionEffect(e,t)};i.useLayoutEffect=function(e,t){return c.current.useLayoutEffect(e,t)};i.useMemo=function(e,t){return c.current.useMemo(e,t)};i.useReducer=function(e,t,n){return c.current.useReducer(e,t,n)};i.useRef=function(e){return c.current.useRef(e)};i.useState=function(e){return c.current.useState(e)};i.useSyncExternalStore=function(e,t,n){return c.current.useSyncExternalStore(e,t,n)};i.useTransition=function(){return c.current.useTransition()};i.version="18.2.0"});var m=B((gt,ce)=>{"use strict";ce.exports=le()});var Qe={};Oe(Qe,{ComponentLifeCycle:()=>X,createBaseElementComponent:()=>y,createElementComponent:()=>I,createFloatingElementComponent:()=>Ge,createFocusTrapElementComponent:()=>Be,createFormFieldElementComponent:()=>Ve,forwardRef:()=>$e,useComponent:()=>Xe,useDispatch:()=>We,useEventListener:()=>M,useLifeCycle:()=>H,useSafeRef:()=>qe,useWindowEventListener:()=>Je});var X=(r=>(r.CONSTRUCTED="CONSTRUCTED",r.MOUNTED="MOUNTED",r.UNMOUNTED="UNMOUNTED",r))(X||{});function O(...e){}var W=()=>({tc:{log:!0,onCatch:O},tcp:{log:!0,onCatch:O}});var Se="abcdefghijklmnopqrstuvwxyz";var D="0123456789",Ae="ABCDEFGHIJKLMNOPQRSTUVWXYZ",tt=D+Se+Ae,nt=D+"abcdef",rt=D+"ABCDEF";var w=/([^.])\[/g,A=/[\[\]]/g;var q=/[^a-zA-Z]/g;var _=class{};$(_,"module",W());function T(e,t=_.module.tc.log){try{return e()}catch(n){return t&&console.error(n),_.module.tc.onCatch(n,t),n}}var C=class{static get(t){let n;return n=T(()=>process.env[t],!1),n instanceof Error?"":n||""}static has(t){let n;return n=T(()=>process.env[t],!1),!(n instanceof Error||typeof n>"u")}static get import(){return new Function("path","return import(path)")}static get require(){return typeof __webpack_require__=="function"?__non_webpack_require__:typeof x=="function"?x:O}static get isBlobDefined(){return typeof Blob<"u"}static get isBlobNotDefined(){return typeof Blob>"u"}static get isDevelopment(){return this.NODE_ENV==="development"}static get isNotDevelopment(){return this.NODE_ENV!=="development"}static get isDocumentDefined(){return typeof document<"u"}static get isDocumentNotDefined(){return typeof document>"u"}static get isFetchDefined(){return typeof fetch<"u"}static get isFetchNotDefined(){return typeof fetch>"u"}static get isFileDefined(){return typeof File<"u"}static get isFileNotDefined(){return typeof File>"u"}static get isFormDataDefined(){return typeof FormData<"u"}static get isFormDataNotDefined(){return typeof FormData>"u"}static get isJest(){return typeof T(()=>process.env.JEST_WORKER_ID,!1)=="string"}static get isNotJest(){return typeof T(()=>process.env.JEST_WORKER_ID,!1)!="string"}static get isProduction(){return this.NODE_ENV==="production"}static get isNotProduction(){return this.NODE_ENV!=="production"}static get isTest(){return this.NODE_ENV==="test"}static get isNotTest(){return this.NODE_ENV!=="test"}static get isProcessDefined(){return typeof process<"u"}static get isProcessNotDefined(){return typeof process>"u"}static get isWindowDefined(){return typeof window<"u"}static get isWindowNotDefined(){return typeof window>"u"}static get NODE_ENV(){let t;return t=T(()=>"production",!1),t instanceof Error?"":t||""}};function Ce(e,t=!1){return e.charAt(0).toUpperCase()+(t?e.slice(1).toLowerCase():e.slice(1))}function J(e){let t,n;t="",n=!1;for(let r of e){if(q.test(r)){n=!0;continue}if(n){t+=r.toUpperCase(),n=!1;continue}t+=r}return Ce(t)}function Q(e,t,n){switch(typeof t){case"number":case"symbol":return e[t];case"string":if(t.includes(".")){let r,s,o;return r=t.replace(w,"$1.[").split("."),s=r[r.length-1].replace(A,""),o=z(e,r),o instanceof Error?n:o[s]}return t in e?e[t]:n}}function z(e,t,n=!1){let r=e;for(let s=0;s<t.length;s++){let o;if(!(s>=t.length-1))switch(o=t[s],o=o.replace(A,""),typeof r[o]){case"object":if(r[o]===null)return new Error("The target value is null.");r=r[o];continue;case"undefined":if(n){r[o]=t[s+1].includes("[")?[]:{},r=r[o];continue}return new Error("The target type is undefined.");default:return new Error("The target type is nor undefined nor object.")}}return r}function Y(e,t,n){switch(typeof t){case"number":case"symbol":e[t]=n;break;case"string":if(t.includes(".")){let r,s,o;if(r=t.replace(w,"$1.[").split("."),o=r[r.length-1].replace(A,""),s=z(e,r,!0),s instanceof Error)return s;s[o]=n;break}e[t]=n;break}}var p=d(m(),1);function I(e,t,n){return(0,p.forwardRef)((r,s)=>{r={...r};for(let E in r)r[E]===!1&&delete r[E],r[E]===!0&&(r[E]="");r.className&&(Y(r,"class",r.className),delete r.className);let o=s??(0,p.createRef)(),l=(0,p.createElement)(e,{...r,ref:o,suppressHydrationWarning:!0}),[a]=(0,p.useState)(new Map),u=()=>{if(!(typeof o!="object"||!o?.current||!n))for(let E of n){let G,S;G="on"+J(String(E)),S=Q(r,G),typeof S=="function"&&(o.current.addEventListener(String(E),S),a.set(String(E),S))}},f=()=>{if(!(typeof o!="object"||!o?.current))for(let E of a)o.current.removeEventListener(...E),a.delete(E[0])};return(0,p.useEffect)(()=>(f(),u(),f),[r]),l})}function y(e,t,n=[]){return I(e,t,["attribute-change","state-change",...n])}function Ge(e,t,n){return y(e,t,n)}function Be(e,t,n=[]){return y(e,t,["focus-trap-activate","focus-trap-deactivate","focus-trap-post-activate","focus-trap-post-deactivate",...n])}function Ve(e,t,n){return y(e,t,n)}var fe=d(m(),1);function $e(...e){return(0,fe.forwardRef)(e[0])}var b=d(m(),1);var Ee=d(m(),1);function M(e,t,n,r=[]){(0,Ee.useEffect)(()=>(e.current?.addEventListener(t,n),()=>e.current?.removeEventListener(t,n)),r)}function Xe(e){let t=(0,b.useRef)(null),[,n]=(0,b.useReducer)(()=>({}),{}),r=o=>{e?.attribute?.dispatch===!0&&o.detail&&(e.attribute.blacklist&&e.attribute.blacklist.includes(o.detail.name)||e.attribute.whitelist&&!e.attribute.whitelist.includes(o.detail.name)||n())},s=o=>{e?.state?.dispatch===!0&&o.detail&&(e.state.blacklist&&e.state.blacklist.includes(o.detail.name)||e.state.whitelist&&!e.state.whitelist.includes(o.detail.name)||n())};return M(t,"attribute-changed",r,[t.current]),M(t,"state-changed",s,[t.current]),(0,b.useEffect)(()=>n(),[t.current]),{element:t.current,ref:t}}var pe=d(m(),1);var h=d(m(),1);function H(){let e=(0,h.useRef)("CONSTRUCTED");return(0,h.useEffect)(()=>(e.current="MOUNTED",()=>{e.current="UNMOUNTED"})),e}function We(e){let t=H(),n=(0,pe.useReducer)(()=>({}),{});return()=>{switch(t.current){case"CONSTRUCTED":case"UNMOUNTED":break;case"MOUNTED":n[1](),e&&e();break}}}var me=d(m(),1);function qe(e,t){return(0,me.useRef)(C.isWindowDefined?document.createElement(e,t):{current:{}})}var de=d(m(),1);function Je(e,t,n=[]){(0,de.useEffect)(()=>(window.addEventListener(e,t),()=>window.removeEventListener(e,t)),n)}return ve(Qe);})();
2
2
  /*! Bundled license information:
3
3
 
4
4
  react/cjs/react.production.min.js:
package/index.js ADDED
@@ -0,0 +1 @@
1
+ export*from"./definitions/enums.js";export*from"./functions/create.base.element.component.js";export*from"./functions/create.element.component.js";export*from"./functions/create.floating.element.component.js";export*from"./functions/create.focus.trap.element.component.js";export*from"./functions/create.form.field.element.component.js";export*from"./functions/forward.ref.js";export*from"./hooks/use.aracna.element.js";export*from"./hooks/use.dispatch.js";export*from"./hooks/use.event.listener.js";export*from"./hooks/use.life.cycle.js";export*from"./hooks/use.safe.ref.js";export*from"./hooks/use.window.event.listener.js";
package/package.json CHANGED
@@ -22,6 +22,13 @@
22
22
  "typescript": "latest",
23
23
  "vitest": "latest"
24
24
  },
25
+ "exports": {
26
+ "import": "./index.js",
27
+ "require": {
28
+ "default": "./index.cjs",
29
+ "types": "./index.d.ts"
30
+ }
31
+ },
25
32
  "license": "MIT",
26
33
  "main": "index.cjs",
27
34
  "module": "index.js",
@@ -44,5 +51,6 @@
44
51
  "deploy": "yarn test && yarn build && yarn tarball && yarn publish dist/*.tgz"
45
52
  },
46
53
  "sideEffects": false,
47
- "version": "1.0.14"
54
+ "type": "module",
55
+ "version": "1.0.16"
48
56
  }
@@ -1 +0,0 @@
1
- import{createElementComponent as m}from"./create.element.component";function f(e,t,n=[]){return m(e,t,["attribute-change","state-change",...n])}export{f as createBaseElementComponent};
@@ -1 +0,0 @@
1
- import{createBaseElementComponent as m}from"./create.base.element.component";function f(e,t,n){return m(e,t,n)}export{f as createFloatingElementComponent};
@@ -1 +0,0 @@
1
- import{createBaseElementComponent as o}from"./create.base.element.component";function i(e,t,n=[]){return o(e,t,["focus-trap-activate","focus-trap-deactivate","focus-trap-post-activate","focus-trap-post-deactivate",...n])}export{i as createFocusTrapElementComponent};
@@ -1 +0,0 @@
1
- import{createBaseElementComponent as m}from"./create.base.element.component";function d(e,t,n){return m(e,t,n)}export{d as createFormFieldElementComponent};
@@ -1 +0,0 @@
1
- import{useEffect as u,useReducer as s,useRef as c}from"react";import{useEventListener as n}from"./use.event.listener";function m(t){const e=c(null),[,r]=s(()=>({}),{}),i=a=>{t?.attribute?.dispatch===!0&&a.detail&&(t.attribute.blacklist&&t.attribute.blacklist.includes(a.detail.name)||t.attribute.whitelist&&!t.attribute.whitelist.includes(a.detail.name)||r())},l=a=>{t?.state?.dispatch===!0&&a.detail&&(t.state.blacklist&&t.state.blacklist.includes(a.detail.name)||t.state.whitelist&&!t.state.whitelist.includes(a.detail.name)||r())};return n(e,"attribute-changed",i,[e.current]),n(e,"state-changed",l,[e.current]),u(()=>r(),[e.current]),{element:e.current,ref:e}}export{m as useComponent};
@@ -1 +0,0 @@
1
- import{useReducer as o}from"react";import{ComponentLifeCycle as e}from"../definitions/enums";import{useLifeCycle as s}from"./use.life.cycle";function f(r){const c=s(),t=o(()=>({}),{});return()=>{switch(c.current){case e.CONSTRUCTED:case e.UNMOUNTED:break;case e.MOUNTED:t[1](),r&&r();break}}}export{f as useDispatch};
@@ -1 +0,0 @@
1
- import{useEffect as n,useRef as o}from"react";import{ComponentLifeCycle as t}from"../definitions/enums";function u(){const e=o(t.CONSTRUCTED);return n(()=>(e.current=t.MOUNTED,()=>{e.current=t.UNMOUNTED})),e}export{u as useLifeCycle};
package/index.mjs DELETED
@@ -1 +0,0 @@
1
- export*from"./definitions/enums";export*from"./functions/create.base.element.component";export*from"./functions/create.element.component";export*from"./functions/create.floating.element.component";export*from"./functions/create.focus.trap.element.component";export*from"./functions/create.form.field.element.component";export*from"./functions/forward.ref";export*from"./hooks/use.aracna.element";export*from"./hooks/use.dispatch";export*from"./hooks/use.event.listener";export*from"./hooks/use.life.cycle";export*from"./hooks/use.safe.ref";export*from"./hooks/use.window.event.listener";
File without changes
File without changes
File without changes
File without changes
File without changes