@coorpacademy/components 11.18.9 → 11.18.10

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 (149) hide show
  1. package/es/atom/button-menu/index.d.ts.map +1 -1
  2. package/es/atom/button-menu/index.js +1 -1
  3. package/es/atom/button-menu/index.js.map +1 -1
  4. package/es/atom/button-menu/style.css +10 -0
  5. package/es/atom/button-menu/types.d.ts +1 -1
  6. package/es/atom/button-menu/types.d.ts.map +1 -1
  7. package/es/atom/button-menu/types.js +1 -1
  8. package/es/atom/button-menu/types.js.map +1 -1
  9. package/es/atom/empty-search-result/index.d.ts +1 -0
  10. package/es/atom/empty-search-result/index.d.ts.map +1 -1
  11. package/es/atom/empty-search-result/index.js +6 -4
  12. package/es/atom/empty-search-result/index.js.map +1 -1
  13. package/es/atom/empty-search-result/style.css +16 -1
  14. package/es/atom/status-item/index.d.ts +1 -0
  15. package/es/atom/status-item/index.d.ts.map +1 -1
  16. package/es/atom/status-item/index.js +3 -2
  17. package/es/atom/status-item/index.js.map +1 -1
  18. package/es/atom/status-item/style.css +15 -17
  19. package/es/atom/status-item/types.d.ts +2 -0
  20. package/es/atom/status-item/types.d.ts.map +1 -1
  21. package/es/atom/status-item/types.js +1 -0
  22. package/es/atom/status-item/types.js.map +1 -1
  23. package/es/atom/tag/index.js +4 -4
  24. package/es/atom/tag/index.js.map +1 -1
  25. package/es/atom/tag/style.css +11 -8
  26. package/es/molecule/brand-tabs/index.d.ts +1 -0
  27. package/es/molecule/brand-tabs/index.d.ts.map +1 -1
  28. package/es/molecule/brand-tabs/index.js +10 -1
  29. package/es/molecule/brand-tabs/index.js.map +1 -1
  30. package/es/molecule/brand-tabs/style.css +7 -4
  31. package/es/molecule/bulk-progress-bar/index.d.ts.map +1 -1
  32. package/es/molecule/bulk-progress-bar/index.js +4 -2
  33. package/es/molecule/bulk-progress-bar/index.js.map +1 -1
  34. package/es/molecule/bulk-progress-bar/style.css +5 -0
  35. package/es/molecule/draggable-list/index.d.ts +32 -12
  36. package/es/molecule/expandible-actionable-table/index.d.ts +3 -0
  37. package/es/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  38. package/es/molecule/expandible-actionable-table/index.js +15 -2
  39. package/es/molecule/expandible-actionable-table/index.js.map +1 -1
  40. package/es/molecule/expandible-actionable-table/style.css +5 -0
  41. package/es/molecule/expandible-actionable-table/types.d.ts +5 -0
  42. package/es/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  43. package/es/molecule/expandible-actionable-table/types.js +3 -1
  44. package/es/molecule/expandible-actionable-table/types.js.map +1 -1
  45. package/es/molecule/review-header-steps/index.d.ts.map +1 -1
  46. package/es/molecule/review-header-steps/index.js +3 -4
  47. package/es/molecule/review-header-steps/index.js.map +1 -1
  48. package/es/molecule/review-header-steps/prop-types.d.ts +1 -0
  49. package/es/molecule/review-header-steps/prop-types.d.ts.map +1 -1
  50. package/es/molecule/review-header-steps/style.css +6 -1
  51. package/es/organism/list-item/index.d.ts +44 -13
  52. package/es/organism/list-item/index.d.ts.map +1 -1
  53. package/es/organism/list-item/index.js +72 -38
  54. package/es/organism/list-item/index.js.map +1 -1
  55. package/es/organism/list-item/style.css +28 -5
  56. package/es/organism/list-items/index.d.ts +36 -12
  57. package/es/organism/list-items/index.d.ts.map +1 -1
  58. package/es/organism/list-items/index.js +19 -4
  59. package/es/organism/list-items/index.js.map +1 -1
  60. package/es/organism/list-items/style.css +42 -0
  61. package/es/organism/review-header/types.d.ts +1 -0
  62. package/es/organism/review-header/types.d.ts.map +1 -1
  63. package/es/organism/wizard-contents/index.d.ts +67 -0
  64. package/es/organism/wizard-contents/index.d.ts.map +1 -1
  65. package/es/organism/wizard-contents/index.js +37 -4
  66. package/es/organism/wizard-contents/index.js.map +1 -1
  67. package/es/organism/wizard-contents/style.css +22 -0
  68. package/es/template/app-review/index.d.ts +1 -0
  69. package/es/template/app-review/index.d.ts.map +1 -1
  70. package/es/template/app-review/player/prop-types.d.ts +1 -0
  71. package/es/template/app-review/player/prop-types.d.ts.map +1 -1
  72. package/es/template/app-review/prop-types.d.ts +1 -0
  73. package/es/template/app-review/prop-types.d.ts.map +1 -1
  74. package/es/template/back-office/brand-update/index.d.ts +103 -12
  75. package/lib/atom/button-menu/index.d.ts.map +1 -1
  76. package/lib/atom/button-menu/index.js +1 -1
  77. package/lib/atom/button-menu/index.js.map +1 -1
  78. package/lib/atom/button-menu/style.css +10 -0
  79. package/lib/atom/button-menu/types.d.ts +1 -1
  80. package/lib/atom/button-menu/types.d.ts.map +1 -1
  81. package/lib/atom/button-menu/types.js +1 -1
  82. package/lib/atom/button-menu/types.js.map +1 -1
  83. package/lib/atom/empty-search-result/index.d.ts +1 -0
  84. package/lib/atom/empty-search-result/index.d.ts.map +1 -1
  85. package/lib/atom/empty-search-result/index.js +6 -4
  86. package/lib/atom/empty-search-result/index.js.map +1 -1
  87. package/lib/atom/empty-search-result/style.css +16 -1
  88. package/lib/atom/status-item/index.d.ts +1 -0
  89. package/lib/atom/status-item/index.d.ts.map +1 -1
  90. package/lib/atom/status-item/index.js +3 -2
  91. package/lib/atom/status-item/index.js.map +1 -1
  92. package/lib/atom/status-item/style.css +15 -17
  93. package/lib/atom/status-item/types.d.ts +2 -0
  94. package/lib/atom/status-item/types.d.ts.map +1 -1
  95. package/lib/atom/status-item/types.js +1 -0
  96. package/lib/atom/status-item/types.js.map +1 -1
  97. package/lib/atom/tag/index.js +4 -4
  98. package/lib/atom/tag/index.js.map +1 -1
  99. package/lib/atom/tag/style.css +11 -8
  100. package/lib/molecule/brand-tabs/index.d.ts +1 -0
  101. package/lib/molecule/brand-tabs/index.d.ts.map +1 -1
  102. package/lib/molecule/brand-tabs/index.js +11 -1
  103. package/lib/molecule/brand-tabs/index.js.map +1 -1
  104. package/lib/molecule/brand-tabs/style.css +7 -4
  105. package/lib/molecule/bulk-progress-bar/index.d.ts.map +1 -1
  106. package/lib/molecule/bulk-progress-bar/index.js +4 -2
  107. package/lib/molecule/bulk-progress-bar/index.js.map +1 -1
  108. package/lib/molecule/bulk-progress-bar/style.css +5 -0
  109. package/lib/molecule/draggable-list/index.d.ts +32 -12
  110. package/lib/molecule/expandible-actionable-table/index.d.ts +3 -0
  111. package/lib/molecule/expandible-actionable-table/index.d.ts.map +1 -1
  112. package/lib/molecule/expandible-actionable-table/index.js +17 -2
  113. package/lib/molecule/expandible-actionable-table/index.js.map +1 -1
  114. package/lib/molecule/expandible-actionable-table/style.css +5 -0
  115. package/lib/molecule/expandible-actionable-table/types.d.ts +5 -0
  116. package/lib/molecule/expandible-actionable-table/types.d.ts.map +1 -1
  117. package/lib/molecule/expandible-actionable-table/types.js +3 -1
  118. package/lib/molecule/expandible-actionable-table/types.js.map +1 -1
  119. package/lib/molecule/review-header-steps/index.d.ts.map +1 -1
  120. package/lib/molecule/review-header-steps/index.js +3 -4
  121. package/lib/molecule/review-header-steps/index.js.map +1 -1
  122. package/lib/molecule/review-header-steps/prop-types.d.ts +1 -0
  123. package/lib/molecule/review-header-steps/prop-types.d.ts.map +1 -1
  124. package/lib/molecule/review-header-steps/style.css +6 -1
  125. package/lib/organism/list-item/index.d.ts +44 -13
  126. package/lib/organism/list-item/index.d.ts.map +1 -1
  127. package/lib/organism/list-item/index.js +73 -37
  128. package/lib/organism/list-item/index.js.map +1 -1
  129. package/lib/organism/list-item/style.css +28 -5
  130. package/lib/organism/list-items/index.d.ts +36 -12
  131. package/lib/organism/list-items/index.d.ts.map +1 -1
  132. package/lib/organism/list-items/index.js +21 -4
  133. package/lib/organism/list-items/index.js.map +1 -1
  134. package/lib/organism/list-items/style.css +42 -0
  135. package/lib/organism/review-header/types.d.ts +1 -0
  136. package/lib/organism/review-header/types.d.ts.map +1 -1
  137. package/lib/organism/wizard-contents/index.d.ts +67 -0
  138. package/lib/organism/wizard-contents/index.d.ts.map +1 -1
  139. package/lib/organism/wizard-contents/index.js +39 -4
  140. package/lib/organism/wizard-contents/index.js.map +1 -1
  141. package/lib/organism/wizard-contents/style.css +22 -0
  142. package/lib/template/app-review/index.d.ts +1 -0
  143. package/lib/template/app-review/index.d.ts.map +1 -1
  144. package/lib/template/app-review/player/prop-types.d.ts +1 -0
  145. package/lib/template/app-review/player/prop-types.d.ts.map +1 -1
  146. package/lib/template/app-review/prop-types.d.ts +1 -0
  147. package/lib/template/app-review/prop-types.d.ts.map +1 -1
  148. package/lib/template/back-office/brand-update/index.d.ts +103 -12
  149. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["buildListItemsView","content","ariaLabel","selectMultiple","items","itemType","onDrop","isDraggable","itemsView","length","map","item","contentType","index","id","style","list","listWithSelectMultiple","buildContentView","type","ListItems","title","buttonLink","contentView","header","actionsWrapper","buttonCreate","propTypes","PropTypes","string","shape","ButtonLink","SelectMultiple","oneOfType","arrayOf","ListItem","oneOf","func","bool","ExpandibleActionableTable"],"sources":["../../../src/organism/list-items/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport ListItem from '../list-item';\nimport DraggableList from '../../molecule/draggable-list';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport SelectMultiple from '../../molecule/select-multiple';\nimport ExpandibleActionableTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildListItemsView = (content, ariaLabel, selectMultiple) => {\n const {items, itemType, onDrop, isDraggable = false} = content;\n const itemsView =\n isDraggable && items.length > 1 ? (\n <DraggableList\n items={items.map(item => ({...item, contentType: itemType}))}\n itemType=\"list-item\"\n onDrop={onDrop}\n />\n ) : (\n items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} order={null} contentType={itemType} />\n </li>\n ))\n );\n return (\n <ul\n className={!selectMultiple ? style.list : style.listWithSelectMultiple}\n aria-label={ariaLabel}\n data-name={'content-list'}\n >\n {itemsView}\n </ul>\n );\n};\nconst buildContentView = (content, ariaLabel, selectMultiple) => {\n const {type} = content;\n switch (type) {\n case 'list':\n return buildListItemsView(content, ariaLabel, selectMultiple);\n case 'expandible-actionable-table':\n return <ExpandibleActionableTable {...content} />;\n }\n};\n\nconst ListItems = ({title, buttonLink, selectMultiple, content, 'aria-label': ariaLabel}) => {\n const contentView = buildContentView(content, ariaLabel, selectMultiple);\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.actionsWrapper}>\n {selectMultiple ? (\n <div className={style.selectMultiple}>\n <SelectMultiple {...selectMultiple} />\n </div>\n ) : null}\n\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n </div>\n {contentView}\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n selectMultiple: PropTypes.shape(SelectMultiple.propTypes),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n type: PropTypes.oneOf(['list']),\n itemType: PropTypes.string,\n onDrop: PropTypes.func,\n isDraggable: PropTypes.bool\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n type: PropTypes.oneOf(['expandible-actionable-table'])\n })\n ]),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,kBAAkB,GAAG,CAACC,OAAD,EAAUC,SAAV,EAAqBC,cAArB,KAAwC;EACjE,MAAM;IAACC,KAAD;IAAQC,QAAR;IAAkBC,MAAlB;IAA0BC,WAAW,GAAG;EAAxC,IAAiDN,OAAvD;EACA,MAAMO,SAAS,GACbD,WAAW,IAAIH,KAAK,CAACK,MAAN,GAAe,CAA9B,gBACE,6BAAC,sBAAD;IACE,KAAK,EAAEL,KAAK,CAACM,GAAN,CAAUC,IAAI,iBAASA,IAAT;MAAeC,WAAW,EAAEP;IAA5B,EAAd,CADT;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eader","itemsView","length","map","item","contentType","index","id","style","tableHeaderView","isNil","isEmpty","tableHeaderWrapper","dataColumnsWrapper","tableHeaderItem","settings","list","listWithSelectMultiple","buildContentView","type","ListItems","title","buttonLink","contentView","header","actionsWrapper","buttonCreate","propTypes","PropTypes","string","shape","ButtonLink","SelectMultiple","oneOfType","arrayOf","ListItem","oneOf","func","bool","ExpandibleActionableTable"],"sources":["../../../src/organism/list-items/index.js"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport isNil from 'lodash/fp/isNil';\nimport isEmpty from 'lodash/fp/isEmpty';\nimport ListItem from '../list-item';\nimport DraggableList from '../../molecule/draggable-list';\nimport Title from '../../atom/title';\nimport ButtonLink from '../../atom/button-link';\nimport SelectMultiple from '../../molecule/select-multiple';\nimport ExpandibleActionableTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildListItemsView = (content, ariaLabel, selectMultiple) => {\n const {items, itemType, onDrop, isDraggable = false, tableHeader} = content;\n const itemsView =\n isDraggable && items.length > 1 ? (\n <DraggableList\n items={items.map(item => ({...item, contentType: itemType}))}\n itemType=\"list-item\"\n onDrop={onDrop}\n />\n ) : (\n items.map((item, index) => (\n <li key={item.id} className={style.item} data-name={`content-${index}`}>\n <ListItem {...item} order={null} contentType={itemType} />\n </li>\n ))\n );\n const tableHeaderView =\n !isNil(tableHeader) && !isEmpty(tableHeader) ? (\n <div className={style.tableHeaderWrapper}>\n <div className={style.dataColumnsWrapper}>\n {tableHeader.map((tableHeaderItem, index) => (\n <div\n key={`tableHeadeColumn-key-${index}`}\n className={style.tableHeaderItem}\n data-name={`tableHeader-${index}`}\n >\n {tableHeaderItem}\n </div>\n ))}\n </div>\n <div className={style.settings}>{''}</div>\n </div>\n ) : null;\n return (\n <div>\n {tableHeaderView}\n <ul\n className={!selectMultiple ? style.list : style.listWithSelectMultiple}\n aria-label={ariaLabel}\n data-name={'content-list'}\n >\n {itemsView}\n </ul>\n </div>\n );\n};\nconst buildContentView = (content, ariaLabel, selectMultiple) => {\n const {type} = content;\n switch (type) {\n case 'list':\n return buildListItemsView(content, ariaLabel, selectMultiple);\n case 'expandible-actionable-table':\n return <ExpandibleActionableTable {...content} />;\n }\n};\n\nconst ListItems = ({title, buttonLink, selectMultiple, content, 'aria-label': ariaLabel}) => {\n const contentView = buildContentView(content, ariaLabel, selectMultiple);\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.title}>\n <Title title={title} type={'form-group'} data-name={'list-title'} />\n </div>\n <div className={style.actionsWrapper}>\n {selectMultiple ? (\n <div className={style.selectMultiple}>\n <SelectMultiple {...selectMultiple} />\n </div>\n ) : null}\n\n <div className={style.buttonCreate}>\n <ButtonLink {...buttonLink} />\n </div>\n </div>\n </div>\n {contentView}\n </div>\n );\n};\n\nListItems.propTypes = {\n 'aria-label': PropTypes.string,\n buttonLink: PropTypes.shape(ButtonLink.propTypes),\n selectMultiple: PropTypes.shape(SelectMultiple.propTypes),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n items: PropTypes.arrayOf(PropTypes.shape(ListItem.propTypes)),\n type: PropTypes.oneOf(['list']),\n itemType: PropTypes.string,\n onDrop: PropTypes.func,\n isDraggable: PropTypes.bool,\n tableHeader: PropTypes.arrayOf(PropTypes.string)\n }),\n PropTypes.shape({\n ...ExpandibleActionableTable.propTypes,\n type: PropTypes.oneOf(['expandible-actionable-table'])\n })\n ]),\n title: PropTypes.string\n};\n\nexport default ListItems;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,kBAAkB,GAAG,CAACC,OAAD,EAAUC,SAAV,EAAqBC,cAArB,KAAwC;EACjE,MAAM;IAACC,KAAD;IAAQC,QAAR;IAAkBC,MAAlB;IAA0BC,WAAW,GAAG,KAAxC;IAA+CC;EAA/C,IAA8DP,OAApE;EACA,MAAMQ,SAAS,GACbF,WAAW,IAAIH,KAAK,CAACM,MAAN,GAAe,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3BL,kBAAA,CAAUE,KAAV,CAAgB;IACdlC,KAAK,EAAEgC,kBAAA,CAAUM,OAAV,CAAkBN,kBAAA,CAAUE,KAAV,CAAgBK,iBAAA,CAASR,SAAzB,CAAlB,CADO;IAEdR,IAAI,EAAES,kBAAA,CAAUQ,KAAV,CAAgB,CAAC,MAAD,CAAhB,CAFQ;IAGdvC,QAAQ,EAAE+B,kBAAA,CAAUC,MAHN;IAId/B,MAAM,EAAE8B,kBAAA,CAAUS,IAJJ;IAKdtC,WAAW,EAAE6B,kBAAA,CAAUU,IALT;IAMdtC,WAAW,EAAE4B,kBAAA,CAAUM,OAAV,CAAkBN,kBAAA,CAAUC,MAA5B;EANC,CAAhB,CAD2B,EAS3BD,kBAAA,CAAUE,KAAV,cACKS,kCAAA,CAA0BZ,SAD/B;IAEER,IAAI,EAAES,kBAAA,CAAUQ,KAAV,CAAgB,CAAC,6BAAD,CAAhB;EAFR,GAT2B,CAApB,CAJW;EAkBpBf,KAAK,EAAEO,kBAAA,CAAUC;AAlBG,CAAtB;eAqBeT,S"}
@@ -3,6 +3,7 @@
3
3
  @value colors: "../../variables/colors.css";
4
4
  @value medium from colors;
5
5
  @value xtraLightGrey from colors;
6
+ @value cm_grey_400 from colors;
6
7
  @value dark from colors;
7
8
 
8
9
  .header {
@@ -53,4 +54,45 @@
53
54
  margin: 0;
54
55
  padding: 0;
55
56
  min-height: 200px;
57
+ }
58
+
59
+ .tableHeaderWrapper {
60
+ display: grid;
61
+ grid-template-columns: 70% auto;
62
+ padding: 8px 16px;
63
+ align-items: center;
64
+ gap: 24px;
65
+ border-radius: 7px;
66
+ padding: 8px 16px;
67
+ }
68
+
69
+
70
+ .tableHeaderItem {
71
+ display: flex;
72
+ gap: 16px;
73
+ flex: 1 0 0;
74
+ overflow: hidden;
75
+ align-items: flex-start;
76
+ gap: 8px;
77
+ flex-shrink: 0;
78
+ color: var(--font-font-color-tertiary, #9999A8);
79
+ text-overflow: ellipsis;
80
+ font-family: Gilroy;
81
+ font-size: 14px;
82
+ font-style: normal;
83
+ font-weight: 600;
84
+ line-height: 20px;
85
+ }
86
+
87
+ .dataColumnsWrapper {
88
+ align-items: center;
89
+ display: flex;
90
+ width: 100%;
91
+ margin-left: 24px;
92
+ }
93
+
94
+ .settings {
95
+ align-items: center;
96
+ display: flex;
97
+ height: 100%;
56
98
  }
@@ -3,6 +3,7 @@ import { StatusItemProps } from '../../atom/status-item/types';
3
3
  declare const propTypes: {
4
4
  steps: PropTypes.Requireable<(PropTypes.InferProps<{
5
5
  current: PropTypes.Requireable<boolean>;
6
+ selected: PropTypes.Requireable<boolean>;
6
7
  icon: PropTypes.Requireable<string>;
7
8
  value: PropTypes.Requireable<string>;
8
9
  }> | null | undefined)[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-header/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE7D,QAAA,MAAM,SAAS;;;;;;;;;;;;CAQd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,WAAW,GAAG;IACxB,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/organism/review-header/types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAE7D,QAAA,MAAM,SAAS;;;;;;;;;;;;;CAQd,CAAC;AAEF,eAAe,SAAS,CAAC;AAEzB,oBAAY,WAAW,GAAG;IACxB,KAAK,EAAE,eAAe,EAAE,CAAC;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,WAAW,EAAE,OAAO,CAAC;CACtB,CAAC"}
@@ -7,11 +7,75 @@ declare namespace WizardContents {
7
7
  title: PropTypes.Requireable<string>;
8
8
  onClick: PropTypes.Requireable<(...args: any[]) => any>;
9
9
  }>>>;
10
+ const actions: PropTypes.Requireable<PropTypes.InferProps<{
11
+ bulletPointMenuButton: PropTypes.Requireable<PropTypes.InferProps<{
12
+ buttonAriaLabel: PropTypes.Requireable<string>;
13
+ menuAriaLabel: PropTypes.Requireable<string>;
14
+ buttons: PropTypes.Requireable<(PropTypes.InferProps<{
15
+ 'data-name': PropTypes.Requireable<string>;
16
+ label: PropTypes.Requireable<string>;
17
+ type: PropTypes.Requireable<string>;
18
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
19
+ }> | null | undefined)[]>;
20
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
21
+ }>>;
22
+ firstButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
23
+ type: PropTypes.Requireable<string>;
24
+ label: PropTypes.Requireable<string>;
25
+ 'aria-label': PropTypes.Requireable<string>;
26
+ 'data-name': PropTypes.Requireable<string>;
27
+ 'data-testid': PropTypes.Requireable<string>;
28
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
29
+ position: PropTypes.Requireable<string>;
30
+ type: PropTypes.Requireable<string>;
31
+ }>>;
32
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
33
+ link: PropTypes.Requireable<PropTypes.InferProps<{
34
+ href: PropTypes.Requireable<string>;
35
+ download: PropTypes.Requireable<boolean>;
36
+ target: PropTypes.Requireable<string>;
37
+ }>>;
38
+ disabled: PropTypes.Requireable<boolean>;
39
+ className: PropTypes.Requireable<string>;
40
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
41
+ }>>;
42
+ secondButtonLink: PropTypes.Requireable<PropTypes.InferProps<{
43
+ type: PropTypes.Requireable<string>;
44
+ label: PropTypes.Requireable<string>;
45
+ 'aria-label': PropTypes.Requireable<string>;
46
+ 'data-name': PropTypes.Requireable<string>;
47
+ 'data-testid': PropTypes.Requireable<string>;
48
+ icon: PropTypes.Requireable<PropTypes.InferProps<{
49
+ position: PropTypes.Requireable<string>;
50
+ type: PropTypes.Requireable<string>;
51
+ }>>;
52
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
53
+ link: PropTypes.Requireable<PropTypes.InferProps<{
54
+ href: PropTypes.Requireable<string>;
55
+ download: PropTypes.Requireable<boolean>;
56
+ target: PropTypes.Requireable<string>;
57
+ }>>;
58
+ disabled: PropTypes.Requireable<boolean>;
59
+ className: PropTypes.Requireable<string>;
60
+ customStyle: PropTypes.Requireable<PropTypes.InferProps<{}>>;
61
+ }>>;
62
+ }>>;
10
63
  const steps: PropTypes.Requireable<(PropTypes.InferProps<{
11
64
  title: PropTypes.Requireable<string>;
12
65
  done: PropTypes.Requireable<boolean>;
13
66
  current: PropTypes.Requireable<boolean>;
14
67
  }> | null | undefined)[]>;
68
+ const tabs: PropTypes.Requireable<(PropTypes.InferProps<{
69
+ tab: PropTypes.Requireable<PropTypes.InferProps<{
70
+ title: PropTypes.Requireable<PropTypes.ReactNodeLike>;
71
+ href: PropTypes.Requireable<string>;
72
+ status: PropTypes.Requireable<string>;
73
+ selected: PropTypes.Requireable<boolean>;
74
+ onClick: PropTypes.Requireable<(...args: any[]) => any>;
75
+ }>>;
76
+ index: PropTypes.Requireable<number>;
77
+ isLightTab: PropTypes.Requireable<boolean>;
78
+ }> | null | undefined)[]>;
15
79
  const summary: PropTypes.Requireable<PropTypes.InferProps<{
16
80
  title: PropTypes.Requireable<string>;
17
81
  side: PropTypes.Requireable<string>;
@@ -281,6 +345,7 @@ declare namespace WizardContents {
281
345
  fields: PropTypes.Requireable<(NonNullable<string | PropTypes.InferProps<{
282
346
  type: PropTypes.Requireable<string>;
283
347
  current: PropTypes.Requireable<boolean>;
348
+ selected: PropTypes.Requireable<boolean>;
284
349
  icon: PropTypes.Requireable<string>;
285
350
  value: PropTypes.Requireable<string>;
286
351
  }> | null | undefined> | null | undefined)[]>;
@@ -343,6 +408,8 @@ declare namespace WizardContents {
343
408
  isBulkMenu: PropTypes.Requireable<boolean>;
344
409
  }> | null | undefined>>;
345
410
  isNestedTable: PropTypes.Requireable<boolean>;
411
+ emptyStateFirstMessage: PropTypes.Requireable<string>;
412
+ emptyStateSecondMessage: PropTypes.Requireable<string>;
346
413
  }> | null | undefined>>;
347
414
  const previousStep: PropTypes.Requireable<PropTypes.InferProps<{
348
415
  label: PropTypes.Requireable<string>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/wizard-contents/index.js"],"names":[],"mappings":";AAsHA,yDAoCC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/organism/wizard-contents/index.js"],"names":[],"mappings":";AA0IA,yDAqCC"}
@@ -27,6 +27,10 @@ var _courseSelection = _interopRequireDefault(require("../course-selection"));
27
27
 
28
28
  var _courseSections = _interopRequireDefault(require("../../molecule/course-sections"));
29
29
 
30
+ var _brandTabs = _interopRequireDefault(require("../../molecule/brand-tabs"));
31
+
32
+ var _bulletPointMenuButton = _interopRequireDefault(require("../../molecule/bullet-point-menu-button"));
33
+
30
34
  var _rewardsForm = _interopRequireDefault(require("../rewards-form"));
31
35
 
32
36
  var _expandibleActionableTable = _interopRequireDefault(require("../../molecule/expandible-actionable-table"));
@@ -37,7 +41,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
37
41
 
38
42
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
39
43
 
40
- const buildHeader = (wizardHeader, steps) => {
44
+ const buildHeader = (wizardHeader, actions, steps, tabs) => {
41
45
  const {
42
46
  title,
43
47
  onClick
@@ -51,12 +55,25 @@ const buildHeader = (wizardHeader, steps) => {
51
55
  };
52
56
  return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement("div", {
53
57
  className: _style.default.header
58
+ }, /*#__PURE__*/_react.default.createElement("div", {
59
+ className: _style.default.titleWrapper
54
60
  }, /*#__PURE__*/_react.default.createElement(_buttonLinkIconOnly.default, buttonCloseIcon), /*#__PURE__*/_react.default.createElement("div", {
55
61
  className: _style.default.headerTitle,
56
62
  "data-name": 'content-title'
57
- }, title)), /*#__PURE__*/_react.default.createElement(_wizardSteps.default, {
63
+ }, title)), actions ? /*#__PURE__*/_react.default.createElement("div", {
64
+ className: _style.default.actionsWrapper
65
+ }, /*#__PURE__*/_react.default.createElement(_bulletPointMenuButton.default, actions.bulletPointMenuButton), /*#__PURE__*/_react.default.createElement("div", {
66
+ className: _style.default.buttonLink
67
+ }, /*#__PURE__*/_react.default.createElement(_buttonLink.default, actions.firstButtonLink)), /*#__PURE__*/_react.default.createElement("div", {
68
+ className: _style.default.buttonLink
69
+ }, /*#__PURE__*/_react.default.createElement(_buttonLink.default, actions.secondButtonLink))) : null), steps ? /*#__PURE__*/_react.default.createElement(_wizardSteps.default, {
58
70
  steps: steps
59
- }));
71
+ }) : null, tabs ? /*#__PURE__*/_react.default.createElement("div", {
72
+ className: _style.default.tabs
73
+ }, /*#__PURE__*/_react.default.createElement(_brandTabs.default, {
74
+ type: "light",
75
+ tabs: tabs
76
+ })) : null);
60
77
  };
61
78
 
62
79
  const buildForm = content => {
@@ -152,13 +169,15 @@ const WizardContents = props => {
152
169
  const {
153
170
  isLoading,
154
171
  wizardHeader,
172
+ actions,
155
173
  steps,
174
+ tabs,
156
175
  summary,
157
176
  content,
158
177
  nextStep,
159
178
  previousStep
160
179
  } = props;
161
- const headerView = buildHeader(wizardHeader, steps);
180
+ const headerView = buildHeader(wizardHeader, actions, steps, tabs);
162
181
  const formView = buildForm(_extends({}, content, {
163
182
  isLoading
164
183
  }));
@@ -203,7 +222,23 @@ WizardContents.propTypes = process.env.NODE_ENV !== "production" ? {
203
222
  title: _propTypes.default.string,
204
223
  onClick: _propTypes.default.func
205
224
  }).isRequired,
225
+ actions: _propTypes.default.shape({
226
+ bulletPointMenuButton: _propTypes.default.shape({
227
+ buttonAriaLabel: _propTypes.default.string,
228
+ menuAriaLabel: _propTypes.default.string,
229
+ buttons: _propTypes.default.arrayOf(_propTypes.default.shape({
230
+ 'data-name': _propTypes.default.string,
231
+ label: _propTypes.default.string,
232
+ type: _propTypes.default.string,
233
+ onClick: _propTypes.default.func
234
+ })),
235
+ onClick: _propTypes.default.func
236
+ }),
237
+ firstButtonLink: _propTypes.default.shape(_buttonLink.default.propTypes),
238
+ secondButtonLink: _propTypes.default.shape(_buttonLink.default.propTypes)
239
+ }),
206
240
  steps: _wizardSteps.default.propTypes.steps,
241
+ tabs: _brandTabs.default.propTypes.tabs,
207
242
  summary: _propTypes.default.shape(_extends({}, _wizardSummary.default.propTypes)),
208
243
  content: _propTypes.default.oneOfType([_propTypes.default.shape(_extends({}, _brandForm.default.propTypes, {
209
244
  type: _propTypes.default.oneOf(['form'])
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["buildHeader","wizardHeader","steps","title","onClick","buttonCloseIcon","size","icon","style","header","headerTitle","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","getOr","nextButton","actionZone","button","THEMES","container","containerWithoutSummary","footer","footerWithoutSummary","actionFooter","actionFooterWithoutSummary","leftSection","leftSectionWithoutSummary","summary","getTheme","WizardContents","props","isLoading","headerView","formView","rightActionView","footerActionView","currentStyle","summaryWrapper","rightSection","stickySection","summaryZone","form","summaryFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","WizardSteps","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm","ExpandibleActionableErrorsTable"],"sources":["../../../src/organism/wizard-contents/index.js"],"sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport RewardsForm from '../rewards-form';\nimport ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, steps) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n <WizardSteps steps={steps} />\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n case 'expandible-table':\n return <ExpandibleActionableErrorsTable {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst THEMES = {\n 'no-summary': {\n container: style.containerWithoutSummary,\n footer: style.footerWithoutSummary,\n actionFooter: style.actionFooterWithoutSummary,\n leftSection: style.leftSectionWithoutSummary\n },\n summary: {\n container: style.container,\n footer: style.footer,\n actionFooter: style.actionFooter,\n leftSection: style.leftSection\n }\n};\n\nconst getTheme = summary => (summary ? 'summary' : 'no-summary');\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, steps, summary, content, nextStep, previousStep} = props;\n const headerView = buildHeader(wizardHeader, steps);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n const currentStyle = THEMES[getTheme(summary)];\n\n const summaryWrapper = (\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n );\n\n return (\n <div className={currentStyle.container} data-name=\"content-summary\">\n <div className={currentStyle.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n {summary ? summaryWrapper : null}\n <div className={currentStyle.footer} data-name=\"footer-section\">\n {summary ? (\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n ) : null}\n <div className={currentStyle.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n steps: WizardSteps.propTypes.steps,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableErrorsTable.propTypes,\n type: PropTypes.oneOf(['expandible-table'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,KAAf,KAAyB;EAC3C,MAAM;IAACC,KAAD;IAAQC;EAAR,IAAmBH,YAAzB;EAEA,MAAMI,eAAe,GAAG;IACtBC,IAAI,EAAE,OADgB;IAEtB,aAAa,cAFS;IAGtB,cAAc,cAHQ;IAItBC,IAAI,EAAE,OAJgB;IAKtBH;EALsB,CAAxB;EAQ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SAAD,CAAhB;EAFR,GAb2B,EAiB3BV,kBAAA,CAAUE,KAAV,cACKY,uBAAA,CAAef,SADpB;IAEE7C,IAAI,EAAE8C,kBAAA,CAAUU,KAAV,CAAgB,CAAC,kBAAD,CAAhB;EAFR,GAjB2B,EAqB3BV,kBAAA,CAAUE,KAAV,cACKa,oBAAA,CAAYhB,SADjB;IAEE7C,IAAI,EAAE8C,kBAAA,CAAUU,KAAV,CAAgB,CAAC,SAAD,CAAhB;EAFR,GArB2B,EAyB3BV,kBAAA,CAAUE,KAAV,cACKc,kCAAA,CAAgCjB,SADrC;IAEE7C,IAAI,EAAE8C,kBAAA,CAAUU,KAAV,CAAgB,CAAC,kBAAD,CAAhB;EAFR,GAzB2B,CAApB,CAVgB;EAwCzB5C,YAAY,EAAEkC,kBAAA,CAAUE,KAAV,CAAgB;IAC5BvC,KAAK,EAAEqC,kBAAA,CAAUG,MADW;IAE5B1D,OAAO,EAAEuD,kBAAA,CAAUI;EAFS,CAAhB,CAxCW;EA4CzBrC,QAAQ,EAAEiC,kBAAA,CAAUE,KAAV,CAAgB;IACxBhD,IAAI,EAAE8C,kBAAA,CAAUU,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;IAExB/C,KAAK,EAAEqC,kBAAA,CAAUG,MAFO;IAGxB1D,OAAO,EAAEuD,kBAAA,CAAUI;EAHK,CAAhB;AA5Ce,CAA3B;eAmDenB,c"}
1
+ {"version":3,"file":"index.js","names":["buildHeader","wizardHeader","actions","steps","tabs","title","onClick","buttonCloseIcon","size","icon","style","header","titleWrapper","headerTitle","actionsWrapper","bulletPointMenuButton","buttonLink","firstButtonLink","secondButtonLink","buildForm","content","type","buildButton","step","side","ICONS","previous","position","next","publish","label","buttonProps","buildActionZone","previousStep","nextStep","previousButton","nextStepType","getOr","nextButton","actionZone","button","THEMES","container","containerWithoutSummary","footer","footerWithoutSummary","actionFooter","actionFooterWithoutSummary","leftSection","leftSectionWithoutSummary","summary","getTheme","WizardContents","props","isLoading","headerView","formView","rightActionView","footerActionView","currentStyle","summaryWrapper","rightSection","stickySection","summaryZone","form","summaryFooter","propTypes","PropTypes","bool","shape","string","func","isRequired","buttonAriaLabel","menuAriaLabel","buttons","arrayOf","ButtonLink","WizardSteps","BrandTabs","WizardSummary","oneOfType","BrandForm","oneOf","ContentTranslate","OrganismSearchAndChipsResults","CourseSelection","CourseSections","RewardsForm","ExpandibleActionableErrorsTable"],"sources":["../../../src/organism/wizard-contents/index.js"],"sourcesContent":["import React from 'react';\nimport getOr from 'lodash/fp/getOr';\nimport PropTypes from 'prop-types';\nimport ButtonLink from '../../atom/button-link';\nimport ButtonLinkIconOnly from '../../atom/button-link-icon-only';\nimport WizardSteps from '../../atom/wizard-steps';\nimport WizardSummary from '../../molecule/wizard-summary';\nimport BrandForm from '../brand-form';\nimport ContentTranslate from '../content-translation';\nimport OrganismSearchAndChipsResults from '../search-and-chips-results';\nimport CourseSelection from '../course-selection';\nimport CourseSections from '../../molecule/course-sections';\nimport BrandTabs from '../../molecule/brand-tabs';\nimport BulletPointMenuButton from '../../molecule/bullet-point-menu-button';\nimport RewardsForm from '../rewards-form';\nimport ExpandibleActionableErrorsTable from '../../molecule/expandible-actionable-table';\nimport style from './style.css';\n\nconst buildHeader = (wizardHeader, actions, steps, tabs) => {\n const {title, onClick} = wizardHeader;\n\n const buttonCloseIcon = {\n size: 'small',\n 'data-name': 'close-button',\n 'aria-label': 'close button',\n icon: 'close',\n onClick\n };\n\n return (\n <div>\n <div className={style.header}>\n <div className={style.titleWrapper}>\n <ButtonLinkIconOnly {...buttonCloseIcon} />\n <div className={style.headerTitle} data-name={'content-title'}>\n {title}\n </div>\n </div>\n {actions ? (\n <div className={style.actionsWrapper}>\n <BulletPointMenuButton {...actions.bulletPointMenuButton} />\n <div className={style.buttonLink}>\n <ButtonLink {...actions.firstButtonLink} />\n </div>\n <div className={style.buttonLink}>\n <ButtonLink {...actions.secondButtonLink} />\n </div>\n </div>\n ) : null}\n </div>\n {steps ? <WizardSteps steps={steps} /> : null}\n {tabs ? (\n <div className={style.tabs}>\n <BrandTabs type=\"light\" tabs={tabs} />\n </div>\n ) : null}\n </div>\n );\n};\n\nconst buildForm = content => {\n const {type} = content;\n switch (type) {\n case 'form':\n return <BrandForm {...content} />;\n case 'translate':\n return <ContentTranslate {...content} />;\n case 'populations':\n return <OrganismSearchAndChipsResults {...content} />;\n case 'courses':\n return <CourseSelection {...content} />;\n case 'organize-courses':\n return <CourseSections {...content} />;\n case 'rewards':\n return <RewardsForm {...content} />;\n case 'expandible-table':\n return <ExpandibleActionableErrorsTable {...content} />;\n }\n};\n\nconst buildButton = (type, step, side) => {\n const ICONS = {\n previous: {\n position: 'left',\n type: 'chevron-left'\n },\n next: {\n position: 'right',\n type: 'chevron-right'\n },\n publish: {\n position: 'left',\n type: 'publish'\n }\n };\n\n const {label, onClick} = step;\n const buttonProps = {\n type: type === 'previous' ? 'secondary' : 'primary',\n 'aria-label': `${type} step button`,\n 'data-name': `${type}-step-button-${side}`,\n icon: ICONS[type],\n label,\n onClick\n };\n\n return <ButtonLink {...buttonProps} />;\n};\n\nconst buildActionZone = (previousStep, nextStep, side) => {\n const previousButton = previousStep ? buildButton('previous', previousStep, side) : null;\n const nextStepType = getOr('next', 'type', nextStep);\n const nextButton = nextStep ? buildButton(nextStepType, nextStep, side) : null;\n return (\n <div className={style.actionZone}>\n <div className={style.button}>{previousButton}</div>\n <div className={style.button}>{nextButton}</div>\n </div>\n );\n};\n\nconst THEMES = {\n 'no-summary': {\n container: style.containerWithoutSummary,\n footer: style.footerWithoutSummary,\n actionFooter: style.actionFooterWithoutSummary,\n leftSection: style.leftSectionWithoutSummary\n },\n summary: {\n container: style.container,\n footer: style.footer,\n actionFooter: style.actionFooter,\n leftSection: style.leftSection\n }\n};\n\nconst getTheme = summary => (summary ? 'summary' : 'no-summary');\n\nconst WizardContents = props => {\n const {isLoading, wizardHeader, actions, steps, tabs, summary, content, nextStep, previousStep} =\n props;\n const headerView = buildHeader(wizardHeader, actions, steps, tabs);\n const formView = buildForm({...content, isLoading});\n const rightActionView = buildActionZone(previousStep, nextStep, 'right');\n const footerActionView = buildActionZone(previousStep, nextStep, 'footer');\n const currentStyle = THEMES[getTheme(summary)];\n\n const summaryWrapper = (\n <div className={style.rightSection} data-name=\"summary-right-section\">\n <div className={style.stickySection}>\n <div className={style.summaryZone} data-name=\"summary-zone\">\n <WizardSummary {...summary} side={'right'} />\n </div>\n {rightActionView}\n </div>\n </div>\n );\n\n return (\n <div className={currentStyle.container} data-name=\"content-summary\">\n <div className={currentStyle.leftSection}>\n {headerView}\n <div className={style.form}>{formView}</div>\n </div>\n {summary ? summaryWrapper : null}\n <div className={currentStyle.footer} data-name=\"footer-section\">\n {summary ? (\n <div className={style.summaryFooter}>\n <WizardSummary {...summary} side={'footer'} />\n </div>\n ) : null}\n <div className={currentStyle.actionFooter}>{footerActionView}</div>\n </div>\n </div>\n );\n};\n\nWizardContents.propTypes = {\n isLoading: PropTypes.bool,\n wizardHeader: PropTypes.shape({\n title: PropTypes.string,\n onClick: PropTypes.func\n }).isRequired,\n actions: PropTypes.shape({\n bulletPointMenuButton: PropTypes.shape({\n buttonAriaLabel: PropTypes.string,\n menuAriaLabel: PropTypes.string,\n buttons: PropTypes.arrayOf(\n PropTypes.shape({\n 'data-name': PropTypes.string,\n label: PropTypes.string,\n type: PropTypes.string,\n onClick: PropTypes.func\n })\n ),\n onClick: PropTypes.func\n }),\n firstButtonLink: PropTypes.shape(ButtonLink.propTypes),\n secondButtonLink: PropTypes.shape(ButtonLink.propTypes)\n }),\n steps: WizardSteps.propTypes.steps,\n tabs: BrandTabs.propTypes.tabs,\n summary: PropTypes.shape({\n ...WizardSummary.propTypes\n }),\n content: PropTypes.oneOfType([\n PropTypes.shape({\n ...BrandForm.propTypes,\n type: PropTypes.oneOf(['form'])\n }),\n PropTypes.shape({\n ...ContentTranslate.propTypes,\n type: PropTypes.oneOf(['translate'])\n }),\n PropTypes.shape({\n ...OrganismSearchAndChipsResults.propTypes,\n type: PropTypes.oneOf(['populations'])\n }),\n PropTypes.shape({\n ...CourseSelection.propTypes,\n type: PropTypes.oneOf(['courses'])\n }),\n PropTypes.shape({\n ...CourseSections.propTypes,\n type: PropTypes.oneOf(['organize-courses'])\n }),\n PropTypes.shape({\n ...RewardsForm.propTypes,\n type: PropTypes.oneOf(['rewards'])\n }),\n PropTypes.shape({\n ...ExpandibleActionableErrorsTable.propTypes,\n type: PropTypes.oneOf(['expandible-table'])\n })\n ]),\n previousStep: PropTypes.shape({\n label: PropTypes.string,\n onClick: PropTypes.func\n }),\n nextStep: PropTypes.shape({\n type: PropTypes.oneOf(['next', 'publish']),\n label: PropTypes.string,\n onClick: PropTypes.func\n })\n};\n\nexport default WizardContents;\n"],"mappings":";;;;;AAAA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;AACA;;;;;;AAEA,MAAMA,WAAW,GAAG,CAACC,YAAD,EAAeC,OAAf,EAAwBC,KAAxB,EAA+BC,IAA/B,KAAwC;EAC1D,MAAM;IAACC,KAAD;IAAQC;EAAR,IAAmBL,YAAzB;EAEA,MAAMM,eAAe,GAAG;IACtBC,IAAI,EAAE,OADgB;IAEtB,aAAa,cAFS;IAGtB,cAAc,cAHQ;IAItBC,IAAI,EAAE,OAJgB;IAKtBH;EALsB,CAAxB;EAQA,oBACE,uDACE;IAAK,SAAS,EAAEI,cAAA,CAAMC;EAAtB,gBACE;IAAK,SAAS,EAAED,cAAA,CAAME;EAAtB,gBACE,6BAAC,2BAAD,EAAwBL,eAAxB,CADF,eAEE;IAAK,SAAS,EAAEG,cAAA,CAAMG,WAAtB;IAAmC,aAAW;EAA9C,GACGR,KADH,CAFF,CADF,EAOGH,OAAO,gBACN;IAAK,SAAS,EAAEQ,cAAA,CAAMI;EAAtB,gBACE,6BAAC,8BAAD,EAA2BZ,OAAO,CAACa,qBAAnC,CADF,eAEE;IAA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AAA,CAAUE,KAAV,cACKmB,oBAAA,CAAYtB,SADjB;IAEE7C,IAAI,EAAE8C,kBAAA,CAAUgB,KAAV,CAAgB,CAAC,SAAD,CAAhB;EAFR,GArB2B,EAyB3BhB,kBAAA,CAAUE,KAAV,cACKoB,kCAAA,CAAgCvB,SADrC;IAEE7C,IAAI,EAAE8C,kBAAA,CAAUgB,KAAV,CAAgB,CAAC,kBAAD,CAAhB;EAFR,GAzB2B,CAApB,CA5BgB;EA0DzBlD,YAAY,EAAEkC,kBAAA,CAAUE,KAAV,CAAgB;IAC5BvC,KAAK,EAAEqC,kBAAA,CAAUG,MADW;IAE5BhE,OAAO,EAAE6D,kBAAA,CAAUI;EAFS,CAAhB,CA1DW;EA8DzBrC,QAAQ,EAAEiC,kBAAA,CAAUE,KAAV,CAAgB;IACxBhD,IAAI,EAAE8C,kBAAA,CAAUgB,KAAV,CAAgB,CAAC,MAAD,EAAS,SAAT,CAAhB,CADkB;IAExBrD,KAAK,EAAEqC,kBAAA,CAAUG,MAFO;IAGxBhE,OAAO,EAAE6D,kBAAA,CAAUI;EAHK,CAAhB;AA9De,CAA3B;eAqEenB,c"}
@@ -17,6 +17,17 @@
17
17
  flex-direction: column;
18
18
  }
19
19
 
20
+ .actionsWrapper {
21
+ display: flex;
22
+ align-items: center;
23
+ justify-content: space-between;
24
+ gap: 10px;
25
+ }
26
+
27
+ .buttonLink {
28
+ max-width: 190px;
29
+ }
30
+
20
31
  .leftSection {
21
32
  display: flex;
22
33
  flex-direction: column;
@@ -58,6 +69,13 @@
58
69
  display: flex;
59
70
  flex-direction: row;
60
71
  align-items: center;
72
+ justify-content: space-between;
73
+ }
74
+
75
+ .titleWrapper {
76
+ display: flex;
77
+ flex-direction: row;
78
+ align-items: center;
61
79
  }
62
80
 
63
81
  .headerTitle {
@@ -67,6 +85,10 @@
67
85
  margin: 0 0 0 16px;
68
86
  }
69
87
 
88
+ .tabs {
89
+ padding: 31px 0 0 0;
90
+ }
91
+
70
92
  .form {
71
93
  margin: 45px 32px 0 0;
72
94
  }
@@ -8,6 +8,7 @@ declare const AppReview: {
8
8
  header: import("prop-types").Requireable<import("prop-types").InferProps<{
9
9
  steps: import("prop-types").Requireable<(import("prop-types").InferProps<{
10
10
  current: import("prop-types").Requireable<boolean>;
11
+ selected: import("prop-types").Requireable<boolean>;
11
12
  icon: import("prop-types").Requireable<string>;
12
13
  value: import("prop-types").Requireable<string>;
13
14
  }> | null | undefined)[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/index.tsx"],"names":[],"mappings":";AAGA,OAAkB,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAEvD,QAAA,MAAM,SAAS;2BAAwB,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAOpD,CAAC;AAIF,eAAe,SAAS,CAAC"}
@@ -8,6 +8,7 @@ declare const propTypes: {
8
8
  header: PropTypes.Requireable<PropTypes.InferProps<{
9
9
  steps: PropTypes.Requireable<(PropTypes.InferProps<{
10
10
  current: PropTypes.Requireable<boolean>;
11
+ selected: PropTypes.Requireable<boolean>;
11
12
  icon: PropTypes.Requireable<string>;
12
13
  value: PropTypes.Requireable<string>;
13
14
  }> | null | undefined)[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../../src/template/app-review/player/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,EAAC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e,CAAC,EAAE,mBAAmB,CAAC;IACtC,QAAQ,CAAC,EAAE,mBAAmB,CAAC;IAC/B,SAAS,CAAC,EAAE,YAAY,CAAC;CAC1B,CAAC"}
@@ -12,6 +12,7 @@ declare const propTypes: {
12
12
  header: PropTypes.Requireable<PropTypes.InferProps<{
13
13
  steps: PropTypes.Requireable<(PropTypes.InferProps<{
14
14
  current: PropTypes.Requireable<boolean>;
15
+ selected: PropTypes.Requireable<boolean>;
15
16
  icon: PropTypes.Requireable<string>;
16
17
  value: PropTypes.Requireable<string>;
17
18
  }> | null | undefined)[]>;
@@ -1 +1 @@
1
- {"version":3,"file":"prop-types.d.ts","sourceRoot":"","sources":["../../../src/template/app-review/prop-types.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,YAAY,CAAC;AAEnC,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,oBAAY,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE3C,oBAAY,cAAc,GAAG;IAC3B,QAAQ,EAAE,QAAQ,CAAC;IACnB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B,CAAC;AAEF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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