wj-elements 0.7.6 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (234) hide show
  1. package/dist/animations.js +28 -51
  2. package/dist/animations.js.map +1 -1
  3. package/dist/base-path.js +19 -31
  4. package/dist/base-path.js.map +1 -1
  5. package/dist/custom-elements.json +9053 -9048
  6. package/dist/dark.css +1 -302
  7. package/dist/date.js +16 -36
  8. package/dist/date.js.map +1 -1
  9. package/dist/element-utils.js +20 -81
  10. package/dist/element-utils.js.map +1 -1
  11. package/dist/event.js +49 -165
  12. package/dist/event.js.map +1 -1
  13. package/dist/form-associated-element-BjeJn7j8.js +101 -0
  14. package/dist/{form-associated-element-DEQ4y-jn.js.map → form-associated-element-BjeJn7j8.js.map} +1 -1
  15. package/dist/icon-DmsqtDpL.js +102 -0
  16. package/dist/{icon-CReYMzAK.js.map → icon-DmsqtDpL.js.map} +1 -1
  17. package/dist/light.css +1 -731
  18. package/dist/localize.js +36 -111
  19. package/dist/localize.js.map +1 -1
  20. package/dist/packages/wje-accordion-item/accordion-item.element.d.ts +3 -2
  21. package/dist/packages/wje-img/img.element.d.ts +4 -4
  22. package/dist/permissions.js +14 -41
  23. package/dist/permissions.js.map +1 -1
  24. package/dist/popup.element-CbkhthPP.js +806 -0
  25. package/dist/{popup.element-CwXvVFK7.js.map → popup.element-CbkhthPP.js.map} +1 -1
  26. package/dist/router-links-CNsJ-elb.js +105 -0
  27. package/dist/{router-links-wjqCnncc.js.map → router-links-CNsJ-elb.js.map} +1 -1
  28. package/dist/skeleton.css +1 -197
  29. package/dist/styles.css +1 -866
  30. package/dist/universal-service.js +48 -109
  31. package/dist/universal-service.js.map +1 -1
  32. package/dist/utils.js +11 -18
  33. package/dist/utils.js.map +1 -1
  34. package/dist/web-types.json +698 -698
  35. package/dist/wje-accordion-item.js +33 -106
  36. package/dist/wje-accordion-item.js.map +1 -1
  37. package/dist/wje-accordion.js +19 -84
  38. package/dist/wje-accordion.js.map +1 -1
  39. package/dist/wje-animation.js +37 -4258
  40. package/dist/wje-animation.js.map +1 -1
  41. package/dist/wje-aside.js +9 -34
  42. package/dist/wje-aside.js.map +1 -1
  43. package/dist/wje-avatar.js +36 -126
  44. package/dist/wje-avatar.js.map +1 -1
  45. package/dist/wje-badge.js +10 -52
  46. package/dist/wje-badge.js.map +1 -1
  47. package/dist/wje-breadcrumb.js +205 -668
  48. package/dist/wje-breadcrumb.js.map +1 -1
  49. package/dist/wje-breadcrumbs.js +177 -633
  50. package/dist/wje-breadcrumbs.js.map +1 -1
  51. package/dist/wje-button-group.js +48 -153
  52. package/dist/wje-button-group.js.map +1 -1
  53. package/dist/wje-button.js +92 -413
  54. package/dist/wje-button.js.map +1 -1
  55. package/dist/wje-card-content.js +7 -30
  56. package/dist/wje-card-content.js.map +1 -1
  57. package/dist/wje-card-controls.js +7 -30
  58. package/dist/wje-card-controls.js.map +1 -1
  59. package/dist/wje-card-header.js +7 -30
  60. package/dist/wje-card-header.js.map +1 -1
  61. package/dist/wje-card-subtitle.js +7 -34
  62. package/dist/wje-card-subtitle.js.map +1 -1
  63. package/dist/wje-card-title.js +7 -34
  64. package/dist/wje-card-title.js.map +1 -1
  65. package/dist/wje-card.js +15 -71
  66. package/dist/wje-card.js.map +1 -1
  67. package/dist/wje-carousel-item.js +12 -56
  68. package/dist/wje-carousel-item.js.map +1 -1
  69. package/dist/wje-carousel.js +154 -509
  70. package/dist/wje-carousel.js.map +1 -1
  71. package/dist/wje-checkbox.js +50 -227
  72. package/dist/wje-checkbox.js.map +1 -1
  73. package/dist/wje-chip.js +43 -160
  74. package/dist/wje-chip.js.map +1 -1
  75. package/dist/wje-col.js +7 -20
  76. package/dist/wje-col.js.map +1 -1
  77. package/dist/wje-color-picker.js +445 -1464
  78. package/dist/wje-color-picker.js.map +1 -1
  79. package/dist/wje-container.js +9 -35
  80. package/dist/wje-container.js.map +1 -1
  81. package/dist/wje-copy-button.js +64 -204
  82. package/dist/wje-copy-button.js.map +1 -1
  83. package/dist/wje-dialog.js +85 -553
  84. package/dist/wje-dialog.js.map +1 -1
  85. package/dist/wje-divider.js +7 -34
  86. package/dist/wje-divider.js.map +1 -1
  87. package/dist/wje-dropdown.js +78 -305
  88. package/dist/wje-dropdown.js.map +1 -1
  89. package/dist/wje-element.js +191 -700
  90. package/dist/wje-element.js.map +1 -1
  91. package/dist/wje-file-upload-item.js +51 -156
  92. package/dist/wje-file-upload-item.js.map +1 -1
  93. package/dist/wje-file-upload.js +181 -619
  94. package/dist/wje-file-upload.js.map +1 -1
  95. package/dist/wje-footer.js +7 -31
  96. package/dist/wje-footer.js.map +1 -1
  97. package/dist/wje-form.js +7 -32
  98. package/dist/wje-form.js.map +1 -1
  99. package/dist/wje-format-digital.js +26 -118
  100. package/dist/wje-format-digital.js.map +1 -1
  101. package/dist/wje-grid.js +7 -33
  102. package/dist/wje-grid.js.map +1 -1
  103. package/dist/wje-header.js +9 -35
  104. package/dist/wje-header.js.map +1 -1
  105. package/dist/wje-icon-library.js +12 -18
  106. package/dist/wje-icon-library.js.map +1 -1
  107. package/dist/wje-icon-picker.js +65 -320
  108. package/dist/wje-icon-picker.js.map +1 -1
  109. package/dist/wje-icon.js +1 -1
  110. package/dist/wje-img-comparer.js +37 -114
  111. package/dist/wje-img-comparer.js.map +1 -1
  112. package/dist/wje-img.js +50 -197
  113. package/dist/wje-img.js.map +1 -1
  114. package/dist/wje-infinite-scroll.js +94 -346
  115. package/dist/wje-infinite-scroll.js.map +1 -1
  116. package/dist/wje-input-file.js +23 -84
  117. package/dist/wje-input-file.js.map +1 -1
  118. package/dist/wje-input.js +78 -392
  119. package/dist/wje-input.js.map +1 -1
  120. package/dist/wje-item.js +11 -64
  121. package/dist/wje-item.js.map +1 -1
  122. package/dist/wje-kanban.js +124 -401
  123. package/dist/wje-kanban.js.map +1 -1
  124. package/dist/wje-label.js +9 -32
  125. package/dist/wje-label.js.map +1 -1
  126. package/dist/wje-level-indicator.js +38 -157
  127. package/dist/wje-level-indicator.js.map +1 -1
  128. package/dist/wje-list.js +10 -40
  129. package/dist/wje-list.js.map +1 -1
  130. package/dist/wje-main.js +7 -31
  131. package/dist/wje-main.js.map +1 -1
  132. package/dist/wje-masonry.js +66 -211
  133. package/dist/wje-masonry.js.map +1 -1
  134. package/dist/wje-master.js +45 -161
  135. package/dist/wje-master.js.map +1 -1
  136. package/dist/wje-menu-button.js +10 -38
  137. package/dist/wje-menu-button.js.map +1 -1
  138. package/dist/wje-menu-item.js +127 -577
  139. package/dist/wje-menu-item.js.map +1 -1
  140. package/dist/wje-menu-label.js +9 -35
  141. package/dist/wje-menu-label.js.map +1 -1
  142. package/dist/wje-menu.js +14 -49
  143. package/dist/wje-menu.js.map +1 -1
  144. package/dist/wje-option.js +48 -279
  145. package/dist/wje-option.js.map +1 -1
  146. package/dist/wje-options.js +130 -384
  147. package/dist/wje-options.js.map +1 -1
  148. package/dist/wje-orgchart-group.js +16 -52
  149. package/dist/wje-orgchart-group.js.map +1 -1
  150. package/dist/wje-orgchart-item.js +24 -93
  151. package/dist/wje-orgchart-item.js.map +1 -1
  152. package/dist/wje-orgchart.js +18 -68
  153. package/dist/wje-orgchart.js.map +1 -1
  154. package/dist/wje-pagination.js +113 -397
  155. package/dist/wje-pagination.js.map +1 -1
  156. package/dist/wje-popup.js +3 -3
  157. package/dist/wje-popup.js.map +1 -1
  158. package/dist/wje-progress-bar.js +53 -205
  159. package/dist/wje-progress-bar.js.map +1 -1
  160. package/dist/wje-qr-code.js +398 -2980
  161. package/dist/wje-qr-code.js.map +1 -1
  162. package/dist/wje-radio-group.js +52 -190
  163. package/dist/wje-radio-group.js.map +1 -1
  164. package/dist/wje-radio.js +24 -118
  165. package/dist/wje-radio.js.map +1 -1
  166. package/dist/wje-rate.js +62 -266
  167. package/dist/wje-rate.js.map +1 -1
  168. package/dist/wje-relative-time.js +24 -99
  169. package/dist/wje-relative-time.js.map +1 -1
  170. package/dist/wje-reorder-dropzone.js +9 -31
  171. package/dist/wje-reorder-dropzone.js.map +1 -1
  172. package/dist/wje-reorder-handle.js +67 -204
  173. package/dist/wje-reorder-handle.js.map +1 -1
  174. package/dist/wje-reorder-item.js +14 -44
  175. package/dist/wje-reorder-item.js.map +1 -1
  176. package/dist/wje-reorder.js +61 -246
  177. package/dist/wje-reorder.js.map +1 -1
  178. package/dist/wje-route.js +6 -24
  179. package/dist/wje-route.js.map +1 -1
  180. package/dist/wje-router-link.js +11 -39
  181. package/dist/wje-router-link.js.map +1 -1
  182. package/dist/wje-router-outlet.js +76 -172
  183. package/dist/wje-router-outlet.js.map +1 -1
  184. package/dist/wje-routerx.js +537 -1331
  185. package/dist/wje-routerx.js.map +1 -1
  186. package/dist/wje-row.js +9 -31
  187. package/dist/wje-row.js.map +1 -1
  188. package/dist/wje-select.js +326 -1152
  189. package/dist/wje-select.js.map +1 -1
  190. package/dist/wje-slider.js +44 -225
  191. package/dist/wje-slider.js.map +1 -1
  192. package/dist/wje-sliding-container.js +295 -1319
  193. package/dist/wje-sliding-container.js.map +1 -1
  194. package/dist/wje-split-view.js +35 -121
  195. package/dist/wje-split-view.js.map +1 -1
  196. package/dist/wje-status.js +14 -45
  197. package/dist/wje-status.js.map +1 -1
  198. package/dist/wje-step.js +9 -32
  199. package/dist/wje-step.js.map +1 -1
  200. package/dist/wje-stepper.js +109 -357
  201. package/dist/wje-stepper.js.map +1 -1
  202. package/dist/wje-store.js +67 -360
  203. package/dist/wje-store.js.map +1 -1
  204. package/dist/wje-tab-group.js +85 -314
  205. package/dist/wje-tab-group.js.map +1 -1
  206. package/dist/wje-tab-panel.js +7 -28
  207. package/dist/wje-tab-panel.js.map +1 -1
  208. package/dist/wje-tab.js +21 -198
  209. package/dist/wje-tab.js.map +1 -1
  210. package/dist/wje-textarea.js +64 -264
  211. package/dist/wje-textarea.js.map +1 -1
  212. package/dist/wje-thumbnail.js +10 -51
  213. package/dist/wje-thumbnail.js.map +1 -1
  214. package/dist/wje-toast.js +127 -632
  215. package/dist/wje-toast.js.map +1 -1
  216. package/dist/wje-toggle.js +52 -177
  217. package/dist/wje-toggle.js.map +1 -1
  218. package/dist/wje-toolbar-action.js +128 -456
  219. package/dist/wje-toolbar-action.js.map +1 -1
  220. package/dist/wje-toolbar.js +75 -270
  221. package/dist/wje-toolbar.js.map +1 -1
  222. package/dist/wje-tooltip.js +50 -161
  223. package/dist/wje-tooltip.js.map +1 -1
  224. package/dist/wje-tree-item.js +70 -301
  225. package/dist/wje-tree-item.js.map +1 -1
  226. package/dist/wje-tree.js +145 -489
  227. package/dist/wje-tree.js.map +1 -1
  228. package/dist/wje-visually-hidden.js +7 -34
  229. package/dist/wje-visually-hidden.js.map +1 -1
  230. package/package.json +4 -2
  231. package/dist/form-associated-element-DEQ4y-jn.js +0 -245
  232. package/dist/icon-CReYMzAK.js +0 -245
  233. package/dist/popup.element-CwXvVFK7.js +0 -2133
  234. package/dist/router-links-wjqCnncc.js +0 -156
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "wj-elements",
4
- "version": "0.7.6",
4
+ "version": "0.8.0",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
@@ -50,7 +50,7 @@
50
50
  },
51
51
  {
52
52
  "name": "wje-accordion-item",
53
- "description": "This class represents an Accordion Item element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Method to setup attributes for the Accordion Item element.\n- **draw(): _object_** - Method to draw the Accordion Item element. This method returns a document fragment containing the drawn element.\n- **afterDraw()** - Method to execute after the Accordion Item element is drawn.\n- **collapse()** - Collapses the accordion item and updates the headline ARIA state.\n- **expand()** - Expands the accordion item and updates the headline ARIA state.\n\n### **Slots:**\n - **headline** - Slot for the clickable accordion headline content.\n- **description** - Slot for supporting text shown below the headline.\n- **toggle** - Slot for a custom toggle icon or toggle content.\n- **content** - Slot for the expandable panel body.\n\n### **CSS Properties:**\n - **--wje-accordion-background** - Background color of the collapsed item wrapper. _(default: var(--wje-color-contrast-0))_\n- **--wje-accordion-border** - Border color of the collapsed item wrapper. _(default: var(--wje-color-contrast-0))_\n- **--wje-accordion-border-radius** - Border radius of the item wrapper. _(default: var(--wje-border-radius-large))_\n- **--wje-accordion-background-hover** - Background color used when the headline is hovered. _(default: var(--wje-color-contrast-1))_\n- **--wje-accordion-border-hover** - Border color used when the headline is hovered. _(default: var(--wje-color-contrast-2))_\n- **--wje-accordion-background-expanded** - Background color of the expanded item wrapper. _(default: var(--wje-color-contrast-0))_\n- **--wje-accordion-border-expanded** - Border color of the expanded item wrapper. _(default: var(--wje-color-contrast-0))_\n- **--wje-accordion-headline-color** - Text color of the headline area. _(default: var(--wje-color-contrast-11))_\n- **--wje-accordion-content-color** - Text color of the expandable content area. _(default: var(--wje-color-contrast-6))_\n- **--wje-accordion-marker-rotate** - Rotation applied to the toggle marker icon. // @fires wje-accordion-item:open - Dispatched when the item is expanded. // @fires wje-accordion-item:close - Dispatched when the item is collapsed. _(default: 0deg)_\n\n### **CSS Parts:**\n - **native** - The wrapper of the whole accordion item.\n- **headline** - The clickable headline area.\n- **description** - The description slot container inside the headline.\n- **toggle** - The toggle slot container and fallback chevron area.\n- **content** - The expandable content panel.",
53
+ "description": "This class represents an Accordion Item element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Method to setup attributes for the Accordion Item element.\n- **draw(): _object_** - Method to draw the Accordion Item element. This method returns a document fragment containing the drawn element.\n- **afterDraw()** - Method to execute after the Accordion Item element is drawn.\n- **collapse()** - Collapses the accordion item, updates the headline ARIA state, and makes its content inert.\n- **expand()** - Expands the accordion item, updates the headline ARIA state, and makes its content interactive.\n\n### **Slots:**\n - **headline** - Slot for the clickable accordion headline content.\n- **description** - Slot for supporting text shown below the headline.\n- **toggle** - Slot for a custom toggle icon or toggle content.\n- **content** - Slot for the expandable panel body.\n\n### **CSS Properties:**\n - **--wje-accordion-background** - Background color of the collapsed item wrapper. _(default: var(--wje-color-contrast-0))_\n- **--wje-accordion-border** - Border color of the collapsed item wrapper. _(default: var(--wje-color-contrast-0))_\n- **--wje-accordion-border-radius** - Border radius of the item wrapper. _(default: var(--wje-border-radius-large))_\n- **--wje-accordion-background-hover** - Background color used when the headline is hovered. _(default: var(--wje-color-contrast-1))_\n- **--wje-accordion-border-hover** - Border color used when the headline is hovered. _(default: var(--wje-color-contrast-2))_\n- **--wje-accordion-background-expanded** - Background color of the expanded item wrapper. _(default: var(--wje-color-contrast-0))_\n- **--wje-accordion-border-expanded** - Border color of the expanded item wrapper. _(default: var(--wje-color-contrast-0))_\n- **--wje-accordion-headline-color** - Text color of the headline area. _(default: var(--wje-color-contrast-11))_\n- **--wje-accordion-content-color** - Text color of the expandable content area. _(default: var(--wje-color-contrast-6))_\n- **--wje-accordion-content-margin** - Margin around the slotted expandable content. _(default: 0 var(--wje-spacing-small, 0.75rem) var(--wje-spacing-small, 0.75rem))_\n- **--wje-accordion-marker-rotate** - Rotation applied to the toggle marker icon. // @fires wje-accordion-item:open - Dispatched when the item is expanded. // @fires wje-accordion-item:close - Dispatched when the item is collapsed. _(default: 0deg)_\n\n### **CSS Parts:**\n - **native** - The wrapper of the whole accordion item.\n- **headline** - The clickable headline area.\n- **description** - The description slot container inside the headline.\n- **toggle** - The toggle slot container and fallback chevron area.\n- **content** - The expandable content panel.",
54
54
  "doc-url": "",
55
55
  "attributes": [
56
56
  {
@@ -760,26 +760,6 @@
760
760
  "events": []
761
761
  }
762
762
  },
763
- {
764
- "name": "wje-card-title",
765
- "description": "CardTitle class that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the CardTitle.\n- **draw(): _DocumentFragment_** - Draws the CardTitle element.\n\n### **Slots:**\n - _default_ - The card title main content.\n\n### **CSS Properties:**\n - **--wje-card-title-font-size** - Font size of the component; _(default: 24px)_\n- **--wje-card-title-font-weight** - Font weight of the component; _(default: 500)_\n- **--wje-card-title-margin** - Margin of the component; _(default: 0)_\n- **--wje-card-title-padding** - Padding of the component; _(default: 0)_\n- **--wje-card-title-line-height** - Line height of the component; _(default: 1.2)_",
766
- "doc-url": "",
767
- "attributes": [],
768
- "slots": [
769
- { "name": "", "description": "The card title main content." }
770
- ],
771
- "events": [],
772
- "js": {
773
- "properties": [
774
- {
775
- "name": "className",
776
- "description": "Class name for the CardTitle.",
777
- "type": "string"
778
- }
779
- ],
780
- "events": []
781
- }
782
- },
783
763
  {
784
764
  "name": "wje-carousel",
785
765
  "description": "Carousel class that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the Carousel.\n- **beforeDraw()** - Before draw method for the Carousel.\n- **draw(): _DocumentFragment_** - Draw method for the Carousel.\n- **afterDraw()** - After draw method for the Carousel.\n- **syncActiveToSnapStart()** - Sync `activeSlide` to the slide whose leading edge is closest to the snap start.\n- **syncSlideMetrics()** - Syncs computed CSS variables derived from `slide-per-page`.\n- **getScrollPaddingInlineStart(): _number_** - Returns the inline scroll padding used by the snap area.\n- **getControlBehavior(): _string_** - Returns the interaction scroll behavior for UI controls.\nContinuous multi-slide loops use instant snapping to avoid blank edge states\nwhile the browser is still animating a previous smooth scroll.\n- **setIntersectionObserver()** - Sets up the IntersectionObserver for the Carousel.\n- **goToSlide(index, behavior, next)** - Goes to the slide.\n- **setActiveVisualSlide(vIndex: _number_)** - Sets the active class on the currently targeted visual slide and removes it elsewhere.\n- **syncAria()** - Syncs ARIA attributes on the carousel and slides.\n- **cloneFirstAndLastItems()** - Clones the first and last items.\n- **createLoopClone(item: _HTMLElement_): _HTMLElement_** - Creates a sanitized loop clone that does not inherit transient render state\nsuch as inline `visibility: hidden` from the source slide.\n- **removeLoopClones()** - Removes loop clones so they can be rebuilt for the current configuration.\n- **getLoopCloneCount(totalSlides: _number_): _number_** - Returns how many slides should be cloned on each side when loop is enabled.\n- **scrollToVisualIndex(vIndex: _number_, behavior: _string_)** - Scrolls the carousel to a visual slide index.\n- **removeActiveSlide()** - Goes to the next slide.\n- **changePagination()** - Goes to the next slide.\n- **changeThumbnails()** - Goes to the next slide.\n- **createNextButton(): _Element_** - Goes to the next slide.\n- **createPreviousButton(): _Element_** - Goes to the next slide.\n- **createPagination(): _Element_** - Goes to the next slide.\n- **createThumbnails(): _Element_** - Goes to the next slide.\n- **nextSlide()** - Goes to the next slide.\n- **previousSlide()** - Goes to the previous slide.\n- **getSlides(): _Array_** - Goes to the slide.\n- **getSlidesWithClones(): _Array_** - Goes to the slide.\n- **getVisualIndexForLogical(index)** - Maps logical index to visual index, including leading clones when loop is enabled.\n- **getLogicalIndexForVisual(vIndex)** - Maps visual index to logical index, including edge clones when loop is enabled.\n- **getMaxVisibleStartIndex(totalSlides: _number_): _number_** - Returns the maximum logical slide index that can still render a full viewport.\n- **normalizeLoopIndex(index: _number_, totalSlides: _number_): _number_** - Normalizes a logical index for the active loop mode.\n- **getLoopLogicalCount(totalSlides: _number_): _number_** - Returns how many logical positions are reachable for the current loop mode.\n- **getPaginationIndexes(): _number[]_** - Returns the pagination indexes for the current carousel mode.\n- **canGoNext(): _boolean_** - Goes to the slide.\n- **canGoPrevious(): _boolean_** - Goes to the slide.\n\n### **Slots:**\n - _default_ - The carousel main content.\n\n### **CSS Properties:**\n - **--wje-carousel-size** - Effective size of one carousel item. _(default: 100%)_\n- **--wje-carousel-gap** - Gap between carousel items. _(default: 0.5rem)_",
@@ -837,6 +817,26 @@
837
817
  "events": []
838
818
  }
839
819
  },
