@westpac/ui 0.7.0 → 0.7.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 (365) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/assets/icons/filled/credit-cards-filled.svg +4 -0
  3. package/assets/icons/filled/exit-filled.svg +3 -3
  4. package/assets/icons/filled/office-filled.svg +1 -4
  5. package/assets/icons/filled/pay-to-filled.svg +5 -0
  6. package/assets/icons/filled/tiles-filled.svg +6 -0
  7. package/assets/icons/outlined/credit-cards-outlined.svg +4 -0
  8. package/assets/icons/outlined/exit-outlined.svg +3 -3
  9. package/assets/icons/outlined/office-outlined.svg +4 -1
  10. package/assets/icons/outlined/pay-to-outlined.svg +5 -0
  11. package/assets/icons/outlined/tiles-outlined.svg +3 -0
  12. package/dist/component-type.json +1 -0
  13. package/dist/components/accordion/accordion.component.d.ts +8 -23
  14. package/dist/components/accordion/accordion.component.js +3 -4
  15. package/dist/components/accordion/accordion.stories.d.ts +9 -6
  16. package/dist/components/accordion/accordion.stories.js +37 -29
  17. package/dist/components/accordion/accordion.styles.d.ts +1 -9
  18. package/dist/components/accordion/accordion.styles.js +1 -5
  19. package/dist/components/accordion/accordion.types.d.ts +11 -5
  20. package/dist/components/accordion/components/accordion-item/accordion-item.component.d.ts +4 -1
  21. package/dist/components/accordion/components/accordion-item/accordion-item.component.js +18 -17
  22. package/dist/components/accordion/components/accordion-item/accordion-item.styles.d.ts +4 -24
  23. package/dist/components/accordion/components/accordion-item/accordion-item.styles.js +8 -42
  24. package/dist/components/accordion/components/accordion-item/accordion-item.types.d.ts +7 -1
  25. package/dist/components/alert/alert.component.js +1 -0
  26. package/dist/components/alert/alert.styles.js +3 -3
  27. package/dist/components/alert/alert.types.d.ts +1 -3
  28. package/dist/components/autocomplete/autocomplete.component.js +1 -0
  29. package/dist/components/autocomplete/autocomplete.types.d.ts +15 -1
  30. package/dist/components/autocomplete/components/list-box/components/list-box-option/list-box-option.component.d.ts +3 -0
  31. package/dist/components/autocomplete/components/list-box/components/list-box-section/list-box-section.component.d.ts +3 -0
  32. package/dist/components/autocomplete/components/list-box/list-box.component.d.ts +3 -0
  33. package/dist/components/autocomplete/components/popover/popover.component.d.ts +3 -0
  34. package/dist/components/badge/badge.component.d.ts +7 -49
  35. package/dist/components/badge/badge.component.js +1 -0
  36. package/dist/components/badge/badge.types.d.ts +11 -1
  37. package/dist/components/breadcrumb/breadcrumb.component.d.ts +1 -21
  38. package/dist/components/breadcrumb/breadcrumb.component.js +1 -0
  39. package/dist/components/breadcrumb/breadcrumb.types.d.ts +8 -2
  40. package/dist/components/breadcrumb/components/breadcrumb-item/breadcrumb-item.component.d.ts +1 -21
  41. package/dist/components/breadcrumb/components/breadcrumb-item/breadcrumb-item.component.js +1 -0
  42. package/dist/components/breadcrumb/components/breadcrumb-item/breadcrumb-item.types.d.ts +1 -3
  43. package/dist/components/button/button.component.d.ts +16 -125
  44. package/dist/components/button/button.component.js +1 -0
  45. package/dist/components/button/button.styles.js +5 -5
  46. package/dist/components/button/button.types.d.ts +23 -1
  47. package/dist/components/button-dropdown/button-dropdown.component.js +1 -0
  48. package/dist/components/button-dropdown/button-dropdown.styles.d.ts +2 -0
  49. package/dist/components/button-dropdown/button-dropdown.styles.js +2 -1
  50. package/dist/components/button-dropdown/button-dropdown.types.d.ts +7 -1
  51. package/dist/components/button-dropdown/components/panel/panel.component.d.ts +3 -0
  52. package/dist/components/button-group/button-group.component.js +1 -0
  53. package/dist/components/checkbox-group/checkbox-group.component.js +1 -0
  54. package/dist/components/checkbox-group/components/checkbox/checkbox.component.js +11 -4
  55. package/dist/components/circle/circle.types.d.ts +1 -3
  56. package/dist/components/collapsible/collapsible.component.js +1 -0
  57. package/dist/components/collapsible/collapsible.styles.js +1 -1
  58. package/dist/components/compacta/compacta.component.js +2 -1
  59. package/dist/components/compacta/compacta.styles.js +10 -10
  60. package/dist/components/date-picker/date-picker.component.js +1 -0
  61. package/dist/components/date-picker/date-picker.types.d.ts +7 -1
  62. package/dist/components/error-message/error-message.types.d.ts +1 -3
  63. package/dist/components/field/field.component.js +1 -0
  64. package/dist/components/field/field.types.d.ts +1 -3
  65. package/dist/components/flexi-cell/components/flexi-cell-adornment/flexi-cell-adornment.component.d.ts +4 -1
  66. package/dist/components/flexi-cell/components/flexi-cell-adornment/flexi-cell-adornment.component.js +1 -0
  67. package/dist/components/flexi-cell/components/flexi-cell-adornment/flexi-cell-adornment.types.d.ts +1 -3
  68. package/dist/components/flexi-cell/components/flexi-cell-body/flexi-cell-body.component.d.ts +4 -1
  69. package/dist/components/flexi-cell/components/flexi-cell-body/flexi-cell-body.component.js +1 -0
  70. package/dist/components/flexi-cell/components/flexi-cell-body/flexi-cell-body.types.d.ts +1 -3
  71. package/dist/components/flexi-cell/components/flexi-cell-button/flexi-cell-button.component.d.ts +4 -1
  72. package/dist/components/flexi-cell/components/flexi-cell-button/flexi-cell-button.component.js +1 -0
  73. package/dist/components/flexi-cell/components/flexi-cell-circle/flexi-cell-circle.component.d.ts +4 -1
  74. package/dist/components/flexi-cell/components/flexi-cell-circle/flexi-cell-circle.component.js +1 -0
  75. package/dist/components/flexi-cell/components/flexi-cell-footer/flexi-cell-footer.component.d.ts +4 -1
  76. package/dist/components/flexi-cell/components/flexi-cell-footer/flexi-cell-footer.component.js +1 -0
  77. package/dist/components/flexi-cell/components/flexi-cell-hint/flexi-cell-hint.component.d.ts +4 -1
  78. package/dist/components/flexi-cell/components/flexi-cell-hint/flexi-cell-hint.component.js +1 -0
  79. package/dist/components/flexi-cell/components/flexi-cell-hint/flexi-cell-hint.types.d.ts +1 -3
  80. package/dist/components/flexi-cell/components/flexi-cell-label/flexi-cell-label.component.d.ts +4 -1
  81. package/dist/components/flexi-cell/components/flexi-cell-label/flexi-cell-label.component.js +1 -0
  82. package/dist/components/flexi-cell/components/flexi-cell-label/flexi-cell-label.types.d.ts +1 -3
  83. package/dist/components/flexi-cell/flexi-cell.component.js +1 -0
  84. package/dist/components/flexi-cell/flexi-cell.types.d.ts +1 -3
  85. package/dist/components/form/components/form-chit-chat/form-chit-chat.types.d.ts +1 -3
  86. package/dist/components/form/components/form-group/form-group.types.d.ts +1 -3
  87. package/dist/components/form/components/form-section/form-section.types.d.ts +7 -1
  88. package/dist/components/form/form.component.js +1 -0
  89. package/dist/components/form/form.types.d.ts +9 -0
  90. package/dist/components/form-hint/form-hint.types.d.ts +1 -3
  91. package/dist/components/form-label/form-label.types.d.ts +8 -2
  92. package/dist/components/grid/components/container/container.types.d.ts +1 -3
  93. package/dist/components/grid/components/item/item.types.d.ts +11 -1
  94. package/dist/components/grid/grid.types.d.ts +1 -3
  95. package/dist/components/icon/components/credit-cards-icon.d.ts +2 -0
  96. package/dist/components/icon/components/credit-cards-icon.js +38 -0
  97. package/dist/components/icon/components/exit-icon.js +2 -2
  98. package/dist/components/icon/components/office-icon.d.ts +1 -1
  99. package/dist/components/icon/components/office-icon.js +19 -5
  100. package/dist/components/icon/components/pay-to-icon.d.ts +2 -0
  101. package/dist/components/icon/components/pay-to-icon.js +34 -0
  102. package/dist/components/icon/components/tiles-icon.d.ts +2 -0
  103. package/dist/components/icon/components/tiles-icon.js +39 -0
  104. package/dist/components/icon/icon.styles.d.ts +1 -1
  105. package/dist/components/icon/icon.styles.js +1 -1
  106. package/dist/components/icon/icon.types.d.ts +11 -1
  107. package/dist/components/icon/index.d.ts +3 -6
  108. package/dist/components/icon/index.js +3 -6
  109. package/dist/components/input/input.component.d.ts +4 -31
  110. package/dist/components/input/input.component.js +1 -0
  111. package/dist/components/input/input.styles.d.ts +1 -1
  112. package/dist/components/input/input.styles.js +1 -1
  113. package/dist/components/input/input.types.d.ts +10 -1
  114. package/dist/components/input-field/components/add-ons/add-ons.component.d.ts +3 -0
  115. package/dist/components/input-field/components/add-ons/components/default-add-on/default-add-on.component.d.ts +3 -0
  116. package/dist/components/input-field/components/add-ons/components/default-add-on/default-add-on.types.d.ts +1 -3
  117. package/dist/components/input-field/components/add-ons/components/icon-add-on/icon-add-on.component.d.ts +3 -0
  118. package/dist/components/input-field/components/add-ons/components/icon-add-on/icon-add-on.types.d.ts +1 -3
  119. package/dist/components/input-field/components/add-ons/components/text-add-on/text-add-on.component.d.ts +3 -0
  120. package/dist/components/input-field/components/add-ons/components/text-add-on/text-add-on.types.d.ts +1 -3
  121. package/dist/components/input-field/components/supporting-text/supporting-text.component.d.ts +3 -0
  122. package/dist/components/input-field/components/supporting-text/supporting-text.types.d.ts +1 -3
  123. package/dist/components/input-field/input-field.component.js +1 -0
  124. package/dist/components/input-field/input-field.scenarios.stories.js +2 -2
  125. package/dist/components/input-field/input-field.types.d.ts +1 -3
  126. package/dist/components/link/link.component.js +1 -0
  127. package/dist/components/list/list.component.js +1 -0
  128. package/dist/components/modal/components/backdrop/backdrop.types.d.ts +1 -3
  129. package/dist/components/modal/components/dialog/components/dialog-body/dialog-body.types.d.ts +1 -3
  130. package/dist/components/modal/components/dialog/components/dialog-footer/dialog-footer.types.d.ts +1 -3
  131. package/dist/components/modal/components/dialog/dialog.types.d.ts +7 -1
  132. package/dist/components/modal/modal.component.js +1 -0
  133. package/dist/components/pagination/components/pagination-item/pagination-item.component.d.ts +1 -1
  134. package/dist/components/pagination/components/pagination-item/pagination-item.component.js +2 -1
  135. package/dist/components/pagination/components/pagination-item/pagination-item.styles.d.ts +9 -1
  136. package/dist/components/pagination/components/pagination-item/pagination-item.styles.js +7 -3
  137. package/dist/components/pagination/components/pagination-item/pagination-item.types.d.ts +20 -2
  138. package/dist/components/pagination/pagination.component.js +3 -1
  139. package/dist/components/pagination/pagination.stories.js +1 -1
  140. package/dist/components/pagination/pagination.styles.js +1 -1
  141. package/dist/components/pagination/pagination.types.d.ts +1 -3
  142. package/dist/components/pictogram/pictogram.types.d.ts +1 -3
  143. package/dist/components/popover/popover.component.js +1 -0
  144. package/dist/components/progress-bar/progress-bar.component.js +1 -0
  145. package/dist/components/progress-rope/components/progress-rope-group-step/progress-rope-group-step.types.d.ts +1 -3
  146. package/dist/components/progress-rope/components/progress-rope-step/progress-rope-step.types.d.ts +11 -1
  147. package/dist/components/progress-rope/progress-rope.component.js +1 -0
  148. package/dist/components/progress-rope/progress-rope.types.d.ts +1 -3
  149. package/dist/components/radio-group/components/radio/radio.component.js +1 -0
  150. package/dist/components/radio-group/components/radio/radio.styles.js +2 -2
  151. package/dist/components/radio-group/radio-group.component.js +1 -0
  152. package/dist/components/repeater/repeater.component.js +3 -1
  153. package/dist/components/repeater/repeater.styles.js +2 -2
  154. package/dist/components/select/select.component.d.ts +8 -35
  155. package/dist/components/select/select.component.js +1 -0
  156. package/dist/components/select/select.styles.d.ts +1 -1
  157. package/dist/components/select/select.styles.js +1 -1
  158. package/dist/components/select/select.types.d.ts +12 -1
  159. package/dist/components/selector/components/selector-checkbox-group/components/selector-checkbox-group-option/selector-checkbox-group-option.types.d.ts +1 -3
  160. package/dist/components/selector/components/selector-checkbox-group/selector-checkbox-group.component.d.ts +28 -7
  161. package/dist/components/selector/components/selector-checkbox-group/selector-checkbox-group.types.d.ts +1 -3
  162. package/dist/components/selector/components/selector-radio-group/components/selector-radio-group-option/selector-radio-group-option.types.d.ts +1 -3
  163. package/dist/components/selector/components/selector-radio-group/selector-radio-group.component.d.ts +28 -7
  164. package/dist/components/selector/components/selector-radio-group/selector-radio-group.types.d.ts +7 -1
  165. package/dist/components/selector/selector.component.d.ts +81 -21
  166. package/dist/components/selector/selector.component.js +1 -0
  167. package/dist/components/skip-link/skip-link.component.js +1 -0
  168. package/dist/components/skip-link/skip-link.types.d.ts +1 -3
  169. package/dist/components/switch/switch.component.js +1 -0
  170. package/dist/components/switch/switch.types.d.ts +8 -2
  171. package/dist/components/symbol/index.d.ts +1 -0
  172. package/dist/components/symbol/index.js +1 -0
  173. package/dist/components/symbol/symbol.stories.d.ts +1 -0
  174. package/dist/components/symbol/symbol.stories.js +62 -3
  175. package/dist/components/symbol/symbol.types.d.ts +1 -3
  176. package/dist/components/table/table.component.js +1 -0
  177. package/dist/components/tabs/components/tab/tab.types.d.ts +15 -1
  178. package/dist/components/tabs/components/tab-panel/tab-panel.component.d.ts +3 -0
  179. package/dist/components/tabs/components/tab-panel/tab-panel.component.js +1 -0
  180. package/dist/components/tabs/components/tab-panel/tab-panel.types.d.ts +7 -1
  181. package/dist/components/tabs/tabs.component.js +1 -0
  182. package/dist/components/tabs/tabs.types.d.ts +15 -1
  183. package/dist/components/textarea/textarea.component.d.ts +8 -31
  184. package/dist/components/textarea/textarea.component.js +1 -0
  185. package/dist/components/textarea/textarea.styles.d.ts +1 -1
  186. package/dist/components/textarea/textarea.styles.js +1 -1
  187. package/dist/components/textarea/textarea.types.d.ts +12 -1
  188. package/dist/components/visually-hidden/visually-hidden.types.d.ts +1 -3
  189. package/dist/components/well/well.types.d.ts +7 -1
  190. package/dist/css/westpac-ui.css +67 -392
  191. package/dist/css/westpac-ui.min.css +67 -392
  192. package/dist/index.d.ts +1 -0
  193. package/dist/index.js +1 -0
  194. package/dist/stories/foundation/colours.stories.js +0 -1
  195. package/dist/types/component-props.types.d.ts +2 -0
  196. package/dist/types/component-props.types.js +1 -0
  197. package/dist/types/index.d.ts +1 -0
  198. package/dist/types/index.js +1 -0
  199. package/generate-component-types.cjs +85 -0
  200. package/package.json +13 -8
  201. package/src/components/accordion/accordion.component.tsx +5 -8
  202. package/src/components/accordion/accordion.stories.tsx +40 -31
  203. package/src/components/accordion/accordion.styles.ts +1 -5
  204. package/src/components/accordion/accordion.types.ts +15 -11
  205. package/src/components/accordion/components/accordion-item/accordion-item.component.tsx +11 -15
  206. package/src/components/accordion/components/accordion-item/accordion-item.styles.ts +7 -36
  207. package/src/components/accordion/components/accordion-item/accordion-item.types.ts +7 -2
  208. package/src/components/alert/alert.component.tsx +2 -0
  209. package/src/components/alert/alert.styles.ts +3 -3
  210. package/src/components/alert/alert.types.ts +1 -5
  211. package/src/components/autocomplete/autocomplete.component.tsx +2 -0
  212. package/src/components/autocomplete/autocomplete.types.ts +15 -2
  213. package/src/components/autocomplete/components/list-box/components/list-box-option/list-box-option.component.tsx +3 -0
  214. package/src/components/autocomplete/components/list-box/components/list-box-section/list-box-section.component.tsx +3 -0
  215. package/src/components/autocomplete/components/list-box/list-box.component.tsx +3 -0
  216. package/src/components/autocomplete/components/popover/popover.component.tsx +3 -1
  217. package/src/components/autocomplete/components/popover/popover.types.ts +1 -0
  218. package/src/components/badge/badge.component.tsx +2 -0
  219. package/src/components/badge/badge.types.ts +11 -2
  220. package/src/components/breadcrumb/breadcrumb.component.tsx +2 -0
  221. package/src/components/breadcrumb/breadcrumb.types.ts +9 -2
  222. package/src/components/breadcrumb/components/breadcrumb-item/breadcrumb-item.component.tsx +2 -0
  223. package/src/components/breadcrumb/components/breadcrumb-item/breadcrumb-item.types.ts +1 -5
  224. package/src/components/button/button.component.tsx +2 -0
  225. package/src/components/button/button.styles.ts +5 -5
  226. package/src/components/button/button.types.ts +23 -2
  227. package/src/components/button-dropdown/button-dropdown.component.tsx +2 -0
  228. package/src/components/button-dropdown/button-dropdown.styles.ts +1 -0
  229. package/src/components/button-dropdown/button-dropdown.types.ts +7 -2
  230. package/src/components/button-dropdown/components/panel/panel.component.tsx +3 -0
  231. package/src/components/button-group/button-group.component.tsx +2 -0
  232. package/src/components/checkbox-group/checkbox-group.component.tsx +2 -0
  233. package/src/components/checkbox-group/components/checkbox/checkbox.component.tsx +17 -7
  234. package/src/components/circle/circle.types.ts +1 -5
  235. package/src/components/collapsible/collapsible.component.tsx +2 -0
  236. package/src/components/collapsible/collapsible.styles.ts +1 -1
  237. package/src/components/compacta/compacta.component.tsx +17 -13
  238. package/src/components/compacta/compacta.styles.ts +10 -10
  239. package/src/components/date-picker/date-picker.component.tsx +2 -0
  240. package/src/components/date-picker/date-picker.types.ts +7 -2
  241. package/src/components/error-message/error-message.types.ts +1 -5
  242. package/src/components/field/field.component.tsx +2 -0
  243. package/src/components/field/field.types.ts +0 -4
  244. package/src/components/flexi-cell/components/flexi-cell-adornment/flexi-cell-adornment.component.tsx +1 -0
  245. package/src/components/flexi-cell/components/flexi-cell-adornment/flexi-cell-adornment.types.ts +1 -5
  246. package/src/components/flexi-cell/components/flexi-cell-body/flexi-cell-body.component.tsx +1 -0
  247. package/src/components/flexi-cell/components/flexi-cell-body/flexi-cell-body.types.ts +1 -5
  248. package/src/components/flexi-cell/components/flexi-cell-button/flexi-cell-button.component.tsx +1 -0
  249. package/src/components/flexi-cell/components/flexi-cell-circle/flexi-cell-circle.component.tsx +1 -0
  250. package/src/components/flexi-cell/components/flexi-cell-footer/flexi-cell-footer.component.tsx +1 -0
  251. package/src/components/flexi-cell/components/flexi-cell-hint/flexi-cell-hint.component.tsx +1 -0
  252. package/src/components/flexi-cell/components/flexi-cell-hint/flexi-cell-hint.types.ts +1 -5
  253. package/src/components/flexi-cell/components/flexi-cell-label/flexi-cell-label.component.tsx +1 -0
  254. package/src/components/flexi-cell/components/flexi-cell-label/flexi-cell-label.types.ts +1 -5
  255. package/src/components/flexi-cell/flexi-cell.component.tsx +2 -0
  256. package/src/components/flexi-cell/flexi-cell.types.ts +1 -7
  257. package/src/components/form/components/form-chit-chat/form-chit-chat.types.ts +1 -5
  258. package/src/components/form/components/form-group/form-group.types.ts +1 -5
  259. package/src/components/form/components/form-section/form-section.types.ts +7 -2
  260. package/src/components/form/form.component.tsx +2 -0
  261. package/src/components/form/form.types.ts +9 -0
  262. package/src/components/form-hint/form-hint.types.ts +1 -5
  263. package/src/components/form-label/form-label.types.ts +8 -3
  264. package/src/components/grid/components/container/container.types.ts +1 -5
  265. package/src/components/grid/components/item/item.types.ts +11 -2
  266. package/src/components/grid/grid.types.ts +1 -5
  267. package/src/components/icon/components/credit-cards-icon.tsx +43 -0
  268. package/src/components/icon/components/exit-icon.tsx +2 -2
  269. package/src/components/icon/components/office-icon.tsx +30 -11
  270. package/src/components/icon/components/pay-to-icon.tsx +33 -0
  271. package/src/components/icon/components/tiles-icon.tsx +43 -0
  272. package/src/components/icon/icon.styles.ts +1 -1
  273. package/src/components/icon/icon.types.ts +11 -1
  274. package/src/components/icon/index.ts +3 -6
  275. package/src/components/input/input.component.tsx +2 -0
  276. package/src/components/input/input.styles.ts +1 -1
  277. package/src/components/input/input.types.ts +12 -2
  278. package/src/components/input-field/components/add-ons/add-ons.component.tsx +3 -0
  279. package/src/components/input-field/components/add-ons/components/default-add-on/default-add-on.component.tsx +3 -0
  280. package/src/components/input-field/components/add-ons/components/default-add-on/default-add-on.types.ts +1 -4
  281. package/src/components/input-field/components/add-ons/components/icon-add-on/icon-add-on.component.tsx +3 -0
  282. package/src/components/input-field/components/add-ons/components/icon-add-on/icon-add-on.types.ts +1 -4
  283. package/src/components/input-field/components/add-ons/components/text-add-on/text-add-on.component.tsx +3 -0
  284. package/src/components/input-field/components/add-ons/components/text-add-on/text-add-on.types.ts +1 -4
  285. package/src/components/input-field/components/supporting-text/supporting-text.component.tsx +3 -0
  286. package/src/components/input-field/components/supporting-text/supporting-text.types.ts +1 -5
  287. package/src/components/input-field/input-field.component.tsx +2 -0
  288. package/src/components/input-field/input-field.scenarios.stories.tsx +2 -2
  289. package/src/components/input-field/input-field.types.ts +1 -4
  290. package/src/components/link/link.component.tsx +2 -0
  291. package/src/components/list/list.component.tsx +2 -0
  292. package/src/components/modal/components/backdrop/backdrop.types.ts +1 -5
  293. package/src/components/modal/components/dialog/components/dialog-body/dialog-body.types.ts +1 -4
  294. package/src/components/modal/components/dialog/components/dialog-footer/dialog-footer.types.ts +1 -4
  295. package/src/components/modal/components/dialog/dialog.types.ts +7 -2
  296. package/src/components/modal/modal.component.tsx +2 -0
  297. package/src/components/pagination/components/pagination-item/pagination-item.component.tsx +2 -1
  298. package/src/components/pagination/components/pagination-item/pagination-item.styles.ts +7 -3
  299. package/src/components/pagination/components/pagination-item/pagination-item.types.ts +20 -3
  300. package/src/components/pagination/pagination.component.tsx +3 -0
  301. package/src/components/pagination/pagination.stories.tsx +1 -1
  302. package/src/components/pagination/pagination.styles.ts +1 -1
  303. package/src/components/pagination/pagination.types.ts +0 -3
  304. package/src/components/pictogram/pictogram.types.ts +1 -4
  305. package/src/components/popover/popover.component.tsx +2 -0
  306. package/src/components/progress-bar/progress-bar.component.tsx +2 -0
  307. package/src/components/progress-rope/components/progress-rope-group-step/progress-rope-group-step.types.ts +2 -4
  308. package/src/components/progress-rope/components/progress-rope-step/progress-rope-step.types.ts +10 -1
  309. package/src/components/progress-rope/progress-rope.component.tsx +2 -0
  310. package/src/components/progress-rope/progress-rope.types.ts +1 -5
  311. package/src/components/radio-group/components/radio/radio.component.tsx +1 -0
  312. package/src/components/radio-group/components/radio/radio.styles.ts +2 -2
  313. package/src/components/radio-group/radio-group.component.tsx +2 -0
  314. package/src/components/repeater/repeater.component.tsx +6 -2
  315. package/src/components/repeater/repeater.styles.ts +2 -2
  316. package/src/components/select/select.component.tsx +2 -0
  317. package/src/components/select/select.styles.ts +1 -1
  318. package/src/components/select/select.types.ts +12 -1
  319. package/src/components/selector/components/selector-checkbox-group/components/selector-checkbox-group-option/selector-checkbox-group-option.types.ts +0 -4
  320. package/src/components/selector/components/selector-checkbox-group/selector-checkbox-group.types.ts +0 -4
  321. package/src/components/selector/components/selector-radio-group/components/selector-radio-group-option/selector-radio-group-option.types.ts +0 -4
  322. package/src/components/selector/components/selector-radio-group/selector-radio-group.types.ts +7 -2
  323. package/src/components/selector/selector.component.tsx +2 -0
  324. package/src/components/skip-link/skip-link.component.tsx +2 -0
  325. package/src/components/skip-link/skip-link.types.ts +0 -4
  326. package/src/components/switch/switch.component.tsx +2 -0
  327. package/src/components/switch/switch.types.ts +8 -3
  328. package/src/components/symbol/index.ts +1 -0
  329. package/src/components/symbol/symbol.stories.tsx +66 -8
  330. package/src/components/symbol/symbol.types.ts +1 -4
  331. package/src/components/table/table.component.tsx +2 -0
  332. package/src/components/tabs/components/tab/tab.types.ts +15 -2
  333. package/src/components/tabs/components/tab-panel/tab-panel.component.tsx +1 -0
  334. package/src/components/tabs/components/tab-panel/tab-panel.types.ts +6 -1
  335. package/src/components/tabs/tabs.component.tsx +2 -0
  336. package/src/components/tabs/tabs.stories.tsx +0 -1
  337. package/src/components/tabs/tabs.types.ts +37 -24
  338. package/src/components/textarea/textarea.component.tsx +2 -0
  339. package/src/components/textarea/textarea.styles.ts +1 -1
  340. package/src/components/textarea/textarea.types.ts +12 -1
  341. package/src/components/visually-hidden/visually-hidden.types.ts +1 -5
  342. package/src/components/well/well.types.tsx +7 -2
  343. package/src/index.ts +1 -0
  344. package/src/stories/foundation/colours.stories.tsx +0 -1
  345. package/src/types/component-props.types.ts +3 -0
  346. package/src/types/index.ts +1 -0
  347. package/utils/build-icons/index.ts +5 -2
  348. package/dist/components/icon/components/bom-logo-icon.d.ts +0 -2
  349. package/dist/components/icon/components/bom-logo-icon.js +0 -86
  350. package/dist/components/icon/components/bsa-logo-icon.d.ts +0 -2
  351. package/dist/components/icon/components/bsa-logo-icon.js +0 -32
  352. package/dist/components/icon/components/rams-logo-icon.d.ts +0 -2
  353. package/dist/components/icon/components/rams-logo-icon.js +0 -120
  354. package/dist/components/icon/components/stg-logo-icon.d.ts +0 -2
  355. package/dist/components/icon/components/stg-logo-icon.js +0 -44
  356. package/dist/components/icon/components/wbc-logo-icon.d.ts +0 -2
  357. package/dist/components/icon/components/wbc-logo-icon.js +0 -26
  358. package/dist/components/icon/components/wbg-logo-icon.d.ts +0 -2
  359. package/dist/components/icon/components/wbg-logo-icon.js +0 -29
  360. package/src/components/icon/components/bom-logo-icon.tsx +0 -40
  361. package/src/components/icon/components/bsa-logo-icon.tsx +0 -28
  362. package/src/components/icon/components/rams-logo-icon.tsx +0 -71
  363. package/src/components/icon/components/stg-logo-icon.tsx +0 -44
  364. package/src/components/icon/components/wbc-logo-icon.tsx +0 -20
  365. package/src/components/icon/components/wbg-logo-icon.tsx +0 -24
