@inera/ids-react 9.2.2 → 9.4.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 (346) hide show
  1. package/components/accordion/accordion-base.d.ts +1 -1
  2. package/components/accordion/accordion.d.ts +1 -1
  3. package/components/accordion/accordion.js +1 -1
  4. package/components/alert/alert-base.d.ts +1 -1
  5. package/components/alert/alert-base.js +2 -2
  6. package/components/alert/alert.d.ts +1 -1
  7. package/components/badge/badge.js +1 -1
  8. package/components/breadcrumbs/breadcrumbs.d.ts +1 -1
  9. package/components/breadcrumbs/breadcrumbs.js +10 -6
  10. package/components/button/button-group.d.ts +1 -1
  11. package/components/button/button.d.ts +1 -0
  12. package/components/button/button.js +7 -2
  13. package/components/button/control-button.d.ts +6 -0
  14. package/components/button/control-button.js +10 -0
  15. package/components/card/card.d.ts +1 -1
  16. package/components/carousel/carousel-item.d.ts +1 -1
  17. package/components/carousel/carousel.d.ts +1 -1
  18. package/components/carousel/carousel.js +8 -6
  19. package/components/date-label/date-label.d.ts +3 -2
  20. package/components/date-label/date-label.js +4 -2
  21. package/components/dialog/dialog-base.js +1 -1
  22. package/components/dialog/dialog.d.ts +1 -1
  23. package/components/dialog/dialog.js +1 -1
  24. package/components/district-selector/district-selector.d.ts +10 -0
  25. package/components/district-selector/district-selector.js +11 -0
  26. package/components/dropdown/dropdown-base.d.ts +2 -2
  27. package/components/dropdown/dropdown-base.js +1 -1
  28. package/components/dropdown/dropdown.d.ts +2 -1
  29. package/components/dropdown/dropdown.js +2 -0
  30. package/components/footer-1177/footer-1177-columns.d.ts +10 -0
  31. package/components/footer-1177/footer-1177-columns.js +18 -0
  32. package/components/footer-1177/footer-1177-headline.d.ts +10 -0
  33. package/components/footer-1177/footer-1177-headline.js +11 -0
  34. package/components/footer-1177/footer-1177.d.ts +1 -1
  35. package/components/footer-1177/footer-1177.js +4 -20
  36. package/components/footer-1177-admin/footer-1177-admin-columns.d.ts +10 -0
  37. package/components/footer-1177-admin/footer-1177-admin-columns.js +18 -0
  38. package/components/footer-1177-admin/footer-1177-admin-headline.d.ts +9 -0
  39. package/components/footer-1177-admin/footer-1177-admin-headline.js +11 -0
  40. package/components/footer-1177-admin/footer-1177-admin.d.ts +1 -1
  41. package/components/footer-1177-admin/footer-1177-admin.js +4 -20
  42. package/components/footer-1177-pro/footer-1177-pro-columns.d.ts +13 -0
  43. package/components/footer-1177-pro/footer-1177-pro-columns.js +18 -0
  44. package/components/footer-1177-pro/footer-1177-pro-headline.d.ts +9 -0
  45. package/components/footer-1177-pro/footer-1177-pro-headline.js +11 -0
  46. package/components/footer-1177-pro/footer-1177-pro.d.ts +1 -1
  47. package/components/footer-1177-pro/footer-1177-pro.js +4 -20
  48. package/components/footer-inera/footer-inera-columns.d.ts +10 -0
  49. package/components/footer-inera/footer-inera-columns.js +18 -0
  50. package/components/footer-inera/footer-inera-headline.d.ts +9 -0
  51. package/components/footer-inera/footer-inera-headline.js +11 -0
  52. package/components/footer-inera/footer-inera.d.ts +1 -1
  53. package/components/footer-inera/footer-inera.js +4 -20
  54. package/components/footer-inera-admin/footer-inera-admin-columns.d.ts +10 -0
  55. package/components/footer-inera-admin/footer-inera-admin-columns.js +18 -0
  56. package/components/footer-inera-admin/footer-inera-admin-headline.d.ts +9 -0
  57. package/components/footer-inera-admin/footer-inera-admin-headline.js +11 -0
  58. package/components/footer-inera-admin/footer-inera-admin.d.ts +1 -1
  59. package/components/footer-inera-admin/footer-inera-admin.js +4 -20
  60. package/components/footer-inera-general/footer-inera-general-columns.d.ts +10 -0
  61. package/components/footer-inera-general/footer-inera-general-columns.js +18 -0
  62. package/components/footer-inera-general/footer-inera-general-headline.d.ts +9 -0
  63. package/components/footer-inera-general/footer-inera-general-headline.js +11 -0
  64. package/components/footer-inera-general/footer-inera-general.d.ts +1 -1
  65. package/components/footer-inera-general/footer-inera-general.js +4 -20
  66. package/components/form/checkbox/checkbox-base.js +2 -3
  67. package/components/form/checkbox/checkbox-group-base.d.ts +2 -1
  68. package/components/form/checkbox/checkbox-group-base.js +3 -3
  69. package/components/form/checkbox/checkbox-group.d.ts +3 -2
  70. package/components/form/checkbox/checkbox-group.js +2 -2
  71. package/components/form/checkbox/checkbox.js +3 -4
  72. package/components/form/datepicker/datepicker.d.ts +3 -1
  73. package/components/form/datepicker/datepicker.js +143 -111
  74. package/components/form/error-message/error-message.d.ts +1 -1
  75. package/components/form/form-hooks/useAriaDescribedBy.js +1 -4
  76. package/components/form/form-hooks/useInputValidity.d.ts +1 -1
  77. package/components/form/form-hooks/useInputValidity.js +28 -12
  78. package/components/form/form-props/form-props.d.ts +1 -0
  79. package/components/form/input/input-base.d.ts +4 -2
  80. package/components/form/input/input-base.js +14 -9
  81. package/components/form/input/input.d.ts +3 -0
  82. package/components/form/input/input.js +1 -1
  83. package/components/form/radio/radio-base.d.ts +1 -1
  84. package/components/form/radio/radio-base.js +1 -2
  85. package/components/form/radio/radio-group-base.d.ts +2 -1
  86. package/components/form/radio/radio-group-base.js +3 -3
  87. package/components/form/radio/radio-group.d.ts +3 -2
  88. package/components/form/radio/radio-group.js +2 -2
  89. package/components/form/radio-button/radio-button-group-base.d.ts +1 -1
  90. package/components/form/radio-button/radio-button-group.d.ts +2 -1
  91. package/components/form/range/range-base.d.ts +1 -1
  92. package/components/form/range/range-base.js +2 -2
  93. package/components/form/select/select-base.d.ts +3 -3
  94. package/components/form/select/select-base.js +3 -5
  95. package/components/form/select/select.d.ts +2 -2
  96. package/components/form/select/select.js +1 -1
  97. package/components/form/select-multiple/select-multiple-base.d.ts +2 -2
  98. package/components/form/select-multiple/select-multiple-base.js +3 -3
  99. package/components/form/select-multiple/select-multiple.d.ts +2 -2
  100. package/components/form/select-multiple/select-multiple.js +1 -1
  101. package/components/form/spinner/spinner.d.ts +1 -1
  102. package/components/form/textarea/textarea-base.d.ts +1 -1
  103. package/components/form/textarea/textarea-base.js +3 -5
  104. package/components/form/textarea/textarea.js +1 -1
  105. package/components/form/time/time-base.d.ts +1 -1
  106. package/components/form/time/time-base.js +2 -4
  107. package/components/form/time/time.js +4 -5
  108. package/components/global-alert/global-alert-base.d.ts +1 -1
  109. package/components/global-alert/global-alert.d.ts +1 -1
  110. package/components/header-1177/header-1177-avatar-base.d.ts +1 -1
  111. package/components/header-1177/header-1177-avatar.d.ts +1 -1
  112. package/components/header-1177/header-1177-base.d.ts +2 -2
  113. package/components/header-1177/header-1177-base.js +3 -5
  114. package/components/header-1177/header-1177-item-base.d.ts +1 -1
  115. package/components/header-1177/header-1177-item-base.js +1 -2
  116. package/components/header-1177/header-1177-item.d.ts +1 -1
  117. package/components/header-1177/header-1177-logo.d.ts +12 -0
  118. package/components/header-1177/header-1177-logo.js +8 -0
  119. package/components/header-1177/header-1177-menu-mobile-base.d.ts +1 -1
  120. package/components/header-1177/header-1177-menu-mobile.d.ts +1 -1
  121. package/components/header-1177/header-1177-nav-base.d.ts +1 -1
  122. package/components/header-1177/header-1177-nav-base.js +1 -1
  123. package/components/header-1177/header-1177-nav-item-base.d.ts +1 -1
  124. package/components/header-1177/header-1177-nav-item-base.js +3 -12
  125. package/components/header-1177/header-1177-nav-item-link.d.ts +10 -0
  126. package/components/header-1177/header-1177-nav-item-link.js +19 -0
  127. package/components/header-1177/header-1177-nav-item-mobile-base.d.ts +1 -1
  128. package/components/header-1177/header-1177-nav-item-mobile.d.ts +1 -1
  129. package/components/header-1177/header-1177-nav-item.d.ts +1 -1
  130. package/components/header-1177/header-1177-nav.d.ts +1 -1
  131. package/components/header-1177/header-1177-region-picker-base.d.ts +4 -2
  132. package/components/header-1177/header-1177-region-picker-base.js +8 -3
  133. package/components/header-1177/header-1177-region-picker-mobile-base.d.ts +4 -2
  134. package/components/header-1177/header-1177-region-picker-mobile-base.js +8 -3
  135. package/components/header-1177/header-1177-region-picker-mobile.d.ts +3 -1
  136. package/components/header-1177/header-1177-region-picker.d.ts +3 -1
  137. package/components/header-1177/header-1177.d.ts +2 -1
  138. package/components/header-1177/header-1177.js +2 -2
  139. package/components/header-1177-admin/header-1177-admin-avatar-base.d.ts +1 -1
  140. package/components/header-1177-admin/header-1177-admin-avatar-mobile-base.d.ts +1 -1
  141. package/components/header-1177-admin/header-1177-admin-avatar-mobile.d.ts +1 -1
  142. package/components/header-1177-admin/header-1177-admin-avatar.d.ts +1 -1
  143. package/components/header-1177-admin/header-1177-admin-base.d.ts +2 -2
  144. package/components/header-1177-admin/header-1177-admin-base.js +3 -5
  145. package/components/header-1177-admin/header-1177-admin-item-base.d.ts +1 -1
  146. package/components/header-1177-admin/header-1177-admin-item-base.js +1 -2
  147. package/components/header-1177-admin/header-1177-admin-item.d.ts +1 -1
  148. package/components/header-1177-admin/header-1177-admin-logo.d.ts +12 -0
  149. package/components/header-1177-admin/header-1177-admin-logo.js +8 -0
  150. package/components/header-1177-admin/header-1177-admin-menu-mobile-base.d.ts +1 -1
  151. package/components/header-1177-admin/header-1177-admin-menu-mobile.d.ts +1 -1
  152. package/components/header-1177-admin/header-1177-admin-nav-base.d.ts +2 -1
  153. package/components/header-1177-admin/header-1177-admin-nav-base.js +4 -3
  154. package/components/header-1177-admin/header-1177-admin-nav-item-base.d.ts +1 -1
  155. package/components/header-1177-admin/header-1177-admin-nav-item-base.js +3 -12
  156. package/components/header-1177-admin/header-1177-admin-nav-item-link.d.ts +10 -0
  157. package/components/header-1177-admin/header-1177-admin-nav-item-link.js +19 -0
  158. package/components/header-1177-admin/header-1177-admin-nav-item-mobile-base.d.ts +1 -1
  159. package/components/header-1177-admin/header-1177-admin-nav-item-mobile.d.ts +1 -1
  160. package/components/header-1177-admin/header-1177-admin-nav-item.d.ts +1 -1
  161. package/components/header-1177-admin/header-1177-admin-nav.d.ts +2 -1
  162. package/components/header-1177-admin/header-1177-admin-nav.js +2 -2
  163. package/components/header-1177-admin/header-1177-admin.d.ts +2 -1
  164. package/components/header-1177-admin/header-1177-admin.js +2 -2
  165. package/components/header-1177-pro/header-1177-pro-avatar-base.d.ts +1 -1
  166. package/components/header-1177-pro/header-1177-pro-avatar-mobile-base.d.ts +1 -1
  167. package/components/header-1177-pro/header-1177-pro-avatar-mobile-base.js +0 -1
  168. package/components/header-1177-pro/header-1177-pro-avatar-mobile.d.ts +1 -1
  169. package/components/header-1177-pro/header-1177-pro-avatar.d.ts +1 -1
  170. package/components/header-1177-pro/header-1177-pro-base.d.ts +1 -1
  171. package/components/header-1177-pro/header-1177-pro-base.js +2 -1
  172. package/components/header-1177-pro/header-1177-pro-item-base.d.ts +1 -1
  173. package/components/header-1177-pro/header-1177-pro-item-base.js +1 -2
  174. package/components/header-1177-pro/header-1177-pro-item.d.ts +1 -1
  175. package/components/header-1177-pro/header-1177-pro-logo.d.ts +12 -0
  176. package/components/header-1177-pro/header-1177-pro-logo.js +8 -0
  177. package/components/header-1177-pro/header-1177-pro-menu-mobile-base.d.ts +1 -1
  178. package/components/header-1177-pro/header-1177-pro-menu-mobile.d.ts +1 -1
  179. package/components/header-1177-pro/header-1177-pro-nav-base.d.ts +2 -1
  180. package/components/header-1177-pro/header-1177-pro-nav-base.js +3 -2
  181. package/components/header-1177-pro/header-1177-pro-nav-item-base.d.ts +1 -1
  182. package/components/header-1177-pro/header-1177-pro-nav-item-base.js +3 -12
  183. package/components/header-1177-pro/header-1177-pro-nav-item-link.d.ts +10 -0
  184. package/components/header-1177-pro/header-1177-pro-nav-item-link.js +19 -0
  185. package/components/header-1177-pro/header-1177-pro-nav-item-mobile-base.d.ts +1 -1
  186. package/components/header-1177-pro/header-1177-pro-nav-item-mobile.d.ts +1 -1
  187. package/components/header-1177-pro/header-1177-pro-nav-item.d.ts +1 -1
  188. package/components/header-1177-pro/header-1177-pro-nav.d.ts +2 -1
  189. package/components/header-1177-pro/header-1177-pro-nav.js +2 -2
  190. package/components/header-1177-pro/header-1177-pro-region-picker-base.d.ts +3 -1
  191. package/components/header-1177-pro/header-1177-pro-region-picker-base.js +8 -3
  192. package/components/header-1177-pro/header-1177-pro-region-picker-mobile-base.d.ts +3 -1
  193. package/components/header-1177-pro/header-1177-pro-region-picker-mobile-base.js +8 -3
  194. package/components/header-1177-pro/header-1177-pro-region-picker-mobile.d.ts +3 -1
  195. package/components/header-1177-pro/header-1177-pro-region-picker-mobile.js +1 -1
  196. package/components/header-1177-pro/header-1177-pro-region-picker.d.ts +3 -1
  197. package/components/header-1177-pro/header-1177-pro-region-picker.js +1 -1
  198. package/components/header-1177-pro/header-1177-pro.d.ts +1 -1
  199. package/components/header-inera/header-inera-base.d.ts +2 -2
  200. package/components/header-inera/header-inera-base.js +3 -2
  201. package/components/header-inera/header-inera-item-base.d.ts +1 -1
  202. package/components/header-inera/header-inera-item-base.js +1 -2
  203. package/components/header-inera/header-inera-item.d.ts +1 -1
  204. package/components/header-inera/header-inera-logo.d.ts +12 -0
  205. package/components/header-inera/header-inera-logo.js +8 -0
  206. package/components/header-inera/header-inera-menu-mobile-base.d.ts +1 -1
  207. package/components/header-inera/header-inera-menu-mobile.d.ts +1 -1
  208. package/components/header-inera/header-inera-nav-base.d.ts +1 -1
  209. package/components/header-inera/header-inera-nav-base.js +1 -1
  210. package/components/header-inera/header-inera-nav-item-base.d.ts +1 -1
  211. package/components/header-inera/header-inera-nav-item-base.js +4 -13
  212. package/components/header-inera/header-inera-nav-item-link.d.ts +10 -0
  213. package/components/header-inera/header-inera-nav-item-link.js +19 -0
  214. package/components/header-inera/header-inera-nav-item.d.ts +1 -1
  215. package/components/header-inera/header-inera-nav.d.ts +1 -1
  216. package/components/header-inera/header-inera.d.ts +2 -1
  217. package/components/header-inera/header-inera.js +2 -2
  218. package/components/header-inera-admin/header-inera-admin-avatar-base.d.ts +1 -1
  219. package/components/header-inera-admin/header-inera-admin-avatar-mobile-base.d.ts +1 -1
  220. package/components/header-inera-admin/header-inera-admin-avatar-mobile.d.ts +1 -1
  221. package/components/header-inera-admin/header-inera-admin-avatar.d.ts +1 -1
  222. package/components/header-inera-admin/header-inera-admin-base.d.ts +1 -1
  223. package/components/header-inera-admin/header-inera-admin-base.js +1 -10
  224. package/components/header-inera-admin/header-inera-admin-item-base.d.ts +1 -1
  225. package/components/header-inera-admin/header-inera-admin-item-base.js +2 -3
  226. package/components/header-inera-admin/header-inera-admin-item.d.ts +1 -1
  227. package/components/header-inera-admin/header-inera-admin-menu-mobile-base.d.ts +1 -1
  228. package/components/header-inera-admin/header-inera-admin-menu-mobile.d.ts +1 -1
  229. package/components/header-inera-admin/header-inera-admin-nav-base.d.ts +2 -1
  230. package/components/header-inera-admin/header-inera-admin-nav-base.js +4 -3
  231. package/components/header-inera-admin/header-inera-admin-nav-item-base.d.ts +1 -1
  232. package/components/header-inera-admin/header-inera-admin-nav-item-base.js +3 -12
  233. package/components/header-inera-admin/header-inera-admin-nav-item-link.d.ts +10 -0
  234. package/components/header-inera-admin/header-inera-admin-nav-item-link.js +19 -0
  235. package/components/header-inera-admin/header-inera-admin-nav-item-mobile-base.d.ts +1 -1
  236. package/components/header-inera-admin/header-inera-admin-nav-item-mobile.d.ts +1 -1
  237. package/components/header-inera-admin/header-inera-admin-nav-item.d.ts +1 -1
  238. package/components/header-inera-admin/header-inera-admin-nav.d.ts +2 -1
  239. package/components/header-inera-admin/header-inera-admin-nav.js +2 -2
  240. package/components/header-inera-admin/header-inera-admin.d.ts +1 -1
  241. package/components/header-inera-general/header-inera-general-avatar-base.d.ts +18 -0
  242. package/components/header-inera-general/header-inera-general-avatar-base.js +24 -0
  243. package/components/header-inera-general/header-inera-general-avatar-mobile-base.d.ts +17 -0
  244. package/components/header-inera-general/header-inera-general-avatar-mobile-base.js +24 -0
  245. package/components/header-inera-general/header-inera-general-avatar-mobile.d.ts +12 -0
  246. package/components/header-inera-general/header-inera-general-avatar-mobile.js +28 -0
  247. package/components/header-inera-general/header-inera-general-avatar.d.ts +12 -0
  248. package/components/header-inera-general/header-inera-general-avatar.js +29 -0
  249. package/components/header-inera-general/header-inera-general-base.d.ts +2 -1
  250. package/components/header-inera-general/header-inera-general-base.js +2 -2
  251. package/components/header-inera-general/header-inera-general-item-base.d.ts +1 -1
  252. package/components/header-inera-general/header-inera-general-item-base.js +2 -2
  253. package/components/header-inera-general/header-inera-general-item.d.ts +1 -1
  254. package/components/header-inera-general/header-inera-general-item.js +1 -1
  255. package/components/header-inera-general/header-inera-general-menu-mobile-base.d.ts +1 -1
  256. package/components/header-inera-general/header-inera-general-menu-mobile.d.ts +1 -1
  257. package/components/header-inera-general/header-inera-general-nav-base.d.ts +1 -1
  258. package/components/header-inera-general/header-inera-general-nav-base.js +1 -1
  259. package/components/header-inera-general/header-inera-general-nav-item-base.d.ts +1 -1
  260. package/components/header-inera-general/header-inera-general-nav-item-base.js +4 -13
  261. package/components/header-inera-general/header-inera-general-nav-item-link.d.ts +10 -0
  262. package/components/header-inera-general/header-inera-general-nav-item-link.js +19 -0
  263. package/components/header-inera-general/header-inera-general-nav-item-mobile-base.d.ts +10 -0
  264. package/components/header-inera-general/header-inera-general-nav-item-mobile-base.js +11 -0
  265. package/components/header-inera-general/header-inera-general-nav-item-mobile.d.ts +10 -0
  266. package/components/header-inera-general/header-inera-general-nav-item-mobile.js +12 -0
  267. package/components/header-inera-general/header-inera-general-nav-item.d.ts +1 -1
  268. package/components/header-inera-general/header-inera-general-nav-mobile.d.ts +10 -0
  269. package/components/header-inera-general/header-inera-general-nav-mobile.js +8 -0
  270. package/components/header-inera-general/header-inera-general-nav.d.ts +1 -1
  271. package/components/header-inera-general/header-inera-general.d.ts +3 -1
  272. package/components/header-inera-general/header-inera-general.js +2 -2
  273. package/components/header-patient/header-patient.d.ts +1 -1
  274. package/components/link/action-link.d.ts +1 -1
  275. package/components/link/box-link.d.ts +1 -1
  276. package/components/list-pagination/list-pagination-links.d.ts +3 -2
  277. package/components/list-pagination/list-pagination-links.js +3 -20
  278. package/components/list-pagination/list-pagination-summary.d.ts +13 -0
  279. package/components/list-pagination/list-pagination-summary.js +9 -0
  280. package/components/list-pagination/list-pagination.d.ts +3 -2
  281. package/components/list-pagination/list-pagination.js +3 -20
  282. package/components/message-avatar/message-avatar.d.ts +12 -0
  283. package/components/message-avatar/message-avatar.js +10 -0
  284. package/components/mobile-menu/mobile-item-base.d.ts +1 -1
  285. package/components/mobile-menu/mobile-item-base.js +4 -24
  286. package/components/mobile-menu/mobile-item-link.d.ts +16 -0
  287. package/components/mobile-menu/mobile-item-link.js +27 -0
  288. package/components/mobile-menu/mobile-item.d.ts +1 -1
  289. package/components/mobile-menu/mobile-menu.d.ts +1 -1
  290. package/components/navigation-content/navigation-content-item-base.d.ts +12 -0
  291. package/components/navigation-content/navigation-content-item-base.js +17 -0
  292. package/components/navigation-content/navigation-content-item.d.ts +11 -0
  293. package/components/navigation-content/navigation-content-item.js +25 -0
  294. package/components/navigation-content/navigation-content.d.ts +1 -1
  295. package/components/navigation-content/navigation-content.js +10 -6
  296. package/components/navigation-local/navigation-local.d.ts +1 -1
  297. package/components/notification-badge/notification-badge.js +1 -1
  298. package/components/popover/popover-base.d.ts +1 -1
  299. package/components/popover/popover-caret.d.ts +9 -0
  300. package/components/popover/popover-caret.js +8 -0
  301. package/components/popover/popover-content.d.ts +1 -1
  302. package/components/popover/popover-content.js +2 -2
  303. package/components/popover/popover.d.ts +2 -1
  304. package/components/popover/popover.js +28 -14
  305. package/components/progressbar/progressbar.d.ts +1 -1
  306. package/components/puff-list/puff-list-item-date.d.ts +1 -1
  307. package/components/puff-list/puff-list-item-header.d.ts +2 -2
  308. package/components/puff-list/puff-list-item-info.d.ts +1 -1
  309. package/components/puff-list/puff-list-item.d.ts +2 -1
  310. package/components/puff-list/puff-list-item.js +2 -2
  311. package/components/puff-list/puff-list.d.ts +1 -1
  312. package/components/region-icon/region-icon.d.ts +5 -2
  313. package/components/region-icon/region-icon.js +6 -3
  314. package/components/side-menu/side-menu-base.d.ts +1 -1
  315. package/components/side-menu/side-menu-base.js +6 -24
  316. package/components/side-menu/side-menu-label.d.ts +17 -0
  317. package/components/side-menu/side-menu-label.js +14 -0
  318. package/components/side-menu/side-menu-toggle.d.ts +15 -0
  319. package/components/side-menu/side-menu-toggle.js +14 -0
  320. package/components/side-menu/side-menu.d.ts +1 -1
  321. package/components/side-panel/side-panel-base.js +4 -8
  322. package/components/side-panel/side-panel-footer.d.ts +10 -0
  323. package/components/side-panel/side-panel-footer.js +8 -0
  324. package/components/side-panel/side-panel-provider.d.ts +1 -1
  325. package/components/side-panel/side-panel.d.ts +1 -1
  326. package/components/side-panel/side-panel.js +2 -18
  327. package/components/stepper/step-base.d.ts +1 -1
  328. package/components/stepper/step-base.js +6 -9
  329. package/components/stepper/step-indicator.d.ts +11 -0
  330. package/components/stepper/step-indicator.js +8 -0
  331. package/components/stepper/step.d.ts +1 -1
  332. package/components/stepper/step.js +2 -11
  333. package/components/stepper/stepper.d.ts +1 -1
  334. package/components/tabs/tab-link.js +1 -1
  335. package/components/tabs/tab.js +1 -1
  336. package/components/tabs/tabs-base.d.ts +1 -1
  337. package/components/tabs/tabs.d.ts +1 -1
  338. package/components/tag/tag.js +9 -2
  339. package/components/tooltip/tooltip-base.d.ts +1 -3
  340. package/components/tooltip/tooltip-base.js +14 -10
  341. package/components/tooltip/tooltip.d.ts +1 -1
  342. package/components/tooltip/tooltip.js +1 -41
  343. package/components/utils/utils.js +0 -1
  344. package/index.d.ts +12 -0
  345. package/index.js +12 -0
  346. package/package.json +4 -3
