@otto-de/b2b-core-components 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (211) hide show
  1. package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
  2. package/dist/b2b-core-components/{p-41e83c36.entry.js → p-08a50b6c.entry.js} +1 -1
  3. package/dist/b2b-core-components/p-09995310.entry.js +1 -0
  4. package/dist/b2b-core-components/p-144a3c59.entry.js +1 -0
  5. package/dist/b2b-core-components/{p-dfa3663c.entry.js → p-1493f7df.entry.js} +1 -1
  6. package/dist/b2b-core-components/{p-6dc0211c.entry.js → p-14f1b674.entry.js} +1 -1
  7. package/dist/b2b-core-components/{p-977d2fff.entry.js → p-15a499b0.entry.js} +1 -1
  8. package/dist/b2b-core-components/p-1fbb8c18.entry.js +1 -0
  9. package/dist/b2b-core-components/p-22dab2b4.entry.js +1 -0
  10. package/dist/b2b-core-components/{p-ee1d70fc.entry.js → p-400b3111.entry.js} +1 -1
  11. package/dist/b2b-core-components/{p-893f600f.entry.js → p-48d4d224.entry.js} +1 -1
  12. package/dist/b2b-core-components/p-4b25559c.entry.js +1 -0
  13. package/dist/b2b-core-components/{p-ca2722e8.entry.js → p-515eb49e.entry.js} +1 -1
  14. package/dist/b2b-core-components/{p-7149e60c.entry.js → p-5952fa73.entry.js} +1 -1
  15. package/dist/b2b-core-components/p-686d6598.entry.js +1 -0
  16. package/dist/b2b-core-components/p-6c9b0c23.entry.js +1 -0
  17. package/dist/b2b-core-components/p-6ddad1ab.entry.js +1 -0
  18. package/dist/b2b-core-components/{p-c8585513.entry.js → p-6e3b27cd.entry.js} +1 -1
  19. package/dist/b2b-core-components/{p-c8ec3c18.entry.js → p-7ca9b704.entry.js} +1 -1
  20. package/dist/b2b-core-components/{p-66399e78.entry.js → p-81a52d1a.entry.js} +1 -1
  21. package/dist/b2b-core-components/{p-414fef03.entry.js → p-83542aec.entry.js} +1 -1
  22. package/dist/b2b-core-components/{p-3cbf9cd2.entry.js → p-8970ae74.entry.js} +1 -1
  23. package/dist/b2b-core-components/{p-22cc8a9f.entry.js → p-9184036b.entry.js} +1 -1
  24. package/dist/b2b-core-components/{p-5048bec7.entry.js → p-925e40af.entry.js} +1 -1
  25. package/dist/b2b-core-components/{p-99d63c7c.entry.js → p-965ae161.entry.js} +1 -1
  26. package/dist/b2b-core-components/{p-2125ea38.entry.js → p-99f8cf34.entry.js} +1 -1
  27. package/dist/b2b-core-components/{p-a1832e33.entry.js → p-9facba86.entry.js} +1 -1
  28. package/dist/b2b-core-components/{p-9f670297.entry.js → p-a6248754.entry.js} +1 -1
  29. package/dist/b2b-core-components/p-a7417890.js +2 -0
  30. package/dist/b2b-core-components/{p-5b1bc987.entry.js → p-b6e0a6ea.entry.js} +1 -1
  31. package/dist/b2b-core-components/{p-5b40beba.entry.js → p-ba74cde5.entry.js} +1 -1
  32. package/dist/b2b-core-components/{p-84608432.entry.js → p-c2bcf0a8.entry.js} +1 -1
  33. package/dist/b2b-core-components/{p-ff4d56aa.entry.js → p-d6ce3259.entry.js} +1 -1
  34. package/dist/b2b-core-components/{p-72c780a5.entry.js → p-da6a1f55.entry.js} +1 -1
  35. package/dist/b2b-core-components/p-dacfc1ab.js +1 -0
  36. package/dist/b2b-core-components/{p-ad2548ba.entry.js → p-f0aa5e83.entry.js} +1 -1
  37. package/dist/b2b-core-components/p-f57b891b.entry.js +1 -0
  38. package/dist/b2b-core-components/{p-c2855f32.entry.js → p-fc639b29.entry.js} +1 -1
  39. package/dist/b2b-core-components/{p-7e28e0f2.entry.js → p-fd34bf31.entry.js} +1 -1
  40. package/dist/cjs/b2b-alert.cjs.entry.js +1 -1
  41. package/dist/cjs/b2b-anchor.cjs.entry.js +1 -1
  42. package/dist/cjs/b2b-button_2.cjs.entry.js +1 -1
  43. package/dist/cjs/b2b-card.cjs.entry.js +47 -0
  44. package/dist/cjs/b2b-checkbox-group.cjs.entry.js +1 -1
  45. package/dist/cjs/b2b-checkbox.cjs.entry.js +1 -1
  46. package/dist/cjs/b2b-core-components.cjs.js +2 -2
  47. package/dist/cjs/b2b-dropdown.cjs.entry.js +1 -1
  48. package/dist/cjs/b2b-grid-col.cjs.entry.js +1 -1
  49. package/dist/cjs/b2b-grid-row.cjs.entry.js +1 -1
  50. package/dist/cjs/b2b-grid.cjs.entry.js +1 -1
  51. package/dist/cjs/b2b-headline.cjs.entry.js +1 -1
  52. package/dist/cjs/b2b-icon.cjs.entry.js +4 -2
  53. package/dist/cjs/b2b-input-group_2.cjs.entry.js +3 -2
  54. package/dist/cjs/b2b-input-label.cjs.entry.js +1 -1
  55. package/dist/cjs/b2b-input_2.cjs.entry.js +1 -1
  56. package/dist/cjs/b2b-label.cjs.entry.js +1 -1
  57. package/dist/cjs/b2b-modal.cjs.entry.js +2 -2
  58. package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
  59. package/dist/cjs/b2b-paragraph.cjs.entry.js +1 -1
  60. package/dist/cjs/b2b-radio-button.cjs.entry.js +12 -11
  61. package/dist/cjs/b2b-radio-group.cjs.entry.js +1 -1
  62. package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
  63. package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
  64. package/dist/cjs/b2b-search.cjs.entry.js +3 -2
  65. package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
  66. package/dist/cjs/b2b-tab-group.cjs.entry.js +1 -1
  67. package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
  68. package/dist/cjs/b2b-tab.cjs.entry.js +1 -1
  69. package/dist/cjs/{b2b-table-header.cjs.entry.js → b2b-table-cell_2.cjs.entry.js} +47 -2
  70. package/dist/cjs/b2b-table-row.cjs.entry.js +22 -5
  71. package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +58 -4
  72. package/dist/cjs/b2b-table.cjs.entry.js +2 -2
  73. package/dist/cjs/b2b-textarea.cjs.entry.js +1 -1
  74. package/dist/cjs/b2b-toggle-button.cjs.entry.js +2 -2
  75. package/dist/cjs/b2b-toggle-group.cjs.entry.js +1 -1
  76. package/dist/cjs/b2b-tooltip.cjs.entry.js +1 -1
  77. package/dist/cjs/{index-494f6064.js → index-496aa5dd.js} +11 -8
  78. package/dist/cjs/loader.cjs.js +2 -2
  79. package/dist/cjs/{types-9f580c92.js → types-4a59c127.js} +6 -0
  80. package/dist/collection/collection-manifest.json +2 -1
  81. package/dist/collection/components/alert/alert.css +2 -2
  82. package/dist/collection/components/anchor/anchor.css +2 -2
  83. package/dist/collection/components/button/button.css +2 -2
  84. package/dist/collection/components/card/card.css +257 -0
  85. package/dist/collection/components/card/card.js +138 -0
  86. package/dist/collection/components/card/card.stories.js +41 -0
  87. package/dist/collection/components/checkbox/checkbox.css +2 -2
  88. package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
  89. package/dist/collection/components/dropdown/dropdown.css +2 -2
  90. package/dist/collection/components/headline/headline.css +2 -2
  91. package/dist/collection/components/icon/icon.css +5 -2
  92. package/dist/collection/components/icon/icon.js +20 -0
  93. package/dist/collection/components/input/input.css +2 -2
  94. package/dist/collection/components/input-group/input-group.css +2 -2
  95. package/dist/collection/components/input-group/input-group.stories.js +7 -7
  96. package/dist/collection/components/input-list/input-list.css +2 -2
  97. package/dist/collection/components/input-list/input-list.js +21 -2
  98. package/dist/collection/components/input-list/input-list.stories.js +6 -1
  99. package/dist/collection/components/label/label.css +2 -2
  100. package/dist/collection/components/modal/modal.css +9 -4
  101. package/dist/collection/components/pagination/pagination.css +2 -2
  102. package/dist/collection/components/paragraph/paragraph.css +2 -2
  103. package/dist/collection/components/radio/radio.css +2 -2
  104. package/dist/collection/components/radio/radio.js +11 -10
  105. package/dist/collection/components/radio-group/radio-group.css +2 -2
  106. package/dist/collection/components/required-separator/required-separator.css +2 -2
  107. package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
  108. package/dist/collection/components/search/search.js +20 -1
  109. package/dist/collection/components/search/search.stories.js +12 -4
  110. package/dist/collection/components/separator/separator.css +2 -2
  111. package/dist/collection/components/spinner/spinner.css +2 -2
  112. package/dist/collection/components/tab/tab.css +2 -2
  113. package/dist/collection/components/tab-panel/tab-panel.css +2 -2
  114. package/dist/collection/components/table/table-cell/table-cell.css +2 -2
  115. package/dist/collection/components/table/table-cell/table-cell.js +4 -4
  116. package/dist/collection/components/table/table-header/table-header.css +2 -2
  117. package/dist/collection/components/table/table-row/table-row.css +26 -12
  118. package/dist/collection/components/table/table-row/table-row.js +92 -8
  119. package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
  120. package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +101 -2
  121. package/dist/collection/components/table/table.css +2 -2
  122. package/dist/collection/components/table/table.stories.js +51 -1
  123. package/dist/collection/components/table/types.js +5 -0
  124. package/dist/collection/components/textarea/textarea.css +2 -2
  125. package/dist/collection/components/toggle-button/toggle-button.css +2 -2
  126. package/dist/collection/components/toggle-button/toggle-button.js +1 -1
  127. package/dist/collection/components/toggle-group/toggle-group.css +2 -2
  128. package/dist/collection/components/tooltip/tooltip.css +2 -2
  129. package/dist/components/b2b-card.d.ts +11 -0
  130. package/dist/components/b2b-card.js +65 -0
  131. package/dist/components/b2b-modal.js +1 -1
  132. package/dist/components/b2b-radio-button.js +11 -10
  133. package/dist/components/b2b-search.js +3 -1
  134. package/dist/components/b2b-table-cell.js +1 -68
  135. package/dist/components/b2b-table-header.js +1 -89
  136. package/dist/components/b2b-table-row.js +45 -7
  137. package/dist/components/b2b-table-rowgroup.js +61 -5
  138. package/dist/components/b2b-toggle-button.js +1 -1
  139. package/dist/components/icon.js +4 -1
  140. package/dist/components/input-list.js +3 -1
  141. package/dist/{esm/b2b-table-cell.entry.js → components/table-cell.js} +31 -9
  142. package/dist/{esm/b2b-table-header.entry.js → components/table-header.js} +30 -9
  143. package/dist/components/types.js +6 -1
  144. package/dist/custom-elements.json +65 -1
  145. package/dist/esm/b2b-alert.entry.js +1 -1
  146. package/dist/esm/b2b-anchor.entry.js +1 -1
  147. package/dist/esm/b2b-button_2.entry.js +1 -1
  148. package/dist/esm/b2b-card.entry.js +43 -0
  149. package/dist/esm/b2b-checkbox-group.entry.js +1 -1
  150. package/dist/esm/b2b-checkbox.entry.js +1 -1
  151. package/dist/esm/b2b-core-components.js +3 -3
  152. package/dist/esm/b2b-dropdown.entry.js +1 -1
  153. package/dist/esm/b2b-grid-col.entry.js +1 -1
  154. package/dist/esm/b2b-grid-row.entry.js +1 -1
  155. package/dist/esm/b2b-grid.entry.js +1 -1
  156. package/dist/esm/b2b-headline.entry.js +1 -1
  157. package/dist/esm/b2b-icon.entry.js +4 -2
  158. package/dist/esm/b2b-input-group_2.entry.js +3 -2
  159. package/dist/esm/b2b-input-label.entry.js +1 -1
  160. package/dist/esm/b2b-input_2.entry.js +1 -1
  161. package/dist/esm/b2b-label.entry.js +1 -1
  162. package/dist/esm/b2b-modal.entry.js +2 -2
  163. package/dist/esm/b2b-pagination.entry.js +1 -1
  164. package/dist/esm/b2b-paragraph.entry.js +1 -1
  165. package/dist/esm/b2b-radio-button.entry.js +12 -11
  166. package/dist/esm/b2b-radio-group.entry.js +1 -1
  167. package/dist/esm/b2b-required-separator.entry.js +1 -1
  168. package/dist/esm/b2b-scrollable-container.entry.js +1 -1
  169. package/dist/esm/b2b-search.entry.js +3 -2
  170. package/dist/esm/b2b-separator.entry.js +1 -1
  171. package/dist/esm/b2b-tab-group.entry.js +1 -1
  172. package/dist/esm/b2b-tab-panel.entry.js +1 -1
  173. package/dist/esm/b2b-tab.entry.js +1 -1
  174. package/dist/esm/b2b-table-cell_2.entry.js +114 -0
  175. package/dist/esm/b2b-table-row.entry.js +22 -5
  176. package/dist/esm/b2b-table-rowgroup.entry.js +58 -4
  177. package/dist/esm/b2b-table.entry.js +2 -2
  178. package/dist/esm/b2b-textarea.entry.js +1 -1
  179. package/dist/esm/b2b-toggle-button.entry.js +2 -2
  180. package/dist/esm/b2b-toggle-group.entry.js +1 -1
  181. package/dist/esm/b2b-tooltip.entry.js +1 -1
  182. package/dist/esm/{index-ffd21e30.js → index-026605c2.js} +11 -8
  183. package/dist/esm/loader.js +3 -3
  184. package/dist/esm/{types-b6ef0c78.js → types-a2bb01cb.js} +6 -1
  185. package/dist/types/components/card/card.d.ts +16 -0
  186. package/dist/types/components/card/card.stories.d.ts +6 -0
  187. package/dist/types/components/icon/icon.d.ts +2 -0
  188. package/dist/types/components/input-list/input-list.d.ts +3 -0
  189. package/dist/types/components/input-list/input-list.stories.d.ts +1 -0
  190. package/dist/types/components/search/search.d.ts +2 -0
  191. package/dist/types/components/search/search.stories.d.ts +2 -1
  192. package/dist/types/components/table/table-cell/table-cell.d.ts +3 -4
  193. package/dist/types/components/table/table-row/table-row.d.ts +11 -2
  194. package/dist/types/components/table/table-rowgroup/table-rowgroup.d.ts +15 -0
  195. package/dist/types/components/table/table.stories.d.ts +1 -0
  196. package/dist/types/components/table/types.d.ts +7 -0
  197. package/dist/types/components.d.ts +116 -12
  198. package/dist/web-types.json +128 -4
  199. package/package.json +8 -4
  200. package/dist/b2b-core-components/p-4cc68a17.entry.js +0 -1
  201. package/dist/b2b-core-components/p-6000aa40.js +0 -2
  202. package/dist/b2b-core-components/p-644c602b.entry.js +0 -1
  203. package/dist/b2b-core-components/p-81a32656.entry.js +0 -1
  204. package/dist/b2b-core-components/p-8d5e14b1.js +0 -1
  205. package/dist/b2b-core-components/p-9cab38a6.entry.js +0 -1
  206. package/dist/b2b-core-components/p-b35d3924.entry.js +0 -1
  207. package/dist/b2b-core-components/p-bfdc3e1d.entry.js +0 -1
  208. package/dist/b2b-core-components/p-cfdb21b6.entry.js +0 -1
  209. package/dist/b2b-core-components/p-da6ddbb2.entry.js +0 -1
  210. package/dist/b2b-core-components/p-f6105da5.entry.js +0 -1
  211. package/dist/cjs/b2b-table-cell.cjs.entry.js +0 -52