@@ -1,3 +1,6 @@
1
1
  import { type FlexiCellButtonProps } from './flexi-cell-button.types.js';
2
2
  /** Flexi Cell Button: Flexi Cell Button */
3
- export declare const FlexiCellButton: ({ className, ...props }: FlexiCellButtonProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const FlexiCellButton: {
4
+ ({ className, ...props }: FlexiCellButtonProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
@@ -23,3 +23,4 @@ export const FlexiCellButton = ({ className , ...props })=>{
23
23
  look: "link"
24
24
  }, props));
25
25
  };
26
+ FlexiCellButton.displayName = 'FlexiCell.Button';
@@ -1,3 +1,6 @@
1
1
  import { FlexiCellCircleProps } from './flexi-cell-circle.types.js';
2
2
  /** Flexi Cell Circle: Flexi Cell Circle */
3
- export declare const FlexiCellCircle: ({ className, ...props }: FlexiCellCircleProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const FlexiCellCircle: {
4
+ ({ className, ...props }: FlexiCellCircleProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
@@ -22,3 +22,4 @@ export const FlexiCellCircle = ({ className , ...props })=>{
22
22
  })
23
23
  }, props));
24
24
  };
25
+ FlexiCellCircle.displayName = 'FlexiCell.Circle';
@@ -1,3 +1,6 @@
1
1
  import { type FlexiCellFooterProps } from './flexi-cell-footer.types.js';
