@educarehq/solaris-ui 0.3.0 → 0.3.1

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 (598) hide show
  1. package/fesm2022/educarehq-solaris-ui.mjs +12261 -0
  2. package/fesm2022/educarehq-solaris-ui.mjs.map +1 -0
  3. package/package.json +5 -5
  4. package/styles/_button.scss +510 -510
  5. package/styles/_dropdown-menu.scss +72 -72
  6. package/styles/_icon-button.scss +481 -481
  7. package/styles/_input.scss +255 -255
  8. package/styles/_popover.scss +73 -73
  9. package/styles/_theme.scss +46 -36
  10. package/styles/_toast.scss +9 -9
  11. package/styles/_tooltip.scss +3 -3
  12. package/styles/token/border/_border.scss +5 -0
  13. package/styles/token/border/_index.scss +1 -0
  14. package/styles/token/color/_dark.scss +78 -0
  15. package/styles/token/color/_high-contrast.scss +27 -0
  16. package/styles/token/color/_index.scss +3 -0
  17. package/styles/token/color/_light.scss +69 -0
  18. package/styles/token/density/_comfortable.scss +15 -0
  19. package/styles/token/density/_compact.scss +15 -0
  20. package/styles/token/density/_index.scss +2 -0
  21. package/styles/token/motion/_index.scss +2 -0
  22. package/styles/token/motion/_motion.scss +15 -0
  23. package/styles/token/motion/_reduced-motion.scss +15 -0
  24. package/styles/token/opacity/_index.scss +1 -0
  25. package/styles/token/opacity/_opacity.scss +4 -0
  26. package/styles/token/radius/_index.scss +1 -0
  27. package/styles/token/radius/_radius.scss +8 -0
  28. package/styles/token/shadow/_index.scss +1 -0
  29. package/styles/token/shadow/_shadow.scss +26 -0
  30. package/styles/token/spacing/_index.scss +1 -0
  31. package/styles/token/spacing/_spacing.scss +15 -0
  32. package/styles/token/typography/_font-family.scss +13 -0
  33. package/styles/token/typography/_index.scss +2 -0
  34. package/styles/token/typography/_typography.scss +25 -0
  35. package/styles/token/z-index/_index.scss +1 -0
  36. package/styles/token/z-index/_z-index.scss +10 -0
  37. package/types/educarehq-solaris-ui.d.ts +3201 -0
  38. package/educarehq-solaris-ui.d.ts +0 -5
  39. package/esm2022/educarehq-solaris-ui.js +0 -5
  40. package/esm2022/educarehq-solaris-ui.js.map +0 -1
  41. package/esm2022/index.js +0 -109
  42. package/esm2022/index.js.map +0 -1
  43. package/esm2022/lib/components/actions/button/directives/button-icon.directive.js +0 -17
  44. package/esm2022/lib/components/actions/button/directives/button-icon.directive.js.map +0 -1
  45. package/esm2022/lib/components/actions/button/directives/button.directive.js +0 -60
  46. package/esm2022/lib/components/actions/button/directives/button.directive.js.map +0 -1
  47. package/esm2022/lib/components/actions/button/index.js +0 -3
  48. package/esm2022/lib/components/actions/button/index.js.map +0 -1
  49. package/esm2022/lib/components/actions/button/model/button.types.js +0 -1
  50. package/esm2022/lib/components/actions/button/model/button.types.js.map +0 -1
  51. package/esm2022/lib/components/actions/button-group/component/button-group.component.js +0 -21
  52. package/esm2022/lib/components/actions/button-group/component/button-group.component.js.map +0 -1
  53. package/esm2022/lib/components/actions/button-group/model/button-group.types.js +0 -1
  54. package/esm2022/lib/components/actions/button-group/model/button-group.types.js.map +0 -1
  55. package/esm2022/lib/components/actions/icon-button/directives/icon-button-badge.directive.js +0 -17
  56. package/esm2022/lib/components/actions/icon-button/directives/icon-button-badge.directive.js.map +0 -1
  57. package/esm2022/lib/components/actions/icon-button/directives/icon-button.directive.js +0 -58
  58. package/esm2022/lib/components/actions/icon-button/directives/icon-button.directive.js.map +0 -1
  59. package/esm2022/lib/components/actions/icon-button/model/icon-button.types.js +0 -1
  60. package/esm2022/lib/components/actions/icon-button/model/icon-button.types.js.map +0 -1
  61. package/esm2022/lib/components/data-display/badge/component/badge.component.js +0 -24
  62. package/esm2022/lib/components/data-display/badge/component/badge.component.js.map +0 -1
  63. package/esm2022/lib/components/data-display/badge/directives/badge-icon.directive.js +0 -17
  64. package/esm2022/lib/components/data-display/badge/directives/badge-icon.directive.js.map +0 -1
  65. package/esm2022/lib/components/data-display/badge/index.js +0 -3
  66. package/esm2022/lib/components/data-display/badge/index.js.map +0 -1
  67. package/esm2022/lib/components/data-display/badge/model/badge.types.js +0 -1
  68. package/esm2022/lib/components/data-display/badge/model/badge.types.js.map +0 -1
  69. package/esm2022/lib/components/data-display/card/component/card.component.js +0 -20
  70. package/esm2022/lib/components/data-display/card/component/card.component.js.map +0 -1
  71. package/esm2022/lib/components/data-display/card/directives/card-actions.directive.js +0 -17
  72. package/esm2022/lib/components/data-display/card/directives/card-actions.directive.js.map +0 -1
  73. package/esm2022/lib/components/data-display/card/directives/card-content.directive.js +0 -17
  74. package/esm2022/lib/components/data-display/card/directives/card-content.directive.js.map +0 -1
  75. package/esm2022/lib/components/data-display/card/directives/card-description.directive.js +0 -17
  76. package/esm2022/lib/components/data-display/card/directives/card-description.directive.js.map +0 -1
  77. package/esm2022/lib/components/data-display/card/directives/card-footer.directive.js +0 -19
  78. package/esm2022/lib/components/data-display/card/directives/card-footer.directive.js.map +0 -1
  79. package/esm2022/lib/components/data-display/card/directives/card-header.directive.js +0 -17
  80. package/esm2022/lib/components/data-display/card/directives/card-header.directive.js.map +0 -1
  81. package/esm2022/lib/components/data-display/card/directives/card-media.directive.js +0 -17
  82. package/esm2022/lib/components/data-display/card/directives/card-media.directive.js.map +0 -1
  83. package/esm2022/lib/components/data-display/card/directives/card-title.directive.js +0 -17
  84. package/esm2022/lib/components/data-display/card/directives/card-title.directive.js.map +0 -1
  85. package/esm2022/lib/components/data-display/card/model/card.types.js +0 -1
  86. package/esm2022/lib/components/data-display/card/model/card.types.js.map +0 -1
  87. package/esm2022/lib/components/data-display/divider/component/divider.component.js +0 -46
  88. package/esm2022/lib/components/data-display/divider/component/divider.component.js.map +0 -1
  89. package/esm2022/lib/components/data-display/divider/index.js +0 -2
  90. package/esm2022/lib/components/data-display/divider/index.js.map +0 -1
  91. package/esm2022/lib/components/data-display/divider/model/divider.types.js +0 -1
  92. package/esm2022/lib/components/data-display/divider/model/divider.types.js.map +0 -1
  93. package/esm2022/lib/components/feedback/alert/component/alert-actions.component.js +0 -18
  94. package/esm2022/lib/components/feedback/alert/component/alert-actions.component.js.map +0 -1
  95. package/esm2022/lib/components/feedback/alert/component/alert.component.js +0 -90
  96. package/esm2022/lib/components/feedback/alert/component/alert.component.js.map +0 -1
  97. package/esm2022/lib/components/feedback/alert/directives/alert-description.directive.js +0 -17
  98. package/esm2022/lib/components/feedback/alert/directives/alert-description.directive.js.map +0 -1
  99. package/esm2022/lib/components/feedback/alert/directives/alert-title.directive.js +0 -17
  100. package/esm2022/lib/components/feedback/alert/directives/alert-title.directive.js.map +0 -1
  101. package/esm2022/lib/components/feedback/alert/model/alert.types.js +0 -1
  102. package/esm2022/lib/components/feedback/alert/model/alert.types.js.map +0 -1
  103. package/esm2022/lib/components/feedback/skeleton/component/skeleton.component.js +0 -69
  104. package/esm2022/lib/components/feedback/skeleton/component/skeleton.component.js.map +0 -1
  105. package/esm2022/lib/components/feedback/skeleton/model/skeleton.types.js +0 -1
  106. package/esm2022/lib/components/feedback/skeleton/model/skeleton.types.js.map +0 -1
  107. package/esm2022/lib/components/feedback/toast/component/toast.component.js +0 -268
  108. package/esm2022/lib/components/feedback/toast/component/toast.component.js.map +0 -1
  109. package/esm2022/lib/components/feedback/toast/container/toast-container.component.js +0 -24
  110. package/esm2022/lib/components/feedback/toast/container/toast-container.component.js.map +0 -1
  111. package/esm2022/lib/components/feedback/toast/model/toast.types.js +0 -1
  112. package/esm2022/lib/components/feedback/toast/model/toast.types.js.map +0 -1
  113. package/esm2022/lib/components/feedback/toast/provider/provide-solaris-toast.js +0 -17
  114. package/esm2022/lib/components/feedback/toast/provider/provide-solaris-toast.js.map +0 -1
  115. package/esm2022/lib/components/feedback/toast/service/toast.service.js +0 -219
  116. package/esm2022/lib/components/feedback/toast/service/toast.service.js.map +0 -1
  117. package/esm2022/lib/components/feedback/toast/token/toast.tokens.js +0 -13
  118. package/esm2022/lib/components/feedback/toast/token/toast.tokens.js.map +0 -1
  119. package/esm2022/lib/components/forms/checkbox/component/checkbox.component.js +0 -227
  120. package/esm2022/lib/components/forms/checkbox/component/checkbox.component.js.map +0 -1
  121. package/esm2022/lib/components/forms/checkbox/model/checkbox.types.js +0 -1
  122. package/esm2022/lib/components/forms/checkbox/model/checkbox.types.js.map +0 -1
  123. package/esm2022/lib/components/forms/checkbox-group/component/checkbox-group.component.js +0 -441
  124. package/esm2022/lib/components/forms/checkbox-group/component/checkbox-group.component.js.map +0 -1
  125. package/esm2022/lib/components/forms/checkbox-group/model/checkbox-group.types.js +0 -1
  126. package/esm2022/lib/components/forms/checkbox-group/model/checkbox-group.types.js.map +0 -1
  127. package/esm2022/lib/components/forms/email-field/component/email-field.component.js +0 -215
  128. package/esm2022/lib/components/forms/email-field/component/email-field.component.js.map +0 -1
  129. package/esm2022/lib/components/forms/email-field/model/email-field.types.js +0 -1
  130. package/esm2022/lib/components/forms/email-field/model/email-field.types.js.map +0 -1
  131. package/esm2022/lib/components/forms/email-field/validators/email-field.validators.js +0 -69
  132. package/esm2022/lib/components/forms/email-field/validators/email-field.validators.js.map +0 -1
  133. package/esm2022/lib/components/forms/form-field/component/form-error.component.js +0 -19
  134. package/esm2022/lib/components/forms/form-field/component/form-error.component.js.map +0 -1
  135. package/esm2022/lib/components/forms/form-field/component/form-field.component.js +0 -442
  136. package/esm2022/lib/components/forms/form-field/component/form-field.component.js.map +0 -1
  137. package/esm2022/lib/components/forms/form-field/component/form-hint.component.js +0 -18
  138. package/esm2022/lib/components/forms/form-field/component/form-hint.component.js.map +0 -1
  139. package/esm2022/lib/components/forms/form-field/component/form-label.component.js +0 -18
  140. package/esm2022/lib/components/forms/form-field/component/form-label.component.js.map +0 -1
  141. package/esm2022/lib/components/forms/form-field/directives/form-field-trigger.directive.js +0 -14
  142. package/esm2022/lib/components/forms/form-field/directives/form-field-trigger.directive.js.map +0 -1
  143. package/esm2022/lib/components/forms/form-field/directives/form-prefix.directive.js +0 -17
  144. package/esm2022/lib/components/forms/form-field/directives/form-prefix.directive.js.map +0 -1
  145. package/esm2022/lib/components/forms/form-field/directives/form-suffix.directive.js +0 -17
  146. package/esm2022/lib/components/forms/form-field/directives/form-suffix.directive.js.map +0 -1
  147. package/esm2022/lib/components/forms/form-field/index.js +0 -8
  148. package/esm2022/lib/components/forms/form-field/index.js.map +0 -1
  149. package/esm2022/lib/components/forms/form-field/model/form-control.contract.js +0 -3
  150. package/esm2022/lib/components/forms/form-field/model/form-control.contract.js.map +0 -1
  151. package/esm2022/lib/components/forms/form-field/model/form-field.types.js +0 -1
  152. package/esm2022/lib/components/forms/form-field/model/form-field.types.js.map +0 -1
  153. package/esm2022/lib/components/forms/input/directives/input.directive.js +0 -148
  154. package/esm2022/lib/components/forms/input/directives/input.directive.js.map +0 -1
  155. package/esm2022/lib/components/forms/input/index.js +0 -2
  156. package/esm2022/lib/components/forms/input/index.js.map +0 -1
  157. package/esm2022/lib/components/forms/input/model/input.defaults.js +0 -27
  158. package/esm2022/lib/components/forms/input/model/input.defaults.js.map +0 -1
  159. package/esm2022/lib/components/forms/input/model/input.types.js +0 -1
  160. package/esm2022/lib/components/forms/input/model/input.types.js.map +0 -1
  161. package/esm2022/lib/components/forms/multi-select/component/multi-select.component.js +0 -1102
  162. package/esm2022/lib/components/forms/multi-select/component/multi-select.component.js.map +0 -1
  163. package/esm2022/lib/components/forms/multi-select/model/multi-select.types.js +0 -1
  164. package/esm2022/lib/components/forms/multi-select/model/multi-select.types.js.map +0 -1
  165. package/esm2022/lib/components/forms/option/component/option.component.js +0 -149
  166. package/esm2022/lib/components/forms/option/component/option.component.js.map +0 -1
  167. package/esm2022/lib/components/forms/option/directives/option-slots.directive.js +0 -58
  168. package/esm2022/lib/components/forms/option/directives/option-slots.directive.js.map +0 -1
  169. package/esm2022/lib/components/forms/option/index.js +0 -3
  170. package/esm2022/lib/components/forms/option/index.js.map +0 -1
  171. package/esm2022/lib/components/forms/option/model/option.types.js +0 -1
  172. package/esm2022/lib/components/forms/option/model/option.types.js.map +0 -1
  173. package/esm2022/lib/components/forms/option-group/component/option-group.component.js +0 -103
  174. package/esm2022/lib/components/forms/option-group/component/option-group.component.js.map +0 -1
  175. package/esm2022/lib/components/forms/option-group/index.js +0 -2
  176. package/esm2022/lib/components/forms/option-group/index.js.map +0 -1
  177. package/esm2022/lib/components/forms/option-group/model/option-group.types.js +0 -1
  178. package/esm2022/lib/components/forms/option-group/model/option-group.types.js.map +0 -1
  179. package/esm2022/lib/components/forms/password-field/component/password-field.component.js +0 -299
  180. package/esm2022/lib/components/forms/password-field/component/password-field.component.js.map +0 -1
  181. package/esm2022/lib/components/forms/password-field/model/password-field-constants.js +0 -5
  182. package/esm2022/lib/components/forms/password-field/model/password-field-constants.js.map +0 -1
  183. package/esm2022/lib/components/forms/password-field/model/password-field.types.js +0 -1
  184. package/esm2022/lib/components/forms/password-field/model/password-field.types.js.map +0 -1
  185. package/esm2022/lib/components/forms/password-field/model/password-policy.types.js +0 -1
  186. package/esm2022/lib/components/forms/password-field/model/password-policy.types.js.map +0 -1
  187. package/esm2022/lib/components/forms/password-field/model/password-strength.js +0 -67
  188. package/esm2022/lib/components/forms/password-field/model/password-strength.js.map +0 -1
  189. package/esm2022/lib/components/forms/password-field/validators/password.validator.js +0 -45
  190. package/esm2022/lib/components/forms/password-field/validators/password.validator.js.map +0 -1
  191. package/esm2022/lib/components/forms/radio/component/radio.component.js +0 -219
  192. package/esm2022/lib/components/forms/radio/component/radio.component.js.map +0 -1
  193. package/esm2022/lib/components/forms/radio/model/radio.types.js +0 -1
  194. package/esm2022/lib/components/forms/radio/model/radio.types.js.map +0 -1
  195. package/esm2022/lib/components/forms/radio-group/component/radio-group.component.js +0 -348
  196. package/esm2022/lib/components/forms/radio-group/component/radio-group.component.js.map +0 -1
  197. package/esm2022/lib/components/forms/radio-group/model/radio-group.token.js +0 -3
  198. package/esm2022/lib/components/forms/radio-group/model/radio-group.token.js.map +0 -1
  199. package/esm2022/lib/components/forms/radio-group/model/radio-group.types.js +0 -1
  200. package/esm2022/lib/components/forms/radio-group/model/radio-group.types.js.map +0 -1
  201. package/esm2022/lib/components/forms/select/component/select.component.js +0 -815
  202. package/esm2022/lib/components/forms/select/component/select.component.js.map +0 -1
  203. package/esm2022/lib/components/forms/select/model/select.types.js +0 -1
  204. package/esm2022/lib/components/forms/select/model/select.types.js.map +0 -1
  205. package/esm2022/lib/components/forms/switch/component/switch.component.js +0 -211
  206. package/esm2022/lib/components/forms/switch/component/switch.component.js.map +0 -1
  207. package/esm2022/lib/components/forms/switch/index.js +0 -2
  208. package/esm2022/lib/components/forms/switch/index.js.map +0 -1
  209. package/esm2022/lib/components/forms/switch/model/switch.types.js +0 -1
  210. package/esm2022/lib/components/forms/switch/model/switch.types.js.map +0 -1
  211. package/esm2022/lib/components/forms/switch-group/component/switch-group.component.js +0 -369
  212. package/esm2022/lib/components/forms/switch-group/component/switch-group.component.js.map +0 -1
  213. package/esm2022/lib/components/forms/switch-group/model/switch-group.types.js +0 -1
  214. package/esm2022/lib/components/forms/switch-group/model/switch-group.types.js.map +0 -1
  215. package/esm2022/lib/components/forms/textarea/directives/textarea.directive.js +0 -137
  216. package/esm2022/lib/components/forms/textarea/directives/textarea.directive.js.map +0 -1
  217. package/esm2022/lib/components/forms/textarea/model/textarea.types.js +0 -1
  218. package/esm2022/lib/components/forms/textarea/model/textarea.types.js.map +0 -1
  219. package/esm2022/lib/components/icon/component/solaris-icon.component.js +0 -20
  220. package/esm2022/lib/components/icon/component/solaris-icon.component.js.map +0 -1
  221. package/esm2022/lib/components/icon/index.js +0 -2
  222. package/esm2022/lib/components/icon/index.js.map +0 -1
  223. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-group.component.js +0 -27
  224. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-group.component.js.map +0 -1
  225. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-item.component.js +0 -96
  226. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-item.component.js.map +0 -1
  227. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-label.component.js +0 -22
  228. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu-label.component.js.map +0 -1
  229. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu.component.js +0 -105
  230. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-menu.component.js.map +0 -1
  231. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-submenu-trigger.component.js +0 -95
  232. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-submenu-trigger.component.js.map +0 -1
  233. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-submenu.component.js +0 -631
  234. package/esm2022/lib/components/interaction/dropdown-menu/component/dropdown-submenu.component.js.map +0 -1
  235. package/esm2022/lib/components/interaction/dropdown-menu/directives/dropdown-menu-trigger.directive.js +0 -365
  236. package/esm2022/lib/components/interaction/dropdown-menu/directives/dropdown-menu-trigger.directive.js.map +0 -1
  237. package/esm2022/lib/components/interaction/dropdown-menu/index.js +0 -8
  238. package/esm2022/lib/components/interaction/dropdown-menu/index.js.map +0 -1
  239. package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-menu-navigation.js +0 -3
  240. package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-menu-navigation.js.map +0 -1
  241. package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-menu.types.js +0 -1
  242. package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-menu.types.js.map +0 -1
  243. package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-submenu.types.js +0 -1
  244. package/esm2022/lib/components/interaction/dropdown-menu/model/dropdown-submenu.types.js.map +0 -1
  245. package/esm2022/lib/components/interaction/popover/component/popover-panel.component.js +0 -29
  246. package/esm2022/lib/components/interaction/popover/component/popover-panel.component.js.map +0 -1
  247. package/esm2022/lib/components/interaction/popover/directives/popover-trigger.directive.js +0 -325
  248. package/esm2022/lib/components/interaction/popover/directives/popover-trigger.directive.js.map +0 -1
  249. package/esm2022/lib/components/interaction/popover/directives/popover.directive.js +0 -16
  250. package/esm2022/lib/components/interaction/popover/directives/popover.directive.js.map +0 -1
  251. package/esm2022/lib/components/interaction/popover/index.js +0 -4
  252. package/esm2022/lib/components/interaction/popover/index.js.map +0 -1
  253. package/esm2022/lib/components/interaction/popover/model/popover-position.js +0 -145
  254. package/esm2022/lib/components/interaction/popover/model/popover-position.js.map +0 -1
  255. package/esm2022/lib/components/interaction/popover/model/popover.types.js +0 -1
  256. package/esm2022/lib/components/interaction/popover/model/popover.types.js.map +0 -1
  257. package/esm2022/lib/components/interaction/popover/token/popover.tokens.js +0 -3
  258. package/esm2022/lib/components/interaction/popover/token/popover.tokens.js.map +0 -1
  259. package/esm2022/lib/components/interaction/tooltip/component/tooltip-panel.component.js +0 -23
  260. package/esm2022/lib/components/interaction/tooltip/component/tooltip-panel.component.js.map +0 -1
  261. package/esm2022/lib/components/interaction/tooltip/directive/tooltip.directive.js +0 -405
  262. package/esm2022/lib/components/interaction/tooltip/directive/tooltip.directive.js.map +0 -1
  263. package/esm2022/lib/components/interaction/tooltip/index.js +0 -3
  264. package/esm2022/lib/components/interaction/tooltip/index.js.map +0 -1
  265. package/esm2022/lib/components/interaction/tooltip/model/tooltip-position.js +0 -209
  266. package/esm2022/lib/components/interaction/tooltip/model/tooltip-position.js.map +0 -1
  267. package/esm2022/lib/components/interaction/tooltip/model/tooltip.types.js +0 -1
  268. package/esm2022/lib/components/interaction/tooltip/model/tooltip.types.js.map +0 -1
  269. package/esm2022/lib/components/interaction/tooltip/token/tooltip.tokens.js +0 -3
  270. package/esm2022/lib/components/interaction/tooltip/token/tooltip.tokens.js.map +0 -1
  271. package/esm2022/lib/components/navigation/editable-tabs/component/editable-tabs.component.js +0 -323
  272. package/esm2022/lib/components/navigation/editable-tabs/component/editable-tabs.component.js.map +0 -1
  273. package/esm2022/lib/components/navigation/editable-tabs/editable-tab/editable-tab.component.js +0 -34
  274. package/esm2022/lib/components/navigation/editable-tabs/editable-tab/editable-tab.component.js.map +0 -1
  275. package/esm2022/lib/components/navigation/editable-tabs/model/editable-tabs.types.js +0 -1
  276. package/esm2022/lib/components/navigation/editable-tabs/model/editable-tabs.types.js.map +0 -1
  277. package/esm2022/lib/components/navigation/segmented-control/component/segmented-control.component.js +0 -242
  278. package/esm2022/lib/components/navigation/segmented-control/component/segmented-control.component.js.map +0 -1
  279. package/esm2022/lib/components/navigation/segmented-control/item/segmented-item.component.js +0 -197
  280. package/esm2022/lib/components/navigation/segmented-control/item/segmented-item.component.js.map +0 -1
  281. package/esm2022/lib/components/navigation/segmented-control/model/segmented-control.types.js +0 -1
  282. package/esm2022/lib/components/navigation/segmented-control/model/segmented-control.types.js.map +0 -1
  283. package/esm2022/lib/components/navigation/segmented-control/token/segmented-control.tokens.js +0 -3
  284. package/esm2022/lib/components/navigation/segmented-control/token/segmented-control.tokens.js.map +0 -1
  285. package/esm2022/lib/components/navigation/stepper/actions/stepper-actions.component.js +0 -15
  286. package/esm2022/lib/components/navigation/stepper/actions/stepper-actions.component.js.map +0 -1
  287. package/esm2022/lib/components/navigation/stepper/component/stepper.component.js +0 -99
  288. package/esm2022/lib/components/navigation/stepper/component/stepper.component.js.map +0 -1
  289. package/esm2022/lib/components/navigation/stepper/content/stepper-content.component.js +0 -13
  290. package/esm2022/lib/components/navigation/stepper/content/stepper-content.component.js.map +0 -1
  291. package/esm2022/lib/components/navigation/stepper/model/stepper.types.js +0 -1
  292. package/esm2022/lib/components/navigation/stepper/model/stepper.types.js.map +0 -1
  293. package/esm2022/lib/components/navigation/stepper/step/step.component.js +0 -91
  294. package/esm2022/lib/components/navigation/stepper/step/step.component.js.map +0 -1
  295. package/esm2022/lib/components/navigation/stepper/token/stepper.tokens.js +0 -3
  296. package/esm2022/lib/components/navigation/stepper/token/stepper.tokens.js.map +0 -1
  297. package/esm2022/lib/components/navigation/tabs/component/tabs.component.js +0 -169
  298. package/esm2022/lib/components/navigation/tabs/component/tabs.component.js.map +0 -1
  299. package/esm2022/lib/components/navigation/tabs/index.js +0 -5
  300. package/esm2022/lib/components/navigation/tabs/index.js.map +0 -1
  301. package/esm2022/lib/components/navigation/tabs/model/tabs.types.js +0 -1
  302. package/esm2022/lib/components/navigation/tabs/model/tabs.types.js.map +0 -1
  303. package/esm2022/lib/components/navigation/tabs/tab/tab.component.js +0 -195
  304. package/esm2022/lib/components/navigation/tabs/tab/tab.component.js.map +0 -1
  305. package/esm2022/lib/components/navigation/tabs/tab-panel/tab-panel.component.js +0 -55
  306. package/esm2022/lib/components/navigation/tabs/tab-panel/tab-panel.component.js.map +0 -1
  307. package/esm2022/lib/components/navigation/tabs/token/tabs.tokens.js +0 -3
  308. package/esm2022/lib/components/navigation/tabs/token/tabs.tokens.js.map +0 -1
  309. package/esm2022/lib/components/overlay/dialog/component/dialog.component.js +0 -49
  310. package/esm2022/lib/components/overlay/dialog/component/dialog.component.js.map +0 -1
  311. package/esm2022/lib/components/overlay/dialog/components/dialog-actions.component.js +0 -37
  312. package/esm2022/lib/components/overlay/dialog/components/dialog-actions.component.js.map +0 -1
  313. package/esm2022/lib/components/overlay/dialog/components/dialog-content.component.js +0 -13
  314. package/esm2022/lib/components/overlay/dialog/components/dialog-content.component.js.map +0 -1
  315. package/esm2022/lib/components/overlay/dialog/components/dialog-header.component.js +0 -32
  316. package/esm2022/lib/components/overlay/dialog/components/dialog-header.component.js.map +0 -1
  317. package/esm2022/lib/components/overlay/dialog/container/dialog-container.component.js +0 -142
  318. package/esm2022/lib/components/overlay/dialog/container/dialog-container.component.js.map +0 -1
  319. package/esm2022/lib/components/overlay/dialog/flow/dialog-flow.component.js +0 -56
  320. package/esm2022/lib/components/overlay/dialog/flow/dialog-flow.component.js.map +0 -1
  321. package/esm2022/lib/components/overlay/dialog/flow/dialog-step.component.js +0 -20
  322. package/esm2022/lib/components/overlay/dialog/flow/dialog-step.component.js.map +0 -1
  323. package/esm2022/lib/components/overlay/dialog/model/dialog.types.js +0 -1
  324. package/esm2022/lib/components/overlay/dialog/model/dialog.types.js.map +0 -1
  325. package/esm2022/lib/components/overlay/dialog/provider/provide-solaris-dialog.js +0 -13
  326. package/esm2022/lib/components/overlay/dialog/provider/provide-solaris-dialog.js.map +0 -1
  327. package/esm2022/lib/components/overlay/dialog/service/dialog-ref.js +0 -23
  328. package/esm2022/lib/components/overlay/dialog/service/dialog-ref.js.map +0 -1
  329. package/esm2022/lib/components/overlay/dialog/service/dialog.service.js +0 -111
  330. package/esm2022/lib/components/overlay/dialog/service/dialog.service.js.map +0 -1
  331. package/esm2022/lib/components/overlay/dialog/token/dialog-data.token.js +0 -4
  332. package/esm2022/lib/components/overlay/dialog/token/dialog-data.token.js.map +0 -1
  333. package/esm2022/lib/components/overlay/dialog/token/dialog.tokens.js +0 -15
  334. package/esm2022/lib/components/overlay/dialog/token/dialog.tokens.js.map +0 -1
  335. package/esm2022/lib/services/accessibility/directives/visually-hidden.directive.js +0 -25
  336. package/esm2022/lib/services/accessibility/directives/visually-hidden.directive.js.map +0 -1
  337. package/esm2022/lib/services/accessibility/model/solaris-accessibility-config.interface.js +0 -1
  338. package/esm2022/lib/services/accessibility/model/solaris-accessibility-config.interface.js.map +0 -1
  339. package/esm2022/lib/services/accessibility/model/solaris-accessibility.types.js +0 -1
  340. package/esm2022/lib/services/accessibility/model/solaris-accessibility.types.js.map +0 -1
  341. package/esm2022/lib/services/accessibility/provider/provide-solaris-accessibility.js +0 -10
  342. package/esm2022/lib/services/accessibility/provider/provide-solaris-accessibility.js.map +0 -1
  343. package/esm2022/lib/services/accessibility/service/solaris-accessibility.service.js +0 -60
  344. package/esm2022/lib/services/accessibility/service/solaris-accessibility.service.js.map +0 -1
  345. package/esm2022/lib/services/accessibility/testing/solaris-accessibility-testing.provider.js +0 -10
  346. package/esm2022/lib/services/accessibility/testing/solaris-accessibility-testing.provider.js.map +0 -1
  347. package/esm2022/lib/services/accessibility/token/solaris-accessibility.tokens.js +0 -3
  348. package/esm2022/lib/services/accessibility/token/solaris-accessibility.tokens.js.map +0 -1
  349. package/esm2022/lib/services/icon/icons/groups/actions.js +0 -242
  350. package/esm2022/lib/services/icon/icons/groups/actions.js.map +0 -1
  351. package/esm2022/lib/services/icon/icons/groups/data.js +0 -129
  352. package/esm2022/lib/services/icon/icons/groups/data.js.map +0 -1
  353. package/esm2022/lib/services/icon/icons/groups/layout.js +0 -50
  354. package/esm2022/lib/services/icon/icons/groups/layout.js.map +0 -1
  355. package/esm2022/lib/services/icon/icons/groups/navigation.js +0 -354
  356. package/esm2022/lib/services/icon/icons/groups/navigation.js.map +0 -1
  357. package/esm2022/lib/services/icon/icons/groups/status.js +0 -70
  358. package/esm2022/lib/services/icon/icons/groups/status.js.map +0 -1
  359. package/esm2022/lib/services/icon/icons/groups/theme.js +0 -49
  360. package/esm2022/lib/services/icon/icons/groups/theme.js.map +0 -1
  361. package/esm2022/lib/services/icon/icons/index.js +0 -2
  362. package/esm2022/lib/services/icon/icons/index.js.map +0 -1
  363. package/esm2022/lib/services/icon/icons/solaris-built-in-icons.js +0 -15
  364. package/esm2022/lib/services/icon/icons/solaris-built-in-icons.js.map +0 -1
  365. package/esm2022/lib/services/icon/index.js +0 -5
  366. package/esm2022/lib/services/icon/index.js.map +0 -1
  367. package/esm2022/lib/services/icon/model/solaris-icon-definition.interface.js +0 -1
  368. package/esm2022/lib/services/icon/model/solaris-icon-definition.interface.js.map +0 -1
  369. package/esm2022/lib/services/icon/model/solaris-icon.types.js +0 -1
  370. package/esm2022/lib/services/icon/model/solaris-icon.types.js.map +0 -1
  371. package/esm2022/lib/services/icon/provider/provide-solaris-icons.js +0 -10
  372. package/esm2022/lib/services/icon/provider/provide-solaris-icons.js.map +0 -1
  373. package/esm2022/lib/services/icon/service/solaris-icon-registry.service.js +0 -43
  374. package/esm2022/lib/services/icon/service/solaris-icon-registry.service.js.map +0 -1
  375. package/esm2022/lib/services/icon/token/solaris-icon.tokens.js +0 -3
  376. package/esm2022/lib/services/icon/token/solaris-icon.tokens.js.map +0 -1
  377. package/esm2022/lib/services/theme/model/solaris-theme-config.interface.js +0 -1
  378. package/esm2022/lib/services/theme/model/solaris-theme-config.interface.js.map +0 -1
  379. package/esm2022/lib/services/theme/model/solaris-theme.types.js +0 -1
  380. package/esm2022/lib/services/theme/model/solaris-theme.types.js.map +0 -1
  381. package/esm2022/lib/services/theme/provider/provide-solaris-theme.js +0 -10
  382. package/esm2022/lib/services/theme/provider/provide-solaris-theme.js.map +0 -1
  383. package/esm2022/lib/services/theme/service/solaris-theme.service.js +0 -22
  384. package/esm2022/lib/services/theme/service/solaris-theme.service.js.map +0 -1
  385. package/esm2022/lib/services/theme/testing/solaris-theme-testing.provider.js +0 -10
  386. package/esm2022/lib/services/theme/testing/solaris-theme-testing.provider.js.map +0 -1
  387. package/esm2022/lib/services/theme/token/solaris-theme.tokens.js +0 -3
  388. package/esm2022/lib/services/theme/token/solaris-theme.tokens.js.map +0 -1
  389. package/esm2022/lib/services/translation/index.js +0 -6
  390. package/esm2022/lib/services/translation/index.js.map +0 -1
  391. package/esm2022/lib/services/translation/model/solaris-locale.types.js +0 -1
  392. package/esm2022/lib/services/translation/model/solaris-locale.types.js.map +0 -1
  393. package/esm2022/lib/services/translation/model/solaris-translate-config.interface.js +0 -1
  394. package/esm2022/lib/services/translation/model/solaris-translate-config.interface.js.map +0 -1
  395. package/esm2022/lib/services/translation/model/solaris-translate-defaults.js +0 -96
  396. package/esm2022/lib/services/translation/model/solaris-translate-defaults.js.map +0 -1
  397. package/esm2022/lib/services/translation/model/solaris-translation.types.js +0 -1
  398. package/esm2022/lib/services/translation/model/solaris-translation.types.js.map +0 -1
  399. package/esm2022/lib/services/translation/pipe/solaris-translate.pipe.js +0 -20
  400. package/esm2022/lib/services/translation/pipe/solaris-translate.pipe.js.map +0 -1
  401. package/esm2022/lib/services/translation/provider/provide-solaris-translate.js +0 -10
  402. package/esm2022/lib/services/translation/provider/provide-solaris-translate.js.map +0 -1
  403. package/esm2022/lib/services/translation/service/solaris-translate.service.js +0 -87
  404. package/esm2022/lib/services/translation/service/solaris-translate.service.js.map +0 -1
  405. package/esm2022/lib/services/translation/testing/solaris-translate-testing.provider.js +0 -32
  406. package/esm2022/lib/services/translation/testing/solaris-translate-testing.provider.js.map +0 -1
  407. package/esm2022/lib/services/translation/token/solaris-translate.tokens.js +0 -3
  408. package/esm2022/lib/services/translation/token/solaris-translate.tokens.js.map +0 -1
  409. package/esm2022/lib/testing/provide-solaris-testing.js +0 -11
  410. package/esm2022/lib/testing/provide-solaris-testing.js.map +0 -1
  411. package/esm2022/lib/testing/solaris-test-utilities.js +0 -12
  412. package/esm2022/lib/testing/solaris-test-utilities.js.map +0 -1
  413. package/index.d.ts +0 -197
  414. package/lib/components/actions/button/directives/button-icon.directive.d.ts +0 -5
  415. package/lib/components/actions/button/directives/button.directive.d.ts +0 -22
  416. package/lib/components/actions/button/index.d.ts +0 -3
  417. package/lib/components/actions/button/model/button.types.d.ts +0 -5
  418. package/lib/components/actions/button-group/component/button-group.component.d.ts +0 -10
  419. package/lib/components/actions/button-group/model/button-group.types.d.ts +0 -2
  420. package/lib/components/actions/icon-button/directives/icon-button-badge.directive.d.ts +0 -5
  421. package/lib/components/actions/icon-button/directives/icon-button.directive.d.ts +0 -21
  422. package/lib/components/actions/icon-button/model/icon-button.types.d.ts +0 -5
  423. package/lib/components/data-display/badge/component/badge.component.d.ts +0 -12
  424. package/lib/components/data-display/badge/directives/badge-icon.directive.d.ts +0 -5
  425. package/lib/components/data-display/badge/index.d.ts +0 -3
  426. package/lib/components/data-display/badge/model/badge.types.d.ts +0 -6
  427. package/lib/components/data-display/card/component/card.component.d.ts +0 -10
  428. package/lib/components/data-display/card/directives/card-actions.directive.d.ts +0 -5
  429. package/lib/components/data-display/card/directives/card-content.directive.d.ts +0 -5
  430. package/lib/components/data-display/card/directives/card-description.directive.d.ts +0 -5
  431. package/lib/components/data-display/card/directives/card-footer.directive.d.ts +0 -6
  432. package/lib/components/data-display/card/directives/card-header.directive.d.ts +0 -5
  433. package/lib/components/data-display/card/directives/card-media.directive.d.ts +0 -5
  434. package/lib/components/data-display/card/directives/card-title.directive.d.ts +0 -5
  435. package/lib/components/data-display/card/model/card.types.d.ts +0 -4
  436. package/lib/components/data-display/divider/component/divider.component.d.ts +0 -17
  437. package/lib/components/data-display/divider/index.d.ts +0 -2
  438. package/lib/components/data-display/divider/model/divider.types.d.ts +0 -5
  439. package/lib/components/feedback/alert/component/alert-actions.component.d.ts +0 -5
  440. package/lib/components/feedback/alert/component/alert.component.d.ts +0 -26
  441. package/lib/components/feedback/alert/directives/alert-description.directive.d.ts +0 -5
  442. package/lib/components/feedback/alert/directives/alert-title.directive.d.ts +0 -5
  443. package/lib/components/feedback/alert/model/alert.types.d.ts +0 -5
  444. package/lib/components/feedback/skeleton/component/skeleton.component.d.ts +0 -17
  445. package/lib/components/feedback/skeleton/model/skeleton.types.d.ts +0 -5
  446. package/lib/components/feedback/toast/component/toast.component.d.ts +0 -62
  447. package/lib/components/feedback/toast/container/toast-container.component.d.ts +0 -10
  448. package/lib/components/feedback/toast/model/toast.types.d.ts +0 -106
  449. package/lib/components/feedback/toast/provider/provide-solaris-toast.d.ts +0 -3
  450. package/lib/components/feedback/toast/service/toast.service.d.ts +0 -36
  451. package/lib/components/feedback/toast/token/toast.tokens.d.ts +0 -5
  452. package/lib/components/forms/checkbox/component/checkbox.component.d.ts +0 -70
  453. package/lib/components/forms/checkbox/model/checkbox.types.d.ts +0 -5
  454. package/lib/components/forms/checkbox-group/component/checkbox-group.component.d.ts +0 -123
  455. package/lib/components/forms/checkbox-group/model/checkbox-group.types.d.ts +0 -5
  456. package/lib/components/forms/email-field/component/email-field.component.d.ts +0 -67
  457. package/lib/components/forms/email-field/model/email-field.types.d.ts +0 -6
  458. package/lib/components/forms/email-field/validators/email-field.validators.d.ts +0 -8
  459. package/lib/components/forms/form-field/component/form-error.component.d.ts +0 -5
  460. package/lib/components/forms/form-field/component/form-field.component.d.ts +0 -96
  461. package/lib/components/forms/form-field/component/form-hint.component.d.ts +0 -5
  462. package/lib/components/forms/form-field/component/form-label.component.d.ts +0 -5
  463. package/lib/components/forms/form-field/directives/form-field-trigger.directive.d.ts +0 -5
  464. package/lib/components/forms/form-field/directives/form-prefix.directive.d.ts +0 -5
  465. package/lib/components/forms/form-field/directives/form-suffix.directive.d.ts +0 -5
  466. package/lib/components/forms/form-field/index.d.ts +0 -8
  467. package/lib/components/forms/form-field/model/form-control.contract.d.ts +0 -11
  468. package/lib/components/forms/form-field/model/form-field.types.d.ts +0 -5
  469. package/lib/components/forms/input/directives/input.directive.d.ts +0 -37
  470. package/lib/components/forms/input/index.d.ts +0 -2
  471. package/lib/components/forms/input/model/input.defaults.d.ts +0 -2
  472. package/lib/components/forms/input/model/input.types.d.ts +0 -4
  473. package/lib/components/forms/multi-select/component/multi-select.component.d.ts +0 -199
  474. package/lib/components/forms/multi-select/model/multi-select.types.d.ts +0 -5
  475. package/lib/components/forms/option/component/option.component.d.ts +0 -58
  476. package/lib/components/forms/option/directives/option-slots.directive.d.ts +0 -21
  477. package/lib/components/forms/option/index.d.ts +0 -3
  478. package/lib/components/forms/option/model/option.types.d.ts +0 -3
  479. package/lib/components/forms/option-group/component/option-group.component.d.ts +0 -32
  480. package/lib/components/forms/option-group/index.d.ts +0 -2
  481. package/lib/components/forms/option-group/model/option-group.types.d.ts +0 -2
  482. package/lib/components/forms/password-field/component/password-field.component.d.ts +0 -81
  483. package/lib/components/forms/password-field/model/password-field-constants.d.ts +0 -4
  484. package/lib/components/forms/password-field/model/password-field.types.d.ts +0 -6
  485. package/lib/components/forms/password-field/model/password-policy.types.d.ts +0 -10
  486. package/lib/components/forms/password-field/model/password-strength.d.ts +0 -2
  487. package/lib/components/forms/password-field/validators/password.validator.d.ts +0 -3
  488. package/lib/components/forms/radio/component/radio.component.d.ts +0 -68
  489. package/lib/components/forms/radio/model/radio.types.d.ts +0 -4
  490. package/lib/components/forms/radio-group/component/radio-group.component.d.ts +0 -86
  491. package/lib/components/forms/radio-group/model/radio-group.token.d.ts +0 -2
  492. package/lib/components/forms/radio-group/model/radio-group.types.d.ts +0 -5
  493. package/lib/components/forms/select/component/select.component.d.ts +0 -158
  494. package/lib/components/forms/select/model/select.types.d.ts +0 -4
  495. package/lib/components/forms/switch/component/switch.component.d.ts +0 -66
  496. package/lib/components/forms/switch/index.d.ts +0 -2
  497. package/lib/components/forms/switch/model/switch.types.d.ts +0 -4
  498. package/lib/components/forms/switch-group/component/switch-group.component.d.ts +0 -91
  499. package/lib/components/forms/switch-group/model/switch-group.types.d.ts +0 -5
  500. package/lib/components/forms/textarea/directives/textarea.directive.d.ts +0 -37
  501. package/lib/components/forms/textarea/model/textarea.types.d.ts +0 -5
  502. package/lib/components/icon/component/solaris-icon.component.d.ts +0 -13
  503. package/lib/components/icon/index.d.ts +0 -1
  504. package/lib/components/interaction/dropdown-menu/component/dropdown-menu-group.component.d.ts +0 -10
  505. package/lib/components/interaction/dropdown-menu/component/dropdown-menu-item.component.d.ts +0 -28
  506. package/lib/components/interaction/dropdown-menu/component/dropdown-menu-label.component.d.ts +0 -7
  507. package/lib/components/interaction/dropdown-menu/component/dropdown-menu.component.d.ts +0 -21
  508. package/lib/components/interaction/dropdown-menu/component/dropdown-submenu-trigger.component.d.ts +0 -21
  509. package/lib/components/interaction/dropdown-menu/component/dropdown-submenu.component.d.ts +0 -68
  510. package/lib/components/interaction/dropdown-menu/directives/dropdown-menu-trigger.directive.d.ts +0 -61
  511. package/lib/components/interaction/dropdown-menu/index.d.ts +0 -9
  512. package/lib/components/interaction/dropdown-menu/model/dropdown-menu-navigation.d.ts +0 -8
  513. package/lib/components/interaction/dropdown-menu/model/dropdown-menu.types.d.ts +0 -11
  514. package/lib/components/interaction/dropdown-menu/model/dropdown-submenu.types.d.ts +0 -2
  515. package/lib/components/interaction/popover/component/popover-panel.component.d.ts +0 -10
  516. package/lib/components/interaction/popover/directives/popover-trigger.directive.d.ts +0 -65
  517. package/lib/components/interaction/popover/directives/popover.directive.d.ts +0 -7
  518. package/lib/components/interaction/popover/index.d.ts +0 -4
  519. package/lib/components/interaction/popover/model/popover-position.d.ts +0 -4
  520. package/lib/components/interaction/popover/model/popover.types.d.ts +0 -7
  521. package/lib/components/interaction/popover/token/popover.tokens.d.ts +0 -12
  522. package/lib/components/interaction/tooltip/component/tooltip-panel.component.d.ts +0 -9
  523. package/lib/components/interaction/tooltip/directive/tooltip.directive.d.ts +0 -80
  524. package/lib/components/interaction/tooltip/index.d.ts +0 -3
  525. package/lib/components/interaction/tooltip/model/tooltip-position.d.ts +0 -5
  526. package/lib/components/interaction/tooltip/model/tooltip.types.d.ts +0 -22
  527. package/lib/components/interaction/tooltip/token/tooltip.tokens.d.ts +0 -21
  528. package/lib/components/navigation/editable-tabs/component/editable-tabs.component.d.ts +0 -69
  529. package/lib/components/navigation/editable-tabs/editable-tab/editable-tab.component.d.ts +0 -20
  530. package/lib/components/navigation/editable-tabs/model/editable-tabs.types.d.ts +0 -60
  531. package/lib/components/navigation/segmented-control/component/segmented-control.component.d.ts +0 -64
  532. package/lib/components/navigation/segmented-control/item/segmented-item.component.d.ts +0 -35
  533. package/lib/components/navigation/segmented-control/model/segmented-control.types.d.ts +0 -12
  534. package/lib/components/navigation/segmented-control/token/segmented-control.tokens.d.ts +0 -22
  535. package/lib/components/navigation/stepper/actions/stepper-actions.component.d.ts +0 -7
  536. package/lib/components/navigation/stepper/component/stepper.component.d.ts +0 -36
  537. package/lib/components/navigation/stepper/content/stepper-content.component.d.ts +0 -5
  538. package/lib/components/navigation/stepper/model/stepper.types.d.ts +0 -15
  539. package/lib/components/navigation/stepper/step/step.component.d.ts +0 -27
  540. package/lib/components/navigation/stepper/token/stepper.tokens.d.ts +0 -13
  541. package/lib/components/navigation/tabs/component/tabs.component.d.ts +0 -47
  542. package/lib/components/navigation/tabs/index.d.ts +0 -6
  543. package/lib/components/navigation/tabs/model/tabs.types.d.ts +0 -17
  544. package/lib/components/navigation/tabs/tab/tab.component.d.ts +0 -38
  545. package/lib/components/navigation/tabs/tab-panel/tab-panel.component.d.ts +0 -15
  546. package/lib/components/navigation/tabs/token/tabs.tokens.d.ts +0 -19
  547. package/lib/components/overlay/dialog/component/dialog.component.d.ts +0 -29
  548. package/lib/components/overlay/dialog/components/dialog-actions.component.d.ts +0 -12
  549. package/lib/components/overlay/dialog/components/dialog-content.component.d.ts +0 -5
  550. package/lib/components/overlay/dialog/components/dialog-header.component.d.ts +0 -19
  551. package/lib/components/overlay/dialog/container/dialog-container.component.d.ts +0 -32
  552. package/lib/components/overlay/dialog/flow/dialog-flow.component.d.ts +0 -19
  553. package/lib/components/overlay/dialog/flow/dialog-step.component.d.ts +0 -7
  554. package/lib/components/overlay/dialog/model/dialog.types.d.ts +0 -87
  555. package/lib/components/overlay/dialog/provider/provide-solaris-dialog.d.ts +0 -3
  556. package/lib/components/overlay/dialog/service/dialog-ref.d.ts +0 -11
  557. package/lib/components/overlay/dialog/service/dialog.service.d.ts +0 -20
  558. package/lib/components/overlay/dialog/token/dialog-data.token.d.ts +0 -4
  559. package/lib/components/overlay/dialog/token/dialog.tokens.d.ts +0 -4
  560. package/lib/services/accessibility/directives/visually-hidden.directive.d.ts +0 -5
  561. package/lib/services/accessibility/model/solaris-accessibility-config.interface.d.ts +0 -4
  562. package/lib/services/accessibility/model/solaris-accessibility.types.d.ts +0 -5
  563. package/lib/services/accessibility/provider/provide-solaris-accessibility.d.ts +0 -3
  564. package/lib/services/accessibility/service/solaris-accessibility.service.d.ts +0 -15
  565. package/lib/services/accessibility/testing/solaris-accessibility-testing.provider.d.ts +0 -3
  566. package/lib/services/accessibility/token/solaris-accessibility.tokens.d.ts +0 -3
  567. package/lib/services/icon/icons/groups/actions.d.ts +0 -2
  568. package/lib/services/icon/icons/groups/data.d.ts +0 -2
  569. package/lib/services/icon/icons/groups/layout.d.ts +0 -2
  570. package/lib/services/icon/icons/groups/navigation.d.ts +0 -2
  571. package/lib/services/icon/icons/groups/status.d.ts +0 -2
  572. package/lib/services/icon/icons/groups/theme.d.ts +0 -2
  573. package/lib/services/icon/icons/index.d.ts +0 -1
  574. package/lib/services/icon/icons/solaris-built-in-icons.d.ts +0 -2
  575. package/lib/services/icon/index.d.ts +0 -8
  576. package/lib/services/icon/model/solaris-icon-definition.interface.d.ts +0 -45
  577. package/lib/services/icon/model/solaris-icon.types.d.ts +0 -4
  578. package/lib/services/icon/provider/provide-solaris-icons.d.ts +0 -3
  579. package/lib/services/icon/service/solaris-icon-registry.service.d.ts +0 -12
  580. package/lib/services/icon/token/solaris-icon.tokens.d.ts +0 -6
  581. package/lib/services/theme/model/solaris-theme-config.interface.d.ts +0 -5
  582. package/lib/services/theme/model/solaris-theme.types.d.ts +0 -3
  583. package/lib/services/theme/provider/provide-solaris-theme.d.ts +0 -3
  584. package/lib/services/theme/service/solaris-theme.service.d.ts +0 -9
  585. package/lib/services/theme/testing/solaris-theme-testing.provider.d.ts +0 -3
  586. package/lib/services/theme/token/solaris-theme.tokens.d.ts +0 -3
  587. package/lib/services/translation/index.d.ts +0 -8
  588. package/lib/services/translation/model/solaris-locale.types.d.ts +0 -4
  589. package/lib/services/translation/model/solaris-translate-config.interface.d.ts +0 -8
  590. package/lib/services/translation/model/solaris-translate-defaults.d.ts +0 -2
  591. package/lib/services/translation/model/solaris-translation.types.d.ts +0 -3
  592. package/lib/services/translation/pipe/solaris-translate.pipe.d.ts +0 -8
  593. package/lib/services/translation/provider/provide-solaris-translate.d.ts +0 -3
  594. package/lib/services/translation/service/solaris-translate.service.d.ts +0 -15
  595. package/lib/services/translation/testing/solaris-translate-testing.provider.d.ts +0 -3
  596. package/lib/services/translation/token/solaris-translate.tokens.d.ts +0 -3
  597. package/lib/testing/provide-solaris-testing.d.ts +0 -10
  598. package/lib/testing/solaris-test-utilities.d.ts +0 -3
