@kaizen/components 1.57.2 → 1.58.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/bin/codemod.sh +39 -0
  2. package/codemods/README.md +31 -0
  3. package/codemods/__tests__/utils/index.ts +1 -0
  4. package/codemods/__tests__/utils/parseJsx.ts +11 -0
  5. package/codemods/migrateBrandMomentMoodToVariant/index.ts +21 -0
  6. package/codemods/migrateBrandMomentMoodToVariant/transformBrandMomentMoodToVariant.spec.ts +44 -0
  7. package/codemods/migrateBrandMomentMoodToVariant/transformBrandMomentMoodToVariant.ts +24 -0
  8. package/codemods/migrateCardVariantToColor/index.ts +15 -0
  9. package/codemods/migrateCardVariantToColor/transformCardVariantToColor.spec.ts +91 -0
  10. package/codemods/migrateCardVariantToColor/transformCardVariantToColor.ts +32 -0
  11. package/codemods/migrateConfirmationModalMoodsToVariant/index.ts +19 -0
  12. package/codemods/migrateConfirmationModalMoodsToVariant/transformConfirmationModalMoodsToVariant.spec.ts +110 -0
  13. package/codemods/migrateConfirmationModalMoodsToVariant/transformConfirmationModalMoodsToVariant.ts +59 -0
  14. package/codemods/migrateEmptyStateIllustrationTypeToVariant/index.ts +21 -0
  15. package/codemods/migrateEmptyStateIllustrationTypeToVariant/transformEmptyStateIllustrationTypeToVariant.spec.ts +74 -0
  16. package/codemods/migrateEmptyStateIllustrationTypeToVariant/transformEmptyStateIllustrationTypeToVariant.ts +28 -0
  17. package/codemods/migrateGlobalNotificationTypeToVariant/index.ts +19 -0
  18. package/codemods/migrateInformationTileMoodToVariant/index.ts +21 -0
  19. package/codemods/migrateInformationTileMoodToVariant/transformInformationTileMoodToVariant.spec.ts +84 -0
  20. package/codemods/migrateInformationTileMoodToVariant/transformInformationTileMoodToVariant.ts +22 -0
  21. package/codemods/migrateInlineNotificationTypeToVariant/index.ts +19 -0
  22. package/codemods/migrateMultiActionTileMoodToVariant/index.ts +21 -0
  23. package/codemods/migrateMultiActionTileMoodToVariant/transformMultiActionTileMoodToVariant.spec.ts +84 -0
  24. package/codemods/migrateMultiActionTileMoodToVariant/transformMultiActionTileMoodToVariant.ts +22 -0
  25. package/codemods/migrateNotificationTypeToVariant/index.ts +1 -0
  26. package/codemods/migrateNotificationTypeToVariant/migrateNotificationTypeToVariant.spec.ts +107 -0
  27. package/codemods/migrateNotificationTypeToVariant/migrateNotificationTypeToVariant.ts +28 -0
  28. package/codemods/migrateProgressBarMoodToColor/index.ts +21 -0
  29. package/codemods/migrateProgressBarMoodToColor/transformProgressBarMoodToColor.spec.ts +54 -0
  30. package/codemods/migrateProgressBarMoodToColor/transformProgressBarMoodToColor.ts +26 -0
  31. package/codemods/migrateToastNotificationTypeToVariant/index.ts +19 -0
  32. package/codemods/migrateWellVariantToColor/index.ts +15 -0
  33. package/codemods/migrateWellVariantToColor/transformWellVariantToColor.spec.ts +192 -0
  34. package/codemods/migrateWellVariantToColor/transformWellVariantToColor.ts +75 -0
  35. package/codemods/removeInputEditModalMood/index.ts +19 -0
  36. package/codemods/removeInputEditModalMood/removeInputEditModalMood.spec.ts +80 -0
  37. package/codemods/removeInputEditModalMood/removeInputEditModalMood.ts +40 -0
  38. package/codemods/updateGuidanceBlockVariantProp/transformGuidanceBlockVariantProp.spec.ts +135 -0
  39. package/codemods/updateGuidanceBlockVariantProp/transformGuidanceBlockVariantProp.ts +77 -0
  40. package/codemods/utils/__fixtures__/KaioComponent.tsx +6 -0
  41. package/codemods/utils/__snapshots__/transformSource.spec.ts.snap +11 -0
  42. package/codemods/utils/getPropValueText.spec.ts +75 -0
  43. package/codemods/utils/getPropValueText.ts +21 -0
  44. package/codemods/utils/getTagName.spec.ts +24 -0
  45. package/codemods/utils/getTagName.ts +32 -0
  46. package/codemods/utils/index.ts +7 -0
  47. package/codemods/utils/migrateStringProp.spec.ts +129 -0
  48. package/codemods/utils/migrateStringProp.ts +43 -0
  49. package/codemods/utils/printAst.ts +6 -0
  50. package/codemods/utils/transformComponentsInDir.ts +42 -0
  51. package/codemods/utils/transformSource.spec.ts +56 -0
  52. package/codemods/utils/transformSource.ts +25 -0
  53. package/codemods/utils/updateJsxElementWithNewProps.spec.ts +67 -0
  54. package/codemods/utils/updateJsxElementWithNewProps.ts +24 -0
  55. package/dist/cjs/BrandMoment/BrandMoment.cjs +3 -2
  56. package/dist/cjs/BrandMoment/BrandMoment.module.scss.cjs +3 -1
  57. package/dist/cjs/Card/Card.cjs +7 -6
  58. package/dist/cjs/Card/Card.module.scss.cjs +10 -2
  59. package/dist/cjs/EmptyState/EmptyState.cjs +14 -6
  60. package/dist/cjs/EmptyState/EmptyState.module.scss.cjs +3 -0
  61. package/dist/cjs/ErrorPage/ErrorPage.cjs +1 -1
  62. package/dist/cjs/Icon/subcomponents/SVG/SVG.cjs +2 -3
  63. package/dist/cjs/Illustration/subcomponents/VideoPlayer/VideoPlayer.cjs +1 -1
  64. package/dist/cjs/Modal/ConfirmationModal/ConfirmationModal.cjs +9 -5
  65. package/dist/cjs/Modal/ConfirmationModal/ConfirmationModal.module.scss.cjs +6 -2
  66. package/dist/cjs/Notification/ToastNotification/ToastNotification/ToastNotification.cjs +1 -3
  67. package/dist/cjs/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.cjs +1 -3
  68. package/dist/cjs/Notification/subcomponents/GenericNotification/GenericNotification.cjs +6 -3
  69. package/dist/cjs/Notification/subcomponents/GenericNotification/GenericNotification.module.scss.cjs +5 -3
  70. package/dist/cjs/Notification/subcomponents/NotificationIcon/NotificationIcon.cjs +35 -3
  71. package/dist/cjs/ProgressBar/ProgressBar.cjs +3 -2
  72. package/dist/cjs/ProgressBar/ProgressBar.module.scss.cjs +8 -4
  73. package/dist/cjs/Tile/subcomponents/GenericTile/GenericTile.cjs +7 -5
  74. package/dist/cjs/Tile/subcomponents/GenericTile/GenericTile.module.scss.cjs +8 -6
  75. package/dist/cjs/Well/Well.cjs +5 -4
  76. package/dist/cjs/Well/Well.module.scss.cjs +9 -1
  77. package/dist/cjs/{GuidanceBlock → __containers__/GuidanceBlock/v1}/GuidanceBlock.cjs +6 -6
  78. package/dist/cjs/__containers__/GuidanceBlock/v1/GuidanceBlock.module.scss.cjs +33 -0
  79. package/dist/cjs/__containers__/GuidanceBlock/v2/GuidanceBlock.cjs +160 -0
  80. package/dist/cjs/__containers__/GuidanceBlock/v2/GuidanceBlock.module.scss.cjs +28 -0
  81. package/dist/cjs/containersV1.cjs +4 -0
  82. package/dist/cjs/containersV2.cjs +4 -0
  83. package/dist/cjs/index.cjs +2 -2
  84. package/dist/esm/BrandMoment/BrandMoment.mjs +3 -2
  85. package/dist/esm/BrandMoment/BrandMoment.module.scss.mjs +3 -1
  86. package/dist/esm/Card/Card.mjs +7 -6
  87. package/dist/esm/Card/Card.module.scss.mjs +10 -2
  88. package/dist/esm/EmptyState/EmptyState.mjs +15 -7
  89. package/dist/esm/EmptyState/EmptyState.module.scss.mjs +3 -0
  90. package/dist/esm/ErrorPage/ErrorPage.mjs +1 -1
  91. package/dist/esm/Icon/subcomponents/SVG/SVG.mjs +2 -3
  92. package/dist/esm/Illustration/subcomponents/VideoPlayer/VideoPlayer.mjs +1 -1
  93. package/dist/esm/Modal/ConfirmationModal/ConfirmationModal.mjs +9 -5
  94. package/dist/esm/Modal/ConfirmationModal/ConfirmationModal.module.scss.mjs +6 -2
  95. package/dist/esm/Notification/ToastNotification/ToastNotification/ToastNotification.mjs +1 -3
  96. package/dist/esm/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.mjs +1 -3
  97. package/dist/esm/Notification/subcomponents/GenericNotification/GenericNotification.mjs +8 -5
  98. package/dist/esm/Notification/subcomponents/GenericNotification/GenericNotification.module.scss.mjs +5 -3
  99. package/dist/esm/Notification/subcomponents/NotificationIcon/NotificationIcon.mjs +39 -5
  100. package/dist/esm/ProgressBar/ProgressBar.mjs +3 -2
  101. package/dist/esm/ProgressBar/ProgressBar.module.scss.mjs +8 -4
  102. package/dist/esm/Tile/subcomponents/GenericTile/GenericTile.mjs +7 -5
  103. package/dist/esm/Tile/subcomponents/GenericTile/GenericTile.module.scss.mjs +8 -6
  104. package/dist/esm/Well/Well.mjs +5 -4
  105. package/dist/esm/Well/Well.module.scss.mjs +9 -1
  106. package/dist/esm/{GuidanceBlock → __containers__/GuidanceBlock/v1}/GuidanceBlock.mjs +6 -6
  107. package/dist/esm/__containers__/GuidanceBlock/v1/GuidanceBlock.module.scss.mjs +31 -0
  108. package/dist/esm/__containers__/GuidanceBlock/v2/GuidanceBlock.mjs +153 -0
  109. package/dist/esm/__containers__/GuidanceBlock/v2/GuidanceBlock.module.scss.mjs +26 -0
  110. package/dist/esm/containersV1.mjs +1 -0
  111. package/dist/esm/containersV2.mjs +1 -0
  112. package/dist/esm/index.mjs +1 -1
  113. package/dist/styles.css +13 -12
  114. package/dist/types/BrandMoment/BrandMoment.d.ts +19 -3
  115. package/dist/types/Card/Card.d.ts +20 -7
  116. package/dist/types/EmptyState/EmptyState.d.ts +14 -6
  117. package/dist/types/Icon/subcomponents/SVG/SVG.d.ts +1 -2
  118. package/dist/types/Modal/ConfirmationModal/ConfirmationModal.d.ts +25 -7
  119. package/dist/types/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.d.ts +3 -0
  120. package/dist/types/Modal/InputEditModal/InputEditModal.d.ts +4 -1
  121. package/dist/types/Notification/GlobalNotification/GlobalNotification.d.ts +3 -3
  122. package/dist/types/Notification/InlineNotification/InlineNotification.d.ts +3 -3
  123. package/dist/types/Notification/ToastNotification/ToastNotification/ToastNotification.d.ts +5 -4
  124. package/dist/types/Notification/ToastNotification/context/ToastNotificationContext.d.ts +4 -3
  125. package/dist/types/Notification/ToastNotification/types.d.ts +3 -3
  126. package/dist/types/Notification/subcomponents/GenericNotification/GenericNotification.d.ts +24 -4
  127. package/dist/types/Notification/subcomponents/NotificationIcon/NotificationIcon.d.ts +11 -4
  128. package/dist/types/Notification/types.d.ts +2 -1
  129. package/dist/types/ProgressBar/ProgressBar.d.ts +25 -6
  130. package/dist/types/Tile/subcomponents/GenericTile/GenericTile.d.ts +10 -3
  131. package/dist/types/Well/Well.d.ts +6 -2
  132. package/dist/types/Well/types.d.ts +4 -0
  133. package/dist/types/{GuidanceBlock → __containers__/GuidanceBlock/v1}/GuidanceBlock.d.ts +4 -4
  134. package/dist/types/__containers__/GuidanceBlock/v2/GuidanceBlock.d.ts +59 -0
  135. package/dist/types/__containers__/GuidanceBlock/v2/index.d.ts +1 -0
  136. package/dist/types/__containers__/v1.d.ts +1 -0
  137. package/dist/types/__containers__/v2.d.ts +1 -0
  138. package/dist/types/index.d.ts +1 -1
  139. package/package.json +28 -13
  140. package/src/BrandMoment/BrandMoment.module.scss +20 -9
  141. package/src/BrandMoment/BrandMoment.tsx +26 -3
  142. package/src/BrandMoment/_docs/BrandMoment.mdx +13 -13
  143. package/src/BrandMoment/_docs/BrandMoment.stickersheet.stories.tsx +102 -0
  144. package/src/BrandMoment/_docs/BrandMoment.stories.tsx +17 -99
  145. package/src/Card/Card.module.scss +56 -7
  146. package/src/Card/Card.tsx +35 -11
  147. package/src/Card/_docs/Card.mdx +6 -3
  148. package/src/Card/_docs/Card.stickersheet.stories.tsx +44 -39
  149. package/src/Card/_docs/Card.stories.tsx +23 -23
  150. package/src/EmptyState/EmptyState.module.scss +32 -14
  151. package/src/EmptyState/EmptyState.tsx +32 -18
  152. package/src/EmptyState/_docs/EmptyState.stickersheet.stories.tsx +69 -121
  153. package/src/EmptyState/_docs/EmptyState.stories.tsx +6 -8
  154. package/src/ErrorPage/ErrorPage.tsx +1 -1
  155. package/src/Icon/subcomponents/SVG/SVG.tsx +1 -4
  156. package/src/Illustration/subcomponents/VideoPlayer/VideoPlayer.tsx +1 -1
  157. package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +100 -78
  158. package/src/Modal/ConfirmationModal/ConfirmationModal.spec.tsx +5 -5
  159. package/src/Modal/ConfirmationModal/ConfirmationModal.tsx +41 -10
  160. package/src/Modal/ConfirmationModal/_docs/ConfirmationModal.mdx +3 -3
  161. package/src/Modal/ConfirmationModal/_docs/ConfirmationModal.stories.tsx +11 -4
  162. package/src/Modal/ContextModal/_docs/ContextModal.stories.tsx +3 -1
  163. package/src/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.tsx +3 -0
  164. package/src/Modal/InputEditModal/InputEditModal.tsx +4 -1
  165. package/src/Modal/InputEditModal/_docs/InputEditModal.mdx +0 -13
  166. package/src/Modal/InputEditModal/_docs/InputEditModal.stories.tsx +9 -10
  167. package/src/Notification/GlobalNotification/GlobalNotification.tsx +9 -4
  168. package/src/Notification/GlobalNotification/_docs/GlobalNotification.stickersheet.stories.tsx +68 -58
  169. package/src/Notification/GlobalNotification/_docs/GlobalNotification.stories.tsx +10 -13
  170. package/src/Notification/InlineNotification/InlineNotification.tsx +9 -4
  171. package/src/Notification/InlineNotification/_docs/InlineNotification.stickersheet.stories.tsx +79 -44
  172. package/src/Notification/InlineNotification/_docs/InlineNotification.stories.tsx +17 -17
  173. package/src/Notification/ToastNotification/ToastNotification/ToastNotification.tsx +7 -5
  174. package/src/Notification/ToastNotification/ToastNotificationsList/subcomponents/ToastNotificationsMap/ToastNotificationsMap.tsx +1 -2
  175. package/src/Notification/ToastNotification/_docs/ToastNotification.stickersheet.stories.tsx +12 -7
  176. package/src/Notification/ToastNotification/_docs/ToastNotification.stories.tsx +6 -1
  177. package/src/Notification/ToastNotification/context/ToastNotificationContext.tsx +7 -3
  178. package/src/Notification/ToastNotification/types.ts +8 -3
  179. package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +42 -5
  180. package/src/Notification/subcomponents/GenericNotification/GenericNotification.tsx +40 -6
  181. package/src/Notification/subcomponents/GenericNotification/_mixins.scss +2 -1
  182. package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.tsx +31 -5
  183. package/src/Notification/types.ts +9 -2
  184. package/src/ProgressBar/ProgressBar.module.scss +37 -25
  185. package/src/ProgressBar/ProgressBar.tsx +30 -5
  186. package/src/ProgressBar/_docs/ProgressBar.mdx +2 -3
  187. package/src/ProgressBar/_docs/ProgressBar.stickersheet.stories.tsx +95 -51
  188. package/src/ProgressBar/_docs/ProgressBar.stories.tsx +56 -25
  189. package/src/Tile/InformationTile/_docs/InformationTile.mdx +3 -2
  190. package/src/Tile/InformationTile/_docs/InformationTile.stickersheet.stories.tsx +57 -19
  191. package/src/Tile/InformationTile/_docs/InformationTile.stories.tsx +19 -7
  192. package/src/Tile/MultiActionTile/_docs/MultiActionTile.mdx +3 -2
  193. package/src/Tile/MultiActionTile/_docs/MultiActionTile.stickersheet.stories.tsx +62 -24
  194. package/src/Tile/MultiActionTile/_docs/MultiActionTile.stories.tsx +19 -7
  195. package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +34 -22
  196. package/src/Tile/subcomponents/GenericTile/GenericTile.tsx +17 -8
  197. package/src/Tile/subcomponents/GenericTile/_docs/GenericTile.stickersheet.stories.tsx +57 -19
  198. package/src/Well/Well.module.scss +70 -33
  199. package/src/Well/Well.tsx +9 -3
  200. package/src/Well/_docs/Well.mdx +9 -2
  201. package/src/Well/_docs/Well.stickersheet.stories.tsx +10 -1
  202. package/src/Well/_docs/Well.stories.tsx +54 -29
  203. package/src/Well/types.ts +15 -0
  204. package/src/__actions__/Button/v3/_docs/ApiSpecification.mdx +1 -1
  205. package/src/{GuidanceBlock → __containers__/GuidanceBlock/v1}/GuidanceBlock.module.scss +2 -2
  206. package/src/{GuidanceBlock → __containers__/GuidanceBlock/v1}/_docs/GuidanceBlock.mdx +2 -2
  207. package/src/{GuidanceBlock → __containers__/GuidanceBlock/v1}/_docs/GuidanceBlock.stickersheet.stories.tsx +1 -1
  208. package/src/{GuidanceBlock → __containers__/GuidanceBlock/v1}/_docs/GuidanceBlock.stories.tsx +1 -1
  209. package/src/__containers__/GuidanceBlock/v2/GuidanceBlock.module.scss +356 -0
  210. package/src/__containers__/GuidanceBlock/v2/GuidanceBlock.spec.tsx +82 -0
  211. package/src/__containers__/GuidanceBlock/v2/GuidanceBlock.tsx +262 -0
  212. package/src/__containers__/GuidanceBlock/v2/_docs/GuidanceBlock.mdx +38 -0
  213. package/src/__containers__/GuidanceBlock/v2/_docs/GuidanceBlock.stickersheet.stories.tsx +118 -0
  214. package/src/__containers__/GuidanceBlock/v2/_docs/GuidanceBlock.stories.tsx +152 -0
  215. package/src/__containers__/GuidanceBlock/v2/index.ts +1 -0
  216. package/src/__containers__/v1.ts +1 -0
  217. package/src/__containers__/v2.ts +1 -0
  218. package/src/index.ts +2 -1
  219. package/v1/containers/package.json +5 -0
  220. package/v2/containers/package.json +5 -0
  221. package/dist/cjs/GuidanceBlock/GuidanceBlock.module.scss.cjs +0 -33
  222. package/dist/esm/GuidanceBlock/GuidanceBlock.module.scss.mjs +0 -31
  223. package/dist/types/Tile/subcomponents/GenericTile/types.d.ts +0 -2
  224. package/src/EmptyState/_docs/EmptyState.stories.module.scss +0 -15
  225. package/src/Notification/ToastNotification/ToastNotification/ToastNotification.spec.tsx +0 -33
  226. package/src/Tile/subcomponents/GenericTile/types.ts +0 -10
  227. /package/dist/types/{GuidanceBlock → __containers__/GuidanceBlock/v1}/index.d.ts +0 -0
  228. /package/dist/types/{GuidanceBlock → __containers__/GuidanceBlock/v1}/types.d.ts +0 -0
  229. /package/src/{GuidanceBlock → __containers__/GuidanceBlock/v1}/GuidanceBlock.spec.tsx +0 -0
  230. /package/src/{GuidanceBlock → __containers__/GuidanceBlock/v1}/GuidanceBlock.tsx +0 -0
  231. /package/src/{GuidanceBlock → __containers__/GuidanceBlock/v1}/index.ts +0 -0
  232. /package/src/{GuidanceBlock → __containers__/GuidanceBlock/v1}/types.ts +0 -0