2
2
  /** Flexi Cell Footer: Flexi Cell Footer */
3
- export declare const FlexiCellFooter: ({ children, className, tag: Tag, ...props }: FlexiCellFooterProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const FlexiCellFooter: {
4
+ ({ children, className, tag: Tag, ...props }: FlexiCellFooterProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
@@ -21,3 +21,4 @@ export const FlexiCellFooter = ({ children , className , tag: Tag = 'div' , ...p
21
21
  })
22
22
  }), children);
23
23
  };
24
+ FlexiCellFooter.displayName = 'FlexiCell.Footer';
@@ -1,3 +1,6 @@
1
1
  import { FlexiCellHintProps } from './flexi-cell-hint.types.js';
2
2
  /** Flexi Cell Hint: Flexi Cell Hint */
3
- export declare const FlexiCellHint: ({ children, tag: Tag, className, truncateText, ...props }: FlexiCellHintProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const FlexiCellHint: {
4
+ ({ children, tag: Tag, className, truncateText, ...props }: FlexiCellHintProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
@@ -22,3 +22,4 @@ export const FlexiCellHint = ({ children , tag: Tag = 'p' , className , truncate
22
22
  })
23
23
  }), children);
24
24
  };
25
+ FlexiCellHint.displayName = 'FlexiCell.Hint';
@@ -1,6 +1,4 @@
1
1
  import { type HTMLAttributes, type ReactNode } from 'react';
