@telesign/boreal-web-components 0.1.0-alpha.3 → 0.1.0-alpha.4

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 (446) hide show
  1. package/components-build/bds-avatar.d.ts +11 -0
  2. package/components-build/bds-avatar.js +1 -0
  3. package/components-build/bds-badge.d.ts +11 -0
  4. package/components-build/bds-badge.js +1 -0
  5. package/components-build/bds-banner.js +1 -1
  6. package/components-build/bds-button.js +1 -1
  7. package/components-build/bds-checkbox.js +1 -1
  8. package/components-build/bds-dialog.js +1 -1
  9. package/components-build/bds-divider.d.ts +11 -0
  10. package/components-build/bds-divider.js +1 -0
  11. package/components-build/bds-flag.js +1 -1
  12. package/components-build/bds-grid-item.d.ts +11 -0
  13. package/components-build/bds-grid-item.js +1 -0
  14. package/components-build/bds-grid.d.ts +11 -0
  15. package/components-build/bds-grid.js +1 -0
  16. package/components-build/bds-list-menu-item.d.ts +11 -0
  17. package/components-build/bds-list-menu-item.js +1 -0
  18. package/components-build/bds-list-menu.d.ts +11 -0
  19. package/components-build/bds-list-menu.js +1 -0
  20. package/components-build/bds-popover.js +1 -1
  21. package/components-build/bds-spinner.js +1 -1
  22. package/components-build/bds-status.d.ts +11 -0
  23. package/components-build/bds-status.js +1 -0
  24. package/components-build/bds-tag.d.ts +11 -0
  25. package/components-build/bds-tag.js +1 -0
  26. package/components-build/bds-text-field.js +1 -1
  27. package/components-build/bds-toggle.d.ts +11 -0
  28. package/components-build/bds-toggle.js +1 -0
  29. package/components-build/bds-tooltip.js +1 -1
  30. package/components-build/bds-typography.js +1 -1
  31. package/components-build/index.js +1 -1
  32. package/components-build/p-B8n1ru5i.js +1 -0
  33. package/components-build/p-Bfazyxqi.js +1 -0
  34. package/components-build/p-CGdxFth9.js +1 -0
  35. package/components-build/p-CrAt6pGl.js +1 -0
  36. package/components-build/p-DCwT43Kz.js +1 -0
  37. package/components-build/p-DIY3CDNL.js +1 -0
  38. package/components-build/p-DhSchGPI.js +1 -0
  39. package/components-build/p-kGnB15Lz.js +1 -0
  40. package/custom-elements.json +2588 -540
  41. package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
  42. package/dist/boreal-web-components/boreal-web-components.js +1 -1
  43. package/dist/boreal-web-components/css/boreal.css +1066 -1074
  44. package/dist/boreal-web-components/css/global.css +403 -407
  45. package/dist/boreal-web-components/css/theme-connect.css +163 -164
  46. package/dist/boreal-web-components/css/theme-engage.css +163 -164
  47. package/dist/boreal-web-components/css/theme-protect.css +163 -164
  48. package/dist/boreal-web-components/css/theme-proximus.css +164 -165
  49. package/dist/boreal-web-components/p-0028481c.entry.js +1 -0
  50. package/dist/boreal-web-components/p-127a4134.entry.js +1 -0
  51. package/dist/boreal-web-components/p-1466de58.system.entry.js +1 -0
  52. package/dist/boreal-web-components/p-1d1bb9d2.entry.js +1 -0
  53. package/dist/boreal-web-components/p-2158a7cd.entry.js +1 -0
  54. package/dist/boreal-web-components/{p-8c57e06a.entry.js → p-251b3002.entry.js} +1 -1
  55. package/dist/boreal-web-components/p-251d35df.system.entry.js +1 -0
  56. package/dist/boreal-web-components/{p-fc2cb919.entry.js → p-2b8bd1dd.entry.js} +1 -1
  57. package/dist/boreal-web-components/p-32c23246.system.entry.js +1 -0
  58. package/dist/boreal-web-components/p-3fbcc233.entry.js +1 -0
  59. package/dist/boreal-web-components/p-401f1aee.system.entry.js +1 -0
  60. package/dist/boreal-web-components/p-41b48701.system.entry.js +1 -0
  61. package/dist/boreal-web-components/p-41cac1b8.system.entry.js +1 -0
  62. package/dist/boreal-web-components/p-44ceff4e.system.entry.js +1 -0
  63. package/dist/boreal-web-components/{p-efe57901.system.entry.js → p-52600375.system.entry.js} +1 -1
  64. package/dist/boreal-web-components/p-627b19a5.system.entry.js +1 -0
  65. package/dist/boreal-web-components/p-649737e5.entry.js +1 -0
  66. package/dist/boreal-web-components/p-64cb5825.entry.js +1 -0
  67. package/dist/boreal-web-components/p-66360e63.entry.js +1 -0
  68. package/dist/boreal-web-components/p-695d0830.entry.js +1 -0
  69. package/dist/boreal-web-components/p-6a99f4c6.system.entry.js +1 -0
  70. package/dist/boreal-web-components/p-731b88cc.entry.js +1 -0
  71. package/dist/boreal-web-components/{p-22378341.system.entry.js → p-74c13bed.system.entry.js} +1 -1
  72. package/dist/boreal-web-components/p-7a4efddd.system.entry.js +1 -0
  73. package/dist/boreal-web-components/p-7db870b7.entry.js +1 -0
  74. package/dist/boreal-web-components/p-7f7ac40f.entry.js +1 -0
  75. package/dist/boreal-web-components/p-80822731.system.entry.js +1 -0
  76. package/dist/boreal-web-components/p-82d49661.entry.js +1 -0
  77. package/dist/boreal-web-components/p-83ca193e.entry.js +1 -0
  78. package/dist/boreal-web-components/p-871c9a9f.system.entry.js +1 -0
  79. package/dist/boreal-web-components/p-BQ_zoZa2.js +1 -0
  80. package/dist/boreal-web-components/p-Bfazyxqi.js +1 -0
  81. package/dist/boreal-web-components/{p-D4EFsvs1.js → p-BqJlOB6b.js} +2 -2
  82. package/dist/boreal-web-components/p-BsZkk4oK.system.js +1 -0
  83. package/dist/boreal-web-components/p-CXz1RLGi.system.js +1 -0
  84. package/dist/boreal-web-components/p-CtknSula.system.js +1 -0
  85. package/dist/boreal-web-components/p-CvK2d92c.js +1 -0
  86. package/dist/boreal-web-components/p-CzYQb3pP.js +1 -0
  87. package/dist/boreal-web-components/p-DCKg5Cg_.system.js +2 -0
  88. package/dist/boreal-web-components/p-DZcx75cy.system.js +1 -0
  89. package/dist/boreal-web-components/p-DhSchGPI.js +1 -0
  90. package/dist/boreal-web-components/{p-BkDQsB4R.system.js → p-Dme-NuTD.system.js} +1 -1
  91. package/dist/boreal-web-components/p-RhSdMyWk.system.js +1 -0
  92. package/dist/boreal-web-components/{p-5fa53a80.system.entry.js → p-ab5ffa15.system.entry.js} +1 -1
  93. package/dist/boreal-web-components/p-b12d4788.system.entry.js +1 -0
  94. package/dist/boreal-web-components/p-ba2b625a.system.entry.js +1 -0
  95. package/dist/boreal-web-components/p-bf2ef10b.entry.js +1 -0
  96. package/dist/boreal-web-components/{p-6de2b44c.system.entry.js → p-c7aee9f4.system.entry.js} +1 -1
  97. package/dist/boreal-web-components/p-e0bf8a6e.entry.js +1 -0
  98. package/dist/boreal-web-components/p-edca16b6.system.entry.js +1 -0
  99. package/dist/boreal-web-components/p-fc24d963.entry.js +1 -0
  100. package/dist/boreal-web-components/p-kGnB15Lz.js +1 -0
  101. package/dist/boreal-web-components/p-vzZJGcYF.system.js +1 -0
  102. package/dist/boreal-web-components/scss/maps/_primitives.scss +404 -408
  103. package/dist/boreal-web-components/scss/maps/_theme-connect.scss +164 -165
  104. package/dist/boreal-web-components/scss/maps/_theme-engage.scss +164 -165
  105. package/dist/boreal-web-components/scss/maps/_theme-protect.scss +164 -165
  106. package/dist/boreal-web-components/scss/maps/_theme-proximus.scss +165 -166
  107. package/dist/boreal-web-components/scss/variables/_primitives.scss +404 -408
  108. package/dist/boreal-web-components/scss/variables/_theme-connect.scss +164 -165
  109. package/dist/boreal-web-components/scss/variables/_theme-engage.scss +164 -165
  110. package/dist/boreal-web-components/scss/variables/_theme-protect.scss +164 -165
  111. package/dist/boreal-web-components/scss/variables/_theme-proximus.scss +165 -166
  112. package/dist/cjs/BaseAttributes-DBBhKt7O.js +14 -0
  113. package/dist/cjs/Keys-DbIXSJF2.js +22 -0
  114. package/dist/cjs/bds-avatar.cjs.entry.js +89 -0
  115. package/dist/cjs/bds-badge.cjs.entry.js +50 -0
  116. package/dist/cjs/bds-banner.cjs.entry.js +12 -5
  117. package/dist/cjs/bds-button.cjs.entry.js +5 -5
  118. package/dist/cjs/bds-checkbox.cjs.entry.js +6 -6
  119. package/dist/cjs/bds-dialog.cjs.entry.js +7 -6
  120. package/dist/cjs/bds-divider.cjs.entry.js +46 -0
  121. package/dist/cjs/bds-flag.cjs.entry.js +3 -3
  122. package/dist/cjs/bds-grid-item.cjs.entry.js +93 -0
  123. package/dist/cjs/bds-grid.cjs.entry.js +37 -0
  124. package/dist/cjs/bds-list-menu-item.cjs.entry.js +468 -0
  125. package/dist/cjs/bds-list-menu.cjs.entry.js +130 -0
  126. package/dist/cjs/bds-popover.cjs.entry.js +17 -8
  127. package/dist/cjs/bds-spinner.cjs.entry.js +4 -4
  128. package/dist/cjs/bds-status.cjs.entry.js +59 -0
  129. package/dist/cjs/bds-tag.cjs.entry.js +140 -0
  130. package/dist/cjs/bds-text-field.cjs.entry.js +12 -22
  131. package/dist/cjs/bds-toggle.cjs.entry.js +186 -0
  132. package/dist/cjs/bds-tooltip_2.cjs.entry.js +320 -0
  133. package/dist/cjs/boreal-web-components.cjs.js +2 -2
  134. package/dist/cjs/{anchored.mixin-CnIwkaUi.js → getOffset-m4hBgyVP.js} +42 -26
  135. package/dist/cjs/{index-BcSjvXJk.js → index-CwYIVC9N.js} +64 -0
  136. package/dist/cjs/loader.cjs.js +2 -2
  137. package/dist/cjs/{states-iIYiazaM.js → states-BweP5Vpu.js} +8 -0
  138. package/dist/cjs/validateProps-CJe9X5x8.js +42 -0
  139. package/dist/collection/collection-manifest.json +10 -0
  140. package/dist/collection/components/actions/bds-button/bds-button.js +2 -2
  141. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.css +25 -0
  142. package/dist/collection/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.js +301 -0
  143. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.css +71 -0
  144. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.js +437 -0
  145. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.js +1 -0
  146. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/enum.js +4 -0
  147. package/dist/collection/components/actions/bds-list-menu/bds-list-menu-item/types/types.js +1 -0
  148. package/dist/collection/components/actions/bds-toggle/bds-toggle.css +120 -0
  149. package/dist/collection/components/actions/bds-toggle/bds-toggle.js +544 -0
  150. package/dist/collection/components/actions/bds-toggle/types/IEventChange.js +1 -0
  151. package/dist/collection/components/actions/bds-toggle/types/IToggle.js +1 -0
  152. package/dist/collection/components/actions/bds-toggle/types/enum.js +4 -0
  153. package/dist/collection/components/actions/bds-toggle/types/index.js +4 -0
  154. package/dist/collection/components/actions/bds-toggle/types/types.js +1 -0
  155. package/dist/collection/components/feedback/bds-badge/bds-badge.css +76 -0
  156. package/dist/collection/components/feedback/bds-badge/bds-badge.js +120 -0
  157. package/dist/collection/components/feedback/bds-badge/types/IBadge.js +1 -0
  158. package/dist/collection/components/feedback/bds-badge/types/enum.js +5 -0
  159. package/dist/collection/components/feedback/bds-banner/bds-banner.css +1 -2
  160. package/dist/collection/components/feedback/bds-banner/bds-banner.js +30 -6
  161. package/dist/collection/components/feedback/bds-spinner/bds-spinner.css +7 -8
  162. package/dist/collection/components/feedback/bds-spinner/bds-spinner.js +1 -1
  163. package/dist/collection/components/feedback/bds-status/bds-status.css +101 -0
  164. package/dist/collection/components/feedback/bds-status/bds-status.js +122 -0
  165. package/dist/collection/components/feedback/bds-status/types/IStatus.js +1 -0
  166. package/dist/collection/components/feedback/bds-status/types/enum.js +5 -0
  167. package/dist/collection/components/feedback/bds-status/types/types.js +1 -0
  168. package/dist/collection/components/feedback/bds-tag/bds-tag.css +202 -0
  169. package/dist/collection/components/feedback/bds-tag/bds-tag.js +375 -0
  170. package/dist/collection/components/feedback/bds-tag/types/ITag.js +1 -0
  171. package/dist/collection/components/feedback/bds-tag/types/enum.js +10 -0
  172. package/dist/collection/components/feedback/bds-tag/types/index.js +3 -0
  173. package/dist/collection/components/feedback/bds-tag/types/types.js +1 -0
  174. package/dist/collection/components/forms/bds-checkbox/bds-checkbox.js +1 -1
  175. package/dist/collection/components/forms/bds-flag/bds-flag.js +1 -1
  176. package/dist/collection/components/forms/bds-text-field/bds-text-field.js +1 -1
  177. package/dist/collection/components/helpers/bds-divider.css +36 -0
  178. package/dist/collection/components/helpers/bds-divider.js +88 -0
  179. package/dist/collection/components/helpers/types/IDivider.js +1 -0
  180. package/dist/collection/components/helpers/types/enum.js +4 -0
  181. package/dist/collection/components/helpers/types/types.js +1 -0
  182. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.css +52 -0
  183. package/dist/collection/components/images-icons/bds-avatar/bds-avatar.js +219 -0
  184. package/dist/collection/components/images-icons/bds-avatar/types/IAvatar.js +1 -0
  185. package/dist/collection/components/images-icons/bds-avatar/types/enum.js +5 -0
  186. package/dist/collection/components/images-icons/bds-avatar/types/index.js +3 -0
  187. package/dist/collection/components/images-icons/bds-avatar/types/types.js +1 -0
  188. package/dist/collection/components/layouts/bds-grid/grid/bds-grid.css +57 -0
  189. package/dist/collection/components/layouts/bds-grid/grid/bds-grid.js +100 -0
  190. package/dist/collection/components/layouts/bds-grid/grid/types/IGrid.js +1 -0
  191. package/dist/collection/components/layouts/bds-grid/grid/types/enum.js +4 -0
  192. package/dist/collection/components/layouts/bds-grid/grid/types/index.js +3 -0
  193. package/dist/collection/components/layouts/bds-grid/grid/types/types.js +1 -0
  194. package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.css +70 -0
  195. package/dist/collection/components/layouts/bds-grid/grid-item/bds-grid-item.js +306 -0
  196. package/dist/collection/components/layouts/bds-grid/grid-item/types/IGridItem.js +1 -0
  197. package/dist/collection/components/layouts/bds-grid/grid-item/types/enum.js +10 -0
  198. package/dist/collection/components/layouts/bds-grid/grid-item/types/index.js +3 -0
  199. package/dist/collection/components/layouts/bds-grid/grid-item/types/types.js +1 -0
  200. package/dist/collection/components/overlays/bds-dialog/bds-dialog.js +4 -3
  201. package/dist/collection/components/overlays/bds-popover/bds-popover.css +16 -2
  202. package/dist/collection/components/overlays/bds-popover/bds-popover.js +12 -4
  203. package/dist/collection/components/overlays/bds-popover/constants/Offset.js +1 -0
  204. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.css +2 -13
  205. package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.js +4 -2
  206. package/dist/collection/components/overlays/bds-tooltip/constants/Offset.js +1 -0
  207. package/dist/collection/components/titles-text/bds-typography/bds-typography.css +4 -0
  208. package/dist/collection/components/titles-text/bds-typography/bds-typography.js +20 -19
  209. package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +2 -2
  210. package/dist/collection/css/boreal.css +1066 -1074
  211. package/dist/collection/css/global.css +403 -407
  212. package/dist/collection/css/theme-connect.css +163 -164
  213. package/dist/collection/css/theme-engage.css +163 -164
  214. package/dist/collection/css/theme-protect.css +163 -164
  215. package/dist/collection/css/theme-proximus.css +164 -165
  216. package/dist/collection/mixins/anchored.mixin.js +14 -1
  217. package/dist/collection/mixins/index.js +2 -0
  218. package/dist/collection/mixins/links.mixin.js +153 -0
  219. package/dist/collection/mixins/menu-behavior.mixin.js +113 -0
  220. package/dist/collection/scss/maps/_primitives.scss +404 -408
  221. package/dist/collection/scss/maps/_theme-connect.scss +164 -165
  222. package/dist/collection/scss/maps/_theme-engage.scss +164 -165
  223. package/dist/collection/scss/maps/_theme-protect.scss +164 -165
  224. package/dist/collection/scss/maps/_theme-proximus.scss +165 -166
  225. package/dist/collection/scss/variables/_primitives.scss +404 -408
  226. package/dist/collection/scss/variables/_theme-connect.scss +164 -165
  227. package/dist/collection/scss/variables/_theme-engage.scss +164 -165
  228. package/dist/collection/scss/variables/_theme-protect.scss +164 -165
  229. package/dist/collection/scss/variables/_theme-proximus.scss +165 -166
  230. package/dist/collection/services/floating/positioning.service.js +1 -1
  231. package/dist/collection/types/IFormProps.js +1 -0
  232. package/dist/collection/types/index.js +3 -0
  233. package/dist/collection/types/links.js +1 -0
  234. package/dist/collection/types/menu.js +8 -0
  235. package/dist/collection/types/position.js +6 -2
  236. package/dist/collection/utils/constants/common/Keys.js +12 -0
  237. package/dist/collection/utils/helpers/overlays/getOffset.js +13 -0
  238. package/dist/collection/utils/helpers/validateProps.js +21 -0
  239. package/dist/collection/utils/index.js +2 -1
  240. package/dist/collection/utils/menu/index.js +1 -0
  241. package/dist/collection/utils/menu/menu-item.utils.js +81 -0
  242. package/dist/collection/utils/{__test__ → testing}/index.js +0 -2
  243. package/dist/collection/utils/testing/mocks/console.js +30 -0
  244. package/dist/collection/utils/testing/mocks/index.js +4 -0
  245. package/dist/css/boreal.css +1066 -1074
  246. package/dist/css/global.css +403 -407
  247. package/dist/css/theme-connect.css +163 -164
  248. package/dist/css/theme-engage.css +163 -164
  249. package/dist/css/theme-protect.css +163 -164
  250. package/dist/css/theme-proximus.css +164 -165
  251. package/dist/esm/BaseAttributes-DhSchGPI.js +12 -0
  252. package/dist/esm/Keys-CzYQb3pP.js +20 -0
  253. package/dist/esm/bds-avatar.entry.js +87 -0
  254. package/dist/esm/bds-badge.entry.js +48 -0
  255. package/dist/esm/bds-banner.entry.js +12 -5
  256. package/dist/esm/bds-button.entry.js +5 -5
  257. package/dist/esm/bds-checkbox.entry.js +3 -3
  258. package/dist/esm/bds-dialog.entry.js +7 -6
  259. package/dist/esm/bds-divider.entry.js +44 -0
  260. package/dist/esm/bds-flag.entry.js +3 -3
  261. package/dist/esm/bds-grid-item.entry.js +91 -0
  262. package/dist/esm/bds-grid.entry.js +35 -0
  263. package/dist/esm/bds-list-menu-item.entry.js +466 -0
  264. package/dist/esm/bds-list-menu.entry.js +128 -0
  265. package/dist/esm/bds-popover.entry.js +16 -7
  266. package/dist/esm/bds-spinner.entry.js +4 -4
  267. package/dist/esm/bds-status.entry.js +57 -0
  268. package/dist/esm/bds-tag.entry.js +138 -0
  269. package/dist/esm/bds-text-field.entry.js +5 -15
  270. package/dist/esm/bds-toggle.entry.js +184 -0
  271. package/dist/esm/bds-tooltip_2.entry.js +317 -0
  272. package/dist/esm/boreal-web-components.js +3 -3
  273. package/dist/esm/{anchored.mixin-Y3MkGc2X.js → getOffset-DKPjeBHi.js} +40 -25
  274. package/dist/esm/{index-D4EFsvs1.js → index-BqJlOB6b.js} +64 -0
  275. package/dist/esm/loader.js +3 -3
  276. package/dist/esm/{states-BhTPNsBb.js → states-Bfazyxqi.js} +8 -1
  277. package/dist/esm/validateProps-kGnB15Lz.js +39 -0
  278. package/dist/esm-es5/BaseAttributes-DhSchGPI.js +1 -0
  279. package/dist/esm-es5/Keys-CzYQb3pP.js +1 -0
  280. package/dist/esm-es5/bds-avatar.entry.js +1 -0
  281. package/dist/esm-es5/bds-badge.entry.js +1 -0
  282. package/dist/esm-es5/bds-banner.entry.js +1 -1
  283. package/dist/esm-es5/bds-button.entry.js +1 -1
  284. package/dist/esm-es5/bds-checkbox.entry.js +1 -1
  285. package/dist/esm-es5/bds-dialog.entry.js +1 -1
  286. package/dist/esm-es5/bds-divider.entry.js +1 -0
  287. package/dist/esm-es5/bds-flag.entry.js +1 -1
  288. package/dist/esm-es5/bds-grid-item.entry.js +1 -0
  289. package/dist/esm-es5/bds-grid.entry.js +1 -0
  290. package/dist/esm-es5/bds-list-menu-item.entry.js +1 -0
  291. package/dist/esm-es5/bds-list-menu.entry.js +1 -0
  292. package/dist/esm-es5/bds-popover.entry.js +1 -1
  293. package/dist/esm-es5/bds-spinner.entry.js +1 -1
  294. package/dist/esm-es5/bds-status.entry.js +1 -0
  295. package/dist/esm-es5/bds-tag.entry.js +1 -0
  296. package/dist/esm-es5/bds-text-field.entry.js +1 -1
  297. package/dist/esm-es5/bds-toggle.entry.js +1 -0
  298. package/dist/esm-es5/bds-tooltip_2.entry.js +1 -0
  299. package/dist/esm-es5/boreal-web-components.js +1 -1
  300. package/dist/esm-es5/form-associated.mixin-CvK2d92c.js +1 -0
  301. package/dist/esm-es5/getOffset-DKPjeBHi.js +1 -0
  302. package/dist/esm-es5/index-BqJlOB6b.js +2 -0
  303. package/dist/esm-es5/loader.js +1 -1
  304. package/dist/esm-es5/states-Bfazyxqi.js +1 -0
  305. package/dist/esm-es5/validateProps-kGnB15Lz.js +1 -0
  306. package/dist/scss/maps/_primitives.scss +404 -408
  307. package/dist/scss/maps/_theme-connect.scss +164 -165
  308. package/dist/scss/maps/_theme-engage.scss +164 -165
  309. package/dist/scss/maps/_theme-protect.scss +164 -165
  310. package/dist/scss/maps/_theme-proximus.scss +165 -166
  311. package/dist/scss/variables/_primitives.scss +404 -408
  312. package/dist/scss/variables/_theme-connect.scss +164 -165
  313. package/dist/scss/variables/_theme-engage.scss +164 -165
  314. package/dist/scss/variables/_theme-protect.scss +164 -165
  315. package/dist/scss/variables/_theme-proximus.scss +165 -166
  316. package/dist/types/components/actions/bds-list-menu/bds-list-menu/bds-list-menu.d.ts +70 -0
  317. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/bds-list-menu-item.d.ts +116 -0
  318. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/IListMenuItem.d.ts +12 -0
  319. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/enum.d.ts +5 -0
  320. package/dist/types/components/actions/bds-list-menu/bds-list-menu-item/types/types.d.ts +3 -0
  321. package/dist/types/components/actions/bds-toggle/bds-toggle.d.ts +91 -0
  322. package/dist/types/components/actions/bds-toggle/types/IEventChange.d.ts +5 -0
  323. package/dist/types/components/actions/bds-toggle/types/IToggle.d.ts +12 -0
  324. package/dist/types/components/actions/bds-toggle/types/enum.d.ts +5 -0
  325. package/dist/types/components/actions/bds-toggle/types/index.d.ts +5 -0
  326. package/dist/types/components/actions/bds-toggle/types/types.d.ts +3 -0
  327. package/dist/types/components/feedback/bds-badge/bds-badge.d.ts +31 -0
  328. package/dist/types/components/feedback/bds-badge/types/IBadge.d.ts +6 -0
  329. package/dist/types/components/feedback/bds-badge/types/enum.d.ts +9 -0
  330. package/dist/types/components/feedback/bds-banner/bds-banner.d.ts +8 -4
  331. package/dist/types/components/feedback/bds-status/bds-status.d.ts +26 -0
  332. package/dist/types/components/feedback/bds-status/types/IStatus.d.ts +7 -0
  333. package/dist/types/components/feedback/bds-status/types/enum.d.ts +6 -0
  334. package/dist/types/components/feedback/bds-status/types/types.d.ts +3 -0
  335. package/dist/types/components/feedback/bds-tag/bds-tag.d.ts +71 -0
  336. package/dist/types/components/feedback/bds-tag/types/ITag.d.ts +13 -0
  337. package/dist/types/components/feedback/bds-tag/types/enum.d.ts +11 -0
  338. package/dist/types/components/feedback/bds-tag/types/index.d.ts +4 -0
  339. package/dist/types/components/feedback/bds-tag/types/types.d.ts +8 -0
  340. package/dist/types/components/forms/bds-flag/bds-flag.d.ts +3 -4
  341. package/dist/types/components/helpers/bds-divider.d.ts +26 -0
  342. package/dist/types/components/helpers/types/IDivider.d.ts +5 -0
  343. package/dist/types/components/helpers/types/enum.d.ts +5 -0
  344. package/dist/types/components/helpers/types/types.d.ts +3 -0
  345. package/dist/types/components/images-icons/bds-avatar/bds-avatar.d.ts +51 -0
  346. package/dist/types/components/images-icons/bds-avatar/types/IAvatar.d.ts +9 -0
  347. package/dist/types/components/images-icons/bds-avatar/types/enum.d.ts +6 -0
  348. package/dist/types/components/images-icons/bds-avatar/types/index.d.ts +4 -0
  349. package/dist/types/components/images-icons/bds-avatar/types/types.d.ts +3 -0
  350. package/dist/types/components/layouts/bds-grid/grid/bds-grid.d.ts +19 -0
  351. package/dist/types/components/layouts/bds-grid/grid/types/IGrid.d.ts +6 -0
  352. package/dist/types/components/layouts/bds-grid/grid/types/enum.d.ts +5 -0
  353. package/dist/types/components/layouts/bds-grid/grid/types/index.d.ts +4 -0
  354. package/dist/types/components/layouts/bds-grid/grid/types/types.d.ts +3 -0
  355. package/dist/types/components/layouts/bds-grid/grid-item/bds-grid-item.d.ts +31 -0
  356. package/dist/types/components/layouts/bds-grid/grid-item/types/IGridItem.d.ts +12 -0
  357. package/dist/types/components/layouts/bds-grid/grid-item/types/enum.d.ts +11 -0
  358. package/dist/types/components/layouts/bds-grid/grid-item/types/index.d.ts +4 -0
  359. package/dist/types/components/layouts/bds-grid/grid-item/types/types.d.ts +3 -0
  360. package/dist/types/components/overlays/bds-dialog/bds-dialog.d.ts +2 -2
  361. package/dist/types/components/overlays/bds-popover/bds-popover.d.ts +1 -0
  362. package/dist/types/components/overlays/bds-popover/constants/Offset.d.ts +2 -0
  363. package/dist/types/components/overlays/bds-tooltip/bds-tooltip.d.ts +1 -0
  364. package/dist/types/components/overlays/bds-tooltip/constants/Offset.d.ts +2 -0
  365. package/dist/types/components/titles-text/bds-typography/bds-typography.d.ts +9 -9
  366. package/dist/types/components/titles-text/bds-typography/types/ITypography.d.ts +2 -2
  367. package/dist/types/components/titles-text/bds-typography/utils/bds-typography-utils.d.ts +1 -1
  368. package/dist/types/components.d.ts +1268 -54
  369. package/dist/types/mixins/anchored.mixin.d.ts +5 -0
  370. package/dist/types/mixins/index.d.ts +2 -0
  371. package/dist/types/mixins/links.mixin.d.ts +85 -0
  372. package/dist/types/mixins/menu-behavior.mixin.d.ts +91 -0
  373. package/dist/types/types/IFormProps.d.ts +25 -0
  374. package/dist/types/types/index.d.ts +3 -0
  375. package/dist/types/types/links.d.ts +14 -0
  376. package/dist/types/types/menu.d.ts +16 -0
  377. package/dist/types/types/position.d.ts +6 -2
  378. package/dist/types/utils/constants/common/Keys.d.ts +7 -6
  379. package/dist/types/utils/helpers/overlays/getOffset.d.ts +9 -0
  380. package/dist/types/utils/helpers/validateProps.d.ts +11 -0
  381. package/dist/types/utils/index.d.ts +2 -1
  382. package/dist/types/utils/menu/index.d.ts +2 -0
  383. package/dist/types/utils/menu/menu-item.utils.d.ts +50 -0
  384. package/dist/types/utils/{__test__ → testing}/index.d.ts +0 -2
  385. package/dist/types/utils/{__test__/backdrop-mock.d.ts → testing/mocks/backdrop.d.ts} +1 -1
  386. package/dist/types/utils/testing/mocks/console.d.ts +17 -0
  387. package/dist/types/utils/{__test__/mocks/ElementInternals.d.ts → testing/mocks/elementInternals.d.ts} +1 -1
  388. package/dist/types/utils/testing/mocks/index.d.ts +5 -0
  389. package/dist/types/utils/{__test__/popover-mock.d.ts → testing/mocks/popover.d.ts} +1 -1
  390. package/package.json +1 -1
  391. package/components-build/p-B6R9EVXK.js +0 -1
  392. package/components-build/p-BSpJ_e9f.js +0 -1
  393. package/components-build/p-BYEAJCas.js +0 -1
  394. package/components-build/p-BhTPNsBb.js +0 -1
  395. package/components-build/p-CYojP4vI.js +0 -1
  396. package/components-build/p-D5omSME4.js +0 -1
  397. package/components-build/p-vfAIdwy0.js +0 -1
  398. package/dist/boreal-web-components/p-07a933df.entry.js +0 -1
  399. package/dist/boreal-web-components/p-1bb2b33f.entry.js +0 -1
  400. package/dist/boreal-web-components/p-1fccea3f.system.entry.js +0 -1
  401. package/dist/boreal-web-components/p-20af732b.system.entry.js +0 -1
  402. package/dist/boreal-web-components/p-39c26e58.entry.js +0 -1
  403. package/dist/boreal-web-components/p-6210d025.entry.js +0 -1
  404. package/dist/boreal-web-components/p-91b9e94e.entry.js +0 -1
  405. package/dist/boreal-web-components/p-9e06910d.system.entry.js +0 -1
  406. package/dist/boreal-web-components/p-BIJhHSAt.system.js +0 -1
  407. package/dist/boreal-web-components/p-BKRyWlfr.js +0 -1
  408. package/dist/boreal-web-components/p-BhTPNsBb.js +0 -1
  409. package/dist/boreal-web-components/p-DoDeP7KR.system.js +0 -1
  410. package/dist/boreal-web-components/p-Dtp4O0H2.system.js +0 -1
  411. package/dist/boreal-web-components/p-Dy7QKP9e.js +0 -1
  412. package/dist/boreal-web-components/p-GjKJvOVG.system.js +0 -2
  413. package/dist/boreal-web-components/p-ac64d4a5.system.entry.js +0 -1
  414. package/dist/boreal-web-components/p-b61fe06c.entry.js +0 -1
  415. package/dist/boreal-web-components/p-cdc87437.entry.js +0 -1
  416. package/dist/boreal-web-components/p-d8ec8557.system.entry.js +0 -1
  417. package/dist/boreal-web-components/p-ea889727.entry.js +0 -1
  418. package/dist/boreal-web-components/p-fa327346.system.entry.js +0 -1
  419. package/dist/boreal-web-components/p-sDZFaZMN.system.js +0 -1
  420. package/dist/boreal-web-components/p-vfAIdwy0.js +0 -1
  421. package/dist/cjs/bds-tooltip.cjs.entry.js +0 -152
  422. package/dist/cjs/bds-typography.cjs.entry.js +0 -168
  423. package/dist/cjs/validateProps-BNOBk1Xs.js +0 -20
  424. package/dist/collection/utils/__test__/mocks/index.js +0 -1
  425. package/dist/esm/bds-tooltip.entry.js +0 -150
  426. package/dist/esm/bds-typography.entry.js +0 -166
  427. package/dist/esm/validateProps-vfAIdwy0.js +0 -18
  428. package/dist/esm-es5/anchored.mixin-Y3MkGc2X.js +0 -1
  429. package/dist/esm-es5/bds-tooltip.entry.js +0 -1
  430. package/dist/esm-es5/bds-typography.entry.js +0 -1
  431. package/dist/esm-es5/index-D4EFsvs1.js +0 -2
  432. package/dist/esm-es5/internals-Dy7QKP9e.js +0 -1
  433. package/dist/esm-es5/states-BhTPNsBb.js +0 -1
  434. package/dist/esm-es5/validateProps-vfAIdwy0.js +0 -1
  435. package/dist/types/utils/__test__/mocks/index.d.ts +0 -2
  436. package/dist/cjs/{internals-X77qKxsK.js → form-associated.mixin-DXwvF_vW.js} +30 -30
  437. package/dist/collection/utils/{__test__ → testing}/constants.js +0 -0
  438. package/dist/collection/utils/{__test__ → testing}/fixtures.js +0 -0
  439. package/dist/collection/utils/{__test__ → testing}/helpers.js +0 -0
  440. package/dist/collection/utils/{__test__/backdrop-mock.js → testing/mocks/backdrop.js} +0 -0
  441. package/dist/collection/utils/{__test__/mocks/ElementInternals.js → testing/mocks/elementInternals.js} +0 -0
  442. package/dist/collection/utils/{__test__/popover-mock.js → testing/mocks/popover.js} +0 -0
  443. package/dist/esm/{internals-Dy7QKP9e.js → form-associated.mixin-CvK2d92c.js} +30 -30
  444. /package/dist/types/utils/{__test__ → testing}/constants.d.ts +0 -0
  445. /package/dist/types/utils/{__test__ → testing}/fixtures.d.ts +0 -0
  446. /package/dist/types/utils/{__test__ → testing}/helpers.d.ts +0 -0