@@ -1,348 +0,0 @@
1
- import { Component, input, output, computed, signal, effect, forwardRef, inject, ElementRef, ContentChildren, NgZone, } from '@angular/core';
2
- import { NG_VALUE_ACCESSOR } from '@angular/forms';
3
- import { SolarisFormControl } from '../../form-field/model/form-control.contract';
4
- import { SolarisRadioComponent } from '../../radio/component/radio.component';
5
- import { SolarisTranslateService } from '../../../../services/translation';
6
- import { SOLARIS_RADIO_GROUP_NAME } from '../model/radio-group.token';
7
- import * as i0 from "@angular/core";
8
- let nextId = 0;
9
- function generateId() {
10
- return `solaris-radio-group-${++nextId}`;
11
- }
12
- function defaultCompare(a, b) {
13
- return Object.is(a, b);
14
- }
15
- let groupNameCounter = 0;
16
- function generateGroupName() {
17
- return `solaris-radio-group-name-${++groupNameCounter}`;
18
- }
19
- export class SolarisRadioGroupComponent extends SolarisFormControl {
20
- elementRef = inject(ElementRef);
21
- translateService = inject(SolarisTranslateService);
22
- ngZone = inject(NgZone);
23
- radios;
24
- orientation = input('vertical', ...(ngDevMode ? [{ debugName: "orientation" }] : /* istanbul ignore next */ []));
25
- layout = input('list', ...(ngDevMode ? [{ debugName: "layout" }] : /* istanbul ignore next */ []));
26
- columns = input(1, ...(ngDevMode ? [{ debugName: "columns" }] : /* istanbul ignore next */ []));
27
- density = input(...(ngDevMode ? [undefined, { debugName: "density" }] : /* istanbul ignore next */ []));
28
- size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
29
- disabledInput = input(false, { ...(ngDevMode ? { debugName: "disabledInput" } : /* istanbul ignore next */ {}), alias: 'disabled',
30
- transform: (v) => v ?? false });
31
- readonlyInput = input(false, { ...(ngDevMode ? { debugName: "readonlyInput" } : /* istanbul ignore next */ {}), alias: 'readonly',
32
- transform: (v) => v ?? false });
33
- requiredInput = input(false, { ...(ngDevMode ? { debugName: "requiredInput" } : /* istanbul ignore next */ {}), alias: 'required',
34
- transform: (v) => v ?? false });
35
- invalidInput = input(undefined, { ...(ngDevMode ? { debugName: "invalidInput" } : /* istanbul ignore next */ {}), alias: 'invalid' });
36
- labelInput = input(undefined, { ...(ngDevMode ? { debugName: "labelInput" } : /* istanbul ignore next */ {}), alias: 'label' });
37
- labelKey = input(...(ngDevMode ? [undefined, { debugName: "labelKey" }] : /* istanbul ignore next */ []));
38
- hintInput = input(undefined, { ...(ngDevMode ? { debugName: "hintInput" } : /* istanbul ignore next */ {}), alias: 'hint' });
39
- hintKey = input(...(ngDevMode ? [undefined, { debugName: "hintKey" }] : /* istanbul ignore next */ []));
40
- errorInput = input(undefined, { ...(ngDevMode ? { debugName: "errorInput" } : /* istanbul ignore next */ {}), alias: 'error' });
41
- errorKey = input(...(ngDevMode ? [undefined, { debugName: "errorKey" }] : /* istanbul ignore next */ []));
42
- compareWith = input(defaultCompare, ...(ngDevMode ? [{ debugName: "compareWith" }] : /* istanbul ignore next */ []));
43
- ariaLabel = input(...(ngDevMode ? [undefined, { debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
44
- ariaLabelKey = input(...(ngDevMode ? [undefined, { debugName: "ariaLabelKey" }] : /* istanbul ignore next */ []));
45
- valueChange = output();
46
- // eslint-disable-next-line @angular-eslint/no-output-native
47
- change = output();
48
- _value = signal(undefined, ...(ngDevMode ? [{ debugName: "_value" }] : /* istanbul ignore next */ []));
49
- _focused = signal(false, ...(ngDevMode ? [{ debugName: "_focused" }] : /* istanbul ignore next */ []));
50
- _describedByIds = signal([], ...(ngDevMode ? [{ debugName: "_describedByIds" }] : /* istanbul ignore next */ []));
51
- cvaDisabled = signal(false, ...(ngDevMode ? [{ debugName: "cvaDisabled" }] : /* istanbul ignore next */ []));
52
- // eslint-disable-next-line @typescript-eslint/no-empty-function
53
- onChange = () => { };
54
- // eslint-disable-next-line @typescript-eslint/no-empty-function
55
- onTouched = () => { };
56
- radioSubscriptions = new Map();
57
- contentInitialized = false;
58
- radioQuerySubscription = null;
59
- focusListenersAttached = false;
60
- groupId = computed(() => {
61
- // SECURITY_EXCEPTION: nativeElement.getAttribute('id') is the standard DOM API to check existing ID before generating one. Same approach used by Angular CDK and Solaris Checkbox.
62
- return this.elementRef.nativeElement.getAttribute('id') || generateId();
63
- }, ...(ngDevMode ? [{ debugName: "groupId" }] : /* istanbul ignore next */ []));
64
- labelId = computed(() => `${this.groupId()}-label`, ...(ngDevMode ? [{ debugName: "labelId" }] : /* istanbul ignore next */ []));
65
- hintId = computed(() => `${this.groupId()}-hint`, ...(ngDevMode ? [{ debugName: "hintId" }] : /* istanbul ignore next */ []));
66
- errorId = computed(() => `${this.groupId()}-error`, ...(ngDevMode ? [{ debugName: "errorId" }] : /* istanbul ignore next */ []));
67
- columnsStr = computed(() => String(this.columns()), ...(ngDevMode ? [{ debugName: "columnsStr" }] : /* istanbul ignore next */ []));
68
- effectiveDensity = computed(() => {
69
- return this.density() ?? 'comfortable';
70
- }, ...(ngDevMode ? [{ debugName: "effectiveDensity" }] : /* istanbul ignore next */ []));
71
- isEffectivelyDisabled = computed(() => {
72
- return this.disabledInput() || this.cvaDisabled();
73
- }, ...(ngDevMode ? [{ debugName: "isEffectivelyDisabled" }] : /* istanbul ignore next */ []));
74
- isEffectivelyReadonly = computed(() => {
75
- return this.readonlyInput();
76
- }, ...(ngDevMode ? [{ debugName: "isEffectivelyReadonly" }] : /* istanbul ignore next */ []));
77
- isEffectivelyInvalid = computed(() => {
78
- return this.invalidInput() ?? false;
79
- }, ...(ngDevMode ? [{ debugName: "isEffectivelyInvalid" }] : /* istanbul ignore next */ []));
80
- isEffectivelyRequired = computed(() => {
81
- return this.requiredInput();
82
- }, ...(ngDevMode ? [{ debugName: "isEffectivelyRequired" }] : /* istanbul ignore next */ []));
83
- labelText = computed(() => {
84
- const key = this.labelKey();
85
- if (key) {
86
- const translated = this.translateService.translate(key);
87
- return translated !== key ? translated : undefined;
88
- }
89
- return this.labelInput();
90
- }, ...(ngDevMode ? [{ debugName: "labelText" }] : /* istanbul ignore next */ []));
91
- hintText = computed(() => {
92
- const key = this.hintKey();
93
- if (key) {
94
- const translated = this.translateService.translate(key);
95
- return translated !== key ? translated : undefined;
96
- }
97
- return this.hintInput();
98
- }, ...(ngDevMode ? [{ debugName: "hintText" }] : /* istanbul ignore next */ []));
99
- errorText = computed(() => {
100
- const key = this.errorKey();
101
- if (key) {
102
- const translated = this.translateService.translate(key);
103
- return translated !== key ? translated : undefined;
104
- }
105
- return this.errorInput();
106
- }, ...(ngDevMode ? [{ debugName: "errorText" }] : /* istanbul ignore next */ []));
107
- effectiveAriaLabel = computed(() => {
108
- const key = this.ariaLabelKey();
109
- if (key) {
110
- const translated = this.translateService.translate(key);
111
- return translated !== key ? translated : undefined;
112
- }
113
- return this.ariaLabel();
114
- }, ...(ngDevMode ? [{ debugName: "effectiveAriaLabel" }] : /* istanbul ignore next */ []));
115
- ariaLabelledBy = computed(() => {
116
- if (this.labelText()) {
117
- return this.labelId();
118
- }
119
- return null;
120
- }, ...(ngDevMode ? [{ debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
121
- ariaDescribedBy = computed(() => {
122
- const customIds = this._describedByIds();
123
- const ownIds = [];
124
- if (this.hintText())
125
- ownIds.push(this.hintId());
126
- if (this.showError())
127
- ownIds.push(this.errorId());
128
- const all = [...customIds, ...ownIds];
129
- return all.length > 0 ? all.join(' ') : null;
130
- }, ...(ngDevMode ? [{ debugName: "ariaDescribedBy" }] : /* istanbul ignore next */ []));
131
- showError = computed(() => {
132
- if (this.isEffectivelyInvalid()) {
133
- return this.errorText() ?? null;
134
- }
135
- return null;
136
- }, ...(ngDevMode ? [{ debugName: "showError" }] : /* istanbul ignore next */ []));
137
- get id() {
138
- return this.groupId();
139
- }
140
- get focused() {
141
- return this._focused();
142
- }
143
- get disabled() {
144
- return this.isEffectivelyDisabled();
145
- }
146
- get readonly() {
147
- return this.isEffectivelyReadonly();
148
- }
149
- get invalid() {
150
- return this.isEffectivelyInvalid();
151
- }
152
- get required() {
153
- return this.isEffectivelyRequired();
154
- }
155
- get describedByIds() {
156
- return this._describedByIds();
157
- }
158
- setDescribedByIds(ids) {
159
- this._describedByIds.set([...ids]);
160
- }
161
- focus() {
162
- const first = this.radios?.get(0);
163
- if (first) {
164
- first.focus();
165
- }
166
- }
167
- writeValue(value) {
168
- this._value.set(value ?? undefined);
169
- this.syncRadiosToValue();
170
- }
171
- registerOnChange(fn) {
172
- this.onChange = fn;
173
- }
174
- registerOnTouched(fn) {
175
- this.onTouched = fn;
176
- }
177
- setDisabledState(isDisabled) {
178
- this.cvaDisabled.set(isDisabled);
179
- this.propagateDisabledToRadios();
180
- }
181
- ngAfterContentInit() {
182
- this.contentInitialized = true;
183
- this.attachFocusListeners();
184
- this.initRadios();
185
- this.syncRadiosToValue();
186
- this.propagateDisabledToRadios();
187
- this.propagateReadonlyToRadios();
188
- this.radioQuerySubscription = this.radios.changes.subscribe(() => {
189
- this.initRadios();
190
- this.syncRadiosToValue();
191
- this.propagateDisabledToRadios();
192
- this.propagateReadonlyToRadios();
193
- });
194
- }
195
- ngOnDestroy() {
196
- this.unsubscribeAllRadios();
197
- if (this.radioQuerySubscription) {
198
- this.radioQuerySubscription.unsubscribe();
199
- }
200
- }
201
- attachFocusListeners() {
202
- if (this.focusListenersAttached)
203
- return;
204
- this.focusListenersAttached = true;
205
- // SECURITY_EXCEPTION: nativeElement.focusin/focusout are standard DOM events for focus tracking. Same pattern used by Solaris FormField.
206
- const native = this.elementRef.nativeElement;
207
- this.ngZone.runOutsideAngular(() => {
208
- native.addEventListener('focusin', () => {
209
- this.ngZone.run(() => this._focused.set(true));
210
- });
211
- native.addEventListener('focusout', (e) => {
212
- const related = e.relatedTarget;
213
- if (related && native.contains(related))
214
- return;
215
- this.ngZone.run(() => {
216
- this._focused.set(false);
217
- this.onTouched();
218
- });
219
- });
220
- });
221
- }
222
- initRadios() {
223
- this.unsubscribeAllRadios();
224
- this.radios.forEach((radio) => {
225
- const sub = radio.checkedChange.subscribe((checked) => {
226
- this.onRadioCheckedChange(radio, checked);
227
- });
228
- this.radioSubscriptions.set(radio, sub);
229
- });
230
- }
231
- unsubscribeAllRadios() {
232
- this.radioSubscriptions.forEach((sub) => sub.unsubscribe());
233
- this.radioSubscriptions.clear();
234
- }
235
- onRadioCheckedChange(child, checked) {
236
- if (this.isEffectivelyDisabled() || this.isEffectivelyReadonly()) {
237
- return;
238
- }
239
- if (!checked) {
240
- return;
241
- }
242
- const childValue = child.value();
243
- const cmp = this.compareWith();
244
- const currentValue = this._value();
245
- if (currentValue !== undefined && cmp(currentValue, childValue)) {
246
- return;
247
- }
248
- this.updateValue(childValue);
249
- }
250
- updateValue(newValue) {
251
- this._value.set(newValue);
252
- this.syncRadiosToValue();
253
- this.onChange(newValue);
254
- this.valueChange.emit(newValue);
255
- this.change.emit(newValue);
256
- }
257
- syncRadiosToValue() {
258
- if (!this.contentInitialized || !this.radios)
259
- return;
260
- const currentValue = this._value();
261
- const cmp = this.compareWith();
262
- this.radios.forEach((radio) => {
263
- const childValue = radio.value();
264
- const isChecked = currentValue !== undefined && cmp(currentValue, childValue);
265
- radio.writeValue(isChecked);
266
- });
267
- }
268
- propagateDisabledToRadios() {
269
- if (!this.contentInitialized || !this.radios)
270
- return;
271
- const isDisabled = this.isEffectivelyDisabled();
272
- this.radios.forEach((radio) => {
273
- radio.setDisabledState(isDisabled);
274
- });
275
- }
276
- propagateReadonlyToRadios() {
277
- if (!this.contentInitialized || !this.radios)
278
- return;
279
- const isReadonly = this.isEffectivelyReadonly();
280
- this.radios.forEach((radio) => {
281
- radio.setCvaReadonlyState(isReadonly);
282
- });
283
- }
284
- _propagateEffect = effect(() => {
285
- if (!this.contentInitialized)
286
- return;
287
- this.isEffectivelyDisabled();
288
- this.isEffectivelyReadonly();
289
- this.propagateDisabledToRadios();
290
- this.propagateReadonlyToRadios();
291
- }, ...(ngDevMode ? [{ debugName: "_propagateEffect" }] : /* istanbul ignore next */ []));
292
- constructor() {
293
- super();
294
- }
295
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisRadioGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
296
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "21.2.17", type: SolarisRadioGroupComponent, isStandalone: true, selector: "solaris-radio-group", inputs: { orientation: { classPropertyName: "orientation", publicName: "orientation", isSignal: true, isRequired: false, transformFunction: null }, layout: { classPropertyName: "layout", publicName: "layout", isSignal: true, isRequired: false, transformFunction: null }, columns: { classPropertyName: "columns", publicName: "columns", isSignal: true, isRequired: false, transformFunction: null }, density: { classPropertyName: "density", publicName: "density", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, disabledInput: { classPropertyName: "disabledInput", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonlyInput: { classPropertyName: "readonlyInput", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, requiredInput: { classPropertyName: "requiredInput", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, invalidInput: { classPropertyName: "invalidInput", publicName: "invalid", isSignal: true, isRequired: false, transformFunction: null }, labelInput: { classPropertyName: "labelInput", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, labelKey: { classPropertyName: "labelKey", publicName: "labelKey", isSignal: true, isRequired: false, transformFunction: null }, hintInput: { classPropertyName: "hintInput", publicName: "hint", isSignal: true, isRequired: false, transformFunction: null }, hintKey: { classPropertyName: "hintKey", publicName: "hintKey", isSignal: true, isRequired: false, transformFunction: null }, errorInput: { classPropertyName: "errorInput", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, errorKey: { classPropertyName: "errorKey", publicName: "errorKey", isSignal: true, isRequired: false, transformFunction: null }, compareWith: { classPropertyName: "compareWith", publicName: "compareWith", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelKey: { classPropertyName: "ariaLabelKey", publicName: "ariaLabelKey", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { valueChange: "valueChange", change: "change" }, host: { attributes: { "role": "radiogroup" }, properties: { "attr.data-orientation": "orientation()", "attr.data-layout": "layout()", "attr.data-columns": "columnsStr()", "attr.data-density": "effectiveDensity()", "attr.data-size": "size()", "attr.data-disabled": "isEffectivelyDisabled() ? \"\" : null", "attr.data-readonly": "isEffectivelyReadonly() ? \"\" : null", "attr.data-invalid": "isEffectivelyInvalid() ? \"\" : null", "attr.aria-label": "effectiveAriaLabel() ?? null", "attr.aria-labelledby": "ariaLabelledBy()", "attr.aria-describedby": "ariaDescribedBy()", "attr.aria-invalid": "isEffectivelyInvalid() ? \"true\" : null", "attr.aria-required": "isEffectivelyRequired() ? \"true\" : null" } }, providers: [
297
- {
298
- provide: NG_VALUE_ACCESSOR,
299
- useExisting: forwardRef(() => SolarisRadioGroupComponent),
300
- multi: true,
301
- },
302
- {
303
- provide: SolarisFormControl,
304
- useExisting: forwardRef(() => SolarisRadioGroupComponent),
305
- },
306
- {
307
- provide: SOLARIS_RADIO_GROUP_NAME,
308
- useFactory: () => generateGroupName(),
309
- },
310
- ], queries: [{ propertyName: "radios", predicate: SolarisRadioComponent }], usesInheritance: true, ngImport: i0, template: "@if (labelText(); as text) {\n <span class=\"solaris-radio-group__label\" [id]=\"labelId()\">\n {{ text }}\n </span>\n}\n<div class=\"solaris-radio-group__options\" role=\"presentation\">\n <ng-content />\n</div>\n@if (hintText(); as text) {\n <p class=\"solaris-radio-group__hint\" [id]=\"hintId()\">\n {{ text }}\n </p>\n}\n@if (showError(); as text) {\n <p class=\"solaris-radio-group__error\" [id]=\"errorId()\" role=\"alert\">\n {{ text }}\n </p>\n}\n", styles: [":host{--solaris-radio-group-gap: var(--solaris-spacing-3);--solaris-radio-group-row-gap: var(--solaris-spacing-3);--solaris-radio-group-column-gap: var(--solaris-spacing-3);--solaris-radio-group-label-color: var(--solaris-text-strong);--solaris-radio-group-hint-color: var(--solaris-text-muted);--solaris-radio-group-error-color: var(--solaris-text-danger);--solaris-radio-group-label-font-size: var(--solaris-font-size-sm);--solaris-radio-group-label-line-height: var(--solaris-line-height-md);--solaris-radio-group-hint-font-size: var(--solaris-font-size-xs);--solaris-radio-group-hint-line-height: var(--solaris-line-height-sm);--solaris-radio-group-error-font-size: var(--solaris-font-size-xs);--solaris-radio-group-error-line-height: var(--solaris-line-height-sm);display:block;box-sizing:border-box}.solaris-radio-group__label{display:block;font:var(--solaris-font-weight-medium) var(--solaris-radio-group-label-font-size)/var(--solaris-radio-group-label-line-height) var(--solaris-font-family-sans);color:var(--solaris-radio-group-label-color);margin:0 0 var(--solaris-spacing-2)}.solaris-radio-group__options{display:flex;flex-direction:column;gap:var(--solaris-radio-group-gap)}:host([data-orientation=horizontal]) .solaris-radio-group__options{flex-direction:row;flex-wrap:wrap}:host([data-layout=grid]) .solaris-radio-group__options{display:grid;grid-template-columns:1fr;gap:var(--solaris-radio-group-row-gap) var(--solaris-radio-group-column-gap)}:host([data-layout=grid][data-columns=\"2\"]) .solaris-radio-group__options{grid-template-columns:repeat(2,1fr)}:host([data-layout=grid][data-columns=\"3\"]) .solaris-radio-group__options{grid-template-columns:repeat(3,1fr)}:host([data-layout=grid][data-columns=\"4\"]) .solaris-radio-group__options{grid-template-columns:repeat(4,1fr)}:host([data-layout=grid][data-columns=auto]) .solaris-radio-group__options{grid-template-columns:repeat(auto-fill,minmax(10rem,1fr))}:host([data-density=compact]){--solaris-radio-group-gap: var(--solaris-spacing-2);--solaris-radio-group-row-gap: var(--solaris-spacing-2);--solaris-radio-group-column-gap: var(--solaris-spacing-2)}:host([data-density=comfortable]){--solaris-radio-group-gap: var(--solaris-spacing-4);--solaris-radio-group-row-gap: var(--solaris-spacing-4);--solaris-radio-group-column-gap: var(--solaris-spacing-4)}:host([data-disabled]){opacity:.5;cursor:not-allowed}:host([data-readonly]){cursor:default}.solaris-radio-group__hint{font:var(--solaris-font-weight-regular) var(--solaris-radio-group-hint-font-size)/var(--solaris-radio-group-hint-line-height) var(--solaris-font-family-sans);color:var(--solaris-radio-group-hint-color);margin:var(--solaris-spacing-1) 0 0}.solaris-radio-group__error{font:var(--solaris-font-weight-regular) var(--solaris-radio-group-error-font-size)/var(--solaris-radio-group-error-line-height) var(--solaris-font-family-sans);color:var(--solaris-radio-group-error-color);margin:var(--solaris-spacing-1) 0 0}\n"] });
311
- }
312
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.17", ngImport: i0, type: SolarisRadioGroupComponent, decorators: [{
313
- type: Component,
314
- args: [{ selector: 'solaris-radio-group', standalone: true, providers: [
315
- {
316
- provide: NG_VALUE_ACCESSOR,
317
- useExisting: forwardRef(() => SolarisRadioGroupComponent),
318
- multi: true,
319
- },
320
- {
321
- provide: SolarisFormControl,
322
- useExisting: forwardRef(() => SolarisRadioGroupComponent),
323
- },
324
- {
325
- provide: SOLARIS_RADIO_GROUP_NAME,
326
- useFactory: () => generateGroupName(),
327
- },
328
- ], host: {
329
- role: 'radiogroup',
330
- '[attr.data-orientation]': 'orientation()',
331
- '[attr.data-layout]': 'layout()',
332
- '[attr.data-columns]': 'columnsStr()',
333
- '[attr.data-density]': 'effectiveDensity()',
334
- '[attr.data-size]': 'size()',
335
- '[attr.data-disabled]': 'isEffectivelyDisabled() ? "" : null',
336
- '[attr.data-readonly]': 'isEffectivelyReadonly() ? "" : null',
337
- '[attr.data-invalid]': 'isEffectivelyInvalid() ? "" : null',
338
- '[attr.aria-label]': 'effectiveAriaLabel() ?? null',
339
- '[attr.aria-labelledby]': 'ariaLabelledBy()',
340
- '[attr.aria-describedby]': 'ariaDescribedBy()',
341
- '[attr.aria-invalid]': 'isEffectivelyInvalid() ? "true" : null',
342
- '[attr.aria-required]': 'isEffectivelyRequired() ? "true" : null',
343
- }, template: "@if (labelText(); as text) {\n <span class=\"solaris-radio-group__label\" [id]=\"labelId()\">\n {{ text }}\n </span>\n}\n<div class=\"solaris-radio-group__options\" role=\"presentation\">\n <ng-content />\n</div>\n@if (hintText(); as text) {\n <p class=\"solaris-radio-group__hint\" [id]=\"hintId()\">\n {{ text }}\n </p>\n}\n@if (showError(); as text) {\n <p class=\"solaris-radio-group__error\" [id]=\"errorId()\" role=\"alert\">\n {{ text }}\n </p>\n}\n", styles: [":host{--solaris-radio-group-gap: var(--solaris-spacing-3);--solaris-radio-group-row-gap: var(--solaris-spacing-3);--solaris-radio-group-column-gap: var(--solaris-spacing-3);--solaris-radio-group-label-color: var(--solaris-text-strong);--solaris-radio-group-hint-color: var(--solaris-text-muted);--solaris-radio-group-error-color: var(--solaris-text-danger);--solaris-radio-group-label-font-size: var(--solaris-font-size-sm);--solaris-radio-group-label-line-height: var(--solaris-line-height-md);--solaris-radio-group-hint-font-size: var(--solaris-font-size-xs);--solaris-radio-group-hint-line-height: var(--solaris-line-height-sm);--solaris-radio-group-error-font-size: var(--solaris-font-size-xs);--solaris-radio-group-error-line-height: var(--solaris-line-height-sm);display:block;box-sizing:border-box}.solaris-radio-group__label{display:block;font:var(--solaris-font-weight-medium) var(--solaris-radio-group-label-font-size)/var(--solaris-radio-group-label-line-height) var(--solaris-font-family-sans);color:var(--solaris-radio-group-label-color);margin:0 0 var(--solaris-spacing-2)}.solaris-radio-group__options{display:flex;flex-direction:column;gap:var(--solaris-radio-group-gap)}:host([data-orientation=horizontal]) .solaris-radio-group__options{flex-direction:row;flex-wrap:wrap}:host([data-layout=grid]) .solaris-radio-group__options{display:grid;grid-template-columns:1fr;gap:var(--solaris-radio-group-row-gap) var(--solaris-radio-group-column-gap)}:host([data-layout=grid][data-columns=\"2\"]) .solaris-radio-group__options{grid-template-columns:repeat(2,1fr)}:host([data-layout=grid][data-columns=\"3\"]) .solaris-radio-group__options{grid-template-columns:repeat(3,1fr)}:host([data-layout=grid][data-columns=\"4\"]) .solaris-radio-group__options{grid-template-columns:repeat(4,1fr)}:host([data-layout=grid][data-columns=auto]) .solaris-radio-group__options{grid-template-columns:repeat(auto-fill,minmax(10rem,1fr))}:host([data-density=compact]){--solaris-radio-group-gap: var(--solaris-spacing-2);--solaris-radio-group-row-gap: var(--solaris-spacing-2);--solaris-radio-group-column-gap: var(--solaris-spacing-2)}:host([data-density=comfortable]){--solaris-radio-group-gap: var(--solaris-spacing-4);--solaris-radio-group-row-gap: var(--solaris-spacing-4);--solaris-radio-group-column-gap: var(--solaris-spacing-4)}:host([data-disabled]){opacity:.5;cursor:not-allowed}:host([data-readonly]){cursor:default}.solaris-radio-group__hint{font:var(--solaris-font-weight-regular) var(--solaris-radio-group-hint-font-size)/var(--solaris-radio-group-hint-line-height) var(--solaris-font-family-sans);color:var(--solaris-radio-group-hint-color);margin:var(--solaris-spacing-1) 0 0}.solaris-radio-group__error{font:var(--solaris-font-weight-regular) var(--solaris-radio-group-error-font-size)/var(--solaris-radio-group-error-line-height) var(--solaris-font-family-sans);color:var(--solaris-radio-group-error-color);margin:var(--solaris-spacing-1) 0 0}\n"] }]
344
- }], ctorParameters: () => [], propDecorators: { radios: [{
345
- type: ContentChildren,
346
- args: [SolarisRadioComponent]
347
- }], orientation: [{ type: i0.Input, args: [{ isSignal: true, alias: "orientation", required: false }] }], layout: [{ type: i0.Input, args: [{ isSignal: true, alias: "layout", required: false }] }], columns: [{ type: i0.Input, args: [{ isSignal: true, alias: "columns", required: false }] }], density: [{ type: i0.Input, args: [{ isSignal: true, alias: "density", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], disabledInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonlyInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], requiredInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], invalidInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "invalid", required: false }] }], labelInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], labelKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "labelKey", required: false }] }], hintInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "hint", required: false }] }], hintKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "hintKey", required: false }] }], errorInput: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], errorKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "errorKey", required: false }] }], compareWith: [{ type: i0.Input, args: [{ isSignal: true, alias: "compareWith", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelKey", required: false }] }], valueChange: [{ type: i0.Output, args: ["valueChange"] }], change: [{ type: i0.Output, args: ["change"] }] } });
348
- //# sourceMappingURL=radio-group.component.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-group.component.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/forms/radio-group/component/radio-group.component.ts","../../../../../../../../../packages/angular/src/lib/components/forms/radio-group/component/radio-group.component.html"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,KAAK,EACL,MAAM,EACN,QAAQ,EACR,MAAM,EACN,MAAM,EACN,UAAU,EACV,MAAM,EACN,UAAU,EACV,eAAe,EAIf,MAAM,GACP,MAAM,eAAe,CAAC;AAGvB,OAAO,EAAE,iBAAiB,EAA6B,MAAM,gBAAgB,CAAC;AAE9E,OAAO,EAAE,kBAAkB,EAAE,MAAM,8CAA8C,CAAC;AAClF,OAAO,EAAE,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,kCAAkC,CAAC;AAC3E,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;;AAUtE,IAAI,MAAM,GAAG,CAAC,CAAC;AAEf,SAAS,UAAU;IACjB,OAAO,uBAAuB,EAAE,MAAM,EAAE,CAAC;AAC3C,CAAC;AAED,SAAS,cAAc,CAAC,CAAU,EAAE,CAAU;IAC5C,OAAO,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACzB,CAAC;AAED,IAAI,gBAAgB,GAAG,CAAC,CAAC;AAEzB,SAAS,iBAAiB;IACxB,OAAO,4BAA4B,EAAE,gBAAgB,EAAE,CAAC;AAC1D,CAAC;AAuCD,MAAM,OAAO,0BACX,SAAQ,kBAAkB;IAGT,UAAU,GAAG,MAAM,CAA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C7D,qBAAqB,EAAE,oCAAoC;wBAC3D,mBAAmB,EAAE,8BAA8B;wBACnD,wBAAwB,EAAE,kBAAkB;wBAC5C,yBAAyB,EAAE,mBAAmB;wBAC9C,qBAAqB,EAAE,wCAAwC;wBAC/D,sBAAsB,EAAE,yCAAyC;qBAClE;;sBAUA,eAAe;uBAAC,qBAAqB","sourcesContent":["import {\n Component,\n input,\n output,\n computed,\n signal,\n effect,\n forwardRef,\n inject,\n ElementRef,\n ContentChildren,\n QueryList,\n type AfterContentInit,\n type OnDestroy,\n NgZone,\n} from '@angular/core';\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\ntype Subscription = any;\nimport { NG_VALUE_ACCESSOR, type ControlValueAccessor } from '@angular/forms';\n\nimport { SolarisFormControl } from '../../form-field/model/form-control.contract';\nimport { SolarisRadioComponent } from '../../radio/component/radio.component';\nimport { SolarisTranslateService } from '../../../../services/translation';\nimport { SOLARIS_RADIO_GROUP_NAME } from '../model/radio-group.token';\n\nimport type {\n SolarisRadioGroupOrientation,\n SolarisRadioGroupLayout,\n SolarisRadioGroupColumns,\n SolarisRadioGroupDensity,\n SolarisRadioGroupSize,\n} from '../model/radio-group.types';\n\nlet nextId = 0;\n\nfunction generateId(): string {\n return `solaris-radio-group-${++nextId}`;\n}\n\nfunction defaultCompare(a: unknown, b: unknown): boolean {\n return Object.is(a, b);\n}\n\nlet groupNameCounter = 0;\n\nfunction generateGroupName(): string {\n return `solaris-radio-group-name-${++groupNameCounter}`;\n}\n\n@Component({\n selector: 'solaris-radio-group',\n standalone: true,\n providers: [\n {\n provide: NG_VALUE_ACCESSOR,\n useExisting: forwardRef(() => SolarisRadioGroupComponent),\n multi: true,\n },\n {\n provide: SolarisFormControl,\n useExisting: forwardRef(() => SolarisRadioGroupComponent),\n },\n {\n provide: SOLARIS_RADIO_GROUP_NAME,\n useFactory: () => generateGroupName(),\n },\n ],\n templateUrl: './radio-group.component.html',\n styleUrls: ['./radio-group.component.scss'],\n host: {\n role: 'radiogroup',\n '[attr.data-orientation]': 'orientation()',\n '[attr.data-layout]': 'layout()',\n '[attr.data-columns]': 'columnsStr()',\n '[attr.data-density]': 'effectiveDensity()',\n '[attr.data-size]': 'size()',\n '[attr.data-disabled]': 'isEffectivelyDisabled() ? \"\" : null',\n '[attr.data-readonly]': 'isEffectivelyReadonly() ? \"\" : null',\n '[attr.data-invalid]': 'isEffectivelyInvalid() ? \"\" : null',\n '[attr.aria-label]': 'effectiveAriaLabel() ?? null',\n '[attr.aria-labelledby]': 'ariaLabelledBy()',\n '[attr.aria-describedby]': 'ariaDescribedBy()',\n '[attr.aria-invalid]': 'isEffectivelyInvalid() ? \"true\" : null',\n '[attr.aria-required]': 'isEffectivelyRequired() ? \"true\" : null',\n },\n})\nexport class SolarisRadioGroupComponent\n extends SolarisFormControl\n implements ControlValueAccessor, AfterContentInit, OnDestroy\n{\n private readonly elementRef = inject<ElementRef<HTMLElement>>(ElementRef);\n private readonly translateService = inject(SolarisTranslateService);\n private readonly ngZone = inject(NgZone);\n\n @ContentChildren(SolarisRadioComponent)\n protected radios!: QueryList<SolarisRadioComponent>;\n\n readonly orientation = input<SolarisRadioGroupOrientation>('vertical');\n readonly layout = input<SolarisRadioGroupLayout>('list');\n readonly columns = input<SolarisRadioGroupColumns>(1);\n readonly density = input<SolarisRadioGroupDensity>();\n readonly size = input<SolarisRadioGroupSize>('md');\n readonly disabledInput = input<boolean, boolean>(false, {\n alias: 'disabled',\n transform: (v: boolean) => v ?? false,\n });\n readonly readonlyInput = input<boolean, boolean>(false, {\n alias: 'readonly',\n transform: (v: boolean) => v ?? false,\n });\n readonly requiredInput = input<boolean, boolean>(false, {\n alias: 'required',\n transform: (v: boolean) => v ?? false,\n });\n readonly invalidInput = input<boolean | undefined>(undefined, {\n alias: 'invalid',\n });\n readonly labelInput = input<string>(undefined, { alias: 'label' });\n readonly labelKey = input<string>();\n readonly hintInput = input<string>(undefined, { alias: 'hint' });\n readonly hintKey = input<string>();\n readonly errorInput = input<string>(undefined, { alias: 'error' });\n readonly errorKey = input<string>();\n readonly compareWith =\n input<(a: unknown, b: unknown) => boolean>(defaultCompare);\n readonly ariaLabel = input<string>();\n readonly ariaLabelKey = input<string>();\n\n readonly valueChange = output<unknown>();\n // eslint-disable-next-line @angular-eslint/no-output-native\n readonly change = output<unknown>();\n\n private readonly _value = signal<unknown>(undefined);\n private readonly _focused = signal(false);\n private readonly _describedByIds = signal<string[]>([]);\n private readonly cvaDisabled = signal(false);\n\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n private onChange: (value: unknown) => void = () => {};\n // eslint-disable-next-line @typescript-eslint/no-empty-function\n private onTouched: () => void = () => {};\n\n private readonly radioSubscriptions = new Map<\n SolarisRadioComponent,\n Subscription\n >();\n private contentInitialized = false;\n private radioQuerySubscription: Subscription | null = null;\n private focusListenersAttached = false;\n\n protected readonly groupId = computed(() => {\n // SECURITY_EXCEPTION: nativeElement.getAttribute('id') is the standard DOM API to check existing ID before generating one. Same approach used by Angular CDK and Solaris Checkbox.\n return this.elementRef.nativeElement.getAttribute('id') || generateId();\n });\n protected readonly labelId = computed(() => `${this.groupId()}-label`);\n protected readonly hintId = computed(() => `${this.groupId()}-hint`);\n protected readonly errorId = computed(() => `${this.groupId()}-error`);\n\n protected readonly columnsStr = computed(() => String(this.columns()));\n\n protected readonly effectiveDensity = computed<SolarisRadioGroupDensity>(\n () => {\n return this.density() ?? 'comfortable';\n },\n );\n\n protected readonly isEffectivelyDisabled = computed(() => {\n return this.disabledInput() || this.cvaDisabled();\n });\n\n protected readonly isEffectivelyReadonly = computed(() => {\n return this.readonlyInput();\n });\n\n protected readonly isEffectivelyInvalid = computed(() => {\n return this.invalidInput() ?? false;\n });\n\n protected readonly isEffectivelyRequired = computed(() => {\n return this.requiredInput();\n });\n\n protected readonly labelText = computed(() => {\n const key = this.labelKey();\n if (key) {\n const translated = this.translateService.translate(key);\n return translated !== key ? translated : undefined;\n }\n return this.labelInput();\n });\n\n protected readonly hintText = computed(() => {\n const key = this.hintKey();\n if (key) {\n const translated = this.translateService.translate(key);\n return translated !== key ? translated : undefined;\n }\n return this.hintInput();\n });\n\n protected readonly errorText = computed(() => {\n const key = this.errorKey();\n if (key) {\n const translated = this.translateService.translate(key);\n return translated !== key ? translated : undefined;\n }\n return this.errorInput();\n });\n\n protected readonly effectiveAriaLabel = computed(() => {\n const key = this.ariaLabelKey();\n if (key) {\n const translated = this.translateService.translate(key);\n return translated !== key ? translated : undefined;\n }\n return this.ariaLabel();\n });\n\n protected readonly ariaLabelledBy = computed(() => {\n if (this.labelText()) {\n return this.labelId();\n }\n return null;\n });\n\n protected readonly ariaDescribedBy = computed(() => {\n const customIds = this._describedByIds();\n const ownIds: string[] = [];\n if (this.hintText()) ownIds.push(this.hintId());\n if (this.showError()) ownIds.push(this.errorId());\n const all = [...customIds, ...ownIds];\n return all.length > 0 ? all.join(' ') : null;\n });\n\n protected readonly showError = computed(() => {\n if (this.isEffectivelyInvalid()) {\n return this.errorText() ?? null;\n }\n return null;\n });\n\n get id(): string {\n return this.groupId();\n }\n\n get focused(): boolean {\n return this._focused();\n }\n\n get disabled(): boolean {\n return this.isEffectivelyDisabled();\n }\n\n get readonly(): boolean {\n return this.isEffectivelyReadonly();\n }\n\n get invalid(): boolean {\n return this.isEffectivelyInvalid();\n }\n\n get required(): boolean {\n return this.isEffectivelyRequired();\n }\n\n get describedByIds(): string[] {\n return this._describedByIds();\n }\n\n setDescribedByIds(ids: string[]): void {\n this._describedByIds.set([...ids]);\n }\n\n focus(): void {\n const first = this.radios?.get(0);\n if (first) {\n first.focus();\n }\n }\n\n writeValue(value: unknown | null): void {\n this._value.set(value ?? undefined);\n this.syncRadiosToValue();\n }\n\n registerOnChange(fn: (value: unknown) => void): void {\n this.onChange = fn;\n }\n\n registerOnTouched(fn: () => void): void {\n this.onTouched = fn;\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.cvaDisabled.set(isDisabled);\n this.propagateDisabledToRadios();\n }\n\n ngAfterContentInit(): void {\n this.contentInitialized = true;\n this.attachFocusListeners();\n this.initRadios();\n this.syncRadiosToValue();\n this.propagateDisabledToRadios();\n this.propagateReadonlyToRadios();\n\n this.radioQuerySubscription = this.radios.changes.subscribe(() => {\n this.initRadios();\n this.syncRadiosToValue();\n this.propagateDisabledToRadios();\n this.propagateReadonlyToRadios();\n });\n }\n\n ngOnDestroy(): void {\n this.unsubscribeAllRadios();\n if (this.radioQuerySubscription) {\n this.radioQuerySubscription.unsubscribe();\n }\n }\n\n private attachFocusListeners(): void {\n if (this.focusListenersAttached) return;\n this.focusListenersAttached = true;\n\n // SECURITY_EXCEPTION: nativeElement.focusin/focusout are standard DOM events for focus tracking. Same pattern used by Solaris FormField.\n const native = this.elementRef.nativeElement;\n this.ngZone.runOutsideAngular(() => {\n native.addEventListener('focusin', () => {\n this.ngZone.run(() => this._focused.set(true));\n });\n native.addEventListener('focusout', (e: FocusEvent) => {\n const related = e.relatedTarget as Node | null;\n if (related && native.contains(related)) return;\n this.ngZone.run(() => {\n this._focused.set(false);\n this.onTouched();\n });\n });\n });\n }\n\n private initRadios(): void {\n this.unsubscribeAllRadios();\n this.radios.forEach((radio) => {\n const sub = radio.checkedChange.subscribe((checked: boolean) => {\n this.onRadioCheckedChange(radio, checked);\n });\n this.radioSubscriptions.set(radio, sub as unknown as Subscription);\n });\n }\n\n private unsubscribeAllRadios(): void {\n this.radioSubscriptions.forEach((sub) => sub.unsubscribe());\n this.radioSubscriptions.clear();\n }\n\n private onRadioCheckedChange(\n child: SolarisRadioComponent,\n checked: boolean,\n ): void {\n if (this.isEffectivelyDisabled() || this.isEffectivelyReadonly()) {\n return;\n }\n\n if (!checked) {\n return;\n }\n\n const childValue = child.value();\n const cmp = this.compareWith();\n\n const currentValue = this._value();\n if (currentValue !== undefined && cmp(currentValue, childValue)) {\n return;\n }\n\n this.updateValue(childValue);\n }\n\n private updateValue(newValue: unknown): void {\n this._value.set(newValue);\n this.syncRadiosToValue();\n this.onChange(newValue);\n this.valueChange.emit(newValue);\n this.change.emit(newValue);\n }\n\n private syncRadiosToValue(): void {\n if (!this.contentInitialized || !this.radios) return;\n const currentValue = this._value();\n const cmp = this.compareWith();\n\n this.radios.forEach((radio) => {\n const childValue = radio.value();\n const isChecked =\n currentValue !== undefined && cmp(currentValue, childValue);\n radio.writeValue(isChecked);\n });\n }\n\n private propagateDisabledToRadios(): void {\n if (!this.contentInitialized || !this.radios) return;\n const isDisabled = this.isEffectivelyDisabled();\n this.radios.forEach((radio) => {\n radio.setDisabledState(isDisabled);\n });\n }\n\n private propagateReadonlyToRadios(): void {\n if (!this.contentInitialized || !this.radios) return;\n const isReadonly = this.isEffectivelyReadonly();\n this.radios.forEach((radio) => {\n radio.setCvaReadonlyState(isReadonly);\n });\n }\n\n private readonly _propagateEffect = effect(() => {\n if (!this.contentInitialized) return;\n this.isEffectivelyDisabled();\n this.isEffectivelyReadonly();\n this.propagateDisabledToRadios();\n this.propagateReadonlyToRadios();\n });\n\n constructor() {\n super();\n }\n}\n","@if (labelText(); as text) {\n <span class=\"solaris-radio-group__label\" [id]=\"labelId()\">\n {{ text }}\n </span>\n}\n<div class=\"solaris-radio-group__options\" role=\"presentation\">\n <ng-content />\n</div>\n@if (hintText(); as text) {\n <p class=\"solaris-radio-group__hint\" [id]=\"hintId()\">\n {{ text }}\n </p>\n}\n@if (showError(); as text) {\n <p class=\"solaris-radio-group__error\" [id]=\"errorId()\" role=\"alert\">\n {{ text }}\n </p>\n}\n"]}
@@ -1,3 +0,0 @@
1
- import { InjectionToken } from '@angular/core';
2
- export const SOLARIS_RADIO_GROUP_NAME = new InjectionToken('SOLARIS_RADIO_GROUP_NAME');
3
- //# sourceMappingURL=radio-group.token.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-group.token.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/forms/radio-group/model/radio-group.token.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE/C,MAAM,CAAC,MAAM,wBAAwB,GAAG,IAAI,cAAc,CACxD,0BAA0B,CAC3B,CAAC","sourcesContent":["import { InjectionToken } from '@angular/core';\n\nexport const SOLARIS_RADIO_GROUP_NAME = new InjectionToken<string>(\n 'SOLARIS_RADIO_GROUP_NAME',\n);\n"]}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=radio-group.types.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"radio-group.types.js","sourceRoot":"","sources":["../../../../../../../../../packages/angular/src/lib/components/forms/radio-group/model/radio-group.types.ts"],"names":[],"mappings":"","sourcesContent":["export type SolarisRadioGroupOrientation = 'vertical' | 'horizontal';\nexport type SolarisRadioGroupLayout = 'list' | 'grid';\nexport type SolarisRadioGroupColumns = 1 | 2 | 3 | 4 | 'auto';\nexport type SolarisRadioGroupDensity = 'compact' | 'comfortable';\nexport type SolarisRadioGroupSize = 'sm' | 'md' | 'lg';\n"]}