820
+ {
821
+ "name": "wje-card-title",
822
+ "description": "CardTitle class that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the CardTitle.\n- **draw(): _DocumentFragment_** - Draws the CardTitle element.\n\n### **Slots:**\n - _default_ - The card title main content.\n\n### **CSS Properties:**\n - **--wje-card-title-font-size** - Font size of the component; _(default: 24px)_\n- **--wje-card-title-font-weight** - Font weight of the component; _(default: 500)_\n- **--wje-card-title-margin** - Margin of the component; _(default: 0)_\n- **--wje-card-title-padding** - Padding of the component; _(default: 0)_\n- **--wje-card-title-line-height** - Line height of the component; _(default: 1.2)_",
823
+ "doc-url": "",
824
+ "attributes": [],
825
+ "slots": [
826
+ { "name": "", "description": "The card title main content." }
827
+ ],
828
+ "events": [],
829
+ "js": {
830
+ "properties": [
831
+ {
832
+ "name": "className",
833
+ "description": "Class name for the CardTitle.",
834
+ "type": "string"
835
+ }
836
+ ],
837
+ "events": []
838
+ }
839
+ },
840
840
  {
841
841
  "name": "wje-checkbox",
842
842
  "description": "This method dispatches a custom event named \"wje-toggle:change\".\nIt is triggered when the input event is fired, which happens when the state of the checkbox changes.\nThe event is dispatched on the current instance of the Checkbox class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the checkbox.\n- **draw(): _DocumentFragment_** - Draws the checkbox element.\n- **afterDraw()** - Adds an event listener after drawing the checkbox.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **beforeDisconnect()** - Removes the event listener when the checkbox is disconnected.\n\n### **Slots:**\n - _default_ - The checkbox main content.\n\n### **CSS Properties:**\n - **--wje-checkbox-border-radius** - Border radius of the component; _(default: --wje-border-radius-medium)_\n- **--wje-checkbox-border-width** - Border width of the component; _(default: 1px)_\n- **--wje-checkbox-border-style** - Border style of the component; _(default: solid)_\n- **--wje-checkbox-border-color** - Border color of the component; _(default: --wje-color-contrast-1)_\n- **--wje-checkbox-margin-inline** - Margin inline of the component; _(default: 0)_\n\n### **CSS Parts:**\n - **native** - The component's native wrapper.",
@@ -935,18 +935,6 @@
935
935
  "events": []
936
936
  }
937
937
  },
938
- {
939
- "name": "wje-col",
940
- "description": "Col class that extends WJElement.\n---\n\n\n### **Methods:**\n - **draw(): _DocumentFragment_** - Draws the component element.\n\n### **Slots:**\n - _default_ - The col main content.",
941
- "doc-url": "",
942
- "attributes": [],
943
- "slots": [{ "name": "", "description": "The col main content." }],
944
- "events": [],
945
- "js": {
946
- "properties": [{ "name": "className", "type": "string" }],
947
- "events": []
948
- }
949
- },
950
938
  {
951
939
  "name": "wje-color-picker",
952
940
  "description": "ColorPicker is a custom web component that extends WJElement.\nIt provides a color picker functionality with a color area, hue slider, alpha slider, and color swatches.\nThe color picker allows users to select a color by moving a marker on the color area, adjusting the hue and alpha sliders, or clicking on a color swatch.\n---\n\n\n### **Methods:**\n - **parseSwatches(value: _string_): _string[]_** - Normalizes swatch colors from a string to an array.\nSupports comma and semicolon separators.\n- **setupAttributes()** - Sets up the attributes for the ColorPicker.\n- **draw(): _DocumentFragment_** - Creates and returns a document fragment containing the structure and components of a custom color picker.\nThe method initializes DOM elements such as divs, sliders, and inputs, with specific classes and attributes,\nand attaches various event listeners to handle user interactions.\n- **afterDraw(): _void_** - Executes after the component is drawn. Initializes some configurations if not already initialized,\nincluding updating slider values, setting marker positions, and applying initial color settings.\nThis method ensures that all necessary visual elements and configurations are properly set up.\n- **createSwatches(node)** - Sets the hue.\n- **setSliders(color)** - Sets the sliders to the given color.\n- **dimension(): _object_** - Retrieves the dimensions and position of the color area element relative to the viewport.\n- **beforeDisconnect(): _void_** - Method executed before disconnecting. Resets the initialization state to false.\n- **getPointerPosition(e): _{x: number, y: number}_** - Gets the pointer position in client coordinates (viewport-relative).\n- **setMarkerPosition(x, y)** - Sets the position of the marker.\n- **clampMarkerPosition(x: _number_, y: _number_): _{x: number, y: number}_** - Clamps marker coordinates to the color area boundaries.\n- **setColorAtPosition(x, y, alpha): _*|tinycolor_** - Sets the color at the given position.\n- **getHueAreaColor(color: _string_): _string_** - Returns fully saturated and bright color for the current hue.\nUsed as base color for the SV area so neutral grays do not black out the palette.\n\n### **Slots:**\n - _default_ - The card header main content.\n\n### **CSS Properties:**\n - **--wje-color-picker-area** - The color of the color area background. _(default: undefined)_\n- **--wje-color-picker-value** - The value of the color picker input. _(default: undefined)_\n- **--wje-color-picker-swatch** - The color of the color swatch button. _(default: undefined)_\n- **--wje-color-picker-size** - The color of the color marker. _(default: undefined)_\n- **--wje-color-picker-radius** - The color of the color anchor. _(default: undefined)_\n\n### **CSS Parts:**\n - **anchor** - The anchor part of the color picker.\n- **picker** - The main part of the color picker.\n- **marker** - The marker part of the color picker.\n- **color-area** - The color area part of the color picker.\n- **hue** - The hue slider part of the color picker.\n- **alpha** - The alpha slider part of the color picker.\n- **color-preview** - The color preview part of the color picker.\n- **input** - The input part of the color picker.",
@@ -1015,6 +1003,18 @@
1015
1003
  "events": []
1016
1004
  }
1017
1005
  },
1006
+ {
1007
+ "name": "wje-col",
1008
+ "description": "Col class that extends WJElement.\n---\n\n\n### **Methods:**\n - **draw(): _DocumentFragment_** - Draws the component element.\n\n### **Slots:**\n - _default_ - The col main content.",
1009
+ "doc-url": "",
1010
+ "attributes": [],
1011
+ "slots": [{ "name": "", "description": "The col main content." }],
1012
+ "events": [],
1013
+ "js": {
1014
+ "properties": [{ "name": "className", "type": "string" }],
1015
+ "events": []
1016
+ }
1017
+ },
1018
1018
  {
1019
1019
  "name": "wje-container",
1020
1020
  "description": "The Container class is a custom web component that extends WJElement. It is a simple container that can hold other elements or components.\nIt provides a slot for adding child elements or components. The Container class also supports indentation through the `indent` property.\nThe indentation is applied as a CSS variable (`--wje-container-indent`) which can be used in the styles of child elements or components.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the Container.\n- **draw(): _DocumentFragment_** - Draws the Container element.\n\n### **Slots:**\n - _default_ - The slot for adding child elements or components.\n\n### **CSS Properties:**\n - **--wje-container-indent** - The indentation of the container. _(default: undefined)_",
@@ -1083,6 +1083,26 @@
1083
1083
  "events": []
1084
1084
  }
1085
1085
  },
1086
+ {
1087
+ "name": "wje-divider",
1088
+ "description": "Divider is a custom web component that extends WJElement.\nIt provides a simple divider line that can be used to separate content.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the Divider.\n- **draw(): _DocumentFragment_** - Draws the Divider.\n\n### **Slots:**\n - _default_ - This is a default/unnamed slot.\n\n### **CSS Properties:**\n - **--wje-border-width** - The size of the border. _(default: 1px)_\n- **--wje-divider-border-color** - The color of the divider borderline. _(default: var(--wje-border-color))_\n- **--wje-divider-border-width** - The width of the divider borderline. _(default: var(--wje-border-width, 1px))_\n- **--wje-divider-spacing** - The spacing for the divider. _(default: 0)_",
1089
+ "doc-url": "",
1090
+ "attributes": [],
1091
+ "slots": [
1092
+ { "name": "", "description": "This is a default/unnamed slot." }
1093
+ ],
1094
+ "events": [],
1095
+ "js": {
1096
+ "properties": [
1097
+ {
1098
+ "name": "className",
1099
+ "description": "The class name for the Divider class.",
1100
+ "type": "string"
1101
+ }
1102
+ ],
1103
+ "events": []
1104
+ }
1105
+ },
1086
1106
  {
1087
1107
  "name": "wje-copy-button",
1088
1108
  "description": "CopyButton is a custom web component that extends WJElement.\nIt provides a button that, when clicked, copies a specified text to the clipboard.\nThe text to be copied can be specified through the `value` attribute.\nThe CopyButton also supports keyboard interaction, copying the text when the space or enter key is pressed.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the CopyButton.\n- **draw(): _DocumentFragment_** - Draws the ColorPicker element.\n- **afterDraw()** - Adds event listeners for the click, focus, and blur events.\n- **syncAria()** - Sync ARIA attributes on host.\n- **copy(button: _HTMLElement_)** - Copies the specified text or node.\n- **copyTarget(content: _HTMLElement_): _Promise_** - Copies the target content.\n\n### **Slots:**\n - _default_ - This is a default/unnamed slot.\n\n### **CSS Properties:**\n - **--text-color** - Controls the color of the text. _(default: undefined)_\n- **--background-color** - Controls the background color of the button. //@fires wje:copy-button - Dispatched when the button is clicked and the text is copied. _(default: undefined)_\n\n### **CSS Parts:**\n - **button** - Styles the button element.",
@@ -1141,106 +1161,6 @@
1141
1161
  "events": []
1142
1162
  }
1143
1163
  },
1144
- {
1145
- "name": "wje-divider",
1146
- "description": "Divider is a custom web component that extends WJElement.\nIt provides a simple divider line that can be used to separate content.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the Divider.\n- **draw(): _DocumentFragment_** - Draws the Divider.\n\n### **Slots:**\n - _default_ - This is a default/unnamed slot.\n\n### **CSS Properties:**\n - **--wje-border-width** - The size of the border. _(default: 1px)_\n- **--wje-divider-border-color** - The color of the divider borderline. _(default: var(--wje-border-color))_\n- **--wje-divider-border-width** - The width of the divider borderline. _(default: var(--wje-border-width, 1px))_\n- **--wje-divider-spacing** - The spacing for the divider. _(default: 0)_",
1147
- "doc-url": "",
1148
- "attributes": [],
1149
- "slots": [
1150
- { "name": "", "description": "This is a default/unnamed slot." }
1151
- ],
1152
- "events": [],
1153
- "js": {
1154
- "properties": [
1155
- {
1156
- "name": "className",
1157
- "description": "The class name for the Divider class.",
1158
- "type": "string"
1159
- }
1160
- ],
1161
- "events": []
1162
- }
1163
- },
1164
- {
1165
- "name": "wje-dropdown",
1166
- "description": "This element represents a dropdown menu.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the dropdown.\n- **beforeDraw()** - Removes the popup element.\n- **draw(): _DocumentFragment_** - Draws the dropdown element and returns the created document fragment.\n- **afterDraw()** - Adds event listeners for the mouseenter and mouseleave events.\n- **afterDisconnect()** - Adds event listeners for the mouseenter and mouseleave events.\n- **syncPopupOwner()** - Assigns the current dropdown instance as the owner of its popup layers.\nOwner metadata is later used to resolve which dropdown should react to\ndelegated menu-item clicks, including portaled popup content.\n- **syncOwnedContentOwner(root: _HTMLElement_)** - Recursively assigns owner metadata to the dropdown content subtree while\nleaving nested dropdown roots untouched, so each nested dropdown can keep\nits own ownership boundary.\n- **getMenuItemOwner(path: _EventTarget[]_, item: _HTMLElement_): _HTMLElement|null_** - Resolves the dropdown that owns a clicked menu item. The lookup prefers\nexplicit owner metadata and falls back to DOM traversal so both regular\nand portaled dropdown content can be scoped correctly.\n- **afterShow()** - This method is called after the dropdown is shown.\n- **syncAria()** - Syncs ARIA attributes for the trigger element.\n\n### **Slots:**\n - **trigger** - The slot for the trigger of the dropdown.\n- _default_ - The default slot for the dropdown.\n\n### **CSS Properties:**\n - **--wje-popup-backdrop-background** - Backdrop background used by mobile bottom sheet dropdowns. _(default: var(--wje-backdrop))_\n- **--wje-popup-backdrop-opacity** - Backdrop opacity used by mobile bottom sheet dropdowns. _(default: 1)_\n- **--wje-popup-mobile-background** - Background of the mobile bottom sheet panel. _(default: var(--wje-select-options-background-color))_\n- **--wje-popup-mobile-border-radius** - Border radius of the mobile bottom sheet panel. _(default: var(--wje-border-radius-large) var(--wje-border-radius-large) 0 0)_\n- **--wje-popup-mobile-box-shadow** - Shadow of the mobile bottom sheet panel. _(default: 0 -8px 32px rgba(0, 0, 0, 0.16))_\n- **--wje-popup-mobile-max-height** - Maximum height of the mobile bottom sheet panel. _(default: 90vh)_\n- **--wje-popup-mobile-transition-duration** - Transition duration for the mobile bottom sheet and backdrop. _(default: 250ms)_\n- **--wje-popup-mobile-transition-easing** - Transition easing for the mobile bottom sheet and backdrop. _(default: ease)_\n\n### **CSS Parts:**\n - **native** - The native part of the dropdown.\n- **popup-native** - The exported native popup panel part.\n- **backdrop** - The exported mobile bottom sheet backdrop part.",
1167
- "doc-url": "",
1168
- "attributes": [
1169
- { "name": "active", "value": { "type": "string" } },
1170
- {
1171
- "name": "mobile-presentation",
1172
- "description": "Enables a responsive presentation, currently \"bottom-sheet\".",
1173
- "value": { "type": "string" }
1174
- },
1175
- {
1176
- "name": "mobile-break-point",
1177
- "description": "Viewport width where the mobile presentation becomes active. Defaults to \"768\". // @fires wje-dropdown:open - Event fired when the dropdown is opened. // @fires wje-dropdown:close - Event fired when the dropdown is closed.",
1178
- "value": { "type": "string" }
1179
- }
1180
- ],
1181
- "slots": [
1182
- {
1183
- "name": "trigger",
1184
- "description": "The slot for the trigger of the dropdown."
1185
- },
1186
- { "name": "", "description": "The default slot for the dropdown." }
1187
- ],
1188
- "events": [],
1189
- "js": {
1190
- "properties": [
1191
- {
1192
- "name": "dependencies",
1193
- "description": "The placement of the dropdown.",
1194
- "type": "{\"wje-popup\": Popup}"
1195
- },
1196
- {
1197
- "name": "portaled",
1198
- "description": "Getter method for the `portaled` property.\nChecks if the `portaled` attribute is present on the element."
1199
- },
1200
- {
1201
- "name": "isPortaled",
1202
- "description": "Checks whether the element has the 'portaled' attribute."
1203
- },
1204
- {
1205
- "name": "trigger",
1206
- "description": "Gets the placement of the dropdown."
1207
- },
1208
- {
1209
- "name": "mobilePresentation",
1210
- "description": "Enables a responsive presentation, currently \"bottom-sheet\".",
1211
- "type": "string"
1212
- },
1213
- {
1214
- "name": "mobileBreakPoint",
1215
- "description": "Viewport width where the mobile presentation becomes active. Defaults to \"768\".",
1216
- "type": "string"
1217
- },
1218
- {
1219
- "name": "className",
1220
- "description": "Sets the placement of the dropdown.",
1221
- "type": "string"
1222
- },
1223
- {
1224
- "name": "otherDropdownOpennedCallback",
1225
- "description": "Callback function to handle other dropdowns being opened. Close the dropdown if it is not the target and collapse is enabled."
1226
- },
1227
- {
1228
- "name": "popupHideCallback",
1229
- "description": "Handles popup hide events and closes only the dropdown that owns the popup.\nThis prevents nested dropdowns from collapsing their parent dropdown when the\nchild popup is hidden."
1230
- },
1231
- {
1232
- "name": "onMenuItemClick",
1233
- "description": "Handles delegated clicks from inside the popup and closes the dropdown when a leaf menu item is selected.\nThis works even when the menu is portaled, because we rely on the composed path."
1234
- },
1235
- { "name": "toggleCallback" },
1236
- { "name": "onOpen", "description": "Open the popup element." },
1237
- { "name": "beforeClose" },
1238
- { "name": "afterClose" },
1239
- { "name": "onClose" }
1240
- ],
1241
- "events": []
1242
- }
1243
- },
1244
1164
  {
1245
1165
  "name": "wje-file-upload",
1246
1166
  "description": "FileUpload is a custom web component for uploading files.\nIt extends from WJElement and provides functionalities for file upload.\n---\n\n\n### **Events:**\n - **change** - Fires when the file input changes.\n- **drop** - Fires when a file is dropped into the component.\n\n### **Methods:**\n - **setupAttributes()** - Method to setup attributes for the component.\n- **draw(): _DocumentFragment_** - Method to draw the component on the screen.\n- **afterDraw()** - Method to perform actions after the component is drawn.\n- **handleSubmit(e: _Event_)** - Method to handle form submission.\n- **addFilesToQueue(files)** - Method to add files to the queue.\n- **uploadFiles()** - Method to upload files.\n- **createPreview(file: _File_, reader: _FileReader_): _HTMLElement_** - Method to create a preview for the file.\n- **createThumbnail(file: _File_, reader: _FileReader_): _HTMLElement_** - Method to create a thumbnail for the file.\n- **assertFilesValid(file: _File_)** - Method to validate the files.\n- **resetFormState()** - Method to reset the form state.\n- **showError(error: _object|Error_)** - Shows a user-facing validation error inside the dropzone.\n- **clearError()** - Clears the currently displayed validation error.\n- **getErrorMessage(error: _object|Error_): _string_** - Resolves a readable upload error message.\n\n### **Slots:**\n - _default_ - This is a default/unnamed slot.\n\n### **CSS Properties:**\n - **--wje-file-upload-padding** - Controls the padding around the native file upload area. _(default: 0)_\n\n### **CSS Parts:**\n - **native** - The native file upload part.\n- **file-list** - The file list part.\n- **upload-button** - The label part.",
@@ -1368,83 +1288,140 @@
1368
1288
  }