@@ -0,0 +1,36 @@
1
+ @charset "UTF-8";
2
+ /**
3
+ * Common SCSS placeholder selectors shared across form and layout components.
4
+ * This file is injected globally via `injectGlobalPaths` in `stencil.config.ts`,
5
+ * so all component stylesheets can `@extend` these placeholders without an explicit import.
6
+ *
7
+ * NOTE: Placeholders must only use raw CSS values — `$boreal-*` token variables
8
+ * are not available at this level util use style-guidelines.
9
+ */
10
+ /**
11
+ * TODO: Refactor to use styleguidelines this work as first draft
12
+ **/
13
+ /**
14
+ * This file contains mixins and functions for common interactions styles such as focus rings and transitions.
15
+ * These are used across multiple components to ensure consistency in interaction feedback.
16
+ */
17
+ bds-divider[orientation=vertical] {
18
+ display: inline-block;
19
+ height: 100%;
20
+ }
21
+ bds-divider[orientation=horizontal] {
22
+ display: block;
23
+ width: 100%;
24
+ }
25
+
26
+ .bds-divider {
27
+ background-color: var(--boreal-ui-default-lighter);
28
+ }
29
+ .bds-divider--horizontal {
30
+ width: 100%;
31
+ height: var(--boreal-spacing-4xs);
32
+ }
33
+ .bds-divider--vertical {
34
+ width: var(--boreal-spacing-4xs);
35
+ height: 100%;
36
+ }
@@ -0,0 +1,88 @@
1
+ import { h } from "@stencil/core";
2
+ import { DIVIDER_ORIENTATIONS } from "./types/enum";
3
+ import { validatePropValue } from "../../utils/index";
4
+ /**
5
+ * Divider component for creating visual separators between content sections.
6
+ *
7
+ * @summary A simple visual separator that can be oriented horizontally or vertically.
8
+ *
9
+ * @csspart divider - A divider element that visually separates content.
10
+ *
11
+ * @attr {DividerOrientation} orientation - The orientation of the divider (horizontal or vertical)
12
+ *
13
+ * @property {DividerOrientation} orientation - The orientation of the divider (horizontal or vertical)
14
+ *
15
+ */
16
+ export class BdsDivider {
17
+ constructor() {
18
+ /**
19
+ * The orientation of the divider.
20
+ * Allowed values: horizontal | vertical
21
+ */
22
+ this.orientation = DIVIDER_ORIENTATIONS.HORIZONTAL;
23
+ }
24
+ checkPropValues() {
25
+ validatePropValue(Object.values(DIVIDER_ORIENTATIONS), DIVIDER_ORIENTATIONS.HORIZONTAL, this.el, 'orientation');
26
+ }
27
+ get orientationClass() {
28
+ return {
29
+ 'bds-divider': true,
30
+ [`bds-divider--${this.orientation}`]: true,
31
+ };
32
+ }
33
+ componentWillLoad() {
34
+ this.checkPropValues();
35
+ }
36
+ render() {
37
+ return h("div", { key: 'd34f930e98129a75ca706f4695e40e577d5a12f6', part: "divider", class: this.orientationClass, role: "separator", "aria-orientation": this.orientation });
38
+ }
39
+ static get is() { return "bds-divider"; }
40
+ static get originalStyleUrls() {
41
+ return {
42
+ "$": ["bds-divider.scss"]
43
+ };
44
+ }
45
+ static get styleUrls() {
46
+ return {
47
+ "$": ["bds-divider.css"]
48
+ };
49
+ }
50
+ static get properties() {
51
+ return {
52
+ "orientation": {
53
+ "type": "string",
54
+ "mutable": false,
55
+ "complexType": {
56
+ "original": "IDivider['orientation']",
57
+ "resolved": "\"horizontal\" | \"vertical\"",
58
+ "references": {
59
+ "IDivider": {
60
+ "location": "import",
61
+ "path": "./types/IDivider",
62
+ "id": "src/components/helpers/types/IDivider.ts::IDivider",
63
+ "referenceLocation": "IDivider"
64
+ }
65
+ }
66
+ },
67
+ "required": false,
68
+ "optional": false,
69
+ "docs": {
70
+ "tags": [],
71
+ "text": "The orientation of the divider.\nAllowed values: horizontal | vertical"
72
+ },
73
+ "getter": false,
74
+ "setter": false,
75
+ "reflect": true,
76
+ "attribute": "orientation",
77
+ "defaultValue": "DIVIDER_ORIENTATIONS.HORIZONTAL"
78
+ }
79
+ };
80
+ }
81
+ static get elementRef() { return "el"; }
82
+ static get watchers() {
83
+ return [{
84
+ "propName": "orientation",
85
+ "methodName": "checkPropValues"
86
+ }];
87
+ }
88
+ }
@@ -0,0 +1,4 @@
1
+ export const DIVIDER_ORIENTATIONS = {
2
+ HORIZONTAL: 'horizontal',
3
+ VERTICAL: 'vertical',
4
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,52 @@
1
+ @charset "UTF-8";
2
+ /**
3
+ * Common SCSS placeholder selectors shared across form and layout components.
4
+ * This file is injected globally via `injectGlobalPaths` in `stencil.config.ts`,
5
+ * so all component stylesheets can `@extend` these placeholders without an explicit import.
6
+ *
7
+ * NOTE: Placeholders must only use raw CSS values — `$boreal-*` token variables
8
+ * are not available at this level util use style-guidelines.
9
+ */
10
+ /**
11
+ * TODO: Refactor to use styleguidelines this work as first draft
12
+ **/
13
+ /**
14
+ * This file contains mixins and functions for common interactions styles such as focus rings and transitions.
15
+ * These are used across multiple components to ensure consistency in interaction feedback.
16
+ */
17
+ .bds-avatar {
18
+ font-family: var(--boreal-typography-font-family-primary);
19
+ }
20
+ .bds-avatar__container {
21
+ display: flex;
22
+ align-items: center;
23
+ gap: var(--boreal-spacing-xs);
24
+ }
25
+ .bds-avatar__circle {
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: center;
29
+ width: var(--boreal-layout-ml);
30
+ height: var(--boreal-layout-ml);
31
+ border-radius: var(--boreal-radius-full);
32
+ background-color: var(--bds-avatar-background);
33
+ }
34
+ .bds-avatar__initials {
35
+ display: inline-flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ font-size: var(--boreal-typography-font-size-xs);
39
+ font-weight: var(--boreal-typography-font-weight-semibold);
40
+ line-height: var(--boreal-typography-line-height-xs);
41
+ color: var(--bds-avatar-initials-color);
42
+ user-select: none;
43
+ }
44
+ .bds-avatar__name {
45
+ font-size: var(--boreal-typography-font-size-sm);
46
+ font-weight: var(--boreal-typography-font-weight-semibold);
47
+ line-height: var(--boreal-typography-line-height-sm);
48
+ color: var(--boreal-text-default);
49
+ white-space: nowrap;
50
+ overflow: hidden;
51
+ text-overflow: ellipsis;
52
+ }
@@ -0,0 +1,219 @@
1
+ import { Host, h } from "@stencil/core";
2
+ import { AVATAR_VARIANT } from "./types";
3
+ import { inheritAriaAttributes, validatePropValue } from "../../../utils/index";
4
+ /**
5
+ * Avatar component used to display user initials or names for visual identification.
6
+ *
7
+ * @summary Displays a circular avatar with user initials and optional name label.
8
+ * Uses Boreal Design System tokens for consistent styling across platforms.
9
+ *
10
+ * @attr {string} username - The full name used to generate initials or display as label.
11
+ * @attr {"icon"|"name"|"full"} variant - Controls which avatar elements are displayed: icon (initials), name, or both.
12
+ * @attr {string} background - Custom background color (hex code), defaults to $boreal-ui-success-base.
13
+ * @attr {string} initialsColor - Custom initials text color (hex code), defaults to $boreal-text-inverse.
14
+ *
15
+ * @property {string} username - The full name used to generate initials or display as label.
16
+ * @property {"icon"|"name"|"full"} variant - Controls which avatar elements are displayed: icon (initials), name, or both.
17
+ * @property {string} background - Custom background color (hex code), defaults to $boreal-ui-success-base.
18
+ * @property {string} initialsColor - Custom initials text color (hex code), defaults to $boreal-text-inverse.
19
+ *
20
+ * @cssprop --bds-avatar-background - Custom background color HEX code.
21
+ * @cssprop --bds-avatar-initials-color - Custom text color HEX code.
22
+ */
23
+ export class BdsAvatar {
24
+ constructor() {
25
+ this.inheritedAttributes = {};
26
+ /** The full name used to generate initials or display as label **/
27
+ this.username = '';
28
+ /**
29
+ * Controls which avatar elements are displayed: icon (initials), name, or both.
30
+ * @default 'full'
31
+ */
32
+ this.variant = AVATAR_VARIANT.FULL;
33
+ /** Custom background color as hex code. If not provided, defaults to Boreal success color **/
34
+ this.background = '';
35
+ /** Custom text color as hex code. If not provided, defaults to white **/
36
+ this.initialsColor = '';
37
+ }
38
+ componentWillLoad() {
39
+ this.checkPropValues();
40
+ this.inheritedAttributes = {
41
+ ...inheritAriaAttributes(this.el),
42
+ };
43
+ }
44
+ componentDidLoad() {
45
+ if (this.normalizedUsername.length <= 0 && this.variant !== AVATAR_VARIANT.ICON)
46
+ console.warn('[BorealDS Avatar] Missing required `username` prop. The avatar relies on it to display initials or name.');
47
+ }
48
+ checkPropValues() {
49
+ validatePropValue(Object.values(AVATAR_VARIANT), AVATAR_VARIANT.FULL, this.el, 'variant');
50
+ }
51
+ get normalizedUsername() {
52
+ return this.username.trim();
53
+ }
54
+ /**
55
+ * Utility function to extract initials from the username.
56
+ * Takes the first letter of the first and last name.
57
+ * Examples: "John Doe" -> "JD", "John" -> "J", "" -> ""
58
+ *
59
+ * @param name - The full name to extract initials from
60
+ * @returns The initials (up to 2 characters)
61
+ */
62
+ extractInitials(name = '') {
63
+ if (name.length === 0)
64
+ return '';
65
+ const nameParts = name
66
+ .trim()
67
+ .split(/\s+/)
68
+ .filter(part => part.length > 0);
69
+ if (nameParts.length === 0)
70
+ return '';
71
+ if (nameParts.length === 1)
72
+ return nameParts[0].charAt(0).toUpperCase();
73
+ const firstLetter = nameParts[0].charAt(0).toUpperCase();
74
+ const lastLetter = nameParts[nameParts.length - 1].charAt(0).toUpperCase();
75
+ return `${firstLetter}${lastLetter}`;
76
+ }
77
+ getAvatarStyles() {
78
+ const customBackground = this.background || 'var(--boreal-ui-success-base)';
79
+ const customTextColor = this.initialsColor || 'var(--boreal-text-inverse)';
80
+ return {
81
+ ['--bds-avatar-background']: `${customBackground}`,
82
+ ['--bds-avatar-initials-color']: `${customTextColor}`,
83
+ };
84
+ }
85
+ render() {
86
+ const initials = this.extractInitials(this.normalizedUsername);
87
+ const avatarAriaLabel = this.normalizedUsername.length > 0 ? `User name: ${this.normalizedUsername}` : 'User name';
88
+ const showIcon = this.variant === AVATAR_VARIANT.FULL || this.variant === AVATAR_VARIANT.ICON;
89
+ const showName = this.normalizedUsername && (this.variant === AVATAR_VARIANT.FULL || this.variant === AVATAR_VARIANT.NAME);
90
+ return (h(Host, { key: '8c3cc5b02c02997a8aad688ae043522d07bc3239', class: "bds-avatar", role: "img", "aria-label": avatarAriaLabel, ...this.inheritedAttributes }, h("div", { key: '357ec2fbb0f4ad6c9b3fa54da78c55eab0a4f7f7', class: "bds-avatar__container" }, showIcon && (h("div", { key: '2dbc77e00bedf5e67f08337dad76eeca9fcffb28', class: "bds-avatar__circle", style: this.getAvatarStyles() }, h("span", { key: '6bbd987437cf03bc573363d86092349da5d12521', class: "bds-avatar__initials" }, initials))), showName && h("span", { key: '05e0480670c5ba15b8518325910a661aefb32da8', class: "bds-avatar__name" }, this.normalizedUsername))));
91
+ }
92
+ static get is() { return "bds-avatar"; }
93
+ static get originalStyleUrls() {
94
+ return {
95
+ "$": ["bds-avatar.scss"]
96
+ };
97
+ }
98
+ static get styleUrls() {
99
+ return {
100
+ "$": ["bds-avatar.css"]
101
+ };
102
+ }
103
+ static get properties() {
104
+ return {
105
+ "username": {
106
+ "type": "string",
107
+ "mutable": false,
108
+ "complexType": {
109
+ "original": "IAvatar['username']",
110
+ "resolved": "string",
111
+ "references": {
112
+ "IAvatar": {
113
+ "location": "import",
114
+ "path": "./types",
115
+ "id": "src/components/images-icons/bds-avatar/types/index.ts::IAvatar",
116
+ "referenceLocation": "IAvatar"
117
+ }
118
+ }
119
+ },
120
+ "required": false,
121
+ "optional": false,
122
+ "docs": {
123
+ "tags": [],
124
+ "text": "The full name used to generate initials or display as label *"
125
+ },
126
+ "getter": false,
127
+ "setter": false,
128
+ "reflect": false,
129
+ "attribute": "username",
130
+ "defaultValue": "''"
131
+ },
132
+ "variant": {
133
+ "type": "string",
134
+ "mutable": false,
135
+ "complexType": {
136
+ "original": "IAvatar['variant']",
137
+ "resolved": "\"full\" | \"icon\" | \"name\"",
138
+ "references": {
139
+ "IAvatar": {
140
+ "location": "import",
141
+ "path": "./types",
142
+ "id": "src/components/images-icons/bds-avatar/types/index.ts::IAvatar",
143
+ "referenceLocation": "IAvatar"
144
+ }
145
+ }
146
+ },
147
+ "required": false,
148
+ "optional": false,
149
+ "docs": {
150
+ "tags": [{
151
+ "name": "default",
152
+ "text": "'full'"
153
+ }],
154
+ "text": "Controls which avatar elements are displayed: icon (initials), name, or both."
155
+ },
156
+ "getter": false,
157
+ "setter": false,
158
+ "reflect": false,
159
+ "attribute": "variant",
160
+ "defaultValue": "AVATAR_VARIANT.FULL"
161
+ },
162
+ "background": {
163
+ "type": "string",
164
+ "mutable": false,
165
+ "complexType": {
166
+ "original": "IAvatar['background']",
167
+ "resolved": "string",
168
+ "references": {
169
+ "IAvatar": {
170
+ "location": "import",
171
+ "path": "./types",
172
+ "id": "src/components/images-icons/bds-avatar/types/index.ts::IAvatar",
173
+ "referenceLocation": "IAvatar"
174
+ }
175
+ }
176
+ },
177
+ "required": false,
178
+ "optional": false,
179
+ "docs": {
180
+ "tags": [],
181
+ "text": "Custom background color as hex code. If not provided, defaults to Boreal success color *"
182
+ },
183
+ "getter": false,
184
+ "setter": false,
185
+ "reflect": false,
186
+ "attribute": "background",
187
+ "defaultValue": "''"
188
+ },
189
+ "initialsColor": {
190
+ "type": "string",
191
+ "mutable": false,
192
+ "complexType": {
193
+ "original": "IAvatar['initialsColor']",
194
+ "resolved": "string",
195
+ "references": {
196
+ "IAvatar": {
197
+ "location": "import",
198
+ "path": "./types",
199
+ "id": "src/components/images-icons/bds-avatar/types/index.ts::IAvatar",
200
+ "referenceLocation": "IAvatar"
201
+ }
202
+ }
203
+ },
204
+ "required": false,
205
+ "optional": false,
206
+ "docs": {
207
+ "tags": [],
208
+ "text": "Custom text color as hex code. If not provided, defaults to white *"
209
+ },
210
+ "getter": false,
211
+ "setter": false,
212
+ "reflect": false,
213
+ "attribute": "initials-color",
214
+ "defaultValue": "''"
215
+ }
216
+ };
217
+ }
218
+ static get elementRef() { return "el"; }
219
+ }
@@ -0,0 +1,5 @@
1
+ export const AVATAR_VARIANT = {
2
+ ICON: 'icon',
3
+ NAME: 'name',
4
+ FULL: 'full',
5
+ };
@@ -0,0 +1,3 @@
1
+ export * from './enum';
2
+ export * from './types';
3
+ export * from './IAvatar';
@@ -0,0 +1,57 @@
1
+ @charset "UTF-8";
2
+ /**
3
+ * Common SCSS placeholder selectors shared across form and layout components.
4
+ * This file is injected globally via `injectGlobalPaths` in `stencil.config.ts`,
5
+ * so all component stylesheets can `@extend` these placeholders without an explicit import.
6
+ *
7
+ * NOTE: Placeholders must only use raw CSS values — `$boreal-*` token variables
8
+ * are not available at this level util use style-guidelines.
9
+ */
10
+ /**
11
+ * TODO: Refactor to use styleguidelines this work as first draft
12
+ **/
13
+ /**
14
+ * This file contains mixins and functions for common interactions styles such as focus rings and transitions.
15
+ * These are used across multiple components to ensure consistency in interaction feedback.
16
+ */
17
+ bds-grid {
18
+ /**
19
+ * @prop --bds-grid-nav-offset: Left offset reserved for navigation. Set to `64px` (global nav only) or `294px` (global + container nav).
20
+ */
21
+ --bds-grid-columns: var(--boreal-grid-columns-sm);
22
+ --bds-grid-gutter: var(--boreal-grid-gutter-sm);
23
+ --bds-grid-margin: var(--boreal-grid-margin-sm);
24
+ display: grid;
25
+ grid-template-columns: repeat(var(--bds-grid-columns), 1fr);
26
+ gap: var(--bds-grid-gutter);
27
+ padding-inline: var(--bds-grid-margin);
28
+ margin-inline-start: var(--bds-grid-nav-offset, 0px);
29
+ box-sizing: border-box;
30
+ }
31
+
32
+ @media (min-width: 769px) {
33
+ bds-grid {
34
+ --bds-grid-columns: var(--boreal-grid-columns-md);
35
+ }
36
+ }
37
+ @media (min-width: 960px) {
38
+ bds-grid {
39
+ --bds-grid-columns: var(--boreal-grid-columns-lg);
40
+ --bds-grid-margin: var(--boreal-grid-margin-lg);
41
+ }
42
+ }
43
+ @media (min-width: 1152px) {
44
+ bds-grid {
45
+ --bds-grid-gutter: var(--boreal-grid-gutter-xl);
46
+ --bds-grid-margin: var(--boreal-grid-margin-xl);
47
+ }
48
+ }
49
+ @media (min-width: 1344px) {
50
+ bds-grid {
51
+ --bds-grid-margin: var(--boreal-grid-margin-2xl);
52
+ }
53
+ }
54
+ bds-grid.bds-grid--fixed {
55
+ max-width: calc(var(--boreal-grid-fixed-max-columns-width) + 2 * var(--bds-grid-margin));
56
+ margin-inline: auto;
57
+ }
@@ -0,0 +1,100 @@
1
+ import { h, Host } from "@stencil/core";
2
+ import { validatePropValue } from "../../../../utils/index";
3
+ import { GRID_LAYOUT } from "./types";
4
+ /**
5
+ * 12-column CSS Grid layout container with 5 responsive breakpoints.
6
+ *
7
+ * Minimum browser support: Chrome/Edge (last 2), Firefox (last 2), Safari (last 2).
8
+ *
9
+ * @slot - Direct `bds-grid-item` children.
10
+ */
11
+ export class BdsGrid {
12
+ constructor() {
13
+ /** `'fluid'` fills full width; `'fixed'` caps the column area at 960px and centres the container. */
14
+ this.layout = GRID_LAYOUT.FLUID;
15
+ }
16
+ checkPropValues() {
17
+ validatePropValue(Object.values(GRID_LAYOUT), GRID_LAYOUT.FLUID, this.el, 'layout');
18
+ }
19
+ componentWillLoad() {
20
+ this.checkPropValues();
21
+ }
22
+ render() {
23
+ return (h(Host, { key: 'e5610c3140f86d79b275de56c8a815badccdf03d', class: { 'bds-grid--fixed': this.layout === GRID_LAYOUT.FIXED }, style: { ...(this.rowGap && { 'row-gap': this.rowGap }) } }, h("slot", { key: 'ac13145d26bd923b6f5abe415b062728757d0fd5' })));
24
+ }
25
+ static get is() { return "bds-grid"; }
26
+ static get originalStyleUrls() {
27
+ return {
28
+ "$": ["bds-grid.scss"]
29
+ };
30
+ }
31
+ static get styleUrls() {
32
+ return {
33
+ "$": ["bds-grid.css"]
34
+ };
35
+ }
36
+ static get properties() {
37
+ return {
38
+ "layout": {
39
+ "type": "string",
40
+ "mutable": false,
41
+ "complexType": {
42
+ "original": "IGrid['layout']",
43
+ "resolved": "\"fixed\" | \"fluid\"",
44
+ "references": {
45
+ "IGrid": {
46
+ "location": "import",
47
+ "path": "./types",
48
+ "id": "src/components/layouts/bds-grid/grid/types/index.ts::IGrid",
49
+ "referenceLocation": "IGrid"
50
+ }
51
+ }
52
+ },
53
+ "required": false,
54
+ "optional": false,
55
+ "docs": {
56
+ "tags": [],
57
+ "text": "`'fluid'` fills full width; `'fixed'` caps the column area at 960px and centres the container."
58
+ },
59
+ "getter": false,
60
+ "setter": false,
61
+ "reflect": false,
62
+ "attribute": "layout",
63
+ "defaultValue": "GRID_LAYOUT.FLUID"
64
+ },
65
+ "rowGap": {
66
+ "type": "string",
67
+ "mutable": false,
68
+ "complexType": {
69
+ "original": "IGrid['rowGap']",
70
+ "resolved": "string",
71
+ "references": {
72
+ "IGrid": {
73
+ "location": "import",
74
+ "path": "./types",
75
+ "id": "src/components/layouts/bds-grid/grid/types/index.ts::IGrid",
76
+ "referenceLocation": "IGrid"
77
+ }
78
+ }
79
+ },
80
+ "required": false,
81
+ "optional": false,
82
+ "docs": {
83
+ "tags": [],
84
+ "text": "Overrides the row gap independently of the column gutter."
85
+ },
86
+ "getter": false,
87
+ "setter": false,
88
+ "reflect": false,
89
+ "attribute": "row-gap"
90
+ }
91
+ };
92
+ }
93
+ static get elementRef() { return "el"; }
94
+ static get watchers() {
95
+ return [{
96
+ "propName": "layout",
97
+ "methodName": "checkPropValues"
98
+ }];
99
+ }
100
+ }
@@ -0,0 +1,4 @@
1
+ export const GRID_LAYOUT = {
2
+ FIXED: 'fixed',
3
+ FLUID: 'fluid',
4
+ };
@@ -0,0 +1,3 @@
1
+ export * from './enum';
2
+ export * from './IGrid';
3
+ export * from './types';
@@ -0,0 +1,70 @@
1
+ @charset "UTF-8";
2
+ /**
3
+ * Common SCSS placeholder selectors shared across form and layout components.
4
+ * This file is injected globally via `injectGlobalPaths` in `stencil.config.ts`,
5
+ * so all component stylesheets can `@extend` these placeholders without an explicit import.
6
+ *
7
+ * NOTE: Placeholders must only use raw CSS values — `$boreal-*` token variables
8
+ * are not available at this level util use style-guidelines.
9
+ */
10
+ /**
11
+ * TODO: Refactor to use styleguidelines this work as first draft
12
+ **/
13
+ /**
14
+ * This file contains mixins and functions for common interactions styles such as focus rings and transitions.
15
+ * These are used across multiple components to ensure consistency in interaction feedback.
16
+ */
17
+ bds-grid-item {
18
+ --_col-span: var(--_col-base, 12);
19
+ grid-column-end: span var(--_col-span);
20
+ grid-row-end: span var(--_row-base, 1);
21
+ }
22
+
23
+ bds-grid-item[col-span=full] {
24
+ grid-column: 1/-1;
25
+ }
26
+
27
+ bds-grid-item[row-span=full] {
28
+ grid-row: 1/-1;
29
+ }
30
+
31
+ @media (min-width: 320px) {
32
+ bds-grid-item {
33
+ --_col-span: var(--_col-sm, var(--_col-base, 12));
34
+ }
35
+ bds-grid-item[col-span-sm=full] {
36
+ grid-column: 1/-1;
37
+ }
38
+ }
39
+ @media (min-width: 769px) {
40
+ bds-grid-item {
41
+ --_col-span: var(--_col-md, var(--_col-sm, var(--_col-base, 12)));
42
+ }
43
+ bds-grid-item[col-span-md=full] {
44
+ grid-column: 1/-1;
45
+ }
46
+ }
47
+ @media (min-width: 960px) {
48
+ bds-grid-item {
49
+ --_col-span: var(--_col-lg, var(--_col-md, var(--_col-sm, var(--_col-base, 12))));
50
+ }
51
+ bds-grid-item[col-span-lg=full] {
52
+ grid-column: 1/-1;
53
+ }
54
+ }
55
+ @media (min-width: 1152px) {
56
+ bds-grid-item {
57
+ --_col-span: var(--_col-xl, var(--_col-lg, var(--_col-md, var(--_col-sm, var(--_col-base, 12)))));
58
+ }
59
+ bds-grid-item[col-span-xl=full] {
60
+ grid-column: 1/-1;
61
+ }
62
+ }
63
+ @media (min-width: 1344px) {
64
+ bds-grid-item {
65
+ --_col-span: var(--_col-2xl, var(--_col-xl, var(--_col-lg, var(--_col-md, var(--_col-sm, var(--_col-base, 12))))));
66
+ }
67
+ bds-grid-item[col-span-2xl=full] {
68
+ grid-column: 1/-1;
69
+ }
70
+ }