@@ -17,10 +17,17 @@ function _interopDefault(e) {
17
17
  var React__default = /*#__PURE__*/_interopDefault(React);
18
18
  var classnames__default = /*#__PURE__*/_interopDefault(classnames);
19
19
  var ILLUSTRATIONS = {
20
+ success: Scene.EmptyStatesPositive,
21
+ warning: Scene.EmptyStatesNegative,
22
+ informative: Scene.EmptyStatesInformative,
23
+ "expert-advice": Scene.EmptyStatesNeutral,
24
+ /** @deprecated Replaced by success */
20
25
  positive: Scene.EmptyStatesPositive,
26
+ /** @deprecated Replaced by expert-advice */
21
27
  neutral: Scene.EmptyStatesNeutral,
28
+ /** @deprecated Replaced by warning */
22
29
  negative: Scene.EmptyStatesNegative,
23
- informative: Scene.EmptyStatesInformative,
30
+ /** @deprecated Replaced by warning */
24
31
  action: Scene.EmptyStatesNegative
25
32
  };
26
33
  /**
@@ -30,8 +37,9 @@ var ILLUSTRATIONS = {
30
37
  var EmptyState = function (_a) {
31
38
  var children = _a.children,
32
39
  id = _a.id,
33
- _b = _a.illustrationType,
34
- illustrationType = _b === void 0 ? "informative" : _b,
40
+ illustrationType = _a.illustrationType,
41
+ _b = _a.variant,
42
+ variant = _b === void 0 ? "informative" : _b,
35
43
  _c = _a.layoutContext,
36
44
  layoutContext = _c === void 0 ? "sidebarAndContent" : _c,
37
45
  headingProps = _a.headingProps,
@@ -42,10 +50,10 @@ var EmptyState = function (_a) {
42
50
  _e = _a.loop,
43
51
  loop = _e === void 0 ? false : _e,
44
52
  classNameOverride = _a.classNameOverride,
45
- props = tslib.__rest(_a, ["children", "id", "illustrationType", "layoutContext", "headingProps", "bodyText", "straightCorners", "isAnimated", "loop", "classNameOverride"]);
46
- var IllustrationComponent = ILLUSTRATIONS[illustrationType];
53
+ props = tslib.__rest(_a, ["children", "id", "illustrationType", "variant", "layoutContext", "headingProps", "bodyText", "straightCorners", "isAnimated", "loop", "classNameOverride"]);
54
+ var IllustrationComponent = ILLUSTRATIONS[illustrationType !== null && illustrationType !== void 0 ? illustrationType : variant];
47
55
  return React__default.default.createElement("div", tslib.__assign({
48
- className: classnames__default.default(classNameOverride, EmptyState_module[illustrationType], EmptyState_module.container, EmptyState_module.zen, EmptyState_module[layoutContext], straightCorners && EmptyState_module.straightCorners),
56
+ className: classnames__default.default(EmptyState_module.container, illustrationType ? EmptyState_module[illustrationType] : EmptyState_module[variant], EmptyState_module[layoutContext], straightCorners && EmptyState_module.straightCorners, classNameOverride),
49
57
  id: id
50
58
  }, props), React__default.default.createElement("div", {
51
59
  className: EmptyState_module.illustrationSide
@@ -9,7 +9,10 @@ var styles = {
9
9
  "negative": "EmptyState-module_negative__e5ci6",
10
10
  "action": "EmptyState-module_action__OdsgJ",
11
11
  "neutral": "EmptyState-module_neutral__L6fBb",
12
+ "success": "EmptyState-module_success__y7jKP",
13
+ "warning": "EmptyState-module_warning__-PrRp",
12
14
  "informative": "EmptyState-module_informative__x0GSr",
15
+ "expert-advice": "EmptyState-module_expert-advice__VVB8i",
13
16
  "illustrationSide": "EmptyState-module_illustrationSide__ZSjF3",
14
17
  "textSide": "EmptyState-module_textSide__tv54w",
15
18
  "illustration": "EmptyState-module_illustration__HyD2k",
@@ -68,7 +68,7 @@ var ErrorPage = function (_a) {
68
68
  isAnimated: true,
69
69
  loop: true
70
70
  }),
71
- mood: "negative",
71
+ variant: "warning",
72
72
  primaryAction: tslib.__assign(tslib.__assign({}, actions.primary), {
73
73
  icon: React__default.default.createElement(ArrowRightIcon.ArrowRightIcon, {
74
74
  role: "presentation"
@@ -23,9 +23,8 @@ var SVG = function (_a) {
23
23
  viewBox = _c === void 0 ? "0 0 20 20" : _c,
24
24
  classNameOverride = _a.classNameOverride,
25
25
  children = _a.children,
26
- shouldFlipOnRtl = _a.shouldFlipOnRtl,
27
- restProps = tslib.__rest(_a, ["inheritSize", "role", "viewBox", "classNameOverride", "children", "shouldFlipOnRtl"]);
28
- var classes = classnames__default.default(SVG_module.icon, classNameOverride, inheritSize && SVG_module.inheritSize, shouldFlipOnRtl && SVG_module.flipOnRtl);
26
+ restProps = tslib.__rest(_a, ["inheritSize", "role", "viewBox", "classNameOverride", "children"]);
27
+ var classes = classnames__default.default(SVG_module.icon, classNameOverride, inheritSize && SVG_module.inheritSize);
29
28
  if (role === "presentation") {
30
29
  return React__default.default.createElement("svg", tslib.__assign({
31
30
  className: classes,
@@ -91,7 +91,7 @@ var VideoPlayer = function (_a) {
91
91
  * https://developer.mozilla.org/en-US/docs/Web/Media/Autoplay_guide#autoplay_availability
92
92
  */
93
93
  });