2
- import { VariantProps } from 'tailwind-variants';
3
- import { styles } from './flexi-cell-hint.styles.js';
4
2
  export type FlexiCellHintProps = {
5
3
  /**
6
4
  * Children
@@ -14,4 +12,4 @@ export type FlexiCellHintProps = {
14
12
  * Define if it is going to truncate the text
15
13
  */
16
14
  truncateText?: boolean;
17
- } & HTMLAttributes<HTMLOrSVGElement> & VariantProps<typeof styles>;
15
+ } & HTMLAttributes<HTMLOrSVGElement>;
@@ -1,3 +1,6 @@
1
1
  import { FlexiCellLabelProps } from './flexi-cell-label.types.js';
2
2
  /** Flexi Cell Label: Flexi Cell Label */
3
- export declare const FlexiCellLabel: ({ children, tag: Tag, truncateText, className, ...props }: FlexiCellLabelProps) => import("react/jsx-runtime").JSX.Element;
3
+ export declare const FlexiCellLabel: {
4
+ ({ children, tag: Tag, truncateText, className, ...props }: FlexiCellLabelProps): import("react/jsx-runtime").JSX.Element;
5
+ displayName: string;
6
+ };
@@ -22,3 +22,4 @@ export const FlexiCellLabel = ({ children , tag: Tag = 'div' , truncateText =fal
22
22
  })
23
23
  }, props), children);
24
24
  };
25
+ FlexiCellLabel.displayName = 'FlexiCell.Label';
@@ -1,6 +1,4 @@
1
1
  import { CSSProperties, type HTMLAttributes, type ReactNode } from 'react';