1369
1289
  },
1370
1290
  {
1371
- "name": "wje-file-upload-item",
1372
- "description": "This element allows users to upload files.\n`FileUploadItem` is a custom web component that represents a file upload item.\nIt extends from `WJElement` and uses the `Localizer` utility for localization.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Method to draw the component on the screen.\n- **afterDraw()** - Called after the component has been drawn.\n- **syncAria()** - Sync ARIA attributes on host and actions.\n\n### **Slots:**\n - **img** - Slot for the image\n- **action** - Slot for the action buttons\n\n### **CSS Properties:**\n - **--primary-color** - The primary color of the file upload item. //@fires wje-button:click - Dispatches when the delete button is clicked _(default: undefined)_\n\n### **CSS Parts:**\n - **button** - The delete button part\n- **image** - The image part\n- **name** - The name part\n- **size** - The size part",
1291
+ "name": "wje-dropdown",
1292
+ "description": "This element represents a dropdown menu.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the dropdown.\n- **beforeDraw()** - Removes the popup element.\n- **draw(): _DocumentFragment_** - Draws the dropdown element and returns the created document fragment.\n- **afterDraw()** - Adds event listeners for the mouseenter and mouseleave events.\n- **afterDisconnect()** - Adds event listeners for the mouseenter and mouseleave events.\n- **syncPopupOwner()** - Assigns the current dropdown instance as the owner of its popup layers.\nOwner metadata is later used to resolve which dropdown should react to\ndelegated menu-item clicks, including portaled popup content.\n- **syncOwnedContentOwner(root: _HTMLElement_)** - Recursively assigns owner metadata to the dropdown content subtree while\nleaving nested dropdown roots untouched, so each nested dropdown can keep\nits own ownership boundary.\n- **getMenuItemOwner(path: _EventTarget[]_, item: _HTMLElement_): _HTMLElement|null_** - Resolves the dropdown that owns a clicked menu item. The lookup prefers\nexplicit owner metadata and falls back to DOM traversal so both regular\nand portaled dropdown content can be scoped correctly.\n- **afterShow()** - This method is called after the dropdown is shown.\n- **syncAria()** - Syncs ARIA attributes for the trigger element.\n\n### **Slots:**\n - **trigger** - The slot for the trigger of the dropdown.\n- _default_ - The default slot for the dropdown.\n\n### **CSS Properties:**\n - **--wje-popup-backdrop-background** - Backdrop background used by mobile bottom sheet dropdowns. _(default: var(--wje-backdrop))_\n- **--wje-popup-backdrop-opacity** - Backdrop opacity used by mobile bottom sheet dropdowns. _(default: 1)_\n- **--wje-popup-mobile-background** - Background of the mobile bottom sheet panel. _(default: var(--wje-select-options-background-color))_\n- **--wje-popup-mobile-border-radius** - Border radius of the mobile bottom sheet panel. _(default: var(--wje-border-radius-large) var(--wje-border-radius-large) 0 0)_\n- **--wje-popup-mobile-box-shadow** - Shadow of the mobile bottom sheet panel. _(default: 0 -8px 32px rgba(0, 0, 0, 0.16))_\n- **--wje-popup-mobile-max-height** - Maximum height of the mobile bottom sheet panel. _(default: 90vh)_\n- **--wje-popup-mobile-transition-duration** - Transition duration for the mobile bottom sheet and backdrop. _(default: 250ms)_\n- **--wje-popup-mobile-transition-easing** - Transition easing for the mobile bottom sheet and backdrop. _(default: ease)_\n\n### **CSS Parts:**\n - **native** - The native part of the dropdown.\n- **popup-native** - The exported native popup panel part.\n- **backdrop** - The exported mobile bottom sheet backdrop part.",
1373
1293
  "doc-url": "",
1374
1294
  "attributes": [
1375
- { "name": "uploaded", "value": { "type": "string" } },
1376
- { "name": "is-uploaded", "value": { "type": "string" } }
1295
+ { "name": "active", "value": { "type": "string" } },
1296
+ {
1297
+ "name": "mobile-presentation",
1298
+ "description": "Enables a responsive presentation, currently \"bottom-sheet\".",
1299
+ "value": { "type": "string" }
1300
+ },
1301
+ {
1302
+ "name": "mobile-break-point",
1303
+ "description": "Viewport width where the mobile presentation becomes active. Defaults to \"768\". // @fires wje-dropdown:open - Event fired when the dropdown is opened. // @fires wje-dropdown:close - Event fired when the dropdown is closed.",
1304
+ "value": { "type": "string" }
1305
+ }
1377
1306
  ],
1378
1307
  "slots": [
1379
- { "name": "img", "description": "Slot for the image" },
1380
- { "name": "action", "description": "Slot for the action buttons" }
1308
+ {
1309
+ "name": "trigger",
1310
+ "description": "The slot for the trigger of the dropdown."
1311
+ },
1312
+ { "name": "", "description": "The default slot for the dropdown." }
1381
1313
  ],
1382
1314
  "events": [],
1383
1315
  "js": {
1384
1316
  "properties": [
1385
1317
  {
1386
- "name": "isUploaded",
1387
- "description": "Checks if the 'is-uploaded' attribute is present on the element."
1318
+ "name": "dependencies",
1319
+ "description": "The placement of the dropdown.",
1320
+ "type": "{\"wje-popup\": Popup}"
1388
1321
  },
1389
1322
  {
1390
- "name": "size",
1391
- "description": "Retrieves the value of the 'size' attribute."
1323
+ "name": "portaled",
1324
+ "description": "Getter method for the `portaled` property.\nChecks if the `portaled` attribute is present on the element."
1392
1325
  },
1393
1326
  {
1394
- "name": "dependencies",
1395
- "description": "Dependencies for the component.",
1396
- "type": "object"
1327
+ "name": "isPortaled",
1328
+ "description": "Checks whether the element has the 'portaled' attribute."
1397
1329
  },
1398
- { "name": "className", "type": "string" },
1399
1330
  {
1400
- "name": "onDelete",
1401
- "description": "Handles the delete action."
1331
+ "name": "trigger",
1332
+ "description": "Gets the placement of the dropdown."
1402
1333
  },
1403
- { "name": "localizer" }
1404
- ],
1405
- "events": []
1406
- }
1407
- },
1408
- {
1409
- "name": "wje-footer",
1410
- "description": "This element represents a footer. `Footer` is a custom web component that represents a footer.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - **default** - Default slot for the footer content\n\n### **CSS Properties:**\n - **--primary-color** - The primary color of the footer _(default: undefined)_",
1411
- "doc-url": "",
1412
- "attributes": [],
1413
- "slots": [
1414
- {
1415
- "name": "default",
1416
- "description": "Default slot for the footer content"
1417
- }
1418
- ],
1419
- "events": [],
1420
- "js": {
1421
- "properties": [{ "name": "className", "type": "string" }],
1422
- "events": []
1423
- }
1424
- },
1425
- {
1426
- "name": "wje-form",
1427
- "description": "The Form class is a custom\nweb component that extends WJElement. It is a simple form that can hold other elements or components.\nIt provides a slot for adding child elements or components.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the Form.\n- **draw(): _DocumentFragment_** - Draws the Form.\n\n### **Slots:**\n - _default_ - The slot for adding child elements or components.",
1428
- "doc-url": "",
1429
- "attributes": [],
1430
- "slots": [
1431
- {
1432
- "name": "",
1433
- "description": "The slot for adding child elements or components."
1434
- }
1334
+ {
1335
+ "name": "mobilePresentation",
1336
+ "description": "Enables a responsive presentation, currently \"bottom-sheet\".",
1337
+ "type": "string"
1338
+ },
1339
+ {
1340
+ "name": "mobileBreakPoint",
1341
+ "description": "Viewport width where the mobile presentation becomes active. Defaults to \"768\".",
1342
+ "type": "string"
1343
+ },
1344
+ {
1345
+ "name": "className",
1346
+ "description": "Sets the placement of the dropdown.",
1347
+ "type": "string"
1348
+ },
1349
+ {
1350
+ "name": "otherDropdownOpennedCallback",
1351
+ "description": "Callback function to handle other dropdowns being opened. Close the dropdown if it is not the target and collapse is enabled."
1352
+ },
1353
+ {
1354
+ "name": "popupHideCallback",
1355
+ "description": "Handles popup hide events and closes only the dropdown that owns the popup.\nThis prevents nested dropdowns from collapsing their parent dropdown when the\nchild popup is hidden."
1356
+ },
1357
+ {
1358
+ "name": "onMenuItemClick",
1359
+ "description": "Handles delegated clicks from inside the popup and closes the dropdown when a leaf menu item is selected.\nThis works even when the menu is portaled, because we rely on the composed path."
1360
+ },
1361
+ { "name": "toggleCallback" },
1362
+ { "name": "onOpen", "description": "Open the popup element." },
1363
+ { "name": "beforeClose" },
1364
+ { "name": "afterClose" },
1365
+ { "name": "onClose" }
1366
+ ],
1367
+ "events": []
1368
+ }
1369
+ },
1370
+ {
1371
+ "name": "wje-file-upload-item",
1372
+ "description": "This element allows users to upload files.\n`FileUploadItem` is a custom web component that represents a file upload item.\nIt extends from `WJElement` and uses the `Localizer` utility for localization.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Method to draw the component on the screen.\n- **afterDraw()** - Called after the component has been drawn.\n- **syncAria()** - Sync ARIA attributes on host and actions.\n\n### **Slots:**\n - **img** - Slot for the image\n- **action** - Slot for the action buttons\n\n### **CSS Properties:**\n - **--primary-color** - The primary color of the file upload item. //@fires wje-button:click - Dispatches when the delete button is clicked _(default: undefined)_\n\n### **CSS Parts:**\n - **button** - The delete button part\n- **image** - The image part\n- **name** - The name part\n- **size** - The size part",
1373
+ "doc-url": "",
1374
+ "attributes": [
1375
+ { "name": "uploaded", "value": { "type": "string" } },
1376
+ { "name": "is-uploaded", "value": { "type": "string" } }
1377
+ ],
1378
+ "slots": [
1379
+ { "name": "img", "description": "Slot for the image" },
1380
+ { "name": "action", "description": "Slot for the action buttons" }
1435
1381
  ],
1436
1382
  "events": [],
1437
1383
  "js": {
1438
1384
  "properties": [
1439
1385
  {
1440
- "name": "className",
1441
- "description": "The class name for the Form class.",
1442
- "type": "string"
1443
- }
1386
+ "name": "isUploaded",
1387
+ "description": "Checks if the 'is-uploaded' attribute is present on the element."
1388
+ },
1389
+ {
1390
+ "name": "size",
1391
+ "description": "Retrieves the value of the 'size' attribute."
1392
+ },
1393
+ {
1394
+ "name": "dependencies",
1395
+ "description": "Dependencies for the component.",
1396
+ "type": "object"
1397
+ },
1398
+ { "name": "className", "type": "string" },
1399
+ {
1400
+ "name": "onDelete",
1401
+ "description": "Handles the delete action."
1402
+ },
1403
+ { "name": "localizer" }
1444
1404
  ],
1445
1405
  "events": []
1446
1406
  }
1447
1407
  },
1408
+ {
1409
+ "name": "wje-footer",
1410
+ "description": "This element represents a footer. `Footer` is a custom web component that represents a footer.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - **default** - Default slot for the footer content\n\n### **CSS Properties:**\n - **--primary-color** - The primary color of the footer _(default: undefined)_",
1411
+ "doc-url": "",
1412
+ "attributes": [],
1413
+ "slots": [
1414
+ {
1415
+ "name": "default",
1416
+ "description": "Default slot for the footer content"
1417
+ }
1418
+ ],
1419
+ "events": [],
1420
+ "js": {
1421
+ "properties": [{ "name": "className", "type": "string" }],
1422
+ "events": []
1423
+ }
1424
+ },
1448
1425
  {
1449
1426
  "name": "wje-format-digital",
1450
1427
  "description": "This element formats and displays digital values such as file sizes or data transfer rates.\n`FormatDigital` is a custom web component that represents a formatted digital value with units like\nbytes or bits. It extends from `WJElement` and utilizes the `Localizer` class for locale-aware formatting.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\nInitializes the shadow DOM.\n- **beforeDraw()** - Prepares the component before rendering.\nComputes the formatted value based on the input value and unit.\n- **draw(): _DocumentFragment_** - Renders the component and returns a document fragment.\nThe rendered structure includes a formatted value wrapped in a container\nwith slots for additional customization.\n\n### **CSS Parts:**\n - **native** - The native part of the component.\n- **formatted** - The part representing the formatted value.\n- **start** - Slot for content before the formatted value.\n- **end** - Slot for content after the formatted value.",
@@ -1492,6 +1469,23 @@
1492
1469
  "events": []
1493
1470
  }
1494
1471
  },
1472
+ {
1473
+ "name": "wje-header",
1474
+ "description": "`Header` is a custom web component that represents a header. It extends from `WJElement`.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - **default** - Default slot for the header content\n\n### **CSS Properties:**\n - **--wje-header-background** - The background of the header element. _(default: var(--wje-background))_\n- **--wje-header-border-color** - The border color of the header element. _(default: var(--wje-border-color))_\n- **--wje-header-border-width** - The border width of the header element. _(default: 0 0 1px 0)_\n- **--wje-header-border-style** - The border styles of the header _(default: solid)_\n- **--wje-header-top** - The position top of the header _(default: 0)_\n- **--wje-header-height** - The height of the header element. _(default: 60px)_\n- **--wje-header-z-index** - The z-index used when the header is sticky. _(default: 100)_\n\n### **CSS Parts:**\n - **native** - The native part",
1475
+ "doc-url": "",
1476
+ "attributes": [],
1477
+ "slots": [
1478
+ {
1479
+ "name": "default",
1480
+ "description": "Default slot for the header content"
1481
+ }
1482
+ ],
1483
+ "events": [],
1484
+ "js": {
1485
+ "properties": [{ "name": "className", "type": "string" }],
1486
+ "events": []
1487
+ }
1488
+ },
1495
1489
  {
1496
1490
  "name": "wje-grid",
1497
1491
  "description": "The Grid class is a custom web component that extends WJElement. It is a simple grid that can hold other elements or components.\nIt provides a slot for adding child elements or components.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the Grid.\n- **draw(): _DocumentFragment_** - Draws the Grid element.\n\n### **Slots:**\n - _default_ - The slot for adding child elements or components.",
@@ -1516,19 +1510,25 @@
1516
1510
  }
1517
1511
  },
1518
1512
  {
1519
- "name": "wje-header",
1520
- "description": "`Header` is a custom web component that represents a header. It extends from `WJElement`.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - **default** - Default slot for the header content\n\n### **CSS Properties:**\n - **--wje-header-background** - The background of the header element. _(default: var(--wje-background))_\n- **--wje-header-border-color** - The border color of the header element. _(default: var(--wje-border-color))_\n- **--wje-header-border-width** - The border width of the header element. _(default: 0 0 1px 0)_\n- **--wje-header-border-style** - The border styles of the header _(default: solid)_\n- **--wje-header-top** - The position top of the header _(default: 0)_\n- **--wje-header-height** - The height of the header element. _(default: 60px)_\n- **--wje-header-z-index** - The z-index used when the header is sticky. _(default: 100)_\n\n### **CSS Parts:**\n - **native** - The native part",
1513
+ "name": "wje-form",
1514
+ "description": "The Form class is a custom\nweb component that extends WJElement. It is a simple form that can hold other elements or components.\nIt provides a slot for adding child elements or components.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the Form.\n- **draw(): _DocumentFragment_** - Draws the Form.\n\n### **Slots:**\n - _default_ - The slot for adding child elements or components.",
1521
1515
  "doc-url": "",
1522
1516
  "attributes": [],
1523
1517
  "slots": [
1524
1518
  {
1525
- "name": "default",
1526
- "description": "Default slot for the header content"
1519
+ "name": "",
1520
+ "description": "The slot for adding child elements or components."
1527
1521
  }
1528
1522
  ],
1529
1523
  "events": [],
1530
1524
  "js": {
1531
- "properties": [{ "name": "className", "type": "string" }],
1525
+ "properties": [
1526
+ {
1527
+ "name": "className",
1528
+ "description": "The class name for the Form class.",
1529
+ "type": "string"
1530
+ }
1531
+ ],
1532
1532
  "events": []
1533
1533
  }
1534
1534
  },
@@ -1639,7 +1639,7 @@
1639
1639
  },
1640
1640
  {
1641
1641
  "name": "loader",
1642
- "description": "The URL of the image loader to display while the image is loading.",
1642
+ "description": "The URL of the image loader to display while the image is loading. Defaults to the loader asset resolved from the configured base path.",
1643
1643
  "type": "string"
1644
1644
  },
1645
1645
  {
@@ -1667,36 +1667,6 @@
1667
1667
  "events": []
1668
1668
  }
1669
1669
  },
1670
- {
1671
- "name": "wje-img-comparer",
1672
- "description": "This element allows users to compare two images. `ImgComparer` is a custom web component that represents an image comparer.\nIt extends from `WJElement` and uses the `Icon` component.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - **before** - The before image slot.\n- **after** - The after image slot.\n\n### **CSS Properties:**\n - **--wje-img-compare-divider-area** - The area of the divider. This is the size of the divider. Accepts any valid CSS size. _(default: 12px)_\n- **--wje-img-compare-divider-background** - Sets the background color of the divider in the image comparison component. Accepts any valid CSS color value (e.g., `red`, `#ff0000`, `rgba(255, 255, 255, 0.5)`). The default value is `white`, which ensures high contrast in most designs. _(default: white)_\n- **--wje-img-compare-divider-size** - The size of the divider. This is the thickness of the divider. Accepts any valid CSS size. _(default: 2px)_\n- **--wje-img-compare-divider-left** - The left position of the divider. This is the initial position of the divider. _(default: 50%)_\n- **--wje-img-compare-position** - The position of the divider. This is the position of the divider. _(default: 50%)_\n- **--wje-img-compare-clip-path** - The clip path of the divider. This is the clip path of the divider. _(default: inset(0 calc(100% - var(--wje-img-compare-position)) 0 0))_\n\n### **CSS Parts:**\n - **divider** - The divider part.",
1673
- "doc-url": "",
1674
- "attributes": [],
1675
- "slots": [
1676
- { "name": "before", "description": "The before image slot." },
1677
- { "name": "after", "description": "The after image slot." }
1678
- ],
1679
- "events": [],
1680
- "js": {
1681
- "properties": [
1682
- {
1683
- "name": "dependencies",
1684
- "description": "Dependencies of the ImgComparer component.",
1685
- "type": "object"
1686
- },
1687
- { "name": "className", "type": "string" },
1688
- {
1689
- "name": "handleDrag",
1690
- "description": "Handles the drag event."
1691
- },
1692
- {
1693
- "name": "clamp",
1694
- "description": "Clamps a number between a minimum and maximum value."
1695
- }
1696
- ],
1697
- "events": []
1698
- }
1699
- },
1700
1670
  {
1701
1671
  "name": "wje-infinite-scroll",
1702
1672
  "description": "This element allows users to scroll through a potentially infinite amount of content.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **beforeDraw(): _void_** - Prepares the component for updates before it is drawn.\nThis method handles the removal of templates for iteration, adjusts the height styling of the component,\nand manages abort signals for loading operations.\n- **draw(): _DocumentFragment_** - Creates and returns a document fragment containing the structure for an infinite scroll component.\nThe structure includes native elements, slots for customization, and optional loading content.\n- **afterDraw()** - Called after the component has been drawn.\n- **syncAria()** - Sync ARIA attributes on host.\n- **getPages(page: _number_): _Promise<object>_** - Fetches the pages from the server.\n- **hideLoader()** - Hides the loader.\n- **showLoader(): _void_** - Displays the loader element by adding the 'show' class to its class list.\nThis method is useful for indicating a loading or processing state in the UI.\n- **hasMorePages(page: _number_): _boolean_** - Checks if there are more pages to load.\n- **loadPages(page: _number_)** - Loads the pages.\n\n### **Slots:**\n - _default_ - The default slot for the infinite scroll.\n\n### **CSS Properties:**\n - **--wje-infinite-scroll-width** - Sets the width of the infinite scroll container. his property determines how wide the infinite scroll area will be relative to its parent element. Accepts any valid CSS width value, such as percentages (`%`), pixels (`px`), or viewport units (`vw`). The default value is `100%`, which makes it span the full width of its container. _(default: 100%)_\n- **--wje-infinite-scroll-height** - Defines the height of the infinite scroll container. This property specifies how tall the infinite scroll area should be. Accepts any valid CSS height value, such as pixels (`px`), percentages (`%`), or viewport units (`vh`). The default value is `300px`, providing a fixed height suitable for most use cases. //@fires wje-infinite-scroll:click-item - Event fired when an item is clicked. _(default: 300px)_\n\n### **CSS Parts:**\n - **loader** - The loader part of the infinite scroll.",
@@ -1832,79 +1802,35 @@
1832
1802
  }