@@ -1109,6 +1109,9 @@ const dispatchHooks = (hostRef, isInitialLoad) => {
1109
1109
  hostRef.$queuedListeners$ = null;
1110
1110
  }
1111
1111
  }
1112
+ {
1113
+ promise = safeCall(instance, 'componentWillLoad');
1114
+ }
1112
1115
  }
1113
1116
  {
1114
1117
  promise = then(promise, () => safeCall(instance, 'componentWillRender'));
@@ -1768,6 +1771,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1768
1771
  return import(
1769
1772
  /* webpackMode: "lazy" */
1770
1773
  './b2b-anchor.entry.js').then(processMod, consoleError);
1774
+ case 'b2b-card':
1775
+ return import(
1776
+ /* webpackMode: "lazy" */
1777
+ './b2b-card.entry.js').then(processMod, consoleError);
1771
1778
  case 'b2b-checkbox':
1772
1779
  return import(
1773
1780
  /* webpackMode: "lazy" */
@@ -1844,14 +1851,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1844
1851
  return import(
1845
1852
  /* webpackMode: "lazy" */
1846
1853
  './b2b-table.entry.js').then(processMod, consoleError);
1847
- case 'b2b-table-cell':
1848
- return import(
1849
- /* webpackMode: "lazy" */
1850
- './b2b-table-cell.entry.js').then(processMod, consoleError);
1851
- case 'b2b-table-header':
1852
- return import(
1853
- /* webpackMode: "lazy" */
1854
- './b2b-table-header.entry.js').then(processMod, consoleError);
1855
1854
  case 'b2b-table-row':
1856
1855
  return import(
1857
1856
  /* webpackMode: "lazy" */
@@ -1884,6 +1883,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
1884
1883
  return import(
1885
1884
  /* webpackMode: "lazy" */
1886
1885
  './b2b-input-group_2.entry.js').then(processMod, consoleError);
1886
+ case 'b2b-table-cell_2':
1887
+ return import(
1888
+ /* webpackMode: "lazy" */
1889
+ './b2b-table-cell_2.entry.js').then(processMod, consoleError);
1887
1890
  case 'b2b-button_2':
1888
1891
  return import(
1889
1892
  /* webpackMode: "lazy" */
@@ -1,5 +1,5 @@
1
- import { p as promiseResolve, b as bootstrapLazy } from './index-ffd21e30.js';
2
- export { s as setNonce } from './index-ffd21e30.js';
1
+ import { p as promiseResolve, b as bootstrapLazy } from './index-026605c2.js';
2
+ export { s as setNonce } from './index-026605c2.js';
3
3
 
4
4
  /*
5
5
  Stencil Client Patch Esm v3.0.1 | MIT Licensed | https://stenciljs.com
@@ -11,7 +11,7 @@ const patchEsm = () => {
11
11
  const defineCustomElements = (win, options) => {
12
12
  if (typeof window === 'undefined') return Promise.resolve();
13
13
  return patchEsm().then(() => {
14
- return bootstrapLazy([["b2b-search",[[1,"b2b-search",{"placeholder":[1],"optionsList":[16],"value":[1537],"closed":[32]}]]],["b2b-modal",[[1,"b2b-modal",{"heading":[1],"opened":[1540],"backdropDismiss":[4,"backdrop-dismiss"],"escDismiss":[4,"esc-dismiss"],"variant":[1],"iconHover":[32],"isOpen":[32]},[[0,"keydown","handleKeypress"]]]]],["b2b-pagination",[[1,"b2b-pagination",{"totalPages":[2,"total-pages"],"activePage":[1538,"active-page"],"ariaLabelNextPage":[1,"aria-label-next-page"],"ariaLabelPreviousPage":[1,"aria-label-previous-page"]}]]],["b2b-alert",[[1,"b2b-alert",{"type":[1],"size":[1],"opened":[1028],"hasCloseButton":[4,"has-close-button"],"customIcon":[4,"custom-icon"]}]]],["b2b-checkbox",[[1,"b2b-checkbox",{"label":[1],"required":[516],"checked":[1540],"disabled":[516],"error":[1],"hint":[1],"name":[513],"value":[520],"invalid":[4]}]]],["b2b-checkbox-group",[[1,"b2b-checkbox-group",{"label":[1],"required":[4],"disabled":[4],"invalid":[4],"alignment":[1],"hint":[1],"error":[1]},[[0,"b2b-change","handleCheckboxChange"]]]]],["b2b-dropdown",[[1,"b2b-dropdown",{"label":[1],"required":[516],"name":[513],"disabled":[516],"invalid":[516],"hint":[1],"error":[1]}]]],["b2b-radio-button",[[1,"b2b-radio-button",{"label":[1],"required":[516],"name":[513],"checked":[1540],"disabled":[516],"invalid":[4],"value":[513],"hint":[1],"error":[1]}]]],["b2b-radio-group",[[1,"b2b-radio-group",{"name":[1],"label":[1],"required":[4],"alignment":[1],"disabled":[516],"invalid":[516],"hint":[1],"error":[1],"currentValue":[32]},[[0,"b2b-change","handleRadioButtonChange"]]]]],["b2b-required-separator",[[1,"b2b-required-separator",{"label":[1]}]]],["b2b-tab-group",[[1,"b2b-tab-group",{"useRouter":[4,"use-router"]},[[0,"click","handleClick"],[0,"keydown","handleKeydown"]]]]],["b2b-textarea",[[1,"b2b-textarea",{"label":[1],"required":[516],"placeholder":[513],"disabled":[516],"invalid":[516],"autofocus":[516],"resize":[513],"hint":[1],"error":[1],"value":[1537],"name":[513],"maxLength":[514,"max-length"]}]]],["b2b-anchor",[[1,"b2b-anchor",{"href":[1],"download":[1],"target":[1],"size":[1]}]]],["b2b-grid",[[1,"b2b-grid",{"margin":[2]}]]],["b2b-grid-col",[[1,"b2b-grid-col",{"span":[514],"textAlign":[1,"text-align"]}]]],["b2b-grid-row",[[1,"b2b-grid-row",{"columnGap":[2,"column-gap"],"rowGap":[2,"row-gap"],"alignItems":[1,"align-items"],"justify":[1]}]]],["b2b-label",[[1,"b2b-label",{"type":[1]}]]],["b2b-paragraph",[[1,"b2b-paragraph",{"weight":[1],"size":[1],"align":[1]}]]],["b2b-scrollable-container",[[1,"b2b-scrollable-container"]]],["b2b-tab",[[1,"b2b-tab",{"selected":[516],"disabled":[4],"invalid":[4]}]]],["b2b-tab-panel",[[1,"b2b-tab-panel"]]],["b2b-table",[[1,"b2b-table",{"size":[1]},[[0,"b2b-change","onColumnSelected"]]]]],["b2b-table-cell",[[1,"b2b-table-cell",{"textWrap":[516,"text-wrap"],"size":[1],"align":[1],"divider":[4],"color":[1],"useTextEllipsis":[32]}]]],["b2b-table-header",[[1,"b2b-table-header",{"divider":[4],"fixed":[4],"sortDirection":[1537,"sort-direction"],"sortId":[1,"sort-id"],"active":[32]}]]],["b2b-table-row",[[1,"b2b-table-row",{"highlight":[4],"color":[1]}]]],["b2b-table-rowgroup",[[1,"b2b-table-rowgroup",{"type":[1]}]]],["b2b-toggle-button",[[1,"b2b-toggle-button",{"label":[1],"name":[513],"checked":[1540],"disabled":[516],"value":[513]}]]],["b2b-toggle-group",[[1,"b2b-toggle-group",{"name":[1],"disabled":[516],"currentValue":[32]},[[0,"b2b-change","handleToggleButtonChange"]]]]],["b2b-tooltip",[[1,"b2b-tooltip",{"position":[1],"content":[1],"trigger":[1],"opened":[1540]}]]],["b2b-headline",[[1,"b2b-headline",{"size":[1],"align":[1],"noMargin":[4,"no-margin"]}]]],["b2b-input-label",[[1,"b2b-input-label",{"required":[4],"disabled":[4]}]]],["b2b-input_2",[[1,"b2b-input",{"label":[1],"required":[516],"type":[513],"disabled":[516],"invalid":[516],"placeholder":[513],"value":[1537],"name":[513],"hint":[1],"error":[1],"autofocus":[4],"hasFocus":[32],"hasTextPrefix":[32],"hasTextSuffix":[32],"setFocus":[64],"clearInput":[64]}],[0,"b2b-input-list-option",{"option":[1]},[[0,"keydown","handleKeyDown"]]]]],["b2b-input-group_2",[[1,"b2b-input-list",{"label":[1],"required":[516],"placeholder":[513],"optionsList":[16],"value":[1537],"hasOptionList":[32],"isElementFocused":[32]},[[0,"keydown","handleKeyDown"]]],[1,"b2b-input-group",{"invalid":[4],"disabled":[4],"error":[1],"hint":[1]}]]],["b2b-separator",[[1,"b2b-separator",{"alignment":[1]}]]],["b2b-icon",[[1,"b2b-icon",{"icon":[1],"color":[1],"size":[1],"pathData":[32]}]]],["b2b-button_2",[[1,"b2b-button",{"variant":[1],"type":[1],"size":[1],"disabled":[516],"loading":[4],"active":[516],"href":[1],"target":[1],"download":[1],"setFocus":[64]},[[2,"click","handleHostClick"]]],[1,"b2b-spinner",{"size":[1],"color":[1]}]]]], options);
14
+ return bootstrapLazy([["b2b-search",[[1,"b2b-search",{"placeholder":[1],"optionsList":[16],"value":[1537],"disabled":[516],"closed":[32]}]]],["b2b-table-row",[[1,"b2b-table-row",{"highlight":[4],"color":[1],"type":[1],"isOpen":[32],"toggleAccordion":[64]}]]],["b2b-modal",[[1,"b2b-modal",{"heading":[1],"opened":[1540],"backdropDismiss":[4,"backdrop-dismiss"],"escDismiss":[4,"esc-dismiss"],"variant":[1],"iconHover":[32],"isOpen":[32]},[[0,"keydown","handleKeypress"]]]]],["b2b-pagination",[[1,"b2b-pagination",{"totalPages":[2,"total-pages"],"activePage":[1538,"active-page"],"ariaLabelNextPage":[1,"aria-label-next-page"],"ariaLabelPreviousPage":[1,"aria-label-previous-page"]}]]],["b2b-alert",[[1,"b2b-alert",{"type":[1],"size":[1],"opened":[1028],"hasCloseButton":[4,"has-close-button"],"customIcon":[4,"custom-icon"]}]]],["b2b-checkbox",[[1,"b2b-checkbox",{"label":[1],"required":[516],"checked":[1540],"disabled":[516],"error":[1],"hint":[1],"name":[513],"value":[520],"invalid":[4]}]]],["b2b-checkbox-group",[[1,"b2b-checkbox-group",{"label":[1],"required":[4],"disabled":[4],"invalid":[4],"alignment":[1],"hint":[1],"error":[1]},[[0,"b2b-change","handleCheckboxChange"]]]]],["b2b-dropdown",[[1,"b2b-dropdown",{"label":[1],"required":[516],"name":[513],"disabled":[516],"invalid":[516],"hint":[1],"error":[1]}]]],["b2b-radio-button",[[1,"b2b-radio-button",{"label":[1],"required":[516],"name":[513],"checked":[1540],"disabled":[516],"invalid":[4],"value":[513],"hint":[1],"error":[1]}]]],["b2b-radio-group",[[1,"b2b-radio-group",{"name":[1],"label":[1],"required":[4],"alignment":[1],"disabled":[516],"invalid":[516],"hint":[1],"error":[1],"currentValue":[32]},[[0,"b2b-change","handleRadioButtonChange"]]]]],["b2b-required-separator",[[1,"b2b-required-separator",{"label":[1]}]]],["b2b-tab-group",[[1,"b2b-tab-group",{"useRouter":[4,"use-router"]},[[0,"click","handleClick"],[0,"keydown","handleKeydown"]]]]],["b2b-textarea",[[1,"b2b-textarea",{"label":[1],"required":[516],"placeholder":[513],"disabled":[516],"invalid":[516],"autofocus":[516],"resize":[513],"hint":[1],"error":[1],"value":[1537],"name":[513],"maxLength":[514,"max-length"]}]]],["b2b-anchor",[[1,"b2b-anchor",{"href":[1],"download":[1],"target":[1],"size":[1]}]]],["b2b-card",[[1,"b2b-card",{"disabled":[4],"href":[1],"target":[1]},[[0,"click","onClick"],[0,"keydown","onKeyDown"]]]]],["b2b-grid",[[1,"b2b-grid",{"margin":[2]}]]],["b2b-grid-col",[[1,"b2b-grid-col",{"span":[514],"textAlign":[1,"text-align"]}]]],["b2b-grid-row",[[1,"b2b-grid-row",{"columnGap":[2,"column-gap"],"rowGap":[2,"row-gap"],"alignItems":[1,"align-items"],"justify":[1]}]]],["b2b-label",[[1,"b2b-label",{"type":[1]}]]],["b2b-paragraph",[[1,"b2b-paragraph",{"weight":[1],"size":[1],"align":[1]}]]],["b2b-scrollable-container",[[1,"b2b-scrollable-container"]]],["b2b-tab",[[1,"b2b-tab",{"selected":[516],"disabled":[4],"invalid":[4]}]]],["b2b-tab-panel",[[1,"b2b-tab-panel"]]],["b2b-table",[[1,"b2b-table",{"size":[1]},[[0,"b2b-change","onColumnSelected"]]]]],["b2b-table-rowgroup",[[1,"b2b-table-rowgroup",{"type":[1],"accordion":[4],"opened":[516]},[[0,"b2b-open","handleOpenChange"]]]]],["b2b-toggle-button",[[1,"b2b-toggle-button",{"label":[1],"name":[513],"checked":[1540],"disabled":[516],"value":[513]}]]],["b2b-toggle-group",[[1,"b2b-toggle-group",{"name":[1],"disabled":[516],"currentValue":[32]},[[0,"b2b-change","handleToggleButtonChange"]]]]],["b2b-tooltip",[[1,"b2b-tooltip",{"position":[1],"content":[1],"trigger":[1],"opened":[1540]}]]],["b2b-headline",[[1,"b2b-headline",{"size":[1],"align":[1],"noMargin":[4,"no-margin"]}]]],["b2b-input-group_2",[[1,"b2b-input-list",{"label":[1],"required":[516],"placeholder":[513],"optionsList":[16],"value":[1537],"disabled":[516],"hasOptionList":[32],"isElementFocused":[32]},[[0,"keydown","handleKeyDown"]]],[1,"b2b-input-group",{"invalid":[4],"disabled":[4],"error":[1],"hint":[1]}]]],["b2b-table-cell_2",[[1,"b2b-table-cell",{"textWrap":[516,"text-wrap"],"size":[1],"align":[1],"divider":[4],"color":[1],"useTextEllipsis":[32]}],[1,"b2b-table-header",{"divider":[4],"fixed":[4],"sortDirection":[1537,"sort-direction"],"sortId":[1,"sort-id"],"active":[32]}]]],["b2b-separator",[[1,"b2b-separator",{"alignment":[1]}]]],["b2b-input_2",[[1,"b2b-input",{"label":[1],"required":[516],"type":[513],"disabled":[516],"invalid":[516],"placeholder":[513],"value":[1537],"name":[513],"hint":[1],"error":[1],"autofocus":[4],"hasFocus":[32],"hasTextPrefix":[32],"hasTextSuffix":[32],"setFocus":[64],"clearInput":[64]}],[0,"b2b-input-list-option",{"option":[1]},[[0,"keydown","handleKeyDown"]]]]],["b2b-button_2",[[1,"b2b-button",{"variant":[1],"type":[1],"size":[1],"disabled":[516],"loading":[4],"active":[516],"href":[1],"target":[1],"download":[1],"setFocus":[64]},[[2,"click","handleHostClick"]]],[1,"b2b-spinner",{"size":[1],"color":[1]}]]],["b2b-icon",[[1,"b2b-icon",{"icon":[1],"color":[1],"size":[1],"clickable":[4],"pathData":[32]}]]],["b2b-input-label",[[1,"b2b-input-label",{"required":[4],"disabled":[4]}]]]], options);
15
15
  });
16
16
  };
17
17
 
@@ -17,5 +17,10 @@ const TableSortDirections = {
17
17
  ASC: 'ascending',
18
18
  DESC: 'descending',
19
19
  };
20
+ const TableRowTypes = {
21
+ PARENT: 'parent',
22
+ CHILD: 'child',
23
+ HEADER: 'header'
24
+ };
20
25
 
21
- export { ContentAlignment as C, TableSizes as T, TableSortDirections as a, TableRowgroupTypes as b };
26
+ export { ContentAlignment as C, TableSizes as T, TableSortDirections as a, TableRowTypes as b, TableRowgroupTypes as c };
@@ -0,0 +1,16 @@
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
+ export declare class CardComponent {
3
+ host: HTMLB2bCardElement;
4
+ /** Disables the card. Per default, it is false */
5
+ disabled: boolean;
6
+ /** An optional href in case the card is used to redirect on click. */
7
+ href?: string;
8
+ /** The target of the card if used with an href. Blank per default. */
9
+ target?: 'blank' | 'self';
10
+ /** Emits whenever the card is clicked on or enter is pressed while the card has focus. */
11
+ b2bChange: EventEmitter<void>;
12
+ onClick(): void;
13
+ onKeyDown(event: KeyboardEvent): void;
14
+ private getTabIndex;
15
+ render(): any;
16
+ }
@@ -0,0 +1,6 @@
1
+ import { Meta } from '@storybook/web-components';
2
+ export declare const story010Card: any;
3
+ export declare const story020DisabledCard: any;
4
+ export declare const story030LinkCard: any;
5
+ declare const _default: Meta<import("@storybook/web-components").Args>;
6
+ export default _default;
@@ -6,6 +6,8 @@ export declare class B2bIcon {
6
6
  color: 'primary' | 'secondary' | 'inverse' | 'inherit';
7
7
  /** The size of the icon */
8
8
  size: '50' | '100' | '200';
9
+ /** Will display a pointer cursor when hovering the icon */
10
+ clickable: boolean;
9
11
  private pathData;
10
12
  connectedCallback(): void;
11
13
  private isIconSupported;
@@ -12,6 +12,9 @@ export declare class InputListComponent {
12
12
  optionsList: string[];
13
13
  /** The default value of the input field. If defined, it will prefill the input. */
14
14
  value: string;
15
+ /** Whether or not the input is disabled. Default is false. */
16
+ disabled: boolean;
17
+ /** Emits when the user clicks the clear button. */
15
18
  b2bClear: EventEmitter<InputClear>;
16
19
  hasOptionList: boolean;
17
20
  isElementFocused: boolean;
@@ -1,6 +1,7 @@
1
1
  import { Meta } from '@storybook/web-components';
2
2
  export declare const story010InputList: any;
3
3
  export declare const story020InputListFocused: any;
4
+ export declare const story025InputListDisabled: any;
4
5
  export declare const story030CustomList: any;
5
6
  declare const _default: Meta<import("@storybook/web-components").Args>;
6
7
  export default _default;
@@ -8,6 +8,8 @@ export declare class SearchComponent {
8
8
  optionsList: string[];
9
9
  /** The default value of the search input field. If defined, it will prefill the input. */
10
10
  value: string;
11
+ /** Whether or not the input is disabled. Default is false. */
12
+ disabled: boolean;
11
13
  /** Emits whenever the user clicks the search button. Will emit the search string. */
12
14
  b2bSearch: EventEmitter<SearchClickEventDetail>;
13
15
  closed: false;
@@ -1,5 +1,6 @@
1
1
  import { Meta } from '@storybook/web-components';
2
2
  export declare const story010Search: any;
3
- export declare const story020CustomSearch: any;
3
+ export declare const story020SearchDisabled: any;
4
+ export declare const story030CustomSearch: any;
4
5
  declare const _default: Meta<import("@storybook/web-components").Args>;
5
6
  export default _default;
@@ -1,8 +1,7 @@
1
- import { ContentAlignment, TableSizes } from '../types';
2
- import { B2BTableColourOptions } from '../table-row/table-row';
1
+ import { ContentAlignment, TableSizes, TableColourOptions } from '../types';
3
2
  export declare class TableCellComponent {
4
3
  host: HTMLB2bTableCellElement;
5
- /** Weather text should wrap or truncate.
4
+ /** Whether text should wrap or truncate.
6
5
  * It will only truncate when table size is equal
7
6
  * **/
8
7
  textWrap: boolean;
@@ -16,7 +15,7 @@ export declare class TableCellComponent {
16
15
  /** adds a border to the right of the cell. **/
17
16
  divider: boolean;
18
17
  /** Background color of the cell. This color selection does not have hover states, as it is handled from the row**/
19
- color: B2BTableColourOptions;
18
+ color: TableColourOptions;
20
19
  useTextEllipsis: boolean;
21
20
  private expandTextHoverWaitTime;
22
21
  private expandTextHoverTimeoutId;
@@ -1,8 +1,17 @@
1
- export type B2BTableColourOptions = 'default' | 'selected' | 'group';
1
+ import { EventEmitter } from '../../../stencil-public-runtime';
2
+ import { TableRowTypes, TableColourOptions } from '../types';
2
3
  export declare class TableRowComponent {
3
4
  /** Whether the row will be highlighted on mouse over **/
4
5
  highlight: boolean;
5
6
  /** Background color of the row. Use it semantically. This color selection have hover states **/
6
- color: B2BTableColourOptions;
7
+ color: TableColourOptions;
8
+ /** Determined by the parent rowgroup for accordion rowgroups. Do not set manually. */
9
+ type: TableRowTypes;
10
+ /** Emits if the parent rowgroup is an accordion and the row is a top-level accordion row. Determines if the child rows will be shown. */
11
+ b2bOpen: EventEmitter<boolean>;
12
+ isOpen: boolean;
13
+ private toggleOpen;
14
+ /** Will toggle the accordion opened or closed. */
15
+ toggleAccordion(isOpen: any): Promise<void>;
7
16
  render(): any;
8
17
  }
@@ -5,7 +5,22 @@ export declare class TableRowgroupComponent {
5
5
  * Header rows are by default not highlightable on mouse over.
6
6
  **/
7
7
  type: TableRowgroupTypes;
8
+ /** Renders the rowgroup as an accordion. Both header and body must have accordion set to true.
9
+ * One table can contain multiple rowgroups of type body, each of which represents an accordion row with children.
10
+ */
11
+ accordion: boolean;
12
+ /** Only use when accordion property is true.
13
+ * Will render the accordion opened if set to true. By default, is false.
14
+ */
15
+ opened: boolean;
16
+ handleOpenChange(event: any): void;
17
+ private getFirstRow;
18
+ private getRemainingRows;
8
19
  private makeHeaderRowNotSelectable;
20
+ private addAccordionControlColumn;
21
+ private toggleInitialVisibility;
22
+ private toggleChildRowVisibility;
23
+ componentWillLoad(): void;
9
24
  componentDidRender(): void;
10
25
  render(): any;
11
26
  }
@@ -10,5 +10,6 @@ export declare const story080TableWithDividers: any;
10
10
  export declare const story090TableColor: any;
11
11
  export declare const story100ScrollableTable: any;
12
12
  export declare const story110Sorting: any;
13
+ export declare const story120Accordion: any;
13
14
  declare const _default: Meta<import("@storybook/web-components").Args>;
14
15
  export default _default;
@@ -21,3 +21,10 @@ export declare const TableSortDirections: {
21
21
  readonly DESC: "descending";
22
22
  };
23
23
  export type TableSortDirections = (typeof TableSortDirections)[keyof typeof TableSortDirections];
24
+ export declare const TableRowTypes: {
25
+ readonly PARENT: "parent";
26
+ readonly CHILD: "child";
27
+ readonly HEADER: "header";
28
+ };
29
+ export type TableRowTypes = (typeof TableRowTypes)[keyof typeof TableRowTypes];
30
+ export type TableColourOptions = 'default' | 'selected' | 'group';
@@ -9,16 +9,12 @@ import { CheckboxEventDetail, InputChangeEvent, InputClear, OptionSelectedEventD
9
9
  import { IconName } from "./components/icon/types";
10
10
  import { BeforeCloseEventDetail } from "./utils/interfaces/status.interface";
11
11
  import { ColumnSortChangeEventDetail, PageChangeEventDetail, TabChangeEventDetail } from "./utils/interfaces/interaction.interface";
12
- import { ContentAlignment, TableRowgroupTypes, TableSizes, TableSortDirections } from "./components/table/types";
13
- import { B2BTableColourOptions } from "./components/table/table-row/table-row";
14
- import { B2BTableColourOptions as B2BTableColourOptions1 } from "./components/table/table-row/table-row";
12
+ import { ContentAlignment, TableColourOptions, TableRowgroupTypes, TableRowTypes, TableSizes, TableSortDirections } from "./components/table/types";
15
13
  export { CheckboxEventDetail, InputChangeEvent, InputClear, OptionSelectedEventDetail, RadioEventDetail, SearchClickEventDetail, ToggleButtonEventDetail } from "./utils/interfaces/form.interface";
16
14
  export { IconName } from "./components/icon/types";
17
15
  export { BeforeCloseEventDetail } from "./utils/interfaces/status.interface";
18
16
  export { ColumnSortChangeEventDetail, PageChangeEventDetail, TabChangeEventDetail } from "./utils/interfaces/interaction.interface";
19
- export { ContentAlignment, TableRowgroupTypes, TableSizes, TableSortDirections } from "./components/table/types";
20
- export { B2BTableColourOptions } from "./components/table/table-row/table-row";
21
- export { B2BTableColourOptions as B2BTableColourOptions1 } from "./components/table/table-row/table-row";
17
+ export { ContentAlignment, TableColourOptions, TableRowgroupTypes, TableRowTypes, TableSizes, TableSortDirections } from "./components/table/types";
22
18
  export namespace Components {
23
19
  interface B2bAlert {
24
20
  /**
@@ -102,6 +98,20 @@ export namespace Components {
102
98
  */
103
99
  "variant": 'primary' | 'secondary';
104
100
  }
101
+ interface B2bCard {
102
+ /**
103
+ * Disables the card. Per default, it is false
104
+ */
105
+ "disabled": boolean;
106
+ /**
107
+ * An optional href in case the card is used to redirect on click.
108
+ */
109
+ "href"?: string;
110
+ /**
111
+ * The target of the card if used with an href. Blank per default.
112
+ */
113
+ "target"?: 'blank' | 'self';
114
+ }
105
115
  interface B2bCheckbox {
106
116
  /**
107
117
  * Whether or not the checkbox is checked. Default value is false and can be set to true if the checkbox should come pre-checked.
@@ -269,6 +279,10 @@ export namespace Components {
269
279
  "size": '400' | '200' | '100';
270
280
  }
271
281
  interface B2bIcon {
282
+ /**
283
+ * Will display a pointer cursor when hovering the icon
284
+ */
285
+ "clickable": boolean;
272
286
  /**
273
287
  * The color of the icon
274
288
  */
@@ -375,6 +389,10 @@ export namespace Components {
375
389
  "required": boolean;
376
390
  }
377
391
  interface B2bInputList {
392
+ /**
393
+ * Whether or not the input is disabled. Default is false.
394
+ */
395
+ "disabled": boolean;
378
396
  /**
379
397
  * The input label.
380
398
  */
@@ -551,6 +569,10 @@ export namespace Components {
551
569
  interface B2bScrollableContainer {
552
570
  }
553
571
  interface B2bSearch {
572
+ /**
573
+ * Whether or not the input is disabled. Default is false.
574
+ */
575
+ "disabled": boolean;
554
576
  /**
555
577
  * The list of options passed into the search dropdown. Can be static or dynamic, i.e. updated when the b2b-search or b2b-input emitters fire.
556
578
  */
@@ -620,7 +642,7 @@ export namespace Components {
620
642
  /**
621
643
  * Background color of the cell. This color selection does not have hover states, as it is handled from the row*
622
644
  */
623
- "color": B2BTableColourOptions;
645
+ "color": TableColourOptions;
624
646
  /**
625
647
  * adds a border to the right of the cell. *
626
648
  */
@@ -630,7 +652,7 @@ export namespace Components {
630
652
  */
631
653
  "size": TableSizes;
632
654
  /**
633
- * Weather text should wrap or truncate. It will only truncate when table size is equal *
655
+ * Whether text should wrap or truncate. It will only truncate when table size is equal *
634
656
  */
635
657
  "textWrap": boolean;
636
658
  }
@@ -656,13 +678,29 @@ export namespace Components {
656
678
  /**
657
679
  * Background color of the row. Use it semantically. This color selection have hover states *
658
680
  */
659
- "color": B2BTableColourOptions1;
681
+ "color": TableColourOptions;
660
682
  /**
661
683
  * Whether the row will be highlighted on mouse over *
662
684
  */
663
685
  "highlight": boolean;
686
+ /**
687
+ * Will toggle the accordion opened or closed.
688
+ */
689
+ "toggleAccordion": (isOpen: any) => Promise<void>;
690
+ /**
691
+ * Determined by the parent rowgroup for accordion rowgroups. Do not set manually.
692
+ */
693
+ "type": TableRowTypes;
664
694
  }
665
695
  interface B2bTableRowgroup {
696
+ /**
697
+ * Renders the rowgroup as an accordion. Both header and body must have accordion set to true. One table can contain multiple rowgroups of type body, each of which represents an accordion row with children.
698
+ */
699
+ "accordion": boolean;
700
+ /**
701
+ * Only use when accordion property is true. Will render the accordion opened if set to true. By default, is false.
702
+ */
703
+ "opened": boolean;
666
704
  /**
667
705
  * Rowgroup allows grouping rows by context: header, body or footer. Header rows are by default not highlightable on mouse over.
668
706
  */
@@ -784,6 +822,10 @@ export interface B2bAlertCustomEvent<T> extends CustomEvent<T> {
784
822
  detail: T;
785
823
  target: HTMLB2bAlertElement;
786
824
  }
825
+ export interface B2bCardCustomEvent<T> extends CustomEvent<T> {
826
+ detail: T;
827
+ target: HTMLB2bCardElement;
828
+ }
787
829
  export interface B2bCheckboxCustomEvent<T> extends CustomEvent<T> {
788
830
  detail: T;
789
831
  target: HTMLB2bCheckboxElement;
@@ -844,6 +886,10 @@ export interface B2bTableHeaderCustomEvent<T> extends CustomEvent<T> {
844
886
  detail: T;
845
887
  target: HTMLB2bTableHeaderElement;
846
888
  }
889
+ export interface B2bTableRowCustomEvent<T> extends CustomEvent<T> {
890
+ detail: T;
891
+ target: HTMLB2bTableRowElement;
892
+ }
847
893
  export interface B2bTextareaCustomEvent<T> extends CustomEvent<T> {
848
894
  detail: T;
849
895
  target: HTMLB2bTextareaElement;
@@ -875,6 +921,12 @@ declare global {
875
921
  prototype: HTMLB2bButtonElement;
876
922
  new (): HTMLB2bButtonElement;
877
923
  };
924
+ interface HTMLB2bCardElement extends Components.B2bCard, HTMLStencilElement {
925
+ }
926
+ var HTMLB2bCardElement: {
927
+ prototype: HTMLB2bCardElement;
928
+ new (): HTMLB2bCardElement;
929
+ };
878
930
  interface HTMLB2bCheckboxElement extends Components.B2bCheckbox, HTMLStencilElement {
879
931
  }
880
932
  var HTMLB2bCheckboxElement: {
@@ -1123,6 +1175,7 @@ declare global {
1123
1175
  "b2b-alert": HTMLB2bAlertElement;
1124
1176
  "b2b-anchor": HTMLB2bAnchorElement;
1125
1177
  "b2b-button": HTMLB2bButtonElement;
1178
+ "b2b-card": HTMLB2bCardElement;
1126
1179
  "b2b-checkbox": HTMLB2bCheckboxElement;
1127
1180
  "b2b-checkbox-group": HTMLB2bCheckboxGroupElement;
1128
1181
  "b2b-dropdown": HTMLB2bDropdownElement;
@@ -1244,6 +1297,24 @@ declare namespace LocalJSX {
1244
1297
  */
1245
1298
  "variant"?: 'primary' | 'secondary';
1246
1299
  }
1300
+ interface B2bCard {
1301
+ /**
1302
+ * Disables the card. Per default, it is false
1303
+ */
1304
+ "disabled"?: boolean;
1305
+ /**
1306
+ * An optional href in case the card is used to redirect on click.
1307
+ */
1308
+ "href"?: string;
1309
+ /**
1310
+ * Emits whenever the card is clicked on or enter is pressed while the card has focus.
1311
+ */
1312
+ "onB2b-selected"?: (event: B2bCardCustomEvent<void>) => void;
1313
+ /**
1314
+ * The target of the card if used with an href. Blank per default.
1315
+ */
1316
+ "target"?: 'blank' | 'self';
1317
+ }
1247
1318
  interface B2bCheckbox {
1248
1319
  /**
1249
1320
  * Whether or not the checkbox is checked. Default value is false and can be set to true if the checkbox should come pre-checked.
@@ -1439,6 +1510,10 @@ declare namespace LocalJSX {
1439
1510
  "size"?: '400' | '200' | '100';
1440
1511
  }
1441
1512
  interface B2bIcon {
1513
+ /**
1514
+ * Will display a pointer cursor when hovering the icon
1515
+ */
1516
+ "clickable"?: boolean;
1442
1517
  /**
1443
1518
  * The color of the icon
1444
1519
  */
@@ -1549,10 +1624,17 @@ declare namespace LocalJSX {
1549
1624
  "required"?: boolean;
1550
1625
  }
1551
1626
  interface B2bInputList {
1627
+ /**
1628
+ * Whether or not the input is disabled. Default is false.
1629
+ */
1630
+ "disabled"?: boolean;
1552
1631
  /**
1553
1632
  * The input label.
1554
1633
  */
1555
1634
  "label"?: string;
1635
+ /**
1636
+ * Emits when the user clicks the clear button.
1637
+ */
1556
1638
  "onB2b-clear"?: (event: B2bInputListCustomEvent<InputClear>) => void;
1557
1639
  /**
1558
1640
  * The list of options passed into the search dropdown. Can be static or dynamic, i.e. updated when the b2b-search or b2b-input emitters fire.
@@ -1758,6 +1840,10 @@ declare namespace LocalJSX {
1758
1840
  interface B2bScrollableContainer {
1759
1841
  }
1760
1842
  interface B2bSearch {
1843
+ /**
1844
+ * Whether or not the input is disabled. Default is false.
1845
+ */
1846
+ "disabled"?: boolean;
1761
1847
  /**
1762
1848
  * Emits whenever the user clicks the search button. Will emit the search string.
1763
1849
  */
@@ -1843,7 +1929,7 @@ declare namespace LocalJSX {
1843
1929
  /**
1844
1930
  * Background color of the cell. This color selection does not have hover states, as it is handled from the row*
1845
1931
  */
1846
- "color"?: B2BTableColourOptions;
1932
+ "color"?: TableColourOptions;
1847
1933
  /**
1848
1934
  * adds a border to the right of the cell. *
1849
1935
  */
@@ -1853,7 +1939,7 @@ declare namespace LocalJSX {
1853
1939
  */
1854
1940
  "size"?: TableSizes;
1855
1941
  /**
1856
- * Weather text should wrap or truncate. It will only truncate when table size is equal *
1942
+ * Whether text should wrap or truncate. It will only truncate when table size is equal *
1857
1943
  */
1858
1944
  "textWrap"?: boolean;
1859
1945
  }
@@ -1883,13 +1969,29 @@ declare namespace LocalJSX {
1883
1969
  /**
1884
1970
  * Background color of the row. Use it semantically. This color selection have hover states *
1885
1971
  */
1886
- "color"?: B2BTableColourOptions1;
1972
+ "color"?: TableColourOptions;
1887
1973
  /**
1888
1974
  * Whether the row will be highlighted on mouse over *
1889
1975
  */
1890
1976
  "highlight"?: boolean;
1977
+ /**
1978
+ * Emits if the parent rowgroup is an accordion and the row is a top-level accordion row. Determines if the child rows will be shown.
1979
+ */
1980
+ "onB2b-open"?: (event: B2bTableRowCustomEvent<boolean>) => void;
1981
+ /**
1982
+ * Determined by the parent rowgroup for accordion rowgroups. Do not set manually.
1983
+ */
1984
+ "type"?: TableRowTypes;
1891
1985
  }
1892
1986
  interface B2bTableRowgroup {
1987
+ /**
1988
+ * Renders the rowgroup as an accordion. Both header and body must have accordion set to true. One table can contain multiple rowgroups of type body, each of which represents an accordion row with children.
1989
+ */
1990
+ "accordion"?: boolean;
1991
+ /**
1992
+ * Only use when accordion property is true. Will render the accordion opened if set to true. By default, is false.
1993
+ */
1994
+ "opened"?: boolean;
1893
1995
  /**
1894
1996
  * Rowgroup allows grouping rows by context: header, body or footer. Header rows are by default not highlightable on mouse over.
1895
1997
  */
@@ -2030,6 +2132,7 @@ declare namespace LocalJSX {
2030
2132
  "b2b-alert": B2bAlert;
2031
2133
  "b2b-anchor": B2bAnchor;
2032
2134
  "b2b-button": B2bButton;
2135
+ "b2b-card": B2bCard;
2033
2136
  "b2b-checkbox": B2bCheckbox;
2034
2137
  "b2b-checkbox-group": B2bCheckboxGroup;
2035
2138
  "b2b-dropdown": B2bDropdown;
@@ -2075,6 +2178,7 @@ declare module "@stencil/core" {
2075
2178
  "b2b-alert": LocalJSX.B2bAlert & JSXBase.HTMLAttributes<HTMLB2bAlertElement>;
2076
2179
  "b2b-anchor": LocalJSX.B2bAnchor & JSXBase.HTMLAttributes<HTMLB2bAnchorElement>;
2077
2180
  "b2b-button": LocalJSX.B2bButton & JSXBase.HTMLAttributes<HTMLB2bButtonElement>;
2181
+ "b2b-card": LocalJSX.B2bCard & JSXBase.HTMLAttributes<HTMLB2bCardElement>;
2078
2182
  "b2b-checkbox": LocalJSX.B2bCheckbox & JSXBase.HTMLAttributes<HTMLB2bCheckboxElement>;
2079
2183
  "b2b-checkbox-group": LocalJSX.B2bCheckboxGroup & JSXBase.HTMLAttributes<HTMLB2bCheckboxGroupElement>;
2080
2184
  "b2b-dropdown": LocalJSX.B2bDropdown & JSXBase.HTMLAttributes<HTMLB2bDropdownElement>;