2
- import { type VariantProps } from 'tailwind-variants';
3
- import { styles } from './flexi-cell-label.styles.js';
4
2
  export type FlexiCellLabelProps = {
5
3
  /**
6
4
  * Children attribute
@@ -18,4 +16,4 @@ export type FlexiCellLabelProps = {
18
16
  * Define if it is going to truncate the text
19
17
  */
20
18
  truncateText?: boolean;
21
- } & HTMLAttributes<HTMLOrSVGElement> & VariantProps<typeof styles>;
19
+ } & HTMLAttributes<HTMLOrSVGElement>;
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function _extends() {
2
3
  _extends = Object.assign || function(target) {
3
4
  for(var i = 1; i < arguments.length; i++){
@@ -1,6 +1,4 @@
1
1
  import { CSSProperties, type HTMLAttributes, type ReactNode } from 'react';
2
- import { type VariantProps } from 'tailwind-variants';
3
- import { styles } from './flexi-cell.styles.js';
4
2
  type BaseFlexiCellProps = {
5
3
  /**
6
4
  * Renders an element on the right
@@ -61,5 +59,5 @@ type FlexiCellAsAllOtherTagsProps<Tag> = {
61
59
  href?: never;
62
60
  tag?: Tag;
63
61
  };
64
- export type FlexiCellProps<Tag extends keyof Omit<JSX.IntrinsicElements, 'a'> = keyof Omit<JSX.IntrinsicElements, 'a'>> = (FlexiCellAsLinkProps | FlexiCellAsAllOtherTagsProps<Tag>) & BaseFlexiCellProps & VariantProps<typeof styles> & HTMLAttributes<Element>;
62
+ export type FlexiCellProps<Tag extends keyof Omit<JSX.IntrinsicElements, 'a'> = keyof Omit<JSX.IntrinsicElements, 'a'>> = (FlexiCellAsLinkProps | FlexiCellAsAllOtherTagsProps<Tag>) & BaseFlexiCellProps & HTMLAttributes<Element>;
65
63
  export {};
@@ -1,9 +1,7 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { type VariantProps } from 'tailwind-variants';
3
- import { styles } from './form-chit-chat.styles.js';
4
2
  export type FormChitChatProps = {
5
3
  /**
6
4
  * Tag to render
7
5
  */
8
6
  tag?: keyof JSX.IntrinsicElements;
9
- } & VariantProps<typeof styles> & HTMLAttributes<Element>;
7
+ } & HTMLAttributes<Element>;
@@ -1,9 +1,7 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { type VariantProps } from 'tailwind-variants';
3
- import { styles } from './form-group.styles.js';
4
2
  export type FormGroupProps = {
5
3
  /**
6
4
  * Tag to render
7
5
  */
8
6
  tag?: keyof JSX.IntrinsicElements;
9
- } & Omit<VariantProps<typeof styles>, 'inline' | 'spacing'> & HTMLAttributes<Element>;
7
+ } & HTMLAttributes<Element>;
@@ -1,9 +1,15 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { type VariantProps } from 'tailwind-variants';
3
3
  import { styles } from './form-section.styles.js';
4
+ type Variants = VariantProps<typeof styles>;
4
5
  export type FormSectionProps = {
6
+ /**
7
+ * Remove padding
8
+ */
9
+ noPadding?: Variants['noPadding'];
5
10
  /**
6
11
  * Tag to render
7
12
  */
8
13
  tag?: keyof JSX.IntrinsicElements;
9
- } & VariantProps<typeof styles> & HTMLAttributes<Element>;
14
+ } & HTMLAttributes<Element>;
15
+ export {};
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  function _extends() {
2
3
  _extends = Object.assign || function(target) {
3
4
  for(var i = 1; i < arguments.length; i++){
@@ -1,7 +1,16 @@
1
1
  import { FormHTMLAttributes } from 'react';
2
2
  export type FormContextValue = {
3
+ /**
4
+ * Whether form is inline
5
+ */
3
6
  inline?: boolean;
7
+ /**
8
+ * Size of Form
9
+ */
4
10
  size?: 'small' | 'medium' | 'large';
11
+ /**
12
+ * Spacing of Form
13
+ */
5
14
  spacing?: 'medium' | 'large';
6
15
  };
7
16
  export type FormProps = FormContextValue & FormHTMLAttributes<HTMLFormElement>;
@@ -1,6 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { type VariantProps } from 'tailwind-variants';
3
- import { styles } from './form-hint.styles.js';
4
2
  export type FormHintProps = {
5
3
  /**
6
4
  * spacing
@@ -10,4 +8,4 @@ export type FormHintProps = {
10
8
  * Tag to render
11
9
  */
12
10
  tag?: keyof JSX.IntrinsicElements;
13
- } & Omit<VariantProps<typeof styles>, 'spacing'> & HTMLAttributes<Element>;
11
+ } & HTMLAttributes<Element>;
@@ -1,6 +1,7 @@
1
1
  import { HTMLAttributes, ReactNode } from 'react';
2
2
  import { type VariantProps } from 'tailwind-variants';
3
3
  import { styles } from './form-label.styles.js';
4
+ type Variants = VariantProps<typeof styles>;
4
5
  export type FormLabelProps = {
5
6
  /**
6
7
  * Children
@@ -11,6 +12,10 @@ export type FormLabelProps = {
11
12
  *
12
13
  */
13
14
  htmlFor?: string;
15
+ /**
16
+ * Spacing
17
+ */
18
+ spacing?: Variants['spacing'];
14
19
  /**
15
20
  * Enable ‘screen reader only’ mode
16
21
  */
@@ -18,9 +23,10 @@ export type FormLabelProps = {
18
23
  /**
19
24
  * Sub-label mode (smaller label text size)
20
25
  */
21
- subLabel?: boolean;
26
+ subLabel?: Variants['subLabel'];
22
27
  /**
23
28
  * Component tag
24
29
  */
25
30
  tag?: 'label' | 'legend';
26
- } & VariantProps<typeof styles> & HTMLAttributes<Element>;
31
+ } & HTMLAttributes<Element>;
32
+ export {};
@@ -1,6 +1,4 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { type VariantProps } from 'tailwind-variants';
3
- import { styles } from './container.styles.js';
4
2
  export type ContainerProps = {
5
3
  /**
6
4
  * Enable fixed width container mode. In this mode the container width is fixed at each breakpoint.
@@ -10,4 +8,4 @@ export type ContainerProps = {
10
8
  * Tag to render
11
9
  */
12
10
  tag?: keyof JSX.IntrinsicElements;
13
- } & VariantProps<typeof styles> & HTMLAttributes<Element>;
11
+ } & HTMLAttributes<Element>;
@@ -1,9 +1,19 @@
1
1
  import { HTMLAttributes } from 'react';
2
2
  import { type VariantProps } from 'tailwind-variants';
3
3
  import { styles } from './item.styles.js';
4
+ type Variants = VariantProps<typeof styles>;
4
5
  export type ItemProps = {
6
+ /**
7
+ * Controls width of item based on amount of grid spaces to cover
8
+ */
9
+ span?: Variants['span'];
10
+ /**
11
+ * Position item should start in grid
12
+ */
13
+ start?: Variants['start'];
5
14
  /**
6
15
  * Tag to render
7
16
  */
8
17
  tag?: keyof JSX.IntrinsicElements;
9
- } & VariantProps<typeof styles> & HTMLAttributes<Element>;
18
+ } & HTMLAttributes<Element>;
19
+ export {};
@@ -1,9 +1,7 @@
1
1
  import { HTMLAttributes } from 'react';