1833
1803
  },
1834
1804
  {
1835
- "name": "wje-item",
1836
- "description": "This element represents an item.\n---\n\n\n### **Methods:**\n - **isClickable(): _boolean_** - Returns the CSS styles for the component.\n- **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the item.\n- **afterDraw()** - Called after the component has been drawn.\n- **syncAria()** - Sync ARIA attributes on host.\n\n### **Slots:**\n - **start** - The start slot\n- **end** - The end slot\n- **error** - The error slot\n- **helper** - The helper slot\n\n### **CSS Properties:**\n - **--wje-item-background** - Sets the background color of the item. Accepts any valid CSS color value. _(default: var(--wje-background))_\n- **--wje-item-color** - Defines the text color for the item. Accepts any valid CSS color value. _(default: var(--wje-color))_\n- **--wje-item-padding-start** - Specifies the left padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-padding-end** - Specifies the right padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-padding-top** - Specifies the top padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-padding-bottom** - Specifies the bottom padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-inner-padding-start** - Specifies the left inner padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-inner-padding-end** - Specifies the right inner padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-inner-padding-top** - Specifies the top inner padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-inner-padding-bottom** - Specifies the bottom inner padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-border-radius** - Defines the border radius, providing rounded corners for the item. _(default: var(--wje-border-radius))_\n- **--wje-item-border-width** - Sets the border width of the item. Accepts any valid CSS length. _(default: var(--wje-border-width))_\n- **--wje-item-border-style** - Specifies the style of the border, such as `solid`, `dashed`, or `dotted`. _(default: var(--wje-border-style))_\n- **--wje-item-border-color** - Defines the color of the item's border. Accepts any valid CSS color value. _(default: var(--wje-border-color))_\n- **--wje-item-min-height** - Sets the minimum height of the item to ensure consistent layout. _(default: var(--wje-min-height))_\n- **--wje-item-transition** - Specifies the transition effects for the item, such as for hover or focus states. _(default: var(--wje-transition))_\n- **--wje-item-inner-box-shadow** - Adds a shadow effect inside the item for a 3D appearance. _(default: var(--wje-box-shadow))_\n\n### **CSS Parts:**\n - **native** - The native part\n- **inner** - The inner part",
1805
+ "name": "wje-img-comparer",
1806
+ "description": "This element allows users to compare two images. `ImgComparer` is a custom web component that represents an image comparer.\nIt extends from `WJElement` and uses the `Icon` component.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - **before** - The before image slot.\n- **after** - The after image slot.\n\n### **CSS Properties:**\n - **--wje-img-compare-divider-area** - The area of the divider. This is the size of the divider. Accepts any valid CSS size. _(default: 12px)_\n- **--wje-img-compare-divider-background** - Sets the background color of the divider in the image comparison component. Accepts any valid CSS color value (e.g., `red`, `#ff0000`, `rgba(255, 255, 255, 0.5)`). The default value is `white`, which ensures high contrast in most designs. _(default: white)_\n- **--wje-img-compare-divider-size** - The size of the divider. This is the thickness of the divider. Accepts any valid CSS size. _(default: 2px)_\n- **--wje-img-compare-divider-left** - The left position of the divider. This is the initial position of the divider. _(default: 50%)_\n- **--wje-img-compare-position** - The position of the divider. This is the position of the divider. _(default: 50%)_\n- **--wje-img-compare-clip-path** - The clip path of the divider. This is the clip path of the divider. _(default: inset(0 calc(100% - var(--wje-img-compare-position)) 0 0))_\n\n### **CSS Parts:**\n - **divider** - The divider part.",
1837
1807
  "doc-url": "",
1838
1808
  "attributes": [],
1839
1809
  "slots": [
1840
- { "name": "start", "description": "The start slot" },
1841
- { "name": "end", "description": "The end slot" },
1842
- { "name": "error", "description": "The error slot" },
1843
- { "name": "helper", "description": "The helper slot" }
1810
+ { "name": "before", "description": "The before image slot." },
1811
+ { "name": "after", "description": "The after image slot." }
1844
1812
  ],
1845
1813
  "events": [],
1846
1814
  "js": {
1847
1815
  "properties": [
1848
1816
  {
1849
- "name": "className",
1850
- "description": "Returns the CSS styles for the component.",
1851
- "type": "string"
1852
- },
1853
- {
1854
- "name": "hostContext",
1855
- "description": "Determines if the given element or any of its ancestors matches the specified selector."
1817
+ "name": "dependencies",
1818
+ "description": "Dependencies of the ImgComparer component.",
1819
+ "type": "object"
1856
1820
  },
1857
- { "name": "labelColorStyles", "type": "object" },
1858
- { "name": "itemStyles" },
1859
- { "name": "inheritedAriaAttributes", "type": "object" },
1860
- { "name": "multipleInputs", "type": "boolean" },
1861
- { "name": "focusable", "type": "boolean" },
1862
- { "name": "button", "type": "boolean" },
1863
- { "name": "detailIcon" },
1864
- { "name": "disabled", "type": "boolean" },
1865
- { "name": "counter", "type": "boolean" },
1866
- { "name": "routerDirection", "type": "string" },
1867
- { "name": "type", "type": "string" }
1868
- ],
1869
- "events": []
1870
- }
1871
- },
1872
- {
1873
- "name": "wje-input-file",
1874
- "description": "This element represents a file input.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _object_** - Draws the component.\n- **afterDraw()** - After draw method for the InputFile class.\n\n### **CSS Parts:**\n - **native** - The native file input wrapper.\n- **input** - The text input.\n- **file-input** - The file input element. // @fires wje-input-file:change - Event fired when the file input changes.",
1875
- "doc-url": "",
1876
- "attributes": [],
1877
- "events": [],
1878
- "js": {
1879
- "properties": [
1821
+ { "name": "className", "type": "string" },
1880
1822
  {
1881
- "name": "value",
1882
- "description": "Gets the value of the input file."
1823
+ "name": "handleDrag",
1824
+ "description": "Handles the drag event."
1883
1825
  },
1884
1826
  {
1885
- "name": "className",
1886
- "description": "The class name for the InputFile class.",
1887
- "type": "string"
1888
- },
1889
- { "name": "_value", "type": "string" }
1827
+ "name": "clamp",
1828
+ "description": "Clamps a number between a minimum and maximum value."
1829
+ }
1890
1830
  ],
1891
1831
  "events": []
1892
1832
  }
1893
1833
  },
1894
- {
1895
- "name": "wje-label",
1896
- "description": "This element represents a label.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - _default_ - The default slot for the label.\n\n### **CSS Properties:**\n - **--wje-label-color** - Defines the text color of the label. This property determines the color of the label's text. Accepts any valid CSS color value (e.g., named colors like `black`, `red`, or values like `#000000`, `rgb(0, 0, 0)`). _(default: black)_\n- **--wje-label-font-size** - Specifies the font size of the label. This property sets the size of the label's text. Accepts any valid CSS length unit (e.g., `px`, `em`, `rem`). The default value is `16px`, which provides optimal readability in most designs. // @fires wje-label:change - Event fired when the label is changed. _(default: 16px)_\n\n### **CSS Parts:**\n - **label** - The label part of the component.",
1897
- "doc-url": "",
1898
- "attributes": [],
1899
- "slots": [
1900
- { "name": "", "description": "The default slot for the label." }
1901
- ],
1902
- "events": [],
1903
- "js": {
1904
- "properties": [{ "name": "className", "type": "string" }],
1905
- "events": []
1906
- }
1907
- },
1908
1834
  {
1909
1835
  "name": "wje-kanban",
1910
1836
  "description": "This element represents a Kanban board.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **beforeDraw(context: _object_, store: _object_, params: _object_)** - Prepares the component before drawing.\n- **draw(): _DocumentFragment_** - Draws the component after it has been prepared.\n- **syncAria()** - Sync ARIA attributes on host.\n- **afterDraw()** - Called after the component has been drawn.\n- **setupDragAndDropEvents()** - Sets up the drag and drop events for the component.\n- **setupSelectAllCardsEvent()** - Sets up the select all cards event for the component.\n- **setupMenuItemClickEvents()** - Sets up the menu item click events for the component.\n- **updateSelectedCards(pool: _HTMLElement_, isChecked: _boolean_)** - Updates the selected cards in the pool.\n- **handlePoolAction(action: _string_, pool: _HTMLElement_)** - Handles the pool action.\n- **movePool(pool: _HTMLElement_, direction: _string_)** - Moves the pool in the specified direction.\n- **renamePool(pool: _HTMLElement_)** - Renames the pool.\n- **getCardPlaceholder(): _null|*_** - Gets the card placeholder.\n- **live(eventType: _string_, selector: _string_, callback: _function_)** - Adds a live event listener to the component.\n- **setSelectedCards(isChecked: _boolean_, card: _HTMLElement_)** - Sets the selected cards.\n- **setSelectedItems()** - Sets the selected items.\n- **getPages(page): _Promise<any>_** - Fetches the pages.\n\n### **Slots:**\n - _default_ - The default slot for the Kanban board.\n\n### **CSS Parts:**\n - **native-infinite-scroll** - Styles the native part of the Kanban board.",
@@ -1968,12 +1894,12 @@
1968
1894
  }
1969
1895
  },
1970
1896
  {
1971
- "name": "wje-list",
1972
- "description": "This element represents a list.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Returns the list of attributes to observe for changes.\n- **afterDraw()** - Called after the component has been drawn.\n- **syncAria()** - Sync ARIA attributes on host.\n\n### **Slots:**\n - _default_ - The default slot for the list.\n\n### **CSS Properties:**\n - **--wje-list-inset-padding** - The padding of the list when it is inset. _(default: 1rem)_\n- **--wje-list-border-radius** - The border radius of the list. Accepts any valid CSS length. _(default: 8px)_\n- **--wje-list-background** - The background of the list. Accepts any valid CSS color value. _(default: var(--wje-background))_",
1897
+ "name": "wje-label",
1898
+ "description": "This element represents a label.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component.\n\n### **Slots:**\n - _default_ - The default slot for the label.\n\n### **CSS Properties:**\n - **--wje-label-color** - Defines the text color of the label. This property determines the color of the label's text. Accepts any valid CSS color value (e.g., named colors like `black`, `red`, or values like `#000000`, `rgb(0, 0, 0)`). _(default: black)_\n- **--wje-label-font-size** - Specifies the font size of the label. This property sets the size of the label's text. Accepts any valid CSS length unit (e.g., `px`, `em`, `rem`). The default value is `16px`, which provides optimal readability in most designs. // @fires wje-label:change - Event fired when the label is changed. _(default: 16px)_\n\n### **CSS Parts:**\n - **label** - The label part of the component.",
1973
1899
  "doc-url": "",
1974
1900
  "attributes": [],
1975
1901
  "slots": [
1976
- { "name": "", "description": "The default slot for the list." }
1902
+ { "name": "", "description": "The default slot for the label." }
1977
1903
  ],
1978
1904
  "events": [],
1979
1905
  "js": {
@@ -1982,47 +1908,50 @@
1982
1908
  }
1983
1909
  },
1984
1910
  {
1985
- "name": "wje-level-indicator",
1986
- "description": "LevelIndicator is a custom web component that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Creates a document fragment, appends a new slot element to it, and returns the fragment.\n- **afterDraw(): _void_** - Executes any additional operations or updates required after the drawing process is completed.\n- **syncAria()** - Sync ARIA attributes on host.\n- **updateBars(level: _number_, bars: _Array_): _void_** - Updates the class of each bar element based on the specified level.\n- **getColor(level: _number_, bars: _number_): _string | undefined_** - Determines the color indicator based on the given level and bars.\n\n### **CSS Parts:**\n - **** - Styles the element.",
1911
+ "name": "wje-item",
1912
+ "description": "This element represents an item.\n---\n\n\n### **Methods:**\n - **isClickable(): _boolean_** - Returns the CSS styles for the component.\n- **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the item.\n- **afterDraw()** - Called after the component has been drawn.\n- **syncAria()** - Sync ARIA attributes on host.\n\n### **Slots:**\n - **start** - The start slot\n- **end** - The end slot\n- **error** - The error slot\n- **helper** - The helper slot\n\n### **CSS Properties:**\n - **--wje-item-background** - Sets the background color of the item. Accepts any valid CSS color value. _(default: var(--wje-background))_\n- **--wje-item-color** - Defines the text color for the item. Accepts any valid CSS color value. _(default: var(--wje-color))_\n- **--wje-item-padding-start** - Specifies the left padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-padding-end** - Specifies the right padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-padding-top** - Specifies the top padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-padding-bottom** - Specifies the bottom padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-inner-padding-start** - Specifies the left inner padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-inner-padding-end** - Specifies the right inner padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-inner-padding-top** - Specifies the top inner padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-inner-padding-bottom** - Specifies the bottom inner padding of the item. Accepts any valid CSS length. _(default: var(--wje-padding))_\n- **--wje-item-border-radius** - Defines the border radius, providing rounded corners for the item. _(default: var(--wje-border-radius))_\n- **--wje-item-border-width** - Sets the border width of the item. Accepts any valid CSS length. _(default: var(--wje-border-width))_\n- **--wje-item-border-style** - Specifies the style of the border, such as `solid`, `dashed`, or `dotted`. _(default: var(--wje-border-style))_\n- **--wje-item-border-color** - Defines the color of the item's border. Accepts any valid CSS color value. _(default: var(--wje-border-color))_\n- **--wje-item-min-height** - Sets the minimum height of the item to ensure consistent layout. _(default: var(--wje-min-height))_\n- **--wje-item-transition** - Specifies the transition effects for the item, such as for hover or focus states. _(default: var(--wje-transition))_\n- **--wje-item-inner-box-shadow** - Adds a shadow effect inside the item for a 3D appearance. _(default: var(--wje-box-shadow))_\n\n### **CSS Parts:**\n - **native** - The native part\n- **inner** - The inner part",
1987
1913
  "doc-url": "",
1988
- "attributes": [
1989
- { "name": "level", "value": { "type": "string" } },
1990
- { "name": "bars", "value": { "type": "string" } }
1914
+ "attributes": [],
1915
+ "slots": [
1916
+ { "name": "start", "description": "The start slot" },
1917
+ { "name": "end", "description": "The end slot" },
1918
+ { "name": "error", "description": "The error slot" },
1919
+ { "name": "helper", "description": "The helper slot" }
1991
1920
  ],
1992
1921
  "events": [],
1993
1922
  "js": {
1994
1923
  "properties": [
1995
1924
  {
1996
- "name": "level",
1997
- "description": "Retrieves the level attribute of an element, with validation to ensure\nit is within the range of 0 to 3. If the level attribute is not present,\nthe default value is 1. The result is parsed as an integer and constrained\nto the valid range."
1998
- },
1999
- {
2000
- "name": "bars",
2001
- "description": "Retrieves the value of the \"bars\" attribute, parses it as an integer,\nand ensures it is at least 1. If the attribute is not set, defaults to 3."
1925
+ "name": "className",
1926
+ "description": "Returns the CSS styles for the component.",
1927
+ "type": "string"
2002
1928
  },
2003
1929
  {
2004
- "name": "colorize",
2005
- "description": "Determines whether the element has the \"colorize\" attribute set."
1930
+ "name": "hostContext",
1931
+ "description": "Determines if the given element or any of its ancestors matches the specified selector."
2006
1932
  },
2007
- {
2008
- "name": "reverse",
2009
- "description": "Getter method to check if the \"reverse\" attribute is present on the element."
2010
- },
2011
- { "name": "className", "type": "string" }
1933
+ { "name": "labelColorStyles", "type": "object" },
1934
+ { "name": "itemStyles" },
1935
+ { "name": "inheritedAriaAttributes", "type": "object" },
1936
+ { "name": "multipleInputs", "type": "boolean" },
1937
+ { "name": "focusable", "type": "boolean" },
1938
+ { "name": "button", "type": "boolean" },
1939
+ { "name": "detailIcon" },
1940
+ { "name": "disabled", "type": "boolean" },
1941
+ { "name": "counter", "type": "boolean" },
1942
+ { "name": "routerDirection", "type": "string" },
1943
+ { "name": "type", "type": "string" }
2012
1944
  ],
2013
1945
  "events": []
2014
1946
  }
2015
1947
  },
2016
1948
  {
2017
- "name": "wje-main",
2018
- "description": "This element represents a main section.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the main section.\n\n### **Slots:**\n - _default_ - The default slot for the main section.",
1949
+ "name": "wje-list",
1950
+ "description": "This element represents a list.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Returns the list of attributes to observe for changes.\n- **afterDraw()** - Called after the component has been drawn.\n- **syncAria()** - Sync ARIA attributes on host.\n\n### **Slots:**\n - _default_ - The default slot for the list.\n\n### **CSS Properties:**\n - **--wje-list-inset-padding** - The padding of the list when it is inset. _(default: 1rem)_\n- **--wje-list-border-radius** - The border radius of the list. Accepts any valid CSS length. _(default: 8px)_\n- **--wje-list-background** - The background of the list. Accepts any valid CSS color value. _(default: var(--wje-background))_",
2019
1951
  "doc-url": "",
2020
1952
  "attributes": [],
2021
1953
  "slots": [
2022
- {
2023
- "name": "",
2024
- "description": "The default slot for the main section."
2025
- }
1954
+ { "name": "", "description": "The default slot for the list." }
2026
1955
  ],
2027
1956
  "events": [],
2028
1957
  "js": {
@@ -2030,6 +1959,38 @@
2030
1959
  "events": []
2031
1960
  }
2032
1961
  },
1962
+ {
1963
+ "name": "wje-level-indicator",
1964
+ "description": "LevelIndicator is a custom web component that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Creates a document fragment, appends a new slot element to it, and returns the fragment.\n- **afterDraw(): _void_** - Executes any additional operations or updates required after the drawing process is completed.\n- **syncAria()** - Sync ARIA attributes on host.\n- **updateBars(level: _number_, bars: _Array_): _void_** - Updates the class of each bar element based on the specified level.\n- **getColor(level: _number_, bars: _number_): _string | undefined_** - Determines the color indicator based on the given level and bars.\n\n### **CSS Parts:**\n - **** - Styles the element.",
1965
+ "doc-url": "",
1966
+ "attributes": [
1967
+ { "name": "level", "value": { "type": "string" } },
1968
+ { "name": "bars", "value": { "type": "string" } }
1969
+ ],
1970
+ "events": [],
1971
+ "js": {
1972
+ "properties": [
1973
+ {
1974
+ "name": "level",
1975
+ "description": "Retrieves the level attribute of an element, with validation to ensure\nit is within the range of 0 to 3. If the level attribute is not present,\nthe default value is 1. The result is parsed as an integer and constrained\nto the valid range."
1976
+ },
1977
+ {
1978
+ "name": "bars",
1979
+ "description": "Retrieves the value of the \"bars\" attribute, parses it as an integer,\nand ensures it is at least 1. If the attribute is not set, defaults to 3."
1980
+ },
1981
+ {
1982
+ "name": "colorize",
1983
+ "description": "Determines whether the element has the \"colorize\" attribute set."
1984
+ },
1985
+ {
1986
+ "name": "reverse",
1987
+ "description": "Getter method to check if the \"reverse\" attribute is present on the element."
1988
+ },
1989
+ { "name": "className", "type": "string" }
1990
+ ],
1991
+ "events": []
1992
+ }
1993
+ },
2033
1994
  {
2034
1995
  "name": "wje-masonry",
2035
1996
  "description": "This element represents a masonry layout.\n---\n\n\n### **Methods:**\n - **beforeDisconnect()** - Callback for when the element is disconnected.\n- **setupAttributes()** - Sets up the attributes for the element.\n- **draw(): _DocumentFragment_** - Draws the element for the masonry layout.\n- **afterDraw()** - Called after the element is drawn.\n- **renderCols(colCount: _number_)** - Renders the columns.\n- **scheduleLayout(ms: _number_)** - Schedules a layout.\n\n### **Slots:**\n - _default_ - The default slot for the masonry layout.\n\n### **CSS Properties:**\n - **--wje-masonry-layout-gap** - The gap between items in the masonry layout. Accepts any valid CSS length. Default is 1rem. _(default: 1rem)_\n- **--wje-masonry-layout-col-count** - The count column in the masonry layout. Accepts any valid CSS length. _(default: 1)_\n\n### **CSS Parts:**\n - **native** - The native part of the masonry layout.\n- **column** - The individual columns in the masonry layout.",
@@ -2101,39 +2062,41 @@
2101
2062
  }
2102
2063
  },