@@ -1,27 +1,11 @@
1
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import '@inera/ids-design/components/footer-1177-admin/footer-1177-admin.css';
4
+ import { IDSFooter1177AdminColumns } from './footer-1177-admin-columns.js';
5
+ import { IDSFooter1177AdminHeadline } from './footer-1177-admin-headline.js';
4
6
 
5
7
  function IDSFooter1177Admin({ headline = "", srHeadline = "", col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }) {
6
- const renderHeadline = () => {
7
- if (srHeadline) {
8
- return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-1177-admin__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-1177-admin__headline", children: headline })] }));
9
- }
10
- return jsx("h2", { className: "ids-footer-1177-admin__headline", children: headline });
11
- };
12
- const renderCols = () => {
13
- if (!!col1 && !col2 && !col3) {
14
- return jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--100"), children: col1 });
15
- }
16
- else if (!!col1 && !!col2 && !col3) {
17
- return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--50"), children: col2 })] }));
18
- }
19
- else if (!!col1 && !!col2 && !!col3) {
20
- return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-1177-admin__link-col", "ids-footer-1177-admin__link-col--33"), children: col3 })] }));
21
- }
22
- return null;
23
- };
24
- return (jsxs("footer", { className: clsx("ids-footer-1177-admin", className), ...props, children: [jsx("div", { className: "ids-footer-1177-admin__inner-wrapper", children: jsxs("div", { className: "ids-footer-1177-admin__inner", children: [jsx("div", { className: "ids-footer-1177-admin__headline-wrapper", children: renderHeadline() }), jsxs("div", { className: "ids-footer-1177-admin__content", children: [jsxs("div", { className: "ids-footer-1177-admin__text", children: [children, toggle && jsx("div", { className: "ids-footer-1177-admin__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-1177-admin__cols", children: renderCols() })] })] }) }), jsx("div", { className: "ids-footer-1177-admin__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-1177-admin__sub-footer", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-container", children: jsxs("div", { className: "ids-footer-1177-admin__sub-footer-inner", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-1177-admin__mobile-links", children: mobileLinks })] }) }), jsxs("div", { className: "ids-footer-1177-admin__sub-footer-mobile", children: [jsxs("div", { className: "ids-footer-1177-admin__sub-footer-mobile-headline-wrapper", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-logo" }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-headline", children: headline })] }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-text", children: subFooterMobile })] })] })] }));
8
+ return (jsxs("footer", { className: clsx("ids-footer-1177-admin", className), ...props, children: [jsx("div", { className: "ids-footer-1177-admin__inner-wrapper", children: jsxs("div", { className: "ids-footer-1177-admin__inner", children: [jsx("div", { className: "ids-footer-1177-admin__headline-wrapper", children: jsx(IDSFooter1177AdminHeadline, { headline: headline, srHeadline: srHeadline }) }), jsxs("div", { className: "ids-footer-1177-admin__content", children: [jsxs("div", { className: "ids-footer-1177-admin__text", children: [children, toggle && jsx("div", { className: "ids-footer-1177-admin__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-1177-admin__cols", children: jsx(IDSFooter1177AdminColumns, { col1: col1, col2: col2, col3: col3 }) })] })] }) }), jsx("div", { className: "ids-footer-1177-admin__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-1177-admin__sub-footer", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-container", children: jsxs("div", { className: "ids-footer-1177-admin__sub-footer-inner", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-1177-admin__mobile-links", children: mobileLinks })] }) }), jsxs("div", { className: "ids-footer-1177-admin__sub-footer-mobile", children: [jsxs("div", { className: "ids-footer-1177-admin__sub-footer-mobile-headline-wrapper", children: [jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-logo" }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-headline", children: headline })] }), jsx("div", { className: "ids-footer-1177-admin__sub-footer-mobile-text", children: subFooterMobile })] })] })] }));
25
9
  }