2
- import { type VariantProps } from 'tailwind-variants';
3
- import { styles } from './grid.styles.js';
4
2
  export type GridProps = {
5
3
  /**
6
4
  * Tag to render
7
5
  */
8
6
  tag?: keyof JSX.IntrinsicElements;
9
- } & VariantProps<typeof styles> & HTMLAttributes<Element>;
7
+ } & HTMLAttributes<Element>;
@@ -0,0 +1,2 @@
1
+ import { type IconProps } from '../icon.types.js';
2
+ export declare function CreditCardsIcon({ look, 'aria-label': ariaLabel, copyrightYear, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,38 @@
1
+ function _extends() {
2
+ _extends = Object.assign || function(target) {
3
+ for(var i = 1; i < arguments.length; i++){
4
+ var source = arguments[i];
5
+ for(var key in source){
6
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
7
+ target[key] = source[key];
8
+ }
9
+ }
10
+ }
11
+ return target;
12
+ };
13
+ return _extends.apply(this, arguments);
14
+ }
15
+ import React, { Fragment } from 'react';
16
+ import { Icon } from '../icon.component.js';
17
+ export function CreditCardsIcon({ look ='filled' , 'aria-label': ariaLabel = 'Credit Cards' , copyrightYear ='2023' , ...props }) {
18
+ return React.createElement(Icon, _extends({
19
+ "aria-label": ariaLabel,
20
+ copyrightYear: copyrightYear
21
+ }, props), look === 'filled' ? React.createElement(Fragment, null, React.createElement("path", {
22
+ d: "M22 2H5.99999C4.88999 2 4.00999 2.89 4.00999 4L4.00916 5H5.99999V4H22V16H21V18H22C23.11 18 24 17.11 24 16V4C24 2.89 23.11 2 22 2Z",
23
+ fill: "currentColor"
24
+ }), React.createElement("path", {
25
+ fillRule: "evenodd",
26
+ clipRule: "evenodd",
27
+ d: "M18 6H2C0.89 6 0.01 6.89 0.01 8L0 20C0 21.11 0.89 22 2 22H18C19.11 22 20 21.11 20 20V8C20 6.89 19.11 6 18 6ZM1 10H19V12H1V10Z",
28
+ fill: "currentColor"
29
+ })) : React.createElement(Fragment, null, React.createElement("path", {
30
+ d: "M6 2H22C23.11 2 24 2.89 24 4V16C24 17.11 23.11 18 22 18H21V16H22V4H6V5H4.00917L4.01 4C4.01 2.89 4.89 2 6 2Z",
31
+ fill: "currentColor"
32
+ }), React.createElement("path", {
33
+ fillRule: "evenodd",
34
+ clipRule: "evenodd",
35
+ d: "M2 6H18C19.11 6 20 6.89 20 8V20C20 21.11 19.11 22 18 22H2C0.89 22 0 21.11 0 20L0.00999999 8C0.00999999 6.89 0.89 6 2 6ZM2 20H18V12H2V20ZM2 10V8H18V10H2Z",
36
+ fill: "currentColor"
37
+ })));
38
+ }
@@ -19,10 +19,10 @@ export function ExitIcon({ 'aria-label': ariaLabel = 'Exit' , copyrightYear ='20
19
19
  "aria-label": ariaLabel,
20
20
  copyrightYear: copyrightYear
21
21
  }, props), React.createElement("path", {
22
- d: "M0 12C0 5.373 5.37225 0 12 0V2C6.47714 2 2 6.47714 2 12C2 17.5229 6.47714 22 12 22C17.5229 22 22 17.5229 22 12H24C24 18.627 18.6278 24 12 24C5.37225 24 0 18.627 0 12Z",
22
+ d: "M3.51677 4.50981C8.20277 -0.176183 15.8008 -0.176713 20.4873 4.50981L19.0731 5.92403C15.1679 2.01878 8.83623 2.01878 4.93098 5.92403C1.02573 9.82928 1.02573 16.1609 4.93098 20.0662C8.83623 23.9714 15.1679 23.9714 19.0731 20.0662L20.4873 21.4804C15.8013 26.1664 8.2033 26.1669 3.51677 21.4804C-1.16976 16.7938 -1.16922 9.19581 3.51677 4.50981Z",
23
23
  fill: "currentColor"
24
24
  }), React.createElement("path", {
25
- d: "M22.0144 8V3.41682L12.4142 13.017L11 11.6028L20.6028 2H16.0144V0H24.0144V8H22.0144Z",
25
+ d: "M16.9117 17.2479L20.1525 14.0071H12L12.0391 12.0071L20.1562 12.0071L16.9118 8.76266L18.326 7.34844L24 13L18.326 18.6621L16.9117 17.2479Z",
26
26
  fill: "currentColor"
27
27
  }));
28
28
  }
@@ -1,2 +1,2 @@
1
1
  import { type IconProps } from '../icon.types.js';