2103
2064
  {
2104
- "name": "wje-menu-button",
2105
- "description": "This element represents a menu button.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the menu button.\n- **afterDraw()** - Refreshes the component after drawing. Adds a click event listener that toggles the \"open\" class on the content element.\n\n### **Slots:**\n - _default_ - The default slot for the menu button. // @fires click - Event fired when the menu button is clicked.",
2065
+ "name": "wje-input-file",
2066
+ "description": "This element represents a file input.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _object_** - Draws the component.\n- **afterDraw()** - After draw method for the InputFile class.\n\n### **CSS Parts:**\n - **native** - The native file input wrapper.\n- **input** - The text input.\n- **file-input** - The file input element. // @fires wje-input-file:change - Event fired when the file input changes.",
2106
2067
  "doc-url": "",
2107
2068
  "attributes": [],
2108
- "slots": [
2109
- {
2110
- "name": "",
2111
- "description": "The default slot for the menu button. // @fires click - Event fired when the menu button is clicked."
2112
- }
2113
- ],
2114
2069
  "events": [],
2115
2070
  "js": {
2116
- "properties": [{ "name": "className", "type": "string" }],
2071
+ "properties": [
2072
+ {
2073
+ "name": "value",
2074
+ "description": "Gets the value of the input file."
2075
+ },
2076
+ {
2077
+ "name": "className",
2078
+ "description": "The class name for the InputFile class.",
2079
+ "type": "string"
2080
+ },
2081
+ { "name": "_value", "type": "string" }
2082
+ ],
2117
2083
  "events": []
2118
2084
  }
2119
2085
  },
2120
2086
  {
2121
- "name": "wje-menu-label",
2122
- "description": "This element represents a menu label.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the menu label.\n\n### **Slots:**\n - _default_ - The default slot for the menu label.\n\n### **CSS Properties:**\n - **--wje-menu-label-font-size** - Sets the font size of the menu label. Accepts any valid CSS length unit (e.g., `rem`, `px`, `em`). _(default: .75rem)_\n- **--wje-menu-label-weight** - Specifies the font weight of the menu label. Accepts values such as `normal`, `bold`, or numeric values (e.g., `400`, `600`). _(default: 600)_\n- **--wje-letter-spacing** - Defines the spacing between letters in the menu label. Accepts any valid CSS length unit. Default value ensures slight spacing for improved readability. _(default: .025rem)_\n- **--wje-menu-label-color** - Specifies the text color of the menu label. Accepts any valid CSS color value, including variables and named colors. _(default: var(--wje-color-contrast-6))_\n- **--wje-padding-top** - Sets the top padding of the menu label. Accepts any valid CSS length value to control spacing above the label. _(default: 0)_\n- **--wje-padding-bottom** - Sets the bottom padding of the menu label. Accepts any valid CSS length value to control spacing below the label. _(default: 0)_\n- **--wje-padding-start** - Specifies the left padding of the menu label in left-to-right (LTR) layouts. In right-to-left (RTL) layouts, this becomes the right padding. Accepts any valid CSS length value. _(default: 1.5rem)_\n- **--wje-padding-end** - Specifies the right padding of the menu label in left-to-right (LTR) layouts. In right-to-left (RTL) layouts, this becomes the left padding. Accepts any valid CSS length value. _(default: 1.5rem)_\n\n### **CSS Parts:**\n - **native** - The native part of the menu label.",
2087
+ "name": "wje-menu-button",
2088
+ "description": "This element represents a menu button.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the menu button.\n- **afterDraw()** - Refreshes the component after drawing. Adds a click event listener that toggles the \"open\" class on the content element.\n\n### **Slots:**\n - _default_ - The default slot for the menu button. // @fires click - Event fired when the menu button is clicked.",
2123
2089
  "doc-url": "",
2124
2090
  "attributes": [],
2125
2091
  "slots": [
2126
2092
  {
2127
2093
  "name": "",
2128
- "description": "The default slot for the menu label."
2094
+ "description": "The default slot for the menu button. // @fires click - Event fired when the menu button is clicked."
2129
2095
  }
2130
2096
  ],
2131
2097
  "events": [],
2132
2098
  "js": {
2133
- "properties": [
2134
- { "name": "className", "type": "string" },
2135
- { "name": "hasSubmenu" }
2136
- ],
2099
+ "properties": [{ "name": "className", "type": "string" }],
2137
2100
  "events": []
2138
2101
  }
2139
2102
  },
@@ -2212,6 +2175,23 @@
2212
2175
  "events": []
2213
2176
  }
2214
2177
  },
2178
+ {
2179
+ "name": "wje-main",
2180
+ "description": "This element represents a main section.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the main section.\n\n### **Slots:**\n - _default_ - The default slot for the main section.",
2181
+ "doc-url": "",
2182
+ "attributes": [],
2183
+ "slots": [
2184
+ {
2185
+ "name": "",
2186
+ "description": "The default slot for the main section."
2187
+ }
2188
+ ],
2189
+ "events": [],
2190
+ "js": {
2191
+ "properties": [{ "name": "className", "type": "string" }],
2192
+ "events": []
2193
+ }
2194
+ },
2215
2195
  {
2216
2196
  "name": "wje-option",
2217
2197
  "description": "This element represents an option.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the option.\n- **afterDraw(): _void_** - Method executed after the drawing process is completed.\nSets up an event listener for 'click' events, linking them to the specified callback function.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **beforeDisconnect(): _void_** - Handles operations or cleanup tasks that need to occur before disconnecting.\nRemoves an event listener associated with the 'click' event and a specified callback function.\n- **optionClickCallback(e: _Event_): _void_** - Handles the click event on an option element and dispatches a custom event when triggered.\n\n### **Slots:**\n - **start** - The slot for the start of the option.\n- _default_ - The default slot for the option.\n- **end** - The slot for the end of the option. // @fires wje-option:change - Event fired when the option is clicked.\n\n### **CSS Parts:**\n - **native** - The native part of the option.",
@@ -2262,6 +2242,26 @@
2262
2242
  "events": []
2263
2243
  }
2264
2244
  },
2245
+ {
2246
+ "name": "wje-menu-label",
2247
+ "description": "This element represents a menu label.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the menu label.\n\n### **Slots:**\n - _default_ - The default slot for the menu label.\n\n### **CSS Properties:**\n - **--wje-menu-label-font-size** - Sets the font size of the menu label. Accepts any valid CSS length unit (e.g., `rem`, `px`, `em`). _(default: .75rem)_\n- **--wje-menu-label-weight** - Specifies the font weight of the menu label. Accepts values such as `normal`, `bold`, or numeric values (e.g., `400`, `600`). _(default: 600)_\n- **--wje-letter-spacing** - Defines the spacing between letters in the menu label. Accepts any valid CSS length unit. Default value ensures slight spacing for improved readability. _(default: .025rem)_\n- **--wje-menu-label-color** - Specifies the text color of the menu label. Accepts any valid CSS color value, including variables and named colors. _(default: var(--wje-color-contrast-6))_\n- **--wje-padding-top** - Sets the top padding of the menu label. Accepts any valid CSS length value to control spacing above the label. _(default: 0)_\n- **--wje-padding-bottom** - Sets the bottom padding of the menu label. Accepts any valid CSS length value to control spacing below the label. _(default: 0)_\n- **--wje-padding-start** - Specifies the left padding of the menu label in left-to-right (LTR) layouts. In right-to-left (RTL) layouts, this becomes the right padding. Accepts any valid CSS length value. _(default: 1.5rem)_\n- **--wje-padding-end** - Specifies the right padding of the menu label in left-to-right (LTR) layouts. In right-to-left (RTL) layouts, this becomes the left padding. Accepts any valid CSS length value. _(default: 1.5rem)_\n\n### **CSS Parts:**\n - **native** - The native part of the menu label.",
2248
+ "doc-url": "",
2249
+ "attributes": [],
2250
+ "slots": [
2251
+ {
2252
+ "name": "",
2253
+ "description": "The default slot for the menu label."
2254
+ }
2255
+ ],
2256
+ "events": [],
2257
+ "js": {
2258
+ "properties": [
2259
+ { "name": "className", "type": "string" },
2260
+ { "name": "hasSubmenu" }
2261
+ ],
2262
+ "events": []
2263
+ }
2264
+ },
2265
2265
  {
2266
2266
  "name": "wje-options",
2267
2267
  "description": "This element represents a set of options.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **processData(data: _object_): _Array_** - Processes the provided data based on the optional array path set in the instance.\n- **filterOutDrawnOptions(response: _object_): _object_** - Filters out options from the response object that have already been drawn, based on the specified option array path.\n- **getPages(page: _number_): _Promise<object>_** - Fetches the pages from the provided URL.\n- **findSelectedOptionData(selectedOptionValues: _Array_): _Array_** - Finds the selected option data based on the given selected option values.\n- **addOption(optionData: _object_)** - Adds an option to the element.\n- **addOptions(optionsData: _Array_, silent: _boolean_)** - Adds options to the element.",
@@ -2360,33 +2360,6 @@
2360
2360
  "events": []
2361
2361
  }
2362
2362
  },
2363
- {
2364
- "name": "wje-orgchart",
2365
- "description": "Orgchart is a custom web component that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the org chart.\n- **afterDraw()** - Syncs flat chart state to direct slotted children.\n- **syncAria()** - Sync ARIA attributes on host.\n\n### **CSS Parts:**\n - **** - Styles the element.\n- **native** - Styles the native element.",
2366
- "doc-url": "",
2367
- "attributes": [
2368
- {
2369
- "name": "flat",
2370
- "description": "Removes the incoming connector spacing for nested charts that should visually continue on the same level.",
2371
- "value": { "type": "boolean" }
2372
- }
2373
- ],
2374
- "events": [],
2375
- "js": {
2376
- "properties": [
2377
- {
2378
- "name": "flat",
2379
- "description": "Gets whether the chart omits its incoming connector spacing."
2380
- },
2381
- { "name": "className", "type": "string" },
2382
- {
2383
- "name": "syncFlatChildren",
2384
- "description": "Marks direct children that are rendered inside a flat chart."
2385
- }
2386
- ],
2387
- "events": []
2388
- }
2389
- },
2390
2363
  {
2391
2364
  "name": "wje-orgchart-item",
2392
2365
  "description": "OrgchartItem is a custom web component that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the org chart item.\n- **afterDraw()** - After Draws the component for the org chart item.\n\n### **Slots:**\n - _default_ - The default slot for the orgchart item.\n- **child** - The child slot for the orgchart item.\n\n### **CSS Parts:**\n - **** - Styles the element.\n- **native** - Styles the native element.\n- **expander** - Styles the expander element. // @fires wje-orgchart-item:click - Emitted when the item card is clicked.",
@@ -2434,6 +2407,23 @@
2434
2407
  "events": []
2435
2408
  }
2436
2409
  },
2410
+ {
2411
+ "name": "wje-panel",
2412
+ "description": "This element represents a panel.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the panel.\n- **afterDraw()** - Adds event listeners after the component is drawn.\nHandles the collapsing of breadcrumbs.\n- **getBreadcrumbs(): _Array<Element>_** - Returns all the breadcrumb elements in the panel.\n\n### **Slots:**\n - _default_ - The default slot for the panel.",
2413
+ "doc-url": "",
2414
+ "attributes": [],
2415
+ "slots": [
2416
+ { "name": "", "description": "The default slot for the panel." }
2417
+ ],
2418
+ "events": [],
2419
+ "js": {
2420
+ "properties": [
2421
+ { "name": "className", "type": "string" },
2422
+ { "name": "last", "type": "boolean" }
2423
+ ],
2424
+ "events": []
2425
+ }
2426
+ },
2437
2427
  {
2438
2428
  "name": "wje-pagination",
2439
2429
  "description": "This class represents the Pagination component for navigating through paginated content and dynamically updating navigation elements based on attributes like the number of items, page size, etc. Extends the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Creates a document fragment, appends a new slot element to it, and returns the fragment.\n- **htmlPagination(): _DocumentFragment_** - Creates a pagination control for navigating between pages of content.\nThis method generates and returns a document fragment containing pagination controls, including buttons for navigating to the first, previous, next, and last pages, as well as optional informational text about the current set of displayed items and total number of items.\n- **htmlStackButtons(paginateObj: _@param {number} paginateObj.currentPage The current active page index (1-based).\n * @param {Array<number>} paginateObj.pages An array of page numbers to display in the pagination.\n * @param {number} paginateObj.totalPages Total number of pages available for pagination.\n * _): _DocumentFragment_** - Creates and returns a DocumentFragment containing a series of buttons for pagination purposes,\nbased on the provided pagination object.\n\n### **CSS Properties:**\n - **--wje-pagination-gap** - Gap between the summary and page navigation. _(default: 1rem)_\n- **--wje-pagination-summary-gap** - Gap between summary items. _(default: 1rem)_\n- **--wje-pagination-page-size-gap** - Gap between the page-size label and selector. _(default: var(--wje-spacing-small))_\n- **--wje-pagination-mobile-gap** - Gap between pagination rows below the md container width. _(default: var(--wje-spacing-x-large))_\n- **--wje-pagination-page-size-width** - Width of the page-size selector. _(default: 68px)_\n- **--wje-pagination-page-button-width** - Width of pagination buttons. _(default: 32px)_\n- **--wje-pagination-page-button-gap** - Gap between pagination buttons. _(default: 0.5rem)_\n\n### **CSS Parts:**\n - **native** - The wrapper element for the pagination component.\n- **summary** - The wrapper for the page-size selector and item range.\n- **page-size** - The wrapper for the page-size label and selector.\n- **page-size-label** - The page-size selector label.\n- **page-size-select** - The page-size selector.\n- **info** - The item range information.\n- **pages** - The page navigation wrapper.\n- **page-button** - Any pagination button.\n- **page-number** - A numbered page button.\n- **current-page** - The current page button.\n- **first-button** - The button that navigates to the first page.\n- **previous-button** - The button that navigates to the previous page.\n- **next-button** - The button that navigates to the next page.\n- **last-button** - The button that navigates to the last page.\n- **dots** - The page range ellipsis.",
@@ -2504,23 +2494,6 @@
2504
2494
  "events": []
2505
2495
  }
2506
2496
  },
2507
- {
2508
- "name": "wje-panel",
2509
- "description": "This element represents a panel.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the panel.\n- **afterDraw()** - Adds event listeners after the component is drawn.\nHandles the collapsing of breadcrumbs.\n- **getBreadcrumbs(): _Array<Element>_** - Returns all the breadcrumb elements in the panel.\n\n### **Slots:**\n - _default_ - The default slot for the panel.",
2510
- "doc-url": "",
2511
- "attributes": [],
2512
- "slots": [
2513
- { "name": "", "description": "The default slot for the panel." }
2514
- ],
2515
- "events": [],
2516
- "js": {
2517
- "properties": [
2518
- { "name": "className", "type": "string" },
2519
- { "name": "last", "type": "boolean" }
2520
- ],
2521
- "events": []
2522
- }
2523
- },
2524
2497
  {
2525
2498
  "name": "wje-popup",
2526
2499
  "description": "This element represents a popup.\n---\n\n\n### **Events:**\n - **wje-portal:restored**\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the popup.\n- **afterDraw()** - After Draws the component.\n- **setAnchor()** - Sets the anchor for the popup.\nAdds a click event listener to the anchor element.\n- **showHide()** - Toggles the active attribute of the popup.\n- **reposition()** - Repositions the popup.\nUses the floating-ui library to compute the position.\n- **_mountContentToPortal(): _void_** - Mounts content to a portal container by creating or ensuring a portal root and mirroring\nthe host's classes, attributes, and slot contents onto the portal. This method manages the\nmovement of default and arrow slot content into the portal shadow DOM, while also setting\nup necessary mutation observers to keep attributes in sync.\n- **_restoreContentFromPortal(): _void_** - Restores the content previously moved to a portal back to its original location.\nThis method handles restoring default slot content, arrow placeholders, disconnecting\nattribute mirroring observers, and cleaning up elements and containers related to the portal.\nEnsures all placeholders and native portal elements are properly removed from the DOM.\n- **_ensurePortalRoot(): _void_** - Ensures that a portal root is created and initialized properly with a shadow DOM and attached styles.\nIf the portal root already exists, the method exits early.\nThe method creates a `div` element in the document body and attaches a shadow DOM to it.\nIt also applies the required styles to the shadow DOM, either using constructable stylesheets\nor by appending a `<style>` element. Additionally, it copies CSS custom properties from the\ncomponent's computed styles to the portal host to ensure proper style resolution.\n- **show(dispatchEvent: _boolean_): _void_** - Displays the popup by portaling the content, managing the loader state, and attaching event handlers.\nOptionally dispatches a custom event when the popup is shown.\n- **hide(dispatchEvent)** - Hides the popup.\nRemoves the popup-active class from the floating element.\nCleans up the auto update for repositioning.\n\n### **Slots:**\n - **anchor** - The slot for the anchor of the popup.\n- **arrow** - The slot for the arrow of the popup.\n- _default_ - The default slot for the popup.\n\n### **CSS Properties:**\n - **--wje-popup-backdrop-background** - Backdrop background used by mobile bottom sheet popups. _(default: var(--wje-backdrop))_\n- **--wje-popup-backdrop-opacity** - Backdrop opacity used by mobile bottom sheet popups. _(default: 1)_\n- **--wje-popup-mobile-background** - Background of the mobile bottom sheet panel. _(default: var(--wje-select-options-background-color))_\n- **--wje-popup-mobile-border-radius** - Border radius of the mobile bottom sheet panel. _(default: var(--wje-border-radius-large) var(--wje-border-radius-large) 0 0)_\n- **--wje-popup-mobile-box-shadow** - Shadow of the mobile bottom sheet panel. _(default: 0 -8px 32px rgba(0, 0, 0, 0.16))_\n- **--wje-popup-mobile-max-height** - Maximum height of the mobile bottom sheet panel. _(default: 90vh)_\n- **--wje-popup-mobile-transition-duration** - Transition duration for the mobile bottom sheet and backdrop. _(default: 250ms)_\n- **--wje-popup-mobile-transition-easing** - Transition easing for the mobile bottom sheet and backdrop. _(default: ease)_\n- **--wje-popup-loader-inset** - Inset used by the popup loader overlay. _(default: 0)_\n\n### **CSS Parts:**\n - **native** - The native part of the popup.\n- **backdrop** - The backdrop used by mobile bottom sheet presentation.",
@@ -2594,6 +2567,33 @@
2594
2567
  "events": [{ "name": "wje-portal:restored", "type": "CustomEvent" }]
2595
2568
  }
2596
2569
  },
2570
+ {
2571
+ "name": "wje-orgchart",
2572
+ "description": "Orgchart is a custom web component that extends WJElement.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the org chart.\n- **afterDraw()** - Syncs flat chart state to direct slotted children.\n- **syncAria()** - Sync ARIA attributes on host.\n\n### **CSS Parts:**\n - **** - Styles the element.\n- **native** - Styles the native element.",
2573
+ "doc-url": "",
2574
+ "attributes": [
2575
+ {
2576
+ "name": "flat",
2577
+ "description": "Removes the incoming connector spacing for nested charts that should visually continue on the same level.",
2578
+ "value": { "type": "boolean" }
2579
+ }
2580
+ ],
2581
+ "events": [],
2582
+ "js": {
2583
+ "properties": [
2584
+ {
2585
+ "name": "flat",
2586
+ "description": "Gets whether the chart omits its incoming connector spacing."
2587
+ },
2588
+ { "name": "className", "type": "string" },
2589
+ {
2590
+ "name": "syncFlatChildren",
2591
+ "description": "Marks direct children that are rendered inside a flat chart."
2592
+ }
2593
+ ],
2594
+ "events": []
2595
+ }
2596
+ },
2597
2597
  {
2598
2598
  "name": "wje-progress-bar",
2599
2599
  "description": "This element represents a progress bar.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(context: _object_, store: _object_, params: _object_): _DocumentFragment_** - Draws the component.\n- **syncAria()** - Sync ARIA attributes on host.\n- **afterDraw()** - Adds event listeners after the component is drawn.\n- **getCircleDasharray(radius: _number_): _number_** - Returns the dasharray for a circle with the given radius.\n- **getCircleDashoffset(progress: _number_, radius: _number_): _number_** - Returns the dashoffset for a circle with the given progress and radius.\n- **setCircleProgress(percent)** - Sets the progress of the circle.\n\n### **Slots:**\n - _default_ - The default slot for the progress bar.\n- **start** - The start slot of the progress bar.\n- **end** - The end slot of the progress bar.\n\n### **CSS Properties:**\n - **--wje-progress-bar-color** - Sets the color of the progress bar. This property controls the fill color of the progress indicator. Accepts any valid CSS color value, such as named colors (`red`), hex values (`#ff0000`), or CSS variables. _(default: var(--wje-color-contrast-6))_\n- **--wje-progress-bar-text-size** - Defines the font size of the text displayed within the progress bar. Accepts any valid CSS length unit (e.g., `rem`, `px`, `em`) to control text size relative to the bar's design. _(default: .75rem)_\n- **--wje-progress-bar-text-color** - Specifies the color of the text displayed within the progress bar. Accepts any valid CSS color value to ensure contrast and readability against the progress bar's background. _(default: var(--wje-color))_",
@@ -2642,40 +2642,41 @@
2642
2642
  }