26
10
  IDSFooter1177Admin.displayName = "IDSFooter1177Admin";
27
11
 
@@ -0,0 +1,13 @@
1
+ import React, { ReactNode } from "react";
2
+ export interface Footer1177ProColumnsProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ col1Headline?: ReactNode;
4
+ col2Headline?: ReactNode;
5
+ col3Headline?: ReactNode;
6
+ col1?: ReactNode;
7
+ col2?: ReactNode;
8
+ col3?: ReactNode;
9
+ }
10
+ export declare function IDSFooter1177ProColumns({ col1, col2, col3, col1Headline, col2Headline, col3Headline }: Footer1177ProColumnsProps): React.JSX.Element;
11
+ export declare namespace IDSFooter1177ProColumns {
12
+ var displayName: string;
13
+ }
@@ -0,0 +1,18 @@
1
+ import { jsxs, Fragment } from 'react/jsx-runtime';
2
+ import clsx from 'clsx';
3
+
4
+ function IDSFooter1177ProColumns({ col1, col2, col3, col1Headline, col2Headline, col3Headline }) {
5
+ if (!!col1 && !col2 && !col3) {
6
+ return (jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--100"), children: [col1Headline, col1] }));
7
+ }
8
+ else if (!!col1 && !!col2 && !col3) {
9
+ return (jsxs(Fragment, { children: [jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--50"), children: [col1Headline, col1] }), jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--50"), children: [col2Headline, col2] })] }));
10
+ }
11
+ else if (!!col1 && !!col2 && !!col3) {
12
+ return (jsxs(Fragment, { children: [jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--33"), children: [col1Headline, col1] }), jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--33"), children: [col2Headline, col2] }), jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--33"), children: [col3Headline, col3] })] }));
13
+ }
14
+ return null;
15
+ }
16
+ IDSFooter1177ProColumns.displayName = "IDSFooter1177ProColumns";
17
+
18
+ export { IDSFooter1177ProColumns };
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export interface Footer1177ProHeadlineProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ headline?: string;
4
+ srHeadline?: string;
5
+ }
6
+ export declare function IDSFooter1177ProHeadline({ headline, srHeadline }: Footer1177ProHeadlineProps): React.JSX.Element;
7
+ export declare namespace IDSFooter1177ProHeadline {
8
+ var displayName: string;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
+
3
+ function IDSFooter1177ProHeadline({ headline = "", srHeadline = "" }) {
4
+ if (srHeadline) {
5
+ return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-1177-pro__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-1177-pro__headline", children: headline })] }));
6
+ }
7
+ return jsx("h2", { className: "ids-footer-1177-pro__headline", children: headline });
8
+ }
9
+ IDSFooter1177ProHeadline.displayName = "IDSFooter1177ProHeadline";
10
+
11
+ export { IDSFooter1177ProHeadline };
@@ -18,7 +18,7 @@ interface Footer1177ProProps extends React.HTMLAttributes<HTMLDivElement> {
18
18
  subFooterMobile?: ReactNode;
19
19
  children?: ReactNode;
20
20
  }
21
- export declare function IDSFooter1177Pro({ headline, srHeadline, mobileHeadline, col1, col2, col3, toggle, col1Headline, col2Headline, col3Headline, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: Footer1177ProProps): import("react/jsx-runtime").JSX.Element;
21
+ export declare function IDSFooter1177Pro({ headline, srHeadline, mobileHeadline, col1, col2, col3, toggle, col1Headline, col2Headline, col3Headline, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: Footer1177ProProps): React.JSX.Element;
22
22
  export declare namespace IDSFooter1177Pro {
23
23
  var displayName: string;
24
24
  }
@@ -1,27 +1,11 @@
1
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import '@inera/ids-design/components/footer-1177-pro/footer-1177-pro.css';
4
+ import { IDSFooter1177ProColumns } from './footer-1177-pro-columns.js';
5
+ import { IDSFooter1177ProHeadline } from './footer-1177-pro-headline.js';
4
6
 
5
7
  function IDSFooter1177Pro({ headline = "", srHeadline = "", mobileHeadline = "", col1, col2, col3, toggle, col1Headline, col2Headline, col3Headline, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }) {
6
- const renderHeadline = () => {
7
- if (srHeadline) {
8
- return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-1177-pro__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-1177-pro__headline", children: headline })] }));
9
- }
10
- return jsx("h2", { className: "ids-footer-1177-pro__headline", children: headline });
11
- };
12
- const renderCols = () => {
13
- if (!!col1 && !col2 && !col3) {
14
- return (jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--100"), children: [col1Headline, col1] }));
15
- }
16
- else if (!!col1 && !!col2 && !col3) {
17
- return (jsxs(Fragment, { children: [jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--50"), children: [col1Headline, col1] }), jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--50"), children: [col2Headline, col2] })] }));
18
- }
19
- else if (!!col1 && !!col2 && !!col3) {
20
- return (jsxs(Fragment, { children: [jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--33"), children: [col1Headline, col1] }), jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--33"), children: [col2Headline, col2] }), jsxs("div", { className: clsx("ids-footer-1177-pro__link-col", "ids-footer-1177-pro__link-col--33"), children: [col3Headline, col3] })] }));
21
- }
22
- return null;
23
- };
24
- return (jsxs("footer", { className: clsx("ids-footer-1177-pro", className), ...props, children: [jsx("div", { className: "ids-footer-1177-pro__inner-wrapper", children: jsxs("div", { className: "ids-footer-1177-pro__inner", children: [jsx("div", { className: "ids-footer-1177-pro__headline-wrapper", children: renderHeadline() }), jsxs("div", { className: "ids-footer-1177-pro__content", children: [jsxs("div", { className: "ids-footer-1177-pro__text", children: [children, toggle && jsx("div", { className: "ids-footer-1177-pro__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-1177-pro__cols", children: renderCols() })] })] }) }), jsx("div", { className: "ids-footer-1177-pro__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-1177-pro__sub-footer", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-container", children: jsxs("div", { className: "ids-footer-1177-pro__sub-footer-inner", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-1177-pro__mobile-links", children: mobileLinks })] }) }), jsxs("div", { className: "ids-footer-1177-pro__sub-footer-mobile", children: [jsxs("div", { className: "ids-footer-1177-pro__sub-footer-mobile-headline-wrapper", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-logo" }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-headline", children: mobileHeadline })] }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-text", children: subFooterMobile })] })] })] }));
8
+ return (jsxs("footer", { className: clsx("ids-footer-1177-pro", className), ...props, children: [jsx("div", { className: "ids-footer-1177-pro__inner-wrapper", children: jsxs("div", { className: "ids-footer-1177-pro__inner", children: [jsx("div", { className: "ids-footer-1177-pro__headline-wrapper", children: jsx(IDSFooter1177ProHeadline, { headline: headline, srHeadline: srHeadline }) }), jsxs("div", { className: "ids-footer-1177-pro__content", children: [jsxs("div", { className: "ids-footer-1177-pro__text", children: [children, toggle && jsx("div", { className: "ids-footer-1177-pro__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-1177-pro__cols", children: jsx(IDSFooter1177ProColumns, { col1: col1, col2: col2, col3: col3, col1Headline: col1Headline, col2Headline: col2Headline, col3Headline: col3Headline }) })] })] }) }), jsx("div", { className: "ids-footer-1177-pro__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-1177-pro__sub-footer", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-container", children: jsxs("div", { className: "ids-footer-1177-pro__sub-footer-inner", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-1177-pro__mobile-links", children: mobileLinks })] }) }), jsxs("div", { className: "ids-footer-1177-pro__sub-footer-mobile", children: [jsxs("div", { className: "ids-footer-1177-pro__sub-footer-mobile-headline-wrapper", children: [jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-logo" }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-headline", children: mobileHeadline })] }), jsx("div", { className: "ids-footer-1177-pro__sub-footer-mobile-text", children: subFooterMobile })] })] })] }));
25
9
  }