2
- export declare function OfficeIcon({ 'aria-label': ariaLabel, copyrightYear, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
2
+ export declare function OfficeIcon({ look, 'aria-label': ariaLabel, copyrightYear, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
@@ -12,13 +12,27 @@ function _extends() {
12
12
  };
13
13
  return _extends.apply(this, arguments);
14
14
  }
15
- import React from 'react';
15
+ import React, { Fragment } from 'react';
16
16
  import { Icon } from '../icon.component.js';
17
- export function OfficeIcon({ 'aria-label': ariaLabel = 'Office' , copyrightYear ='2023' , ...props }) {
17
+ export function OfficeIcon({ look ='filled' , 'aria-label': ariaLabel = 'Office' , copyrightYear ='2023' , ...props }) {
18
18
  return React.createElement(Icon, _extends({
19
19
  "aria-label": ariaLabel,
20
20
  copyrightYear: copyrightYear
21
- }, props), React.createElement("path", {
21
+ }, props), look === 'filled' ? React.createElement("path", {
22
+ fillRule: "evenodd",
23
+ clipRule: "evenodd",
24
+ d: "M14 0L0 4V24H24V6H14V0ZM4 10H10V12H4V10ZM4 14H10V16H4V14ZM10 18H4V20H10V18ZM16 10H20V12H16V10ZM16 14H20V16H16V14ZM20 18H16V20H20V18Z",
25
+ fill: "currentColor"
26
+ }) : React.createElement(Fragment, null, React.createElement("path", {
27
+ d: "M10 10H4V12H10V10Z",
28
+ fill: "currentColor"
29
+ }), React.createElement("path", {
30
+ d: "M10 14H4V16H10V14Z",
31
+ fill: "currentColor"
32
+ }), React.createElement("path", {
33
+ d: "M4 18H10V20H4V18Z",
34
+ fill: "currentColor"
35
+ }), React.createElement("path", {
22
36
  d: "M20 10H16V12H20V10Z",
23
37
  fill: "currentColor"
24
38
  }), React.createElement("path", {
@@ -30,7 +44,7 @@ export function OfficeIcon({ 'aria-label': ariaLabel = 'Office' , copyrightYear
30
44
  }), React.createElement("path", {
31
45
  fillRule: "evenodd",
32
46
  clipRule: "evenodd",
33
- d: "M14 6H24V24H0V0H14V6ZM14 8H22V22H14V8ZM2 4H6V8H2V4ZM12 4H8V8H12V4ZM2 10H6V14H2V10ZM12 10H8V14H12V10ZM2 16H6V20H2V16ZM12 16H8V20H12V16Z",
47
+ d: "M14 6V0L0 4V24H24V6H14ZM2 22V5.5086L12 2.65146V22H2ZM14 22V8H22V22H14Z",
34
48
  fill: "currentColor"
35
- }));
49
+ })));
36
50
  }
@@ -0,0 +1,2 @@
1
+ import { type IconProps } from '../icon.types.js';
2
+ export declare function PayToIcon({ look, 'aria-label': ariaLabel, copyrightYear, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,34 @@
1
+ function _extends() {
2
+ _extends = Object.assign || function(target) {
3
+ for(var i = 1; i < arguments.length; i++){
4
+ var source = arguments[i];
5
+ for(var key in source){
6
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
7
+ target[key] = source[key];
8
+ }
9
+ }
10
+ }
11
+ return target;
12
+ };
13
+ return _extends.apply(this, arguments);
14
+ }
15
+ import React from 'react';
16
+ import { Icon } from '../icon.component.js';
17
+ export function PayToIcon({ look ='filled' , 'aria-label': ariaLabel = 'Pay To' , copyrightYear ='2023' , ...props }) {
18
+ return React.createElement(Icon, _extends({
19
+ "aria-label": ariaLabel,
20
+ copyrightYear: copyrightYear
21
+ }, props), look === 'filled' ? React.createElement("g", {
22
+ id: "Size=Md-24px, Style=Filled"
23
+ }, React.createElement("path", {
24
+ id: "pay-to",
25
+ d: "M18.5761 0H5.42394C3.9858 0.00123817 2.60692 0.573085 1.59 1.59C0.573085 2.60692 0.00123817 3.9858 0 5.42394V18.5807C0 20.0193 0.571449 21.3989 1.58864 22.416C2.60582 23.4332 3.98542 24.0047 5.42394 24.0047H18.5761C20.0146 24.0047 21.3942 23.4332 22.4114 22.416C23.4285 21.3989 24 20.0193 24 18.5807V5.42862C24.0006 4.71594 23.8608 4.01013 23.5885 3.35153C23.3162 2.69293 22.9167 2.09444 22.413 1.59029C21.9093 1.08613 21.3112 0.686191 20.6528 0.41332C19.9944 0.140449 19.2887 -2.64817e-07 18.5761 0ZM13.9517 17.9158C13.3451 17.9245 12.7428 17.8125 12.1799 17.5864C11.617 17.3603 11.1046 17.0245 10.6726 16.5986C10.2406 16.1727 9.89753 15.6652 9.66337 15.1056C9.42922 14.5459 9.30864 13.9453 9.30864 13.3387C9.30864 12.732 9.42922 12.1314 9.66337 11.5718C9.89753 11.0122 10.2406 10.5047 10.6726 10.0788C11.1046 9.65288 11.617 9.31711 12.1799 9.09098C12.7428 8.86485 13.3451 8.75286 13.9517 8.76153H19.1156V7.33915L21.7706 9.54894L19.111 11.7615V10.3092H13.8853C12.2852 10.3092 10.962 11.7391 10.962 13.3382C10.9445 13.7417 11.0089 14.1446 11.1512 14.5226C11.2936 14.9005 11.511 15.2458 11.7903 15.5375C12.0697 15.8292 12.4052 16.0613 12.7766 16.2199C13.1481 16.3785 13.5478 16.4603 13.9517 16.4603C14.3556 16.4603 14.7553 16.3785 15.1267 16.2199C15.4982 16.0613 15.8337 15.8292 16.113 15.5375C16.3924 15.2458 16.6098 14.9005 16.7521 14.5226C16.8945 14.1446 16.9589 13.7417 16.9414 13.3382C16.9327 12.6562 16.7289 11.991 16.3541 11.4211H18.1085C18.3852 12.0224 18.5287 12.6763 18.5293 13.3382C18.5345 13.9408 18.4197 14.5384 18.1915 15.0962C17.9633 15.6539 17.6263 16.1606 17.2002 16.5868C16.7741 17.0129 16.2674 17.3499 15.7096 17.5781C15.1519 17.8062 14.5543 17.9211 13.9517 17.9158ZM7.59258 16.3261C7.95868 16.308 8.3204 16.2384 8.66708 16.1194V17.6923C8.32503 17.8303 7.96124 17.9066 7.59258 17.9177C6.83494 17.9115 6.11066 17.6051 5.5786 17.0657C5.04654 16.5263 4.75013 15.7979 4.75436 15.0402V10.3092H2.9654V8.76153H4.75623V6.79769H6.30954V8.76153H10.5486C9.94358 9.17639 9.42204 9.70143 9.01122 10.3092H6.30954V15.0383C6.31174 15.3785 6.44779 15.7042 6.68826 15.9448C6.92872 16.1854 7.25427 16.3217 7.59445 16.3242L7.59258 16.3261Z",
26
+ fill: "currentColor"
27
+ })) : React.createElement("g", {
28
+ id: "Size=Md-24px, Style=Outlined"
29
+ }, React.createElement("path", {
30
+ id: "pay-to",
31
+ d: "M18.5761 0H5.42394C3.9858 0.00123817 2.60692 0.573085 1.59 1.59C0.573085 2.60692 0.00123817 3.9858 0 5.42394V18.5807C0 20.0193 0.571449 21.3989 1.58864 22.416C2.60582 23.4332 3.98542 24.0047 5.42394 24.0047H18.5761C20.0146 24.0047 21.3942 23.4332 22.4114 22.416C23.4285 21.3989 24 20.0193 24 18.5807V5.42862C24.0006 4.71594 23.8608 4.01013 23.5885 3.35153C23.3162 2.69293 22.9167 2.09444 22.413 1.59029C21.9093 1.08613 21.3112 0.686191 20.6528 0.41332C19.9944 0.140449 19.2887 -2.64817e-07 18.5761 0ZM13.9517 17.9158C13.3451 17.9245 12.7428 17.8125 12.1799 17.5864C11.617 17.3603 11.1046 17.0245 10.6726 16.5986C10.2406 16.1727 9.89753 15.6652 9.66337 15.1056C9.42922 14.5459 9.30864 13.9453 9.30864 13.3387C9.30864 12.732 9.42922 12.1314 9.66337 11.5718C9.89753 11.0122 10.2406 10.5047 10.6726 10.0788C11.1046 9.65288 11.617 9.31711 12.1799 9.09098C12.7428 8.86485 13.3451 8.75286 13.9517 8.76153H19.1156V7.33915L21.7706 9.54894L19.111 11.7615V10.3092H13.8853C12.2852 10.3092 10.962 11.7391 10.962 13.3382C10.9445 13.7417 11.0089 14.1446 11.1512 14.5226C11.2936 14.9005 11.511 15.2458 11.7903 15.5375C12.0697 15.8292 12.4052 16.0613 12.7766 16.2199C13.1481 16.3785 13.5478 16.4603 13.9517 16.4603C14.3556 16.4603 14.7553 16.3785 15.1267 16.2199C15.4982 16.0613 15.8337 15.8292 16.113 15.5375C16.3924 15.2458 16.6098 14.9005 16.7521 14.5226C16.8945 14.1446 16.9589 13.7417 16.9414 13.3382C16.9327 12.6562 16.7289 11.991 16.3541 11.4211H18.1085C18.3852 12.0224 18.5287 12.6763 18.5293 13.3382C18.5345 13.9408 18.4197 14.5384 18.1915 15.0962C17.9633 15.6539 17.6263 16.1606 17.2002 16.5868C16.7741 17.0129 16.2674 17.3499 15.7096 17.5781C15.1519 17.8062 14.5543 17.9211 13.9517 17.9158ZM7.59258 16.3261C7.95868 16.308 8.3204 16.2384 8.66708 16.1194V17.6923C8.32503 17.8303 7.96124 17.9066 7.59258 17.9177C6.83494 17.9115 6.11066 17.6051 5.5786 17.0657C5.04654 16.5263 4.75013 15.7979 4.75436 15.0402V10.3092H2.9654V8.76153H4.75623V6.79769H6.30954V8.76153H10.5486C9.94358 9.17639 9.42204 9.70143 9.01122 10.3092H6.30954V15.0383C6.31174 15.3785 6.44779 15.7042 6.68826 15.9448C6.92872 16.1854 7.25427 16.3217 7.59445 16.3242L7.59258 16.3261Z",
32
+ fill: "currentColor"
33
+ })));
34
+ }
@@ -0,0 +1,2 @@
1
+ import { type IconProps } from '../icon.types.js';
2
+ export declare function TilesIcon({ look, 'aria-label': ariaLabel, copyrightYear, ...props }: IconProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,39 @@
1
+ function _extends() {
2
+ _extends = Object.assign || function(target) {
3
+ for(var i = 1; i < arguments.length; i++){
4
+ var source = arguments[i];
5
+ for(var key in source){
6
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
7
+ target[key] = source[key];
8
+ }
9
+ }
10
+ }
11
+ return target;
12
+ };
13
+ return _extends.apply(this, arguments);
14
+ }
15
+ import React, { Fragment } from 'react';
16
+ import { Icon } from '../icon.component.js';
17
+ export function TilesIcon({ look ='filled' , 'aria-label': ariaLabel = 'Tiles' , copyrightYear ='2023' , ...props }) {
18
+ return React.createElement(Icon, _extends({
19
+ "aria-label": ariaLabel,
20
+ copyrightYear: copyrightYear
21
+ }, props), look === 'filled' ? React.createElement(Fragment, null, React.createElement("path", {
22
+ d: "M4 2C2.89543 2 2 2.89543 2 4V9C2 10.1046 2.89543 11 4 11H9C10.1046 11 11 10.1046 11 9V4C11 2.89543 10.1046 2 9 2H4Z",
23
+ fill: "currentColor"
24
+ }), React.createElement("path", {
25
+ d: "M4 13C2.89543 13 2 13.8954 2 15V20C2 21.1046 2.89543 22 4 22H9C10.1046 22 11 21.1046 11 20V15C11 13.8954 10.1046 13 9 13H4Z",
26
+ fill: "currentColor"
27
+ }), React.createElement("path", {
28
+ d: "M13 4C13 2.89543 13.8954 2 15 2H20C21.1046 2 22 2.89543 22 4V9C22 10.1046 21.1046 11 20 11H15C13.8954 11 13 10.1046 13 9V4Z",
29
+ fill: "currentColor"
30
+ }), React.createElement("path", {
31
+ d: "M15 13C13.8954 13 13 13.8954 13 15V20C13 21.1046 13.8954 22 15 22H20C21.1046 22 22 21.1046 22 20V15C22 13.8954 21.1046 13 20 13H15Z",
32
+ fill: "currentColor"
33
+ })) : React.createElement("path", {
34
+ fillRule: "evenodd",
35
+ clipRule: "evenodd",
36
+ d: "M11 20V15C11 13.8954 10.1046 13 9 13H4C2.89543 13 2 13.8954 2 15V20C2 21.1046 2.89543 22 4 22H9C10.1046 22 11 21.1046 11 20ZM4 4V9H9V4H4ZM4 15V20H9V15H4ZM20 4H15V9H20V4ZM15 15V20H20V15H15ZM2 4C2 2.89543 2.89543 2 4 2H9C10.1046 2 11 2.89543 11 4V9C11 10.1046 10.1046 11 9 11H4C2.89543 11 2 10.1046 2 9V4ZM13 4C13 2.89543 13.8954 2 15 2H20C21.1046 2 22 2.89543 22 4V9C22 10.1046 21.1046 11 20 11H15C13.8954 11 13 10.1046 13 9V4ZM13 15C13 13.8954 13.8954 13 15 13H20C21.1046 13 22 13.8954 22 15V20C22 21.1046 21.1046 22 20 22H15C13.8954 22 13 21.1046 13 20V15Z",
37
+ fill: "currentColor"
38
+ }));
39
+ }
@@ -28,7 +28,7 @@ export declare const styles: import("tailwind-variants").TVReturnType<{
28
28
  primary: string;
29
29
  text: string;
30
30
  };
31
- }, undefined, "inline-block rounded transition-colors disabled:pointer-events-none disabled:opacity-50", {
31
+ }, undefined, "inline-block transition-colors disabled:pointer-events-none disabled:opacity-50", {
32
32
  responsiveVariants: string[];
33
33
  }, {
34
34
  size: {
@@ -1,6 +1,6 @@
1
1
  import { tv } from 'tailwind-variants';
2
2
  export const styles = tv({
3
- base: 'inline-block rounded transition-colors disabled:pointer-events-none disabled:opacity-50',
3
+ base: 'inline-block transition-colors disabled:pointer-events-none disabled:opacity-50',
4
4
  variants: {
5
5
  size: {
6
6
  xsmall: 'h-2 w-2',
@@ -1,11 +1,16 @@
1
1
  import { type ReactNode, type SVGAttributes } from 'react';
2
2
  import { type VariantProps } from 'tailwind-variants';
3
3
  import { styles } from './icon.styles.js';
4
+ type Variants = VariantProps<typeof styles>;
4
5
  export type IconProps = SVGAttributes<SVGElement> & {
5
6
  /**
6
7
  * children prop
7
8
  */
8
9
  children?: ReactNode;
10
+ /**
11
+ * Icon color
12
+ */
13
+ color?: Variants['color'];
9
14
  /**
10
15
  * The icon SVG metadata copyright year text
11
16
  */
@@ -14,4 +19,9 @@ export type IconProps = SVGAttributes<SVGElement> & {
14
19
  * Icon look variation. Defaults to filled
15
20
  */
16
21
  look?: 'filled' | 'outlined';
17
- } & VariantProps<typeof styles>;
22
+ /**
23
+ * Icon size
24
+ */
25
+ size?: Variants['size'];
26
+ };
27
+ export {};
@@ -44,6 +44,7 @@ export { CompassIcon } from './components/compass-icon.js';
44
44
  export { ContactIcon } from './components/contact-icon.js';
45
45
  export { ContentCopyIcon } from './components/content-copy-icon.js';
46
46
  export { CreditCardIcon } from './components/credit-card-icon.js';
47
+ export { CreditCardsIcon } from './components/credit-cards-icon.js';
47
48
  export { CubeIcon } from './components/cube-icon.js';
48
49
  export { CursorArrowClickIcon } from './components/cursor-arrow-click-icon.js';
49
50
  export { CursorArrowDoubleclickIcon } from './components/cursor-arrow-doubleclick-icon.js';
@@ -145,6 +146,7 @@ export { PauseIcon } from './components/pause-icon.js';
145
146
  export { PawIcon } from './components/paw-icon.js';
146
147
  export { PayIcon } from './components/pay-icon.js';
147
148
  export { PayIdIcon } from './components/pay-id-icon.js';
149
+ export { PayToIcon } from './components/pay-to-icon.js';
148
150
  export { PayToMobileIcon } from './components/pay-to-mobile-icon.js';
149
151
  export { PaypassIcon } from './components/paypass-icon.js';
150
152
  export { PdfFileIcon } from './components/pdf-file-icon.js';
@@ -201,6 +203,7 @@ export { ThumbDownIcon } from './components/thumb-down-icon.js';
201
203
  export { ThumbUpIcon } from './components/thumb-up-icon.js';
202
204
  export { TickCircleIcon } from './components/tick-circle-icon.js';
203
205
  export { TickIcon } from './components/tick-icon.js';
206
+ export { TilesIcon } from './components/tiles-icon.js';
204
207
  export { TransferIcon } from './components/transfer-icon.js';
205
208
  export { TransportIcon } from './components/transport-icon.js';
206
209
  export { TravelExploreIcon } from './components/travel-explore-icon.js';
@@ -226,11 +229,5 @@ export { WriteIcon } from './components/write-icon.js';
226
229
  export { YammerIcon } from './components/yammer-icon.js';
227
230
  export { YoutubeIcon } from './components/youtube-icon.js';
228
231
  export { ZipFileIcon } from './components/zip-file-icon.js';
229
- export { BOMLogoIcon } from './components/bom-logo-icon.js';
230
- export { BSALogoIcon } from './components/bsa-logo-icon.js';
231
- export { RAMSLogoIcon } from './components/rams-logo-icon.js';
232
- export { STGLogoIcon } from './components/stg-logo-icon.js';
233
- export { WBCLogoIcon } from './components/wbc-logo-icon.js';
234
- export { WBGLogoIcon } from './components/wbg-logo-icon.js';
235
232
  export { Icon } from './icon.component.js';
236
233
  export { type IconProps } from './icon.types.js';
@@ -44,6 +44,7 @@ export { CompassIcon } from './components/compass-icon.js';
44
44
  export { ContactIcon } from './components/contact-icon.js';
45
45
  export { ContentCopyIcon } from './components/content-copy-icon.js';
46
46
  export { CreditCardIcon } from './components/credit-card-icon.js';
47
+ export { CreditCardsIcon } from './components/credit-cards-icon.js';
47
48
  export { CubeIcon } from './components/cube-icon.js';
48
49
  export { CursorArrowClickIcon } from './components/cursor-arrow-click-icon.js';
49
50
  export { CursorArrowDoubleclickIcon } from './components/cursor-arrow-doubleclick-icon.js';
@@ -145,6 +146,7 @@ export { PauseIcon } from './components/pause-icon.js';
145
146
  export { PawIcon } from './components/paw-icon.js';
146
147
  export { PayIcon } from './components/pay-icon.js';
147
148
  export { PayIdIcon } from './components/pay-id-icon.js';
149
+ export { PayToIcon } from './components/pay-to-icon.js';
148
150
  export { PayToMobileIcon } from './components/pay-to-mobile-icon.js';
149
151
  export { PaypassIcon } from './components/paypass-icon.js';
150
152
  export { PdfFileIcon } from './components/pdf-file-icon.js';
@@ -201,6 +203,7 @@ export { ThumbDownIcon } from './components/thumb-down-icon.js';
201
203
  export { ThumbUpIcon } from './components/thumb-up-icon.js';
202
204
  export { TickCircleIcon } from './components/tick-circle-icon.js';
203
205
  export { TickIcon } from './components/tick-icon.js';
206
+ export { TilesIcon } from './components/tiles-icon.js';
204
207
  export { TransferIcon } from './components/transfer-icon.js';
205
208
  export { TransportIcon } from './components/transport-icon.js';
206
209
  export { TravelExploreIcon } from './components/travel-explore-icon.js';
@@ -226,10 +229,4 @@ export { WriteIcon } from './components/write-icon.js';
226
229
  export { YammerIcon } from './components/yammer-icon.js';
227
230
  export { YoutubeIcon } from './components/youtube-icon.js';
228
231
  export { ZipFileIcon } from './components/zip-file-icon.js';
229
- export { BOMLogoIcon } from './components/bom-logo-icon.js';
230
- export { BSALogoIcon } from './components/bsa-logo-icon.js';
231
- export { RAMSLogoIcon } from './components/rams-logo-icon.js';
232
- export { STGLogoIcon } from './components/stg-logo-icon.js';
233
- export { WBCLogoIcon } from './components/wbc-logo-icon.js';
234
- export { WBGLogoIcon } from './components/wbg-logo-icon.js';
235
232
  export { Icon } from './icon.component.js';