2643
2643
  },
2644
2644
  {
2645
- "name": "wje-radio-group",
2646
- "description": "This element represents a group of radio buttons.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the radio group.\n- **afterDraw()** - Adds event listeners after the component is drawn. Handles the selection of radio buttons.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **getRadioByValue(value: _string_): _Radio_** - Returns the radio button with the given value.\n- **removeCheck()** - Removes the check from all radio buttons.\n- **checkRadio(radio)** - Sets the given radio button to checked.\n- **getAllElements(): _HTMLElement[]_** - Retrieves all direct child elements of the current element.\n\n### **Slots:**\n - _default_ - The default slot for the radio group.",
2645
+ "name": "wje-radio",
2646
+ "description": "This class represents a Radio button element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the radio button.\n- **afterDraw()** - Sets up the event listeners for the component.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **beforeDisconnect()** - Toggles the radio button.\n\n### **Slots:**\n - _default_ - Default slot for the radio button label content.\n\n### **CSS Properties:**\n - **--wje-radio-margin-inline** - Specifies the horizontal (left and right) margin for the radio button. Accepts any valid CSS length unit (e.g., `px`, `rem`, `%`) to control spacing on both sides of the component. _(default: 0)_\n- **--wje-radio-margin-top** - Defines the top margin for the radio button. Accepts any valid CSS length value to adjust vertical spacing above the component. _(default: 0)_\n- **--wje-radio-margin-bottom** - Sets the bottom margin for the radio button. Accepts any valid CSS length value to adjust vertical spacing below the component. // @fires wje-radio:change - Dispatched when the radio button's state changes. // @fires wje-radio:input - Dispatched when the radio button is interacted with. _(default: 0)_\n\n### **CSS Parts:**\n - **native-radio** - The native wrapper for the radio button.",
2647
2647
  "doc-url": "",
2648
2648
  "attributes": [
2649
- { "name": "required", "value": { "type": "string" } },
2650
- { "name": "value", "value": { "type": "string" } },
2649
+ { "name": "checked", "value": { "type": "string" } },
2651
2650
  { "name": "disabled", "value": { "type": "string" } },
2652
- { "name": "invalid", "value": { "type": "string" } },
2653
- { "name": "label", "value": { "type": "string" } }
2651
+ { "name": "value", "value": { "type": "string" } }
2654
2652
  ],
2655
2653
  "slots": [
2656
2654
  {
2657
2655
  "name": "",
2658
- "description": "The default slot for the radio group."
2656
+ "description": "Default slot for the radio button label content."
2659
2657
  }
2660
2658
  ],
2661
2659
  "events": [],
2662
2660
  "js": {
2663
2661
  "properties": [
2662
+ { "name": "value" },
2664
2663
  {
2665
- "name": "value",
2666
- "description": "Getter for the value attribute."
2664
+ "name": "checked",
2665
+ "description": "Gets the checked property of the radio button."
2667
2666
  },
2668
2667
  {
2669
- "name": "required",
2670
- "description": "Getter for the name attribute."
2668
+ "name": "disabled",
2669
+ "description": "Get disabled attribute value."
2671
2670
  },
2672
2671
  {
2673
- "name": "label",
2674
- "description": "Getter for the label attribute."
2672
+ "name": "className",
2673
+ "description": "Sets the color of the radio button.",
2674
+ "type": "string"
2675
2675
  },
2676
- { "name": "className", "type": "string" },
2677
- { "name": "invalid", "type": "boolean" },
2678
- { "name": "pristine", "type": "boolean" }
2676
+ {
2677
+ "name": "inputEvent",
2678
+ "description": "Called when an attribute changes."
2679
+ }
2679
2680
  ],
2680
2681
  "events": []
2681
2682
  }
@@ -2748,41 +2749,40 @@
2748
2749
  }
2749
2750
  },
2750
2751
  {
2751
- "name": "wje-radio",
2752
- "description": "This class represents a Radio button element, extending the WJElement class.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the radio button.\n- **afterDraw()** - Sets up the event listeners for the component.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **beforeDisconnect()** - Toggles the radio button.\n\n### **Slots:**\n - _default_ - Default slot for the radio button label content.\n\n### **CSS Properties:**\n - **--wje-radio-margin-inline** - Specifies the horizontal (left and right) margin for the radio button. Accepts any valid CSS length unit (e.g., `px`, `rem`, `%`) to control spacing on both sides of the component. _(default: 0)_\n- **--wje-radio-margin-top** - Defines the top margin for the radio button. Accepts any valid CSS length value to adjust vertical spacing above the component. _(default: 0)_\n- **--wje-radio-margin-bottom** - Sets the bottom margin for the radio button. Accepts any valid CSS length value to adjust vertical spacing below the component. // @fires wje-radio:change - Dispatched when the radio button's state changes. // @fires wje-radio:input - Dispatched when the radio button is interacted with. _(default: 0)_\n\n### **CSS Parts:**\n - **native-radio** - The native wrapper for the radio button.",
2752
+ "name": "wje-radio-group",
2753
+ "description": "This element represents a group of radio buttons.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the radio group.\n- **afterDraw()** - Adds event listeners after the component is drawn. Handles the selection of radio buttons.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **getRadioByValue(value: _string_): _Radio_** - Returns the radio button with the given value.\n- **removeCheck()** - Removes the check from all radio buttons.\n- **checkRadio(radio)** - Sets the given radio button to checked.\n- **getAllElements(): _HTMLElement[]_** - Retrieves all direct child elements of the current element.\n\n### **Slots:**\n - _default_ - The default slot for the radio group.",
2753
2754
  "doc-url": "",
2754
2755
  "attributes": [
2755
- { "name": "checked", "value": { "type": "string" } },
2756
+ { "name": "required", "value": { "type": "string" } },
2757
+ { "name": "value", "value": { "type": "string" } },
2756
2758
  { "name": "disabled", "value": { "type": "string" } },
2757
- { "name": "value", "value": { "type": "string" } }
2758
- ],
2759
+ { "name": "invalid", "value": { "type": "string" } },
2760
+ { "name": "label", "value": { "type": "string" } }
2761
+ ],
2759
2762
  "slots": [
2760
2763
  {
2761
2764
  "name": "",
2762
- "description": "Default slot for the radio button label content."
2765
+ "description": "The default slot for the radio group."
2763
2766
  }
2764
2767
  ],
2765
2768
  "events": [],
2766
2769
  "js": {
2767
2770
  "properties": [
2768
- { "name": "value" },
2769
2771
  {
2770
- "name": "checked",
2771
- "description": "Gets the checked property of the radio button."
2772
+ "name": "value",
2773
+ "description": "Getter for the value attribute."
2772
2774
  },
2773
2775
  {
2774
- "name": "disabled",
2775
- "description": "Get disabled attribute value."
2776
+ "name": "required",
2777
+ "description": "Getter for the name attribute."
2776
2778
  },
2777
2779
  {
2778
- "name": "className",
2779
- "description": "Sets the color of the radio button.",
2780
- "type": "string"
2780
+ "name": "label",
2781
+ "description": "Getter for the label attribute."
2781
2782
  },
2782
- {
2783
- "name": "inputEvent",
2784
- "description": "Called when an attribute changes."
2785
- }
2783
+ { "name": "className", "type": "string" },
2784
+ { "name": "invalid", "type": "boolean" },
2785
+ { "name": "pristine", "type": "boolean" }
2786
2786
  ],
2787
2787
  "events": []
2788
2788
  }
@@ -2869,24 +2869,30 @@
2869
2869
  }
2870
2870
  },
2871
2871
  {
2872
- "name": "wje-reorder-dropzone",
2873
- "description": "This element represents a reorder dropzone.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Returns the list of observed attributes.\n\n### **Slots:**\n - _default_ - The default slot for the reorder dropzone.\n\n### **CSS Parts:**\n - **native** - The native part of the reorder dropzone.",
2872
+ "name": "wje-relative-time",
2873
+ "description": "This element represents a relative time component.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the relative time.\n- **getRelativeTimeString(lang)** - Returns the relative time string for the given date.\n- **isISODate(str: _string_): _boolean_** - Checks if the given string is an ISO date.\n\n### **CSS Parts:**\n - **native** - The native part of the relative time component.",
2874
2874
  "doc-url": "",
2875
- "attributes": [],
2876
- "slots": [
2877
- {
2878
- "name": "",
2879
- "description": "The default slot for the reorder dropzone."
2880
- }
2875
+ "attributes": [
2876
+ { "name": "date", "value": { "type": "string" } },
2877
+ { "name": "lang", "value": { "type": "string" } }
2881
2878
  ],
2882
2879
  "events": [],
2883
2880
  "js": {
2884
2881
  "properties": [
2882
+ {
2883
+ "name": "date",
2884
+ "description": "Gets the date of the relative time component."
2885
+ },
2886
+ {
2887
+ "name": "objectDate",
2888
+ "description": "Gets the object date of the relative time component."
2889
+ },
2885
2890
  {
2886
2891
  "name": "className",
2887
- "description": "The class name for the component.",
2892
+ "description": "Sets the lang of the relative time component.",
2888
2893
  "type": "string"
2889
- }
2894
+ },
2895
+ { "name": "localizer" }
2890
2896
  ],
2891
2897
  "events": []
2892
2898
  }
@@ -2922,30 +2928,47 @@
2922
2928
  }
2923
2929
  },
2924
2930
  {
2925
- "name": "wje-relative-time",
2926
- "description": "This element represents a relative time component.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the relative time.\n- **getRelativeTimeString(lang)** - Returns the relative time string for the given date.\n- **isISODate(str: _string_): _boolean_** - Checks if the given string is an ISO date.\n\n### **CSS Parts:**\n - **native** - The native part of the relative time component.",
2931
+ "name": "wje-reorder-dropzone",
2932
+ "description": "This element represents a reorder dropzone.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Returns the list of observed attributes.\n\n### **Slots:**\n - _default_ - The default slot for the reorder dropzone.\n\n### **CSS Parts:**\n - **native** - The native part of the reorder dropzone.",
2927
2933
  "doc-url": "",
2928
- "attributes": [
2929
- { "name": "date", "value": { "type": "string" } },
2930
- { "name": "lang", "value": { "type": "string" } }
2934
+ "attributes": [],
2935
+ "slots": [
2936
+ {
2937
+ "name": "",
2938
+ "description": "The default slot for the reorder dropzone."
2939
+ }
2931
2940
  ],
2932
2941
  "events": [],
2933
2942
  "js": {
2934
2943
  "properties": [
2935
2944
  {
2936
- "name": "date",
2937
- "description": "Gets the date of the relative time component."
2938
- },
2939
- {
2940
- "name": "objectDate",
2941
- "description": "Gets the object date of the relative time component."
2942
- },
2945
+ "name": "className",
2946
+ "description": "The class name for the component.",
2947
+ "type": "string"
2948
+ }
2949
+ ],
2950
+ "events": []
2951
+ }
2952
+ },
2953
+ {
2954
+ "name": "wje-reorder-item",
2955
+ "description": "This element represents a reorder item.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Returns the list of observed attributes.\n\n### **Slots:**\n - _default_ - The default slot for the reorder item.\n\n### **CSS Parts:**\n - **native-reorder-item** - The native part of the reorder item.\n- **handle-part** - The handle part of the reorder item when the handle slot is present.",
2956
+ "doc-url": "",
2957
+ "attributes": [],
2958
+ "slots": [
2959
+ {
2960
+ "name": "",
2961
+ "description": "The default slot for the reorder item."
2962
+ }
2963
+ ],
2964
+ "events": [],
2965
+ "js": {
2966
+ "properties": [
2943
2967
  {
2944
2968
  "name": "className",
2945
- "description": "Sets the lang of the relative time component.",
2969
+ "description": "The class name for the component.",
2946
2970
  "type": "string"
2947
- },
2948
- { "name": "localizer" }
2971
+ }
2949
2972
  ],
2950
2973
  "events": []
2951
2974
  }
@@ -2976,6 +2999,17 @@
2976
2999
  "events": []
2977
3000
  }
2978
3001
  },
3002
+ {
3003
+ "name": "wje-route",
3004
+ "description": "This element represents a route in a routing system.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the route.",
3005
+ "doc-url": "",
3006
+ "attributes": [],
3007
+ "events": [],
3008
+ "js": {
3009
+ "properties": [{ "name": "className", "type": "string" }],
3010
+ "events": []
3011
+ }
3012
+ },
2979
3013
  {
2980
3014
  "name": "wje-router",
2981
3015
  "description": "This element represents a router in a routing system.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **beforeDraw()** - Sets up the router after the component is drawn.\n- **parseElement(element: _Element_): _object_** - Parses an element and returns an object representation.\n- **beforeDisconnect()** - Cleans up before the component is disconnected.",
@@ -2999,29 +3033,6 @@
2999
3033
  "events": []
3000
3034
  }
3001
3035
  },
3002
- {
3003
- "name": "wje-reorder-item",
3004
- "description": "This element represents a reorder item.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Returns the list of observed attributes.\n\n### **Slots:**\n - _default_ - The default slot for the reorder item.\n\n### **CSS Parts:**\n - **native-reorder-item** - The native part of the reorder item.\n- **handle-part** - The handle part of the reorder item when the handle slot is present.",
3005
- "doc-url": "",
3006
- "attributes": [],
3007
- "slots": [
3008
- {
3009
- "name": "",
3010
- "description": "The default slot for the reorder item."
3011
- }
3012
- ],
3013
- "events": [],
3014
- "js": {
3015
- "properties": [
3016
- {
3017
- "name": "className",
3018
- "description": "The class name for the component.",
3019
- "type": "string"
3020
- }
3021
- ],
3022
- "events": []
3023
- }
3024
- },
3025
3036
  {
3026
3037
  "name": "wje-router-link",
3027
3038
  "description": "This element represents a router link in a routing system.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the router link.\n- **beforeDisconnect()** - Cleans up before the component is disconnected.\n\n### **Slots:**\n - _default_ - The default slot for the router link.",
@@ -3039,17 +3050,6 @@
3039
3050
  "events": []
3040
3051
  }
3041
3052
  },
3042
- {
3043
- "name": "wje-route",
3044
- "description": "This element represents a route in a routing system.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the route.",
3045
- "doc-url": "",
3046
- "attributes": [],
3047
- "events": [],
3048
- "js": {
3049
- "properties": [{ "name": "className", "type": "string" }],
3050
- "events": []
3051
- }
3052
- },
3053
3053
  {
3054
3054
  "name": "wje-router-outlet",
3055
3055
  "description": "This element represents a route in a routing system.\n---\n",
@@ -3087,6 +3087,112 @@
3087
3087
  "events": []
3088
3088
  }
3089
3089
  },
3090
+ {
3091
+ "name": "wje-select",
3092
+ "description": "\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the select.\n- **afterDraw(): _void_** - Executes post-render logic for the custom element.\nThis includes validation, event listener registration, managing custom attributes, and\nhandling options initialization for the component.\n- **getAllOptions(): _NodeList_** - Returns all the options as HTML.\n- **selectionChanged(options: _Array|null_, length: _number_): _void_** - Handles changes in the selection for a component, updating internal values, input fields,\nand visual presentation (like chips or slots) as per the given selection options.\n- **selections(silence: _boolean_): _void_** - Handles the logic for updating selections based on the current selected options,\nupdating chips content, and dispatching change events if necessary.\n- **counter(): _void_** - Updates the counter element to reflect the current state of selected values relative to the maximum allowed options.\nIf the maximum options are selected, the counter element is removed. If it does not already exist and needs to be displayed, it is created.\n- **getChip(option: _object_): _HTMLElement_** - Creates and returns a chip element with specified properties and a label.\n- **htmlOption(item: _object_, map: _@param {string} [map.value] The property of the item to use for the option's value.\n\t * @param {string} [map.text] The property of the item to use for the option's text.\n\t * _): _HTMLElement_** - Generates an HTML option element based on the provided item and mapping.\n- **htmlSelectedItem(item: _any_): _any_** - Returns the provided item.\n- **addOption(optionData: _object_, silent: _boolean_, map: _@param {string} [map.value] The key in optionData that represents the value of the option.\n\t * @param {string} [map.text] The key in optionData that represents the text of the option.\n\t * _): _void_** - Adds a new option to the component.\n- **addOptions(optionsData: _Array | object_, silent: _boolean_, map: _@param {string} [map.value] The property in the optionsData that represents the value of the option.\n\t * @param {string} [map.text] The property in the optionsData that represents the text of the option.\n\t * _): _void_** - Adds one or more options to a collection. If the input is an array, it adds each option within the array.\nOtherwise, it adds a single option.\n- **selectOption(value: _string_, silent: _boolean_): _void_** - Selects an option from the available options within the component.\n- **selectOptions(values: _any|any[]_, silent: _boolean_): _void_** - Selects multiple options based on the provided values. If a single value is provided, it selects that option.\nIf an array of values is provided, it iterates through the array and selects each option.\n- **optionCheckSlot(option: _HTMLElement_): _void_** - Clones and appends an icon with the \"check\" slot to the specified option element.\nIf the option already contains a custom element with slot=\"check\" (e.g. <wje-status slot=\"check\">),\nit is left untouched and no template icon is added.\n- **clearSelections(): _void_** - Clears all selected options and resets selections.\nThe method ensures that all options are deselected, updates the internal state, validates the selections,\npropagates the validation status, and indicates invalid state if necessary.\n- **syncAria()** - Syncs ARIA attributes on the host element.",
3093
+ "doc-url": "",
3094
+ "attributes": [
3095
+ { "name": "active", "value": { "type": "string" } },
3096
+ { "name": "disabled", "value": { "type": "string" } },
3097
+ { "name": "readonly", "value": { "type": "string" } },
3098
+ { "name": "portaled", "value": { "type": "string" } }
3099
+ ],
3100
+ "events": [],
3101
+ "js": {
3102
+ "properties": [
3103
+ {
3104
+ "name": "dependencies",
3105
+ "description": "An object representing component dependencies with their respective classes.\nEach property in the object maps a custom component name (as a string key)\nto its corresponding class or constructor.",
3106
+ "type": "object"
3107
+ },
3108
+ {
3109
+ "name": "value",
3110
+ "description": "Retrieves the current value."
3111
+ },
3112
+ {
3113
+ "name": "maxOptions",
3114
+ "description": "Retrieves the maximum number of options allowed.\nParses the value of the 'max-options' attribute from the element and converts it to a number.\nIf the attribute is not present or cannot be converted to a valid number, defaults to 1."
3115
+ },
3116
+ { "name": "defaultValue" },
3117
+ {
3118
+ "name": "portaled",
3119
+ "description": "Getter for the `portaled` attribute value."
3120
+ },
3121
+ {
3122
+ "name": "isPortaled",
3123
+ "description": "Checks whether popup content should be portaled."
3124
+ },
3125
+ {
3126
+ "name": "trigger",
3127
+ "description": "Returns the trigger value."
3128
+ },
3129
+ {
3130
+ "name": "disabled",
3131
+ "description": "Retrieves the current state of the 'disabled' attribute."
3132
+ },
3133
+ {
3134
+ "name": "readonly",
3135
+ "description": "Checks if the 'readonly' attribute is present on the element."
3136
+ },
3137
+ {
3138
+ "name": "maxHeight",
3139
+ "description": "Retrieves the maximum height value, which is determined by the 'max-height' attribute.\nIf the attribute is not set, a default value of '200px' is returned."
3140
+ },
3141
+ {
3142
+ "name": "offset",
3143
+ "description": "Gets the value of the offset attribute of the current element.\nIf the offset attribute is not present, returns a default value of '0'."
3144
+ },
3145
+ {
3146
+ "name": "selectedOptions",
3147
+ "description": "Retrieves the selected options."
3148
+ },
3149
+ {
3150
+ "name": "lazy",
3151
+ "description": "Getter for the 'lazy' property."
3152
+ },
3153
+ {
3154
+ "name": "noSize",
3155
+ "description": "Gets the value of the 'no-size' attribute for the element."
3156
+ },
3157
+ {
3158
+ "name": "customErrorDisplay",
3159
+ "description": "Getter for the customErrorDisplay attribute."
3160
+ },
3161
+ {
3162
+ "name": "options",
3163
+ "description": "Retrieves the complete list of options available for the component.\nThe options are determined by combining elements from various sources, including loaded options, added options, and HTML-sourced options.\nIf a `wje-options` element is present within the component, its loaded options are included in the merged list.\nIn the absence of a `wje-options` element, duplicates among the added and HTML options are removed, retaining their order."
3164
+ },
3165
+ { "name": "className", "type": "string" },
3166
+ {
3167
+ "name": "optionChange",
3168
+ "description": "Handles the change event for an option element within a select-like component.\nThis method processes user interactions with options and updates the state of the component,\nincluding selection management, validation, and UI updates. Behavior differs based on\nwhether the component supports multiple selections.\nKey functionality:\n- Prevents the default behavior, event propagation, and immediate propagation of the event.\n- Retrieves all options within the component.\n- If the component doesn't support multiple selection:\n - Marks only the clicked option as selected and deselects others.\n - Hides the option popup.\n- If the component supports multiple selection:\n - Processes the clicked option without deselecting others.\n- Updates the selected options and triggers validation.\n- Marks the form state as non-pristine.\n- Propagates the validation state to other relevant parts of the component or system."
3169
+ },
3170
+ {
3171
+ "name": "processClickedOption",
3172
+ "description": "Handles the logic for processing the selection state of a clicked option element."
3173
+ },
3174
+ {
3175
+ "name": "removeChip",
3176
+ "description": "Handles the removal of a chip element from the DOM and updates the related state."
3177
+ },
3178
+ { "name": "localizer" },
3179
+ { "name": "native", "type": "HTMLElement|null" },
3180
+ { "name": "popup", "type": "HTMLElement|null" },
3181
+ { "name": "labelElement", "type": "HTMLElement|null" },
3182
+ { "name": "slotStart", "type": "HTMLElement|null" },
3183
+ { "name": "slotEnd", "type": "HTMLElement|null" },
3184
+ { "name": "input", "type": "HTMLElement|null" },
3185
+ { "name": "displayText", "type": "HTMLElement|null" },
3186
+ { "name": "chips", "type": "HTMLElement|null" },
3187
+ { "name": "clear", "type": "HTMLElement|null" },
3188
+ { "name": "list", "type": "HTMLElement|null" },
3189
+ { "name": "emptyState", "type": "HTMLElement|null" },
3190
+ { "name": "_value", "type": "array" },
3191
+ { "name": "_selectedOptions", "type": "array" }
3192
+ ],
3193
+ "events": []
3194
+ }
3195
+ },
3090
3196
  {
3091
3197
  "name": "wje-slider",
3092
3198
  "description": "Represents a slider component that extends the WJElement class.\nThis slider supports features such as min, max, step values, bubble display, and event handling.\nIt offers both getter and setter methods for its attributes and dynamically handles rendering and updates.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the slider.\n- **afterDraw(): _void_** - Handles the post-rendering logic for a custom slider component. This method performs the following tasks:\n- Sets the position of the handle.\n- Displays a bubble indicator with the current value, if the slider has a \"bubble\" attribute.\n- Dispatches initialization, movement, and change custom events for the slider input element.\n- Updates the bubble position and value dynamically on input changes.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **getPercentage(min: _number_, max: _number_, value: _number_): _number_** - Calculates the percentage of a value within a given range.",
@@ -3362,122 +3468,16 @@
3362
3468
  },