26
10
  IDSFooter1177Pro.displayName = "IDSFooter1177Pro";
27
11
 
@@ -0,0 +1,10 @@
1
+ import React, { ReactNode } from "react";
2
+ export interface FooterIneraColumnsProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ col1?: ReactNode;
4
+ col2?: ReactNode;
5
+ col3?: ReactNode;
6
+ }
7
+ export declare function IDSFooterIneraColumns({ col1, col2, col3 }: FooterIneraColumnsProps): React.JSX.Element;
8
+ export declare namespace IDSFooterIneraColumns {
9
+ var displayName: string;
10
+ }
@@ -0,0 +1,18 @@
1
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
+ import clsx from 'clsx';
3
+
4
+ function IDSFooterIneraColumns({ col1, col2, col3 }) {
5
+ if (!!col1 && !col2 && !col3) {
6
+ return jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--100"), children: col1 });
7
+ }
8
+ else if (!!col1 && !!col2 && !col3) {
9
+ return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--50"), children: col2 })] }));
10
+ }
11
+ else if (!!col1 && !!col2 && !!col3) {
12
+ return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col3 })] }));
13
+ }
14
+ return null;
15
+ }
16
+ IDSFooterIneraColumns.displayName = "IDSFooterIneraColumns";
17
+
18
+ export { IDSFooterIneraColumns };
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export interface FooterIneraHeadlineProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ headline?: string;
4
+ srHeadline?: string;
5
+ }
6
+ export declare function IDSFooterIneraHeadline({ headline, srHeadline }: FooterIneraHeadlineProps): React.JSX.Element;
7
+ export declare namespace IDSFooterIneraHeadline {
8
+ var displayName: string;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
+
3
+ function IDSFooterIneraHeadline({ headline = "", srHeadline = "" }) {
4
+ if (srHeadline) {
5
+ return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera__headline", children: headline })] }));
6
+ }
7
+ return jsx("h2", { className: "ids-footer-inera__headline", children: headline });
8
+ }
9
+ IDSFooterIneraHeadline.displayName = "IDSFooterIneraHeadline";
10
+
11
+ export { IDSFooterIneraHeadline };
@@ -14,7 +14,7 @@ interface FooterIneraProps extends React.HTMLAttributes<HTMLDivElement> {
14
14
  subFooterMobile?: ReactNode;
15
15
  children?: ReactNode;
16
16
  }
17
- export declare function IDSFooterInera({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function IDSFooterInera({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraProps): React.JSX.Element;
18
18
  export declare namespace IDSFooterInera {
19
19
  var displayName: string;
20
20
  }
@@ -1,27 +1,11 @@
1
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import '@inera/ids-design/components/footer-inera/footer-inera.css';
4
+ import { IDSFooterIneraColumns } from './footer-inera-columns.js';
5
+ import { IDSFooterIneraHeadline } from './footer-inera-headline.js';
4
6
 
5
7
  function IDSFooterInera({ headline = "", srHeadline = "", col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }) {
6
- const renderHeadline = () => {
7
- if (srHeadline) {
8
- return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera__headline", children: headline })] }));
9
- }
10
- return jsx("h2", { className: "ids-footer-inera__headline", children: headline });
11
- };
12
- const renderCols = () => {
13
- if (!!col1 && !col2 && !col3) {
14
- return jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--100"), children: col1 });
15
- }
16
- else if (!!col1 && !!col2 && !col3) {
17
- return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--50"), children: col2 })] }));
18
- }
19
- else if (!!col1 && !!col2 && !!col3) {
20
- return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera__link-col", "ids-footer-inera__link-col--33"), children: col3 })] }));
21
- }
22
- return null;
23
- };
24
- return (jsxs("footer", { className: clsx("ids-footer-inera", className), ...props, children: [jsx("div", { className: "ids-footer-inera__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera__inner", children: [jsx("div", { className: "ids-footer-inera__headline-wrapper", children: renderHeadline() }), jsxs("div", { className: "ids-footer-inera__content", children: [jsxs("div", { className: "ids-footer-inera__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera__cols", children: renderCols() })] })] }) }), jsx("div", { className: "ids-footer-inera__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera__sub-footer", children: [jsx("div", { className: "ids-footer-inera__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
8
+ return (jsxs("footer", { className: clsx("ids-footer-inera", className), ...props, children: [jsx("div", { className: "ids-footer-inera__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera__inner", children: [jsx("div", { className: "ids-footer-inera__headline-wrapper", children: jsx(IDSFooterIneraHeadline, { headline: headline, srHeadline: srHeadline }) }), jsxs("div", { className: "ids-footer-inera__content", children: [jsxs("div", { className: "ids-footer-inera__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera__cols", children: jsx(IDSFooterIneraColumns, { col1: col1, col2: col2, col3: col3 }) })] })] }) }), jsx("div", { className: "ids-footer-inera__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera__sub-footer", children: [jsx("div", { className: "ids-footer-inera__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
25
9
  }
26
10
  IDSFooterInera.displayName = "IDSFooterInera";
27
11
 
@@ -0,0 +1,10 @@
1
+ import React, { ReactNode } from "react";
2
+ export interface IDSFooterIneraAdminColumnsProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ col1?: ReactNode;
4
+ col2?: ReactNode;
5
+ col3?: ReactNode;
6
+ }
7
+ export declare function IDSFooterIneraAdminColumns({ col1, col2, col3 }: IDSFooterIneraAdminColumnsProps): React.JSX.Element;
8
+ export declare namespace IDSFooterIneraAdminColumns {
9
+ var displayName: string;
10
+ }
@@ -0,0 +1,18 @@
1
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
+ import clsx from 'clsx';
3
+
4
+ function IDSFooterIneraAdminColumns({ col1, col2, col3 }) {
5
+ if (!!col1 && !col2 && !col3) {
6
+ return jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--100"), children: col1 });
7
+ }
8
+ else if (!!col1 && !!col2 && !col3) {
9
+ return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--50"), children: col2 })] }));
10
+ }
11
+ else if (!!col1 && !!col2 && !!col3) {
12
+ return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col3 })] }));
13
+ }
14
+ return null;
15
+ }
16
+ IDSFooterIneraAdminColumns.displayName = "IDSFooterIneraAdminColumns";
17
+
18
+ export { IDSFooterIneraAdminColumns };
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export interface FooterIneraAdminHeadlineProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ headline?: string;
4
+ srHeadline?: string;
5
+ }
6
+ export declare function IDSFooterIneraAdminHeadline({ headline, srHeadline }: FooterIneraAdminHeadlineProps): React.JSX.Element;
7
+ export declare namespace IDSFooterIneraAdminHeadline {
8
+ var displayName: string;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
+
3
+ function IDSFooterIneraAdminHeadline({ headline = "", srHeadline = "" }) {
4
+ if (srHeadline) {
5
+ return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera-admin__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera-admin__headline", children: headline })] }));
6
+ }
7
+ return jsx("h2", { className: "ids-footer-inera-admin__headline", children: headline });
8
+ }
9
+ IDSFooterIneraAdminHeadline.displayName = "IDSFooterIneraAdminHeadline";
10
+
11
+ export { IDSFooterIneraAdminHeadline };
@@ -14,7 +14,7 @@ interface FooterIneraAdminProps extends React.HTMLAttributes<HTMLDivElement> {
14
14
  subFooterMobile?: ReactNode;
15
15
  children?: ReactNode;
16
16
  }
17
- export declare function IDSFooterIneraAdmin({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraAdminProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function IDSFooterIneraAdmin({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraAdminProps): React.JSX.Element;
18
18
  export declare namespace IDSFooterIneraAdmin {
19
19
  var displayName: string;
20
20
  }
@@ -1,27 +1,11 @@
1
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import '@inera/ids-design/components/footer-inera-admin/footer-inera-admin.css';
4
+ import { IDSFooterIneraAdminColumns } from './footer-inera-admin-columns.js';
5
+ import { IDSFooterIneraAdminHeadline } from './footer-inera-admin-headline.js';
4
6
 
5
7
  function IDSFooterIneraAdmin({ headline = "", srHeadline = "", col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }) {
6
- const renderHeadline = () => {
7
- if (srHeadline) {
8
- return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera-admin__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera-admin__headline", children: headline })] }));
9
- }
10
- return jsx("h2", { className: "ids-footer-inera-admin__headline", children: headline });
11
- };
12
- const renderCols = () => {
13
- if (!!col1 && !col2 && !col3) {
14
- return (jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--100"), children: col1 }));
15
- }
16
- else if (!!col1 && !!col2 && !col3) {
17
- return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--50"), children: col2 })] }));
18
- }
19
- else if (!!col1 && !!col2 && !!col3) {
20
- return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera-admin__link-col", "ids-footer-inera-admin__link-col--33"), children: col3 })] }));
21
- }
22
- return null;
23
- };
24
- return (jsxs("footer", { className: clsx("ids-footer-inera-admin", className), ...props, children: [jsx("div", { className: "ids-footer-inera-admin__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera-admin__inner", children: [jsx("div", { className: "ids-footer-inera-admin__headline-wrapper", children: renderHeadline() }), jsxs("div", { className: "ids-footer-inera-admin__content", children: [jsxs("div", { className: "ids-footer-inera-admin__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera-admin__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera-admin__cols", children: renderCols() })] })] }) }), jsx("div", { className: "ids-footer-inera-admin__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera-admin__sub-footer", children: [jsx("div", { className: "ids-footer-inera-admin__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera-admin__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera-admin__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera-admin__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera-admin__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera-admin__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera-admin__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
8
+ return (jsxs("footer", { className: clsx("ids-footer-inera-admin", className), ...props, children: [jsx("div", { className: "ids-footer-inera-admin__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera-admin__inner", children: [jsx("div", { className: "ids-footer-inera-admin__headline-wrapper", children: jsx(IDSFooterIneraAdminHeadline, { headline: headline, srHeadline: srHeadline }) }), jsxs("div", { className: "ids-footer-inera-admin__content", children: [jsxs("div", { className: "ids-footer-inera-admin__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera-admin__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera-admin__cols", children: jsx(IDSFooterIneraAdminColumns, { col1: col1, col2: col2, col3: col3 }) })] })] }) }), jsx("div", { className: "ids-footer-inera-admin__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera-admin__sub-footer", children: [jsx("div", { className: "ids-footer-inera-admin__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera-admin__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera-admin__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera-admin__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera-admin__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera-admin__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera-admin__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
25
9
  }
26
10
  IDSFooterIneraAdmin.displayName = "IDSFooterIneraAdmin";
27
11
 
@@ -0,0 +1,10 @@
1
+ import React, { ReactNode } from "react";
2
+ export interface IDSFooterIneraGeneralColumnsProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ col1?: ReactNode;
4
+ col2?: ReactNode;
5
+ col3?: ReactNode;
6
+ }
7
+ export declare function IDSFooterIneraGeneralColumns({ col1, col2, col3 }: IDSFooterIneraGeneralColumnsProps): React.JSX.Element;
8
+ export declare namespace IDSFooterIneraGeneralColumns {
9
+ var displayName: string;
10
+ }
@@ -0,0 +1,18 @@
1
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
+ import clsx from 'clsx';
3
+
4
+ function IDSFooterIneraGeneralColumns({ col1, col2, col3 }) {
5
+ if (!!col1 && !col2 && !col3) {
6
+ return (jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--100"), children: col1 }));
7
+ }
8
+ else if (!!col1 && !!col2 && !col3) {
9
+ return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--50"), children: col2 })] }));
10
+ }
11
+ else if (!!col1 && !!col2 && !!col3) {
12
+ return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col3 })] }));
13
+ }
14
+ return null;
15
+ }
16
+ IDSFooterIneraGeneralColumns.displayName = "IDSFooterIneraGeneralColumns";
17
+
18
+ export { IDSFooterIneraGeneralColumns };
@@ -0,0 +1,9 @@
1
+ import React from "react";
2
+ export interface FooterIneraGeneralHeadlineProps extends React.HTMLAttributes<HTMLDivElement> {
3
+ headline?: string;
4
+ srHeadline?: string;
5
+ }
6
+ export declare function IDSFooterIneraGeneralHeadline({ headline, srHeadline }: FooterIneraGeneralHeadlineProps): React.JSX.Element;
7
+ export declare namespace IDSFooterIneraGeneralHeadline {
8
+ var displayName: string;
9
+ }
@@ -0,0 +1,11 @@
1
+ import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
+
3
+ function IDSFooterIneraGeneralHeadline({ headline = "", srHeadline = "" }) {
4
+ if (srHeadline) {
5
+ return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera-general__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera-general__headline", children: headline })] }));
6
+ }
7
+ return jsx("h2", { className: "ids-footer-inera-general__headline", children: headline });
8
+ }
9
+ IDSFooterIneraGeneralHeadline.displayName = "IDSFooterIneraGeneralHeadline";
10
+
11
+ export { IDSFooterIneraGeneralHeadline };
@@ -14,7 +14,7 @@ interface FooterIneraGeneralProps extends React.HTMLAttributes<HTMLDivElement> {
14
14
  subFooterMobile?: ReactNode;
15
15
  children?: ReactNode;
16
16
  }
17
- export declare function IDSFooterIneraGeneral({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraGeneralProps): import("react/jsx-runtime").JSX.Element;
17
+ export declare function IDSFooterIneraGeneral({ headline, srHeadline, col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }: FooterIneraGeneralProps): React.JSX.Element;
18
18
  export declare namespace IDSFooterIneraGeneral {
19
19
  var displayName: string;
20
20
  }
@@ -1,27 +1,11 @@
1
- import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
1
+ import { jsxs, jsx } from 'react/jsx-runtime';
2
2
  import clsx from 'clsx';
3
3
  import '@inera/ids-design/components/footer-inera-general/footer-inera-general.css';
4
+ import { IDSFooterIneraGeneralColumns } from './footer-inera-general-columns.js';
5
+ import { IDSFooterIneraGeneralHeadline } from './footer-inera-general-headline.js';
4
6
 
5
7
  function IDSFooterIneraGeneral({ headline = "", srHeadline = "", col1, col2, col3, toggle, subFooterLeft, subFooterRight, mobileMenu, mobileLinks, subFooterMobile, children, className, ...props }) {
6
- const renderHeadline = () => {
7
- if (srHeadline) {
8
- return (jsxs(Fragment, { children: [jsx("h2", { className: "ids-footer-inera-general__headline--sr", children: srHeadline }), jsx("h2", { "aria-hidden": "true", className: "ids-footer-inera-general__headline", children: headline })] }));
9
- }
10
- return jsx("h2", { className: "ids-footer-inera-general__headline", children: headline });
11
- };
12
- const renderCols = () => {
13
- if (!!col1 && !col2 && !col3) {
14
- return jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--100"), children: col1 });
15
- }
16
- else if (!!col1 && !!col2 && !col3) {
17
- return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--50"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--50"), children: col2 })] }));
18
- }
19
- else if (!!col1 && !!col2 && !!col3) {
20
- return (jsxs(Fragment, { children: [jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col1 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col2 }), jsx("div", { className: clsx("ids-footer-inera-general__link-col", "ids-footer-inera-general__link-col--33"), children: col3 })] }));
21
- }
22
- return null;
23
- };
24
- return (jsxs("footer", { className: clsx("ids-footer-inera-general", className), ...props, children: [jsx("div", { className: "ids-footer-inera-general__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera-general__inner", children: [jsx("div", { className: "ids-footer-inera-general__headline-wrapper", children: renderHeadline() }), jsxs("div", { className: "ids-footer-inera-general__content", children: [jsxs("div", { className: "ids-footer-inera-general__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera-general__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera-general__cols", children: renderCols() })] })] }) }), jsx("div", { className: "ids-footer-inera-general__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera-general__sub-footer", children: [jsx("div", { className: "ids-footer-inera-general__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera-general__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera-general__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera-general__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera-general__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera-general__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera-general__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
8
+ return (jsxs("footer", { className: clsx("ids-footer-inera-general", className), ...props, children: [jsx("div", { className: "ids-footer-inera-general__inner-wrapper", children: jsxs("div", { className: "ids-footer-inera-general__inner", children: [jsx("div", { className: "ids-footer-inera-general__headline-wrapper", children: jsx(IDSFooterIneraGeneralHeadline, { headline: headline, srHeadline: srHeadline }) }), jsxs("div", { className: "ids-footer-inera-general__content", children: [jsxs("div", { className: "ids-footer-inera-general__text", children: [children, toggle && jsx("div", { className: "ids-footer-inera-general__darkmode-toggle", children: toggle })] }), jsx("div", { className: "ids-footer-inera-general__cols", children: jsx(IDSFooterIneraGeneralColumns, { col1: col1, col2: col2, col3: col3 }) })] })] }) }), jsx("div", { className: "ids-footer-inera-general__mobile-menu", children: mobileMenu }), jsxs("div", { className: "ids-footer-inera-general__sub-footer", children: [jsx("div", { className: "ids-footer-inera-general__sub-footer-container", children: jsxs("div", { className: "ids-footer-inera-general__sub-footer-inner", children: [jsx("div", { className: "ids-footer-inera-general__sub-footer-left", children: subFooterLeft }), jsx("div", { className: "ids-footer-inera-general__sub-footer-right", children: subFooterRight }), jsx("div", { className: "ids-footer-inera-general__mobile-links", children: mobileLinks })] }) }), jsx("div", { className: "ids-footer-inera-general__sub-footer-mobile", children: jsx("div", { className: "ids-footer-inera-general__sub-footer-mobile-text", children: subFooterMobile }) })] })] }));
25
9
  }
26
10
  IDSFooterIneraGeneral.displayName = "IDSFooterIneraGeneral";
27
11
 
@@ -16,13 +16,12 @@ function IDSCheckboxBase({ invalid, disabled, required, indeterminate, light, bl
16
16
  return (jsxs("div", { className: clsx("ids-checkbox-component", className), style: { display: "inline-flex", flexDirection: "column", gap: showErrorMsg ? "0.5rem" : "" }, "data-testid": dataTestId, children: [jsxs("div", { className: clsx("ids-checkbox", {
17
17
  "ids-checkbox--light": light,
18
18
  "ids-checkbox--block": block
19
- }), "data-testid": dataTestId, children: [jsx("input", { id: inputId, ref: inputRef, type: "checkbox", className: clsx("ids-checkbox__input", {
19
+ }), children: [jsx("input", { id: inputId, ref: inputRef, type: "checkbox", className: clsx("ids-checkbox__input", {
20
20
  "ids-focus-anchor": focusAnchor
21
21
  }), "aria-invalid": invalid, disabled: disabled, required: required, ...ariaErrorHandler, ...ariaCheckedHandler, ...props }), !!children && (jsxs("div", { className: clsx("ids-label-wrapper", {
22
22
  "ids-label-wrapper--block": block
23
23
  }), children: [jsx("label", { htmlFor: inputId, className: clsx("ids-checkbox__label ids-label", {
24
- "ids-label--clickable": !disabled,
25
- "ids-label--disabled": disabled
24
+ "ids-label--clickable": !disabled
26
25
  }), children: children }), tooltip && jsx("span", { className: "ids-label__tooltip", children: tooltip })] }))] }), showErrorMsg && (jsx(IDSErrorMessage, { id: baseErrorMsgId, show: true, children: errorMsg }))] }));
27
26
  }
28
27
  IDSCheckboxBase.displayName = "IDSCheckboxBase";
@@ -9,8 +9,9 @@ export interface IDSCheckboxGroupBaseProps extends InputHTMLAttributes<HTMLField
9
9
  invalid?: boolean;
10
10
  errorMsgId?: string;
11
11
  groupRef?: React.Ref<HTMLFieldSetElement>;
12
+ subtitle?: string | ReactNode;
12
13
  }
13
- export declare function IDSCheckboxGroupBase({ legend, errorMsg, compact, hideLegend, tooltip, children, className, invalid, errorMsgId, groupRef, ...props }: IDSCheckboxGroupBaseProps): import("react/jsx-runtime").JSX.Element;
14
+ export declare function IDSCheckboxGroupBase({ legend, errorMsg, subtitle, compact, hideLegend, tooltip, children, className, invalid, errorMsgId, groupRef, ...props }: IDSCheckboxGroupBaseProps): React.JSX.Element;
14
15
  export declare namespace IDSCheckboxGroupBase {
15
16
  var displayName: string;
16
17
  }
@@ -3,13 +3,13 @@ import { useId } from 'react';
3
3
  import clsx from 'clsx';
4
4
  import { IDSErrorMessage } from '../error-message/error-message.js';
5
5
 
6
- function IDSCheckboxGroupBase({ legend, errorMsg = "", compact = false, hideLegend, tooltip, children, className, invalid = false, errorMsgId, groupRef, ...props }) {
6
+ function IDSCheckboxGroupBase({ legend, errorMsg = "", subtitle, compact = false, hideLegend, tooltip, children, className, invalid = false, errorMsgId, groupRef, ...props }) {
7
7
  const baseErrorMsgId = errorMsgId ?? `checkbox-group-base-error-${useId()}`;
8
8
  return (jsxs("fieldset", { ref: groupRef, "aria-describedby": invalid && errorMsg ? baseErrorMsgId : undefined, className: clsx("ids-form-group__fieldset", {
9
9
  "ids-form-group__fieldset--compact": compact
10
- }, className), ...props, children: [legend && (jsx("div", { className: clsx("ids-label-wrapper", {
10
+ }, className), ...props, children: [legend && (jsxs("div", { className: clsx("ids-label-wrapper", {
11
11
  "ids-label-wrapper--sr-only": hideLegend
12
- }, className), children: jsxs("legend", { children: [legend, tooltip && jsx("span", { className: "ids-legend__tooltip", children: tooltip })] }) })), children, invalid && !!errorMsg && (jsx(IDSErrorMessage, { id: baseErrorMsgId, show: true, compact: true, style: { marginTop: compact ? "0.75rem" : "auto" }, children: errorMsg }))] }));
12
+ }, className), children: [jsxs("legend", { children: [legend, tooltip && jsx("span", { className: "ids-legend__tooltip", children: tooltip })] }), subtitle && jsx("div", { className: "ids-subtitle ids-subtitle--group", children: subtitle })] })), children, invalid && !!errorMsg && (jsx(IDSErrorMessage, { id: baseErrorMsgId, show: true, compact: true, style: { marginTop: compact ? "0.75rem" : "auto" }, children: errorMsg }))] }));
13
13
  }
14
14
  IDSCheckboxGroupBase.displayName = "IDSCheckboxGroupBase";
15
15
 
@@ -1,4 +1,4 @@
1
- import { InputHTMLAttributes, ReactNode } from "react";
1
+ import React, { InputHTMLAttributes, ReactNode } from "react";
2
2
  export interface IDSCheckboxGroupProps extends InputHTMLAttributes<HTMLFieldSetElement> {
3
3
  legend?: string;
4
4
  errorMsg?: string | ReactNode;
@@ -8,10 +8,11 @@ export interface IDSCheckboxGroupProps extends InputHTMLAttributes<HTMLFieldSetE
8
8
  tooltip?: ReactNode;
9
9
  block?: boolean;
10
10
  noValidation?: boolean;
11
+ subtitle?: string | ReactNode;
11
12
  children?: ReactNode;
12
13
  onValidityChange?: (isValid: boolean) => void;
13
14
  }
14
- export declare function IDSCheckboxGroup({ errorMsg, block, invalid, noValidation, onValidityChange, children, ...props }: IDSCheckboxGroupProps): import("react/jsx-runtime").JSX.Element;
15
+ export declare function IDSCheckboxGroup({ errorMsg, block, invalid, subtitle, noValidation, onValidityChange, children, ...props }: IDSCheckboxGroupProps): React.JSX.Element;
15
16
  export declare namespace IDSCheckboxGroup {
16
17
  var displayName: string;
17
18
  }
@@ -5,7 +5,7 @@ import { IDSCheckboxGroupBase } from './checkbox-group-base.js';
5
5
  import { IDSCheckbox } from './checkbox.js';
6
6
  import { useGroupValidity } from '../form-hooks/useGroupValidity.js';
7
7
 
8
- function IDSCheckboxGroup({ errorMsg = "", block, invalid, noValidation = false, onValidityChange, children, ...props }) {
8
+ function IDSCheckboxGroup({ errorMsg = "", block, invalid, subtitle, noValidation = false, onValidityChange, children, ...props }) {
9
9
  const groupRef = useRef(null);
10
10
  const errorMsgId = useId();
11
11
  const { isValid, hasInteracted } = useGroupValidity(groupRef, "checkbox", () => {
@@ -34,7 +34,7 @@ function IDSCheckboxGroup({ errorMsg = "", block, invalid, noValidation = false,
34
34
  }
35
35
  return child;
36
36
  });
37
- return (jsx(IDSCheckboxGroupBase, { ...props, groupRef: groupRef, invalid: groupInvalid || invalid, errorMsgId: errorMsgId, errorMsg: !noValidation && errorMsg, children: clonedChildren }));
37
+ return (jsx(IDSCheckboxGroupBase, { ...props, groupRef: groupRef, invalid: groupInvalid || invalid, errorMsgId: errorMsgId, errorMsg: !noValidation && errorMsg, subtitle: subtitle, children: clonedChildren }));
38
38
  }
39
39
  IDSCheckboxGroup.displayName = "IDSCheckboxGroup";
40
40
 
@@ -4,10 +4,9 @@ import { forwardRef, useRef, useEffect } from 'react';
4
4
  import { IDSCheckboxBase } from './checkbox-base.js';
5
5
  import { useInputValidity } from '../form-hooks/useInputValidity.js';
6
6
 
7
- const IDSCheckbox = forwardRef(({ invalid = false, noValidation = false, indeterminate = false, children, ...props }, ref) => {
8
- const internalRef = useRef(null);
9
- const checkboxRef = ref ?? internalRef;
10
- const hasValidValue = useInputValidity(checkboxRef);
7
+ const IDSCheckbox = forwardRef(({ invalid = false, noValidation = false, indeterminate = false, validationOnBlur = false, children, ...props }, ref) => {
8
+ const checkboxRef = useRef(null);
9
+ const hasValidValue = useInputValidity(checkboxRef, validationOnBlur, noValidation);
11
10
  const computedInvalid = (invalid || !hasValidValue) && !noValidation;
12
11
  // Merge forwarded + local ref
13
12
  const mergedRef = (node) => {
@@ -21,13 +21,15 @@ export interface IDSDatePickerProps extends Omit<React.InputHTMLAttributes<HTMLI
21
21
  invalidDateErrorMsg?: string;
22
22
  disableNavigation?: boolean;
23
23
  noValidation?: boolean;
24
+ readOnly?: boolean;
25
+ dataTestId?: string;
24
26
  modifiers?: Record<string, Matcher | Matcher[]>;
25
27
  onChange?: (event: IDSDatePickerChangeEvent) => void;
26
28
  onOpen?: () => void;
27
29
  onClose?: () => void;
28
30
  onDayClick?: (date: Date, modifiers: Modifiers, e: React.MouseEvent) => void;
29
31
  }
30
- export declare function IDSDatePicker({ label, id, value, light, placeholder, errorMsg, missingDateErrorMsg, invalidDateErrorMsg, calendarHeader, srOpenText, srCloseText, validationOnBlur, defaultMonth, startMonth, endMonth, noValidation, disabled, required, invalid, tooltip, disableNavigation, modifiers, focusedDay, onChange, onFocus, onBlur, onOpen, onClose, onDayClick, className, ...props }: IDSDatePickerProps): import("react/jsx-runtime").JSX.Element;
32
+ export declare function IDSDatePicker({ label, id, value, light, placeholder, subtitle, dataTestId, errorMsg, missingDateErrorMsg, invalidDateErrorMsg, calendarHeader, srOpenText, srCloseText, validationOnBlur, defaultMonth, startMonth, endMonth, noValidation, disabled, required, invalid, readOnly, tooltip, disableNavigation, modifiers, focusedDay, onChange, onFocus, onBlur, onOpen, onClose, onDayClick, className, ...props }: IDSDatePickerProps): React.JSX.Element;
31
33
  export declare namespace IDSDatePicker {
32
34
  var displayName: string;
33
35
  }