94
- } catch (e) {
94
+ } catch (_b) {
95
95
  /**
96
96
  * Older browsers will raise a synchronous error because their first implementation
97
97
  * of `.play` was not a promise.
@@ -27,8 +27,8 @@ function _interopDefault(e) {
27
27
  }
28
28
  var React__default = /*#__PURE__*/_interopDefault(React);
29
29
  var classnames__default = /*#__PURE__*/_interopDefault(classnames);
30
- var getIcon = function (mood, isProminent) {
31
- switch (mood) {
30
+ var getIcon = function (variantName, isProminent) {
31
+ switch (variantName) {
32
32
  case "cautionary":
33
33
  return isProminent ? React__default.default.createElement(Spot.Cautionary, null) : React__default.default.createElement(CautionWhiteIcon.CautionWhiteIcon, {
34
34
  inheritSize: true,
@@ -40,11 +40,13 @@ var getIcon = function (mood, isProminent) {
40
40
  role: "presentation"
41
41
  });
42
42
  case "negative":
43
+ case "warning":
43
44
  return isProminent ? React__default.default.createElement(Spot.Negative, null) : React__default.default.createElement(ExclamationWhiteIcon.ExclamationWhiteIcon, {
44
45
  inheritSize: true,
45
46
  role: "presentation"
46
47
  });
47
48
  case "positive":
49
+ case "success":
48
50
  return isProminent ? React__default.default.createElement(Spot.Positive, null) : React__default.default.createElement(SuccessWhiteIcon.SuccessWhiteIcon, {
49
51
  inheritSize: true,
50
52
  role: "presentation"
@@ -67,6 +69,7 @@ var ConfirmationModal = function (_a) {
67
69
  _c = _a.unpadded,
68
70
  unpadded = _c === void 0 ? false : _c,
69
71
  mood = _a.mood,
72
+ variant = _a.variant,
70
73
  title = _a.title,
71
74
  onConfirm = _a.onConfirm,
72
75
  onAfterLeave = _a.onAfterLeave,
@@ -78,7 +81,8 @@ var ConfirmationModal = function (_a) {
78
81
  confirmWorking = _a.confirmWorking,
79
82
  propsOnDismiss = _a.onDismiss,
80
83
  children = _a.children,
81
- props = tslib.__rest(_a, ["isOpen", "isProminent", "unpadded", "mood", "title", "onConfirm", "onAfterLeave", "onAfterEnter", "confirmLabel", "dismissLabel", "confirmWorking", "onDismiss", "children"]);
84
+ props = tslib.__rest(_a, ["isOpen", "isProminent", "unpadded", "mood", "variant", "title", "onConfirm", "onAfterLeave", "onAfterEnter", "confirmLabel", "dismissLabel", "confirmWorking", "onDismiss", "children"]);
85
+ var variantName = variant || mood;
82
86
  var onDismiss = confirmWorking ? undefined : propsOnDismiss;
83
87
  var footerActions = [];
84
88
  if (onConfirm) {
@@ -110,12 +114,12 @@ var ConfirmationModal = function (_a) {
110
114
  }, props), React__default.default.createElement(ModalHeader.ModalHeader, {
111
115
  onDismiss: onDismiss
112
116
  }, React__default.default.createElement("div", {
113
- className: classnames__default.default(ConfirmationModal_module.header, ConfirmationModal_module["".concat(mood, "Header")], isProminent && ConfirmationModal_module.prominent, !unpadded && ConfirmationModal_module.padded)
117
+ className: classnames__default.default(ConfirmationModal_module.header, variant ? ConfirmationModal_module[variant] : ConfirmationModal_module["".concat(mood, "Header")], isProminent && ConfirmationModal_module.prominent, !unpadded && ConfirmationModal_module.padded)
114
118
  }, React__default.default.createElement("div", {
115
119
  className: classnames__default.default(ConfirmationModal_module.iconContainer, isProminent && ConfirmationModal_module.prominent)
116
120
  }, React__default.default.createElement("div", {
117
121
  className: ConfirmationModal_module.spotIcon
118
- }, getIcon(mood, isProminent))), React__default.default.createElement(ModalAccessibleLabel.ModalAccessibleLabel, {
122
+ }, getIcon(variantName, isProminent))), React__default.default.createElement(ModalAccessibleLabel.ModalAccessibleLabel, {
119
123
  isProminent: isProminent
120
124
  }, React__default.default.createElement(Heading.Heading, {
121
125
  tag: "h2",
@@ -15,15 +15,19 @@ var styles = {
15
15
  "unscrollable": "ConfirmationModal-module_unscrollable__wg2AZ",
16
16
  "pseudoScrollbar": "ConfirmationModal-module_pseudoScrollbar__NqMuT",
17
17
  "hide": "ConfirmationModal-module_hide__jOdWV",
18
+ "spotIcon": "ConfirmationModal-module_spotIcon__rFSHQ",
18
19
  "header": "ConfirmationModal-module_header__Ooy23",
19
20
  "padded": "ConfirmationModal-module_padded__nGa2-",
20
21
  "iconContainer": "ConfirmationModal-module_iconContainer__QjdGa",
22
+ "prominent": "ConfirmationModal-module_prominent__8-gkP",
21
23
  "positiveHeader": "ConfirmationModal-module_positiveHeader__8Dmja",
22
- "spotIcon": "ConfirmationModal-module_spotIcon__rFSHQ",
23
24
  "informativeHeader": "ConfirmationModal-module_informativeHeader__lTv94",
24
25
  "negativeHeader": "ConfirmationModal-module_negativeHeader__Pmob9",
25
26
  "assertiveHeader": "ConfirmationModal-module_assertiveHeader__3chNK",
26
27
  "cautionaryHeader": "ConfirmationModal-module_cautionaryHeader__ZnE4P",
27
- "prominent": "ConfirmationModal-module_prominent__8-gkP"
28
+ "success": "ConfirmationModal-module_success__4feh-",
29
+ "informative": "ConfirmationModal-module_informative__-kOIo",
30
+ "warning": "ConfirmationModal-module_warning__QlnBO",
31
+ "cautionary": "ConfirmationModal-module_cautionary__AJSCG"
28
32
  };
29
33
  module.exports = styles;
@@ -7,11 +7,10 @@ var ToastNotification = function (_a) {
7
7
  var propsId = _a.id,
8
8
  _b = _a.hideCloseIcon,
9
9
  hideCloseIcon = _b === void 0 ? false : _b,
10
- type = _a.type,
11
10
  title = _a.title,
12
11
  onHide = _a.onHide,
13
12
  children = _a.children,
14
- restProps = tslib.__rest(_a, ["id", "hideCloseIcon", "type", "title", "onHide", "children"]);
13
+ restProps = tslib.__rest(_a, ["id", "hideCloseIcon", "title", "onHide", "children"]);
15
14
  var reactId = React.useId();
16
15
  var id = propsId || reactId;
17
16
  var addToastNotification = ToastNotificationContext.useToastNotificationContext().addToastNotification;
@@ -19,7 +18,6 @@ var ToastNotification = function (_a) {
19
18
  React.useEffect(function () {
20
19
  addToastNotification(tslib.__assign({
21
20
  id: id,
22
- type: type,
23
21
  title: title,
24
22
  message: children,
25
23
  persistent: persistent,
@@ -19,16 +19,14 @@ var ToastNotificationsMap = function (_a) {
19
19
  // this list cannot render with a container (must be portalled into one).
20
20
  return ReactDOM.createPortal(React__default.default.createElement(React__default.default.Fragment, null, notifications.map(function (_a) {
21
21
  var id = _a.id,
22
- type = _a.type,
23
22
  title = _a.title,
24
23
  persistent = _a.persistent,
25
24
  onHide = _a.onHide,
26
25
  message = _a.message,
27
- restProps = tslib.__rest(_a, ["id", "type", "title", "persistent", "onHide", "message"]);
26
+ restProps = tslib.__rest(_a, ["id", "title", "persistent", "onHide", "message"]);
28
27
  return React__default.default.createElement(GenericNotification.GenericNotification, tslib.__assign({
29
28
  key: id,
30
29
  style: "toast",
31
- type: type,
32
30
  title: title,
33
31
  persistent: persistent,
34
32
  onHide: function () {
@@ -16,6 +16,7 @@ var React__default = /*#__PURE__*/_interopDefault(React);
16
16
  var classnames__default = /*#__PURE__*/_interopDefault(classnames);
17
17
  var GenericNotification = function (_a) {
18
18
  var type = _a.type,
19
+ variant = _a.variant,
19
20
  style = _a.style,
20
21
  children = _a.children,
21
22
  title = _a.title,
@@ -26,7 +27,7 @@ var GenericNotification = function (_a) {
26
27
  forceMultiline = _a.forceMultiline,
27
28
  headingProps = _a.headingProps,
28
29
  classNameOverride = _a.classNameOverride,
29
- restProps = tslib.__rest(_a, ["type", "style", "children", "title", "persistent", "onHide", "noBottomMargin", "forceMultiline", "headingProps", "classNameOverride"]);
30
+ restProps = tslib.__rest(_a, ["type", "variant", "style", "children", "title", "persistent", "onHide", "noBottomMargin", "forceMultiline", "headingProps", "classNameOverride"]);
30
31
  var _c = React.useState(true),
31
32
  isHidden = _c[0],
32
33
  setIsHidden = _c[1];
@@ -59,15 +60,17 @@ var GenericNotification = function (_a) {
59
60
  }
60
61
  return React__default.default.createElement("div", tslib.__assign({
61
62
  ref: containerRef,
62
- className: classnames__default.default(GenericNotification_module.notification, GenericNotification_module[type], GenericNotification_module[style], isHidden && GenericNotification_module.hidden, noBottomMargin && GenericNotification_module.noBottomMargin, classNameOverride, persistent && GenericNotification_module.persistent),
63
+ className: classnames__default.default(GenericNotification_module.notification, variant ? GenericNotification_module[variant] : GenericNotification_module[type], GenericNotification_module[style], isHidden && GenericNotification_module.hidden, noBottomMargin && GenericNotification_module.noBottomMargin, classNameOverride, persistent && GenericNotification_module.persistent),
63
64
  style: {
64
65
  marginTop: getMarginTop()
65
66
  },
66
67
  onTransitionEnd: onTransitionEnd
67
68
  }, restProps), React__default.default.createElement("div", {
68
69
  className: GenericNotification_module.icon
69
- }, React__default.default.createElement(NotificationIcon.NotificationIcon, {
70
+ }, type ? React__default.default.createElement(NotificationIcon.NotificationIconType, {
70
71
  type: type
72
+ }) : React__default.default.createElement(NotificationIcon.NotificationIconVariant, {
73
+ variant: variant
71
74
  })), React__default.default.createElement("div", {
72
75
  className: classnames__default.default(GenericNotification_module.textContainer, forceMultiline && GenericNotification_module.forceMultiline)
73
76
  }, style !== "global" && React__default.default.createElement(NotificationHeading.NotificationHeading, {
@@ -6,8 +6,6 @@ var styles = {
6
6
  "toast": "GenericNotification-module_toast__GOVfC",
7
7
  "global": "GenericNotification-module_global__Weka-",
8
8
  "positive": "GenericNotification-module_positive__U-3HK",
9
- "informative": "GenericNotification-module_informative__WLimi",
10
- "cautionary": "GenericNotification-module_cautionary__lneFu",
11
9
  "security": "GenericNotification-module_security__QTALa",
12
10
  "negative": "GenericNotification-module_negative__lUWhD",
13
11
  "hidden": "GenericNotification-module_hidden__WJjct",
@@ -24,6 +22,10 @@ var styles = {
24
22
  "hover": "GenericNotification-module_hover__hUURd",
25
23
  "active": "GenericNotification-module_active__-6ahb",
26
24
  "cancelLabel": "GenericNotification-module_cancelLabel__HJzsk",
27
- "notificationTitle": "GenericNotification-module_notificationTitle__Oaqb8"
25
+ "notificationTitle": "GenericNotification-module_notificationTitle__Oaqb8",
26
+ "success": "GenericNotification-module_success__oLGIP",
27
+ "informative": "GenericNotification-module_informative__WLimi",
28
+ "cautionary": "GenericNotification-module_cautionary__lneFu",
29
+ "warning": "GenericNotification-module_warning__7275P"
28
30
  };
29
31
  module.exports = styles;
@@ -12,7 +12,7 @@ function _interopDefault(e) {
12
12
  };
13
13
  }
14
14
  var React__default = /*#__PURE__*/_interopDefault(React);
15
- var NotificationIcon = function (_a) {
15
+ var NotificationIconType = function (_a) {
16
16
  var type = _a.type;
17
17
  switch (type) {
18
18
  case "positive":
@@ -47,5 +47,37 @@ var NotificationIcon = function (_a) {
47
47
  });
48
48
  }
49
49
  };
50
- NotificationIcon.displayName = "NotificationIcon";
51
- exports.NotificationIcon = NotificationIcon;
50
+ NotificationIconType.displayName = "NotificationIconType";
51
+ var NotificationIconVariant = function (_a) {
52
+ var variant = _a.variant;
53
+ switch (variant) {
54
+ case "success":
55
+ return React__default.default.createElement(SuccessIcon.SuccessIcon, {
56
+ role: "presentation",
57
+ inheritSize: true
58
+ });
59
+ case "warning":
60
+ return React__default.default.createElement(ExclamationIcon.ExclamationIcon, {
61
+ role: "presentation",
62
+ inheritSize: true
63
+ });
64
+ case "cautionary":
65
+ return React__default.default.createElement(CautionIcon.CautionIcon, {
66
+ role: "presentation",
67
+ inheritSize: true
68
+ });
69
+ case "informative":
70
+ return React__default.default.createElement(InformationIcon.InformationIcon, {
71
+ role: "presentation",
72
+ inheritSize: true
73
+ });
74
+ case "security":
75
+ return React__default.default.createElement(SecurityTipIcon.SecurityTipIcon, {
76
+ role: "presentation",
77
+ inheritSize: true
78
+ });
79
+ }
80
+ };
81
+ NotificationIconVariant.displayName = "NotificationIconVariant";
82
+ exports.NotificationIconType = NotificationIconType;
83
+ exports.NotificationIconVariant = NotificationIconVariant;
@@ -24,12 +24,13 @@ var ProgressBar = function (_a) {
24
24
  max = _a.max,
25
25
  isAnimating = _a.isAnimating,
26
26
  mood = _a.mood,
27
+ color = _a.color,
27
28
  subtext = _a.subtext,
28
29
  label = _a.label,
29
30
  classNameOverride = _a.classNameOverride,
30
31
  _b = _a.isReversed,
31
32
  isReversed = _b === void 0 ? false : _b,
32
- restProps = tslib.__rest(_a, ["value", "max", "isAnimating", "mood", "subtext", "label", "classNameOverride", "isReversed"]);
33
+ restProps = tslib.__rest(_a, ["value", "max", "isAnimating", "mood", "color", "subtext", "label", "classNameOverride", "isReversed"]);
33
34
  var percentage = calculatePercentage.calculatePercentage({
34
35
  value: value,
35
36
  max: max
@@ -46,7 +47,7 @@ var ProgressBar = function (_a) {
46
47
  }), React__default.default.createElement("div", {
47
48
  className: ProgressBar_module.progressBackground
48
49
  }, React__default.default.createElement("div", {
49
- className: classnames__default.default(ProgressBar_module[mood], isAnimating && ProgressBar_module.isAnimating),
50
+ className: classnames__default.default(ProgressBar_module.progress, color ? ProgressBar_module[color] : ProgressBar_module[mood], isAnimating && ProgressBar_module.isAnimating),
50
51
  style: {
51
52
  transform: "translateX(-".concat(100 - percentage, "%")
52
53
  }
@@ -4,10 +4,14 @@ var styles = {
4
4
  "subtext": "ProgressBar-module_subtext__eizyu",
5
5
  "progressBackground": "ProgressBar-module_progressBackground__5qzp5",
6
6
  "progress": "ProgressBar-module_progress__X1IHw",
7
- "positive": "ProgressBar-module_positive__12oA1 ProgressBar-module_progress__X1IHw",
8
- "informative": "ProgressBar-module_informative__lrVDM ProgressBar-module_progress__X1IHw",
9
- "cautionary": "ProgressBar-module_cautionary__f56gH ProgressBar-module_progress__X1IHw",
10
- "negative": "ProgressBar-module_negative__EVWBt ProgressBar-module_progress__X1IHw",
7
+ "positive": "ProgressBar-module_positive__12oA1",
8
+ "informative": "ProgressBar-module_informative__lrVDM",
9
+ "cautionary": "ProgressBar-module_cautionary__f56gH",
10
+ "negative": "ProgressBar-module_negative__EVWBt",
11
+ "blue": "ProgressBar-module_blue__WEID8",
12
+ "green": "ProgressBar-module_green__J1T96",
13
+ "red": "ProgressBar-module_red__Ssd61",
14
+ "yellow": "ProgressBar-module_yellow__bcHWO",
11
15
  "isAnimating": "ProgressBar-module_isAnimating__F6AxQ",
12
16
  "pulse": "ProgressBar-module_pulse__RGaQm"
13
17
  };
@@ -26,12 +26,14 @@ var GenericTile = function (_a) {
26
26
  metadata = _a.metadata,
27
27
  information = _a.information,
28
28
  mood = _a.mood,
29
+ _c = _a.variant,
30
+ variant = _c === void 0 ? "default" : _c,
29
31
  footer = _a.footer,
30
32
  classNameOverride = _a.classNameOverride,
31
- restProps = tslib.__rest(_a, ["children", "title", "titleTag", "metadata", "information", "mood", "footer", "classNameOverride"]);
32
- var _c = React.useState(false),
33
- isFlipped = _c[0],
34
- setIsFlipped = _c[1];
33
+ restProps = tslib.__rest(_a, ["children", "title", "titleTag", "metadata", "information", "mood", "variant", "footer", "classNameOverride"]);
34
+ var _d = React.useState(false),
35
+ isFlipped = _d[0],
36
+ setIsFlipped = _d[1];
35
37
  var renderTitle = function () {
36
38
  return React__default.default.createElement("div", {
37
39
  className: GenericTile_module.title
@@ -59,7 +61,7 @@ var GenericTile = function (_a) {
59
61
  };
60
62
  var renderFront = function () {
61
63
  return React__default.default.createElement("div", {
62
- className: classnames__default.default(GenericTile_module.face, GenericTile_module.faceFront, mood === "positive" && GenericTile_module.faceMoodPositive, mood === "informative" && GenericTile_module.faceMoodInformative, mood === "cautionary" && GenericTile_module.faceMoodCautionary, mood === "assertive" && GenericTile_module.faceMoodAssertive, mood === "negative" && GenericTile_module.faceMoodNegative, mood === "prominent" && GenericTile_module.faceMoodProminent)
64
+ className: classnames__default.default(GenericTile_module.face, GenericTile_module.faceFront, mood ? GenericTile_module[mood] : GenericTile_module[variant])
63
65
  }, information && React__default.default.createElement("div", {
64
66
  className: GenericTile_module.informationBtn
65
67
  }, React__default.default.createElement(IconButton.IconButton, {
@@ -7,12 +7,14 @@ var styles = {
7
7
  "face": "GenericTile-module_face__-KLVi",
8
8
  "faceFront": "GenericTile-module_faceFront__HywHi",
9
9
  "faceBack": "GenericTile-module_faceBack__NDCQ8",
10
- "faceMoodPositive": "GenericTile-module_faceMoodPositive__3MEBl",
11
- "faceMoodInformative": "GenericTile-module_faceMoodInformative__D0QsW",
12
- "faceMoodCautionary": "GenericTile-module_faceMoodCautionary__oUZXT",
13
- "faceMoodNegative": "GenericTile-module_faceMoodNegative__DmcZH",
14
- "faceMoodAssertive": "GenericTile-module_faceMoodAssertive__PaUZ-",
15
- "faceMoodProminent": "GenericTile-module_faceMoodProminent__VmMmv",
10
+ "positive": "GenericTile-module_positive__lnpvE",
11
+ "informative": "GenericTile-module_informative__7ox46",
12
+ "cautionary": "GenericTile-module_cautionary__MIucD",
13
+ "negative": "GenericTile-module_negative__2GyVY",
14
+ "assertive": "GenericTile-module_assertive__h7Z5M",
15
+ "prominent": "GenericTile-module_prominent__bfA9P",
16
+ "default": "GenericTile-module_default__z-CEg",
17
+ "expert-advice": "GenericTile-module_expert-advice__qSnxo",
16
18
  "isFlipped": "GenericTile-module_isFlipped__K18mo",
17
19
  "title": "GenericTile-module_title__zC6Qv",
18
20
  "actions": "GenericTile-module_actions__l8vXl",
@@ -18,16 +18,17 @@ var classnames__default = /*#__PURE__*/_interopDefault(classnames);
18
18
  */
19
19
  var Well = function (_a) {
20
20
  var children = _a.children,
21
- _b = _a.variant,
22
- variant = _b === void 0 ? "default" : _b,
21
+ variant = _a.variant,
22
+ _b = _a.color,
23
+ color = _b === void 0 ? "white" : _b,
23
24
  _c = _a.borderStyle,
24
25
  borderStyle = _c === void 0 ? "solid" : _c,
25
26
  _d = _a.noMargin,
26
27
  noMargin = _d === void 0 ? false : _d,
27
28
  classNameOverride = _a.classNameOverride,
28
- restProps = tslib.__rest(_a, ["children", "variant", "borderStyle", "noMargin", "classNameOverride"]);
29
+ restProps = tslib.__rest(_a, ["children", "variant", "color", "borderStyle", "noMargin", "classNameOverride"]);
29
30
  return React__default.default.createElement("div", tslib.__assign({
30
- className: classnames__default.default(Well_module.container, Well_module[borderStyle], Well_module[variant], noMargin && Well_module.noMargin, classNameOverride)
31
+ className: classnames__default.default(Well_module.container, Well_module[borderStyle], Well_module[color], variant && Well_module[variant], noMargin && Well_module.noMargin, classNameOverride)
31
32
  }, restProps), children);
32
33
  };
33
34
  Well.displayName = "Well";
@@ -3,8 +3,16 @@
3
3
  var styles = {
4
4
  "container": "Well-module_container__pi8-W",
5
5
  "noMargin": "Well-module_noMargin__xBvM9",
6
- "default": "Well-module_default__tSiHp",
6
+ "white": "Well-module_white__HEVrB",
7
+ "gray": "Well-module_gray__ur3Fv",
8
+ "blue": "Well-module_blue__H8M0Q",
9
+ "yellow": "Well-module_yellow__DJAMr",
10
+ "orange": "Well-module_orange__F0FkU",
11
+ "red": "Well-module_red__40n5z",
12
+ "green": "Well-module_green__R-zR1",
13
+ "purple": "Well-module_purple__iXxT8",
7
14
  "positive": "Well-module_positive__6ldUu",
15
+ "default": "Well-module_default__tSiHp",
8
16
  "negative": "Well-module_negative__mVczy",
9
17
  "informative": "Well-module_informative__81djJ",
10
18
  "cautionary": "Well-module_cautionary__MSYHT",
@@ -4,13 +4,13 @@ var tslib = require('tslib');
4
4
  var React = require('react');
5
5
  var classnames = require('classnames');
6
6
  var Media = require('react-media');
7
- var Heading = require('../Heading/Heading.cjs');
8
- require('../Icon/subcomponents/SVG/SVG.cjs');
9
- var ArrowForwardIcon = require('../Icon/ArrowForwardIcon.cjs');
10
- var Text = require('../Text/Text.cjs');
11
- var index = require('../__overlays__/Tooltip/v1/index.cjs');
7
+ var Heading = require('../../../Heading/Heading.cjs');
8
+ require('../../../Icon/subcomponents/SVG/SVG.cjs');
9
+ var ArrowForwardIcon = require('../../../Icon/ArrowForwardIcon.cjs');
10
+ var Text = require('../../../Text/Text.cjs');
11
+ var index = require('../../../__overlays__/Tooltip/v1/index.cjs');
12
12
  var GuidanceBlock_module = require('./GuidanceBlock.module.scss.cjs');
13
- var Button = require('../__actions__/Button/v1/Button/Button.cjs');
13
+ var Button = require('../../../__actions__/Button/v1/Button/Button.cjs');
14
14
  function _interopDefault(e) {
15
15
  return e && e.__esModule ? e : {
16
16
  default: e
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ var styles = {
4
+ "rightMargin": "GuidanceBlock-module_rightMargin__SbVUD",
5
+ "noRightMargin": "GuidanceBlock-module_noRightMargin__CbCz9",
6
+ "banner": "GuidanceBlock-module_banner__NyOs1",
7
+ "noMaxWidth": "GuidanceBlock-module_noMaxWidth__Rh070",
8
+ "illustrationWrapper": "GuidanceBlock-module_illustrationWrapper__lIGaj",
9
+ "illustration": "GuidanceBlock-module_illustration__W7PwM",
10
+ "hasSceneIllustration": "GuidanceBlock-module_hasSceneIllustration__CX8GF",
11
+ "descriptionContainer": "GuidanceBlock-module_descriptionContainer__JyNJp",
12
+ "descriptionAndActions": "GuidanceBlock-module_descriptionAndActions__2KGZQ",
13
+ "buttonContainer": "GuidanceBlock-module_buttonContainer__6-Ty-",
14
+ "hidden": "GuidanceBlock-module_hidden__a6zCg",
15
+ "headingWrapper": "GuidanceBlock-module_headingWrapper__3zGY2",
16
+ "cancel": "GuidanceBlock-module_cancel__G-4ci",
17
+ "icon": "GuidanceBlock-module_icon__W0pEX",
18
+ "disabled": "GuidanceBlock-module_disabled__GL1dK",
19
+ "hover": "GuidanceBlock-module_hover__5PdJM",
20
+ "active": "GuidanceBlock-module_active__3ifEz",
21
+ "default": "GuidanceBlock-module_default__9rhEq",
22
+ "positive": "GuidanceBlock-module_positive__m6n-N",
23
+ "negative": "GuidanceBlock-module_negative__Z8tj-",
24
+ "assertive": "GuidanceBlock-module_assertive__76y6Y",
25
+ "informative": "GuidanceBlock-module_informative__QBzhx",
26
+ "cautionary": "GuidanceBlock-module_cautionary__iwOA-",
27
+ "prominent": "GuidanceBlock-module_prominent__LWMSm",
28
+ "inline": "GuidanceBlock-module_inline__Dq-OU",
29
+ "stacked": "GuidanceBlock-module_stacked__h3bUz",
30
+ "centerContent": "GuidanceBlock-module_centerContent__Cyd34",
31
+ "smallScreenTextAlignment": "GuidanceBlock-module_smallScreenTextAlignment__VI-fw"
32
+ };
33
+ module.exports = styles;