3363
3469
  {
3364
3470
  "name": "triggerEvent",
3365
- "description": "Triggers the event based on the target element.\nIf the target element is different from the last caller, it refreshes the children by calling the `open` method.\nIf the target element is the same as the last caller, it toggles the state by calling the `toggle` method."
3366
- },
3367
- { "name": "_isOpen", "type": "boolean" },
3368
- { "name": "_lastCaller", "type": "null" },
3369
- { "name": "_sheetDrag", "type": "null" },
3370
- { "name": "_sheetIgnoreDismissUntil", "type": "number" },
3371
- { "name": "_sheetBackdropGesture", "type": "null" },
3372
- { "name": "_sheetBackdropHandledUntil", "type": "number" },
3373
- { "name": "_bottomSheetScopeFrame", "type": "null" },
3374
- { "name": "_resizeObserver" }
3375
- ],
3376
- "events": []
3377
- }
3378
- },
3379
- {
3380
- "name": "wje-select",
3381
- "description": "\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the select.\n- **afterDraw(): _void_** - Executes post-render logic for the custom element.\nThis includes validation, event listener registration, managing custom attributes, and\nhandling options initialization for the component.\n- **getAllOptions(): _NodeList_** - Returns all the options as HTML.\n- **selectionChanged(options: _Array|null_, length: _number_): _void_** - Handles changes in the selection for a component, updating internal values, input fields,\nand visual presentation (like chips or slots) as per the given selection options.\n- **selections(silence: _boolean_): _void_** - Handles the logic for updating selections based on the current selected options,\nupdating chips content, and dispatching change events if necessary.\n- **counter(): _void_** - Updates the counter element to reflect the current state of selected values relative to the maximum allowed options.\nIf the maximum options are selected, the counter element is removed. If it does not already exist and needs to be displayed, it is created.\n- **getChip(option: _object_): _HTMLElement_** - Creates and returns a chip element with specified properties and a label.\n- **htmlOption(item: _object_, map: _@param {string} [map.value] The property of the item to use for the option's value.\n\t * @param {string} [map.text] The property of the item to use for the option's text.\n\t * _): _HTMLElement_** - Generates an HTML option element based on the provided item and mapping.\n- **htmlSelectedItem(item: _any_): _any_** - Returns the provided item.\n- **addOption(optionData: _object_, silent: _boolean_, map: _@param {string} [map.value] The key in optionData that represents the value of the option.\n\t * @param {string} [map.text] The key in optionData that represents the text of the option.\n\t * _): _void_** - Adds a new option to the component.\n- **addOptions(optionsData: _Array | object_, silent: _boolean_, map: _@param {string} [map.value] The property in the optionsData that represents the value of the option.\n\t * @param {string} [map.text] The property in the optionsData that represents the text of the option.\n\t * _): _void_** - Adds one or more options to a collection. If the input is an array, it adds each option within the array.\nOtherwise, it adds a single option.\n- **selectOption(value: _string_, silent: _boolean_): _void_** - Selects an option from the available options within the component.\n- **selectOptions(values: _any|any[]_, silent: _boolean_): _void_** - Selects multiple options based on the provided values. If a single value is provided, it selects that option.\nIf an array of values is provided, it iterates through the array and selects each option.\n- **optionCheckSlot(option: _HTMLElement_): _void_** - Clones and appends an icon with the \"check\" slot to the specified option element.\nIf the option already contains a custom element with slot=\"check\" (e.g. <wje-status slot=\"check\">),\nit is left untouched and no template icon is added.\n- **clearSelections(): _void_** - Clears all selected options and resets selections.\nThe method ensures that all options are deselected, updates the internal state, validates the selections,\npropagates the validation status, and indicates invalid state if necessary.\n- **syncAria()** - Syncs ARIA attributes on the host element.",
3382
- "doc-url": "",
3383
- "attributes": [
3384
- { "name": "active", "value": { "type": "string" } },
3385
- { "name": "disabled", "value": { "type": "string" } },
3386
- { "name": "readonly", "value": { "type": "string" } },
3387
- { "name": "portaled", "value": { "type": "string" } }
3388
- ],
3389
- "events": [],
3390
- "js": {
3391
- "properties": [
3392
- {
3393
- "name": "dependencies",
3394
- "description": "An object representing component dependencies with their respective classes.\nEach property in the object maps a custom component name (as a string key)\nto its corresponding class or constructor.",
3395
- "type": "object"
3396
- },
3397
- {
3398
- "name": "value",
3399
- "description": "Retrieves the current value."
3400
- },
3401
- {
3402
- "name": "maxOptions",
3403
- "description": "Retrieves the maximum number of options allowed.\nParses the value of the 'max-options' attribute from the element and converts it to a number.\nIf the attribute is not present or cannot be converted to a valid number, defaults to 1."
3404
- },
3405
- { "name": "defaultValue" },
3406
- {
3407
- "name": "portaled",
3408
- "description": "Getter for the `portaled` attribute value."
3409
- },
3410
- {
3411
- "name": "isPortaled",
3412
- "description": "Checks whether popup content should be portaled."
3413
- },
3414
- {
3415
- "name": "trigger",
3416
- "description": "Returns the trigger value."
3417
- },
3418
- {
3419
- "name": "disabled",
3420
- "description": "Retrieves the current state of the 'disabled' attribute."
3421
- },
3422
- {
3423
- "name": "readonly",
3424
- "description": "Checks if the 'readonly' attribute is present on the element."
3425
- },
3426
- {
3427
- "name": "maxHeight",
3428
- "description": "Retrieves the maximum height value, which is determined by the 'max-height' attribute.\nIf the attribute is not set, a default value of '200px' is returned."
3429
- },
3430
- {
3431
- "name": "offset",
3432
- "description": "Gets the value of the offset attribute of the current element.\nIf the offset attribute is not present, returns a default value of '0'."
3433
- },
3434
- {
3435
- "name": "selectedOptions",
3436
- "description": "Retrieves the selected options."
3437
- },
3438
- {
3439
- "name": "lazy",
3440
- "description": "Getter for the 'lazy' property."
3441
- },
3442
- {
3443
- "name": "noSize",
3444
- "description": "Gets the value of the 'no-size' attribute for the element."
3445
- },
3446
- {
3447
- "name": "customErrorDisplay",
3448
- "description": "Getter for the customErrorDisplay attribute."
3449
- },
3450
- {
3451
- "name": "options",
3452
- "description": "Retrieves the complete list of options available for the component.\nThe options are determined by combining elements from various sources, including loaded options, added options, and HTML-sourced options.\nIf a `wje-options` element is present within the component, its loaded options are included in the merged list.\nIn the absence of a `wje-options` element, duplicates among the added and HTML options are removed, retaining their order."
3453
- },
3454
- { "name": "className", "type": "string" },
3455
- {
3456
- "name": "optionChange",
3457
- "description": "Handles the change event for an option element within a select-like component.\nThis method processes user interactions with options and updates the state of the component,\nincluding selection management, validation, and UI updates. Behavior differs based on\nwhether the component supports multiple selections.\nKey functionality:\n- Prevents the default behavior, event propagation, and immediate propagation of the event.\n- Retrieves all options within the component.\n- If the component doesn't support multiple selection:\n - Marks only the clicked option as selected and deselects others.\n - Hides the option popup.\n- If the component supports multiple selection:\n - Processes the clicked option without deselecting others.\n- Updates the selected options and triggers validation.\n- Marks the form state as non-pristine.\n- Propagates the validation state to other relevant parts of the component or system."
3458
- },
3459
- {
3460
- "name": "processClickedOption",
3461
- "description": "Handles the logic for processing the selection state of a clicked option element."
3462
- },
3463
- {
3464
- "name": "removeChip",
3465
- "description": "Handles the removal of a chip element from the DOM and updates the related state."
3466
- },
3467
- { "name": "localizer" },
3468
- { "name": "native", "type": "HTMLElement|null" },
3469
- { "name": "popup", "type": "HTMLElement|null" },
3470
- { "name": "labelElement", "type": "HTMLElement|null" },
3471
- { "name": "slotStart", "type": "HTMLElement|null" },
3472
- { "name": "slotEnd", "type": "HTMLElement|null" },
3473
- { "name": "input", "type": "HTMLElement|null" },
3474
- { "name": "displayText", "type": "HTMLElement|null" },
3475
- { "name": "chips", "type": "HTMLElement|null" },
3476
- { "name": "clear", "type": "HTMLElement|null" },
3477
- { "name": "list", "type": "HTMLElement|null" },
3478
- { "name": "emptyState", "type": "HTMLElement|null" },
3479
- { "name": "_value", "type": "array" },
3480
- { "name": "_selectedOptions", "type": "array" }
3471
+ "description": "Triggers the event based on the target element.\nIf the target element is different from the last caller, it refreshes the children by calling the `open` method.\nIf the target element is the same as the last caller, it toggles the state by calling the `toggle` method."
3472
+ },
3473
+ { "name": "_isOpen", "type": "boolean" },
3474
+ { "name": "_lastCaller", "type": "null" },
3475
+ { "name": "_sheetDrag", "type": "null" },
3476
+ { "name": "_sheetIgnoreDismissUntil", "type": "number" },
3477
+ { "name": "_sheetBackdropGesture", "type": "null" },
3478
+ { "name": "_sheetBackdropHandledUntil", "type": "number" },
3479
+ { "name": "_bottomSheetScopeFrame", "type": "null" },
3480
+ { "name": "_resizeObserver" }
3481
3481
  ],
3482
3482
  "events": []
3483
3483
  }
@@ -3524,26 +3524,6 @@
3524
3524
  "events": []
3525
3525
  }
3526
3526
  },
3527
- {
3528
- "name": "wje-step",
3529
- "description": "This element represents a step.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Returns the list of observed attributes.\n\n### **Slots:**\n - _default_ - The default slot for the step.\n\n### **CSS Parts:**\n - **native** - The native part of the step.",
3530
- "doc-url": "",
3531
- "attributes": [],
3532
- "slots": [
3533
- { "name": "", "description": "The default slot for the step." }
3534
- ],
3535
- "events": [],
3536
- "js": {
3537
- "properties": [
3538
- {
3539
- "name": "className",
3540
- "description": "The class name for the component.",
3541
- "type": "string"
3542
- }
3543
- ],
3544
- "events": []
3545
- }
3546
- },
3547
3527
  {
3548
3528
  "name": "wje-stepper",
3549
3529
  "description": "This element represents a stepper.\n---\n\n\n### **Events:**\n - **stepper:next**\n- **stepper:prev**\n- **stepper:finish**\n\n### **Methods:**\n - **draw(): _DocumentFragment_** - Draws the component for the stepper.\n- **afterDraw()** - Sets up the attributes for the component.\n- **navigate(direction: _number_)** - Navigates to a different step in a multi-step process based on the provided direction.\n- **goToStep(stepIndex: _number_): _void_** - Navigates to a specific step in a workflow or process.\nExecutes a set of operations before and after the step transition.\n- **setStepDefault(nav: _HTMLElement_, badge: _HTMLElement|null_, stepIndex: _number_)** - Resets a step to its default state by clearing its active and done attributes.\nUpdates the step's badge to show its index and removes any color styling.\n- **setStepActive(nav: _HTMLElement_, badge: _HTMLElement|null_, stepIndex: _number|null_)** - Sets a step as active by adding the `active` attribute and updating the step's badge.\n- **setContentActive(stepIndex: _number_)** - Activates the content of a specific step by displaying it and hiding all others.\n- **getStepElement(stepIndex: _number_): _HTMLElement_** - Returns the DOM element of a step by index.\n- **renderStepContent(stepIndex: _number_, content: _Node|string|Node[]_, options: _{ replace?: boolean }_)** - Appends or replaces content inside the step container.\n- **setStepDone(nav: _HTMLElement_, badge: _HTMLElement|null_)** - Marks a step as completed by setting the `done` attribute and updating its badge with a check icon.\n\n### **Slots:**\n - _default_ - The default slot for the stepper.\n\n### **CSS Parts:**\n - **native** - The native part of the stepper.\n- **header** - The header part of the stepper.\n- **content** - The content part of the stepper.",
@@ -3629,6 +3609,26 @@
3629
3609
  "events": []
3630
3610
  }
3631
3611
  },
3612
+ {
3613
+ "name": "wje-step",
3614
+ "description": "This element represents a step.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Returns the list of observed attributes.\n\n### **Slots:**\n - _default_ - The default slot for the step.\n\n### **CSS Parts:**\n - **native** - The native part of the step.",
3615
+ "doc-url": "",
3616
+ "attributes": [],
3617
+ "slots": [
3618
+ { "name": "", "description": "The default slot for the step." }
3619
+ ],
3620
+ "events": [],
3621
+ "js": {
3622
+ "properties": [
3623
+ {
3624
+ "name": "className",
3625
+ "description": "The class name for the component.",
3626
+ "type": "string"
3627
+ }
3628
+ ],
3629
+ "events": []
3630
+ }
3631
+ },
3632
3632
  {
3633
3633
  "name": "wje-tab-group",
3634
3634
  "description": "This element represents a group of tabs.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **beforeDraw()** - Sets up the event listeners before the component is drawn.\nThis method is called before the component is drawn.\nIt is used to set up event listeners.\n- **draw(): _DocumentFragment_** - Creates and returns a document fragment containing a structured layout for a tab group.\nThe tab group layout includes a `header` section with navigational elements,\na `section` element for tab panels, and slots for customization such as additional navigation items,\ndropdowns, and more.\nThe structure comprises:\n- A `div` container with relevant styling and part attributes.\n- A `header` for tabs, including a slot for navigation (`nav`) and additional tabs in a dropdown (`moreDropdown`).\n- A `section` for tab panels with a customizable `slot`.\nThis function also initializes the `nav` and `moreDropdown` properties for external use.\n- **afterDraw(): _void_** - Executes necessary initializations and attaches event listeners after a drawing operation.\nHandles active tab selection, 'wje-tab:change' event binding, and window resize event for overflow checking.\n- **removeActiveTab(): _void_** - Removes the 'active' class from all panel and tab elements.\n- **setActiveTab(tab: _string_)** - Sets the active tab and panel.\n- **getActiveTab(): _Element|null_** - Returns the currently active tab.\n- **getTabAll(): _Array<Element>_** - Returns all tabs.\n- **getAllTabs(): _Array<Element>_** - Returns all tabs, including those moved to \"more\".\n- **getPanelAll(): _Array<Element>_** - Returns all panels.\n- **getPanelAllName(): _Array<string>_** - Returns the names of all tabs.\n- **toggleMoreVisibility(): _void_** - Toggles the visibility of the \"more\" dropdown based on the presence of tabs in the \"more\" slot.\n- **initTabMetrics(): _void_** - Initializes metrics for tabs within the component. Assigns each tab to the navigation slot\nand calculates their dimensions for further operations.\n- **measureTabMetrics(): _Array<{el: Element, width: number}>_** - Measures current tab widths while all tabs are temporarily placed into the main nav slot.\n- **measureMoreWidth(): _void_** - Stores the measured width of the more dropdown trigger when available.\n- **checkOverflow(): _void_** - Checks if the tabs within a navigation bar overflow the available space.\nMoves overflowing tabs into a dropdown menu and updates their state accordingly.\n- **dropdownActive(el: _HTMLElement_): _void_** - Toggles the \"dropdown-active\" class on the element based on its \"active\" status\nand the value of its \"slot\" attribute.\n- **syncAria()** - Syncs ARIA attributes on tabs and panels.\n\n### **Slots:**\n - _default_ - The default slot for the tab group.\n- **nav** - Slot for the navigation of the tab group.\n\n### **CSS Properties:**\n - **--wje-tab-group-padding** - Specifies the padding inside the tab group. This property defines the space between the content of the tab group and its outer boundary. Accepts any valid CSS length unit (e.g., `px`, `rem`, `em`, `%`). _(default: 1rem)_",
@@ -3683,6 +3683,52 @@
3683
3683
  "events": []
3684
3684
  }
3685
3685
  },
3686
+ {
3687
+ "name": "wje-textarea",
3688
+ "description": "This element represents a textarea input.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the textarea.\n- **afterDraw()** - Sets up the event listeners after the component is drawn.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **beforeDisconnect()** - Disconnects the component.\n\n### **CSS Properties:**\n - **--wje-textarea-font-family** - Specifies the font family used for the textarea. Accepts any valid CSS font-family value. _(default: var(--wje-font-family))_\n- **--wje-textarea-background-color** - Sets the background color of the textarea. Accepts any valid CSS color value. _(default: var(--wje-background))_\n- **--wje-textarea-color** - Defines the text color within the textarea. Accepts any valid CSS color value. _(default: var(--wje-color))_\n- **--wje-textarea-color-invalid** - Changes the text color of the textarea when it is invalid. Useful for highlighting validation errors. _(default: var(--wje-color-danger))_\n- **--wje-textarea-error-background-color** - Controls the background color of the validation error bubble. _(default: var(--wje-tooltip-background))_\n- **--wje-textarea-error-color** - Controls the text color of the validation error bubble. _(default: var(--wje-tooltip-color))_\n- **--wje-textarea-border-width** - Specifies the width of the textarea's border. Accepts any valid CSS length unit. _(default: 1px)_\n- **--wje-textarea-border-style** - Sets the style of the textarea's border. Accepts standard CSS border styles such as `solid`, `dashed`, or `dotted`. _(default: solid)_\n- **--wje-textarea-border-color** - Defines the border color of the textarea. Accepts any valid CSS color value. _(default: var(--wje-border-color))_\n- **--wje-textarea-border-color-focus** - Specifies the border color of the textarea when it is focused. Enhances the user experience by providing visual feedback. _(default: var(--wje-color-primary))_\n- **--wje-textarea-border-radius** - Determines the border radius of the textarea, defining how rounded its corners are. Accepts any valid CSS length unit. _(default: 4px)_\n- **--wje-textarea-margin-bottom** - Sets the bottom margin of the textarea. Ensures spacing between the textarea and other elements. _(default: .5rem)_\n- **--wje-textarea-line-height** - Specifies the line height of the text within the textarea. Helps control the vertical spacing of the text. _(default: 20px)_\n- **--wje-textarea-padding** - Defines the padding inside the textarea. Controls the spacing between the content and the border. _(default: 0.5rem)_\n\n### **CSS Parts:**\n - **native** - The native textarea wrapper.\n- **input** - The textarea input.\n- **wrapper** - The textarea wrapper.",
3689
+ "doc-url": "",
3690
+ "attributes": [
3691
+ { "name": "value", "value": { "type": "string" } },
3692
+ { "name": "name", "value": { "type": "string" } },
3693
+ { "name": "disabled", "value": { "type": "string" } },
3694
+ { "name": "placeholder", "value": { "type": "string" } },
3695
+ { "name": "label", "value": { "type": "string" } },
3696
+ { "name": "required", "value": { "type": "string" } },
3697
+ { "name": "readonly", "value": { "type": "string" } },
3698
+ { "name": "invalid", "value": { "type": "string" } },
3699
+ { "name": "rows", "value": { "type": "string" } }
3700
+ ],
3701
+ "events": [],
3702
+ "js": {
3703
+ "properties": [
3704
+ {
3705
+ "name": "value",
3706
+ "description": "Getter for the value attribute."
3707
+ },
3708
+ {
3709
+ "name": "label",
3710
+ "description": "Retrieves the value of the 'label' attribute if it exists.\nIf the 'label' attribute is not set, it returns false."
3711
+ },
3712
+ {
3713
+ "name": "validateOnChange",
3714
+ "description": "Getter for the validateOnChange attribute."
3715
+ },
3716
+ { "name": "placeholder" },
3717
+ { "name": "className", "type": "string" },
3718
+ {
3719
+ "name": "setTextareaHeight",
3720
+ "description": "Sets the height of the textarea."
3721
+ },
3722
+ {
3723
+ "name": "counterFn",
3724
+ "description": "Updates the counter for the textarea."
3725
+ },
3726
+ { "name": "invalid", "type": "boolean" },
3727
+ { "name": "pristine", "type": "boolean" }
3728
+ ],
3729
+ "events": []
3730
+ }
3731
+ },
3686
3732
  {
3687
3733
  "name": "wje-timeline",
3688
3734
  "description": "This element represents a timeline.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the timeline.\n- **syncAria()** - Sync ARIA attributes on host.\n\n### **Slots:**\n - _default_ - Slot for the timeline items.\n\n### **CSS Parts:**\n - **native** - The native part of the rating component.\n- **vertical-line** - The vertical line part of the rating component.",
@@ -3753,52 +3799,6 @@
3753
3799
  "events": []
3754
3800
  }
3755
3801
  },
3756
- {
3757
- "name": "wje-textarea",
3758
- "description": "This element represents a textarea input.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _DocumentFragment_** - Draws the component for the textarea.\n- **afterDraw()** - Sets up the event listeners after the component is drawn.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **beforeDisconnect()** - Disconnects the component.\n\n### **CSS Properties:**\n - **--wje-textarea-font-family** - Specifies the font family used for the textarea. Accepts any valid CSS font-family value. _(default: var(--wje-font-family))_\n- **--wje-textarea-background-color** - Sets the background color of the textarea. Accepts any valid CSS color value. _(default: var(--wje-background))_\n- **--wje-textarea-color** - Defines the text color within the textarea. Accepts any valid CSS color value. _(default: var(--wje-color))_\n- **--wje-textarea-color-invalid** - Changes the text color of the textarea when it is invalid. Useful for highlighting validation errors. _(default: var(--wje-color-danger))_\n- **--wje-textarea-error-background-color** - Controls the background color of the validation error bubble. _(default: var(--wje-tooltip-background))_\n- **--wje-textarea-error-color** - Controls the text color of the validation error bubble. _(default: var(--wje-tooltip-color))_\n- **--wje-textarea-border-width** - Specifies the width of the textarea's border. Accepts any valid CSS length unit. _(default: 1px)_\n- **--wje-textarea-border-style** - Sets the style of the textarea's border. Accepts standard CSS border styles such as `solid`, `dashed`, or `dotted`. _(default: solid)_\n- **--wje-textarea-border-color** - Defines the border color of the textarea. Accepts any valid CSS color value. _(default: var(--wje-border-color))_\n- **--wje-textarea-border-color-focus** - Specifies the border color of the textarea when it is focused. Enhances the user experience by providing visual feedback. _(default: var(--wje-color-primary))_\n- **--wje-textarea-border-radius** - Determines the border radius of the textarea, defining how rounded its corners are. Accepts any valid CSS length unit. _(default: 4px)_\n- **--wje-textarea-margin-bottom** - Sets the bottom margin of the textarea. Ensures spacing between the textarea and other elements. _(default: .5rem)_\n- **--wje-textarea-line-height** - Specifies the line height of the text within the textarea. Helps control the vertical spacing of the text. _(default: 20px)_\n- **--wje-textarea-padding** - Defines the padding inside the textarea. Controls the spacing between the content and the border. _(default: 0.5rem)_\n\n### **CSS Parts:**\n - **native** - The native textarea wrapper.\n- **input** - The textarea input.\n- **wrapper** - The textarea wrapper.",
3759
- "doc-url": "",
3760
- "attributes": [
3761
- { "name": "value", "value": { "type": "string" } },
3762
- { "name": "name", "value": { "type": "string" } },
3763
- { "name": "disabled", "value": { "type": "string" } },
3764
- { "name": "placeholder", "value": { "type": "string" } },
3765
- { "name": "label", "value": { "type": "string" } },
3766
- { "name": "required", "value": { "type": "string" } },
3767
- { "name": "readonly", "value": { "type": "string" } },
3768
- { "name": "invalid", "value": { "type": "string" } },
3769
- { "name": "rows", "value": { "type": "string" } }
3770
- ],
3771
- "events": [],
3772
- "js": {
3773
- "properties": [
3774
- {
3775
- "name": "value",
3776
- "description": "Getter for the value attribute."
3777
- },
3778
- {
3779
- "name": "label",
3780
- "description": "Retrieves the value of the 'label' attribute if it exists.\nIf the 'label' attribute is not set, it returns false."
3781
- },
3782
- {
3783
- "name": "validateOnChange",
3784
- "description": "Getter for the validateOnChange attribute."
3785
- },
3786
- { "name": "placeholder" },
3787
- { "name": "className", "type": "string" },
3788
- {
3789
- "name": "setTextareaHeight",
3790
- "description": "Sets the height of the textarea."
3791
- },
3792
- {
3793
- "name": "counterFn",
3794
- "description": "Updates the counter for the textarea."
3795
- },
3796
- { "name": "invalid", "type": "boolean" },
3797
- { "name": "pristine", "type": "boolean" }
3798
- ],
3799
- "events": []
3800
- }
3801
- },
3802
3802
  {
3803
3803
  "name": "wje-toast",
3804
3804
  "description": "This element represents a toast notification.\n---\n\n\n### **Methods:**\n - **createToastStack(): _HTMLDivElement_** - Creates a toast stack container.\n- **getToastStackKey(): _string_** - Returns the key of the toast stack.\n- **applyToastStackPlacement(stack: _HTMLDivElement_)** - Applies the stack placement directly on the element so demo/app layout CSS cannot override it accidentally.\n- **syncToastStack(stack: _HTMLDivElement_)** - Applies the current toast stack configuration to a stack element.\n- **clearStackItemStyles(toast: _Toast_)** - Clears transient stack styling from a toast.\n- **getToastVisualHeight(toast: _Toast_): _number_** - Measures the rendered height of a toast for stack overlap calculations.\n- **updateToastStack(stack: _HTMLDivElement_)** - Recomputes the visual order of toasts inside the stack.\n- **setupAttributes()** - Setup attributes for the Button element.\n- **draw(): _object_** - Draw method for the toast notification.\n- **afterDraw()** - After draw method for the toast notification.\n- **beforeDisconnect()** - Before disconnect method\nThis method is called before the element is disconnected from the document.\n- **startTimer()** - Starts the timer.\nThis method sets the `startTime` property to the current time and sets\nthe `timeoutID` property to the ID of the timeout. The method also\ndispatches the `wje-toast:after-hide` custom event when the timeout\nexpires.\n- **stopTimer()** - Stops the timer.\nThis method clears the timeout and calculates the remaining time.\nThe method is called when the toast notification is paused.\n- **resumeTimer()** - Resumes the timer.\nThis method resumes the timer if the remaining time is greater\nthan zero. The method is called when the toast notification is resumed.\n- **removeChildAndStack()** - Removes the toast notification and the toast stack.\n\nThis method removes the toast notification from the toast stack and\nremoves the toast stack from the document body if the toast stack is\nempty.\n\n### **Slots:**\n - _default_ - The content of the toast.\n- **media** - The media of the toast.\n\n### **CSS Properties:**\n - **--wje-toast-stack-width** - Defines the width of the toast stack container. Useful for centered stacked toasts and demo layouts. // @fires wje-toast:after-show - Fired after the toast is shown. // @fires wje-toast:after-hide - Fired after the toast is hidden. _(default: 300px)_\n\n### **CSS Parts:**\n - **native** - The native part",
@@ -4035,58 +4035,6 @@
4035
4035
  "events": []
4036
4036
  }
4037
4037
  },
4038
- {
4039
- "name": "wje-tooltip",
4040
- "description": "This element represents a tooltip.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _object_** - Draws the component for the tooltip.\n- **afterDraw()** - Draws the component for the tooltip.\n- **checkSelector(anchorEl: _HTMLElement_): _HTMLElement|null_** - Validates if the specified selector exists within the provided element.\nLogs an error if the selector is not found and returns the found element or `null`.\n\n### **Slots:**\n - **arrow** - The arrow slot for the tooltip.\n- **anchor** - The anchor slot for the tooltip.\n\n### **CSS Properties:**\n - **--wje-tooltip-arrow-color** - Specifies the color of the tooltip's arrow. This property determines the visual color of the arrow that points to the element the tooltip is attached to. Accepts any valid CSS color value such as `hex`, `rgb`, or `CSS variable`. _(default: var(--wje-color-contrast-11))_\n\n### **CSS Parts:**\n - **native** - The native tooltip wrapper.",
4041
- "doc-url": "",
4042
- "attributes": [
4043
- { "name": "active", "value": { "type": "string" } },
4044
- {
4045
- "name": "content",
4046
- "description": "The content of the tooltip element. Accepts any valid string value.",
4047
- "value": { "type": "string" }
4048
- }
4049
- ],
4050
- "slots": [
4051
- {
4052
- "name": "arrow",
4053
- "description": "The arrow slot for the tooltip."
4054
- },
4055
- {
4056
- "name": "anchor",
4057
- "description": "The anchor slot for the tooltip."
4058
- }
4059
- ],
4060
- "events": [],
4061
- "js": {
4062
- "properties": [
4063
- {
4064
- "name": "dependencies",
4065
- "description": "Dependencies of the Button element.",
4066
- "type": "object"
4067
- },
4068
- {
4069
- "name": "content",
4070
- "description": "Get active attribute for the tooltip element."
4071
- },
4072
- {
4073
- "name": "className",
4074
- "description": "The class name for the component.",
4075
- "type": "string"
4076
- },
4077
- { "name": "popupHideCallback" },
4078
- {
4079
- "name": "onShow",
4080
- "description": "Handles the logic for showing the component's popup or tooltip.\nAdds the `active` class, invokes lifecycle hooks, and manages the popup visibility."
4081
- },
4082
- {
4083
- "name": "onHide",
4084
- "description": "Hides the component's popup or tooltip.\nRemoves the `active` class from the component and hides the popup element."
4085
- }
4086
- ],
4087
- "events": []
4088
- }
4089
- },
4090
4038
  {
4091
4039
  "name": "wje-tree",
4092
4040
  "description": "This element visually represents a tree structure, supporting single or multiple selection modes and hierarchy management.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Setup attributes for the Button element.\n- **beforeDraw(): _void_** - A method called before the drawing or rendering process of tree items.\nIt iterates through all `wje-tree-item` elements, updating their selection state\nand managing their expand/collapse icons accordingly.\n- **draw(): _object_** - Draw method for the tree.\n- **afterDraw(): _void_** - Called after the draw process of the component is completed.\nTypically used to add event listeners or perform operations\nthat are dependent on the component's drawn state.\n- **syncAria()** - Syncs ARIA attributes on the host element.\n- **getAllItems(): _Array<Element>_** - Retrieves all items that match the selector 'wje-tree-item' within the current context.\n- **appendTemplateSlot(item: _HTMLElement_, template: _HTMLTemplateElement|null_, slotName: _string_): _void_** - Retrieves and appends a template slot to a tree item.\n- **getTemplateSlotClass(slotName: _string_): _string_** - Returns the internal class used to identify cloned template slot content.\n- **setupReorderHandle(item: _HTMLElement_): _void_** - Marks direct start slot content as the drag handle for reorderable trees.\n- **getTreeItemFromEvent(e: _Event_): _HTMLElement|null_** - Finds a tree item from a composed event path.\n- **isReorderHandleEvent(e: _Event_): _boolean_** - Checks whether the event started from a reorder handle.\n- **isTreeItem(node: _object_): _boolean_** - Checks whether a node is a tree item element.\n- **getDirectTreeItems(parent: _HTMLElement_): _HTMLElement[]_** - Returns direct tree item children for a tree or tree item parent.\n- **getTreeItemIndex(item: _HTMLElement_): _number_** - Gets the index of a tree item among direct tree item siblings.\n- **canDrop(draggedItem: _HTMLElement_, targetItem: _HTMLElement_): _boolean_** - Determines whether the dragged item can be dropped on the target.\n- **getDropPosition(e: _DragEvent_, target: _HTMLElement|null_): _'before'|'inside'|'after'_** - Resolves the drop position against the visible tree item row.\n- **setDropState(target: _HTMLElement_, position: _string_): _void_** - Applies the visual drop position to the current target item.\n- **clearDropState(): _void_** - Clears visual drop target state.\n- **clearDragState(): _void_** - Clears the active drag state.\n- **getDropPositionClass(position: _'before'|'inside'|'after'_): _string_** - Returns the internal class used to render a drop marker.\n- **moveItem(draggedItem: _HTMLElement_, targetItem: _HTMLElement_, position: _'before'|'inside'|'after'_): _object|null_** - Moves a tree item relative to another tree item and syncs nesting metadata.\n- **getOrderElements(parent: _HTMLElement_): _HTMLElement[]_** - Returns cloned direct tree item children for an event detail.\n- **getOrderIds(parent: _HTMLElement_): _Array<string|null>_** - Returns stable ids for direct tree item children when they are available.\n- **getItemId(item: _HTMLElement|null_): _string|null_** - Gets an application-facing id from a tree item.\n- **syncTreeItems(): _void_** - Syncs item selection mode and nesting metadata after a DOM move.\n- **refreshMovedItems(items: _HTMLElement[]_): _void_** - Redraws affected parent items so expand/collapse affordances match current children.\n- **updateCheckboxState(changedItem: _object_, isInitialSync: _boolean_): _void_** - Updates the state of a checkbox, syncing the state both upwards to parent elements\nand downwards to child elements as necessary.\n- **updateParentState(item: _object_): _void_** - Updates the state of the parent item based on the state of its child items.\nRecursively propagates changes up to all parent items to reflect the selection\nor indeterminate state accurately.\n- **propagateStateUpwards(item: _HTMLElement_): _void_** - Propagates the state changes of an item upwards through its ancestors in the hierarchy.\nCalls the `updateParentState` method for each parent element until no parent exists.\n- **propagateStateDownwards(item: _object_): _void_** - Propagates the selected state of an item to its children recursively. Depending on the `isInitialSync` flag,\nit also determines how the state should be applied to the child items and updates the parent state if needed.\n\n### **Slots:**\n - _default_ - The default slot to place `wje-tree-item` child components.\n\n### **CSS Parts:**\n - **native** - The native container part of the tree.",
@@ -4148,23 +4096,52 @@
4148
4096
  }
4149
4097
  },
4150
4098
  {
4151
- "name": "wje-visually-hidden",
4152
- "description": "This element represents a visually hidden element.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _object_** - Draws the component for the visually hidden element.\n\n### **Slots:**\n - _default_ - The default slot for the visually hidden element.",
4099
+ "name": "wje-tooltip",
4100
+ "description": "This element represents a tooltip.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _object_** - Draws the component for the tooltip.\n- **afterDraw()** - Draws the component for the tooltip.\n- **checkSelector(anchorEl: _HTMLElement_): _HTMLElement|null_** - Validates if the specified selector exists within the provided element.\nLogs an error if the selector is not found and returns the found element or `null`.\n\n### **Slots:**\n - **arrow** - The arrow slot for the tooltip.\n- **anchor** - The anchor slot for the tooltip.\n\n### **CSS Properties:**\n - **--wje-tooltip-arrow-color** - Specifies the color of the tooltip's arrow. This property determines the visual color of the arrow that points to the element the tooltip is attached to. Accepts any valid CSS color value such as `hex`, `rgb`, or `CSS variable`. _(default: var(--wje-color-contrast-11))_\n\n### **CSS Parts:**\n - **native** - The native tooltip wrapper.",
4153
4101
  "doc-url": "",
4154
- "attributes": [],
4102
+ "attributes": [
4103
+ { "name": "active", "value": { "type": "string" } },
4104
+ {
4105
+ "name": "content",
4106
+ "description": "The content of the tooltip element. Accepts any valid string value.",
4107
+ "value": { "type": "string" }
4108
+ }
4109
+ ],
4155
4110
  "slots": [
4156
4111
  {
4157
- "name": "",
4158
- "description": "The default slot for the visually hidden element."
4112
+ "name": "arrow",
4113
+ "description": "The arrow slot for the tooltip."
4114
+ },
4115
+ {
4116
+ "name": "anchor",
4117
+ "description": "The anchor slot for the tooltip."
4159
4118
  }
4160
4119
  ],
4161
4120
  "events": [],
4162
4121
  "js": {
4163
4122
  "properties": [
4123
+ {
4124
+ "name": "dependencies",
4125
+ "description": "Dependencies of the Button element.",
4126
+ "type": "object"
4127
+ },
4128
+ {
4129
+ "name": "content",
4130
+ "description": "Get active attribute for the tooltip element."
4131
+ },
4164
4132
  {
4165
4133
  "name": "className",
4166
4134
  "description": "The class name for the component.",
4167
4135
  "type": "string"
4136
+ },
4137
+ { "name": "popupHideCallback" },
4138
+ {
4139
+ "name": "onShow",
4140
+ "description": "Handles the logic for showing the component's popup or tooltip.\nAdds the `active` class, invokes lifecycle hooks, and manages the popup visibility."
4141
+ },
4142
+ {
4143
+ "name": "onHide",
4144
+ "description": "Hides the component's popup or tooltip.\nRemoves the `active` class from the component and hides the popup element."
4168
4145
  }
4169
4146
  ],
4170
4147
  "events": []
@@ -4213,6 +4190,29 @@
4213
4190
  ],
4214
4191
  "events": []
4215
4192
  }
4193
+ },
4194
+ {
4195
+ "name": "wje-visually-hidden",
4196
+ "description": "This element represents a visually hidden element.\n---\n\n\n### **Methods:**\n - **setupAttributes()** - Sets up the attributes for the component.\n- **draw(): _object_** - Draws the component for the visually hidden element.\n\n### **Slots:**\n - _default_ - The default slot for the visually hidden element.",
4197
+ "doc-url": "",
4198
+ "attributes": [],
4199
+ "slots": [
4200
+ {
4201
+ "name": "",
4202
+ "description": "The default slot for the visually hidden element."
4203
+ }
4204
+ ],
4205
+ "events": [],
4206
+ "js": {
4207
+ "properties": [
4208
+ {
4209
+ "name": "className",
4210
+ "description": "The class name for the component.",
4211
+ "type": "string"
4212
+ }
4213
+ ],
4214
+ "events": []
4215
+ }
4216
4216
  }
4217
4217
  ]
4218
4218
  }