@carbon/ibm-products 1.55.1 → 1.56.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (110) hide show
  1. package/css/index-full-carbon.css +639 -16
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +4 -4
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon.css +582 -9
  6. package/css/index-without-carbon.css.map +1 -1
  7. package/css/index-without-carbon.min.css +2 -2
  8. package/css/index-without-carbon.min.css.map +1 -1
  9. package/css/index.css +620 -12
  10. package/css/index.css.map +1 -1
  11. package/css/index.min.css +4 -4
  12. package/css/index.min.css.map +1 -1
  13. package/es/components/Carousel/Carousel.js +15 -5
  14. package/es/components/Coachmark/Coachmark.js +243 -0
  15. package/es/components/Coachmark/CoachmarkDragbar.js +137 -0
  16. package/es/components/Coachmark/CoachmarkHeader.js +88 -0
  17. package/es/components/Coachmark/CoachmarkOverlay.js +139 -0
  18. package/es/components/Coachmark/CoachmarkTagline.js +93 -0
  19. package/es/components/Coachmark/index.js +10 -0
  20. package/es/components/Coachmark/utils/constants.js +76 -0
  21. package/es/components/Coachmark/utils/context.js +5 -0
  22. package/es/components/Coachmark/utils/enums.js +40 -0
  23. package/es/components/Coachmark/utils/helpers.js +11 -0
  24. package/es/components/Coachmark/utils/hooks.js +54 -0
  25. package/es/components/CoachmarkBeacon/CoachmarkBeacon.js +90 -0
  26. package/es/components/CoachmarkBeacon/index.js +8 -0
  27. package/es/components/CoachmarkButton/CoachmarkButton.js +72 -0
  28. package/es/components/CoachmarkButton/index.js +8 -0
  29. package/es/components/CoachmarkFixed/CoachmarkFixed.js +201 -0
  30. package/es/components/CoachmarkFixed/index.js +8 -0
  31. package/es/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +86 -0
  32. package/es/components/CoachmarkOverlayElement/index.js +8 -0
  33. package/es/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +175 -0
  34. package/es/components/CoachmarkOverlayElements/index.js +8 -0
  35. package/es/components/CoachmarkStack/CoachmarkStack.js +260 -0
  36. package/es/components/CoachmarkStack/CoachmarkStackHome.js +157 -0
  37. package/es/components/CoachmarkStack/index.js +8 -0
  38. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -4
  39. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -5
  40. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +33 -17
  41. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +0 -1
  42. package/es/components/Datagrid/useDefaultStringRenderer.js +2 -1
  43. package/es/components/Datagrid/useSortableColumns.js +8 -4
  44. package/es/components/NotificationsPanel/NotificationsPanel.js +3 -2
  45. package/es/components/index.js +7 -0
  46. package/es/global/js/package-settings.js +8 -1
  47. package/es/global/js/utils/test-helper.js +3 -3
  48. package/lib/components/Carousel/Carousel.js +15 -5
  49. package/lib/components/Coachmark/Coachmark.js +247 -0
  50. package/lib/components/Coachmark/CoachmarkDragbar.js +137 -0
  51. package/lib/components/Coachmark/CoachmarkHeader.js +85 -0
  52. package/lib/components/Coachmark/CoachmarkOverlay.js +139 -0
  53. package/lib/components/Coachmark/CoachmarkTagline.js +90 -0
  54. package/lib/components/Coachmark/index.js +38 -0
  55. package/lib/components/Coachmark/utils/constants.js +82 -0
  56. package/lib/components/Coachmark/utils/context.js +13 -0
  57. package/lib/components/Coachmark/utils/enums.js +49 -0
  58. package/lib/components/Coachmark/utils/helpers.js +17 -0
  59. package/lib/components/Coachmark/utils/hooks.js +60 -0
  60. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +87 -0
  61. package/lib/components/CoachmarkBeacon/index.js +12 -0
  62. package/lib/components/CoachmarkButton/CoachmarkButton.js +69 -0
  63. package/lib/components/CoachmarkButton/index.js +12 -0
  64. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +201 -0
  65. package/lib/components/CoachmarkFixed/index.js +12 -0
  66. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +83 -0
  67. package/lib/components/CoachmarkOverlayElement/index.js +12 -0
  68. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +176 -0
  69. package/lib/components/CoachmarkOverlayElements/index.js +12 -0
  70. package/lib/components/CoachmarkStack/CoachmarkStack.js +264 -0
  71. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +160 -0
  72. package/lib/components/CoachmarkStack/index.js +12 -0
  73. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/Columns.js +1 -4
  74. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/CustomizeColumnsTearsheet.js +2 -5
  75. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +33 -17
  76. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/TearsheetWrapper.js +0 -1
  77. package/lib/components/Datagrid/useDefaultStringRenderer.js +2 -1
  78. package/lib/components/Datagrid/useSortableColumns.js +8 -4
  79. package/lib/components/NotificationsPanel/NotificationsPanel.js +3 -2
  80. package/lib/components/index.js +49 -0
  81. package/lib/global/js/package-settings.js +8 -1
  82. package/lib/global/js/utils/test-helper.js +3 -3
  83. package/package.json +8 -8
  84. package/scss/components/Carousel/_carousel.scss +3 -0
  85. package/scss/components/Coachmark/_index.scss +11 -0
  86. package/scss/components/Coachmark/_storybook-styles.scss +20 -0
  87. package/scss/components/Coachmark/styles/_coachmark-dragbar.scss +74 -0
  88. package/scss/components/Coachmark/styles/_coachmark-header.scss +58 -0
  89. package/scss/components/Coachmark/styles/_coachmark-overlay.scss +327 -0
  90. package/scss/components/Coachmark/styles/_coachmark-tagline.scss +118 -0
  91. package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +166 -0
  92. package/scss/components/CoachmarkBeacon/_index.scss +8 -0
  93. package/scss/components/CoachmarkBeacon/_storybook-styles.scss +19 -0
  94. package/scss/components/CoachmarkButton/_coachmark-button.scss +34 -0
  95. package/scss/components/CoachmarkButton/_index.scss +8 -0
  96. package/scss/components/CoachmarkButton/_storybook-styles.scss +19 -0
  97. package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +34 -0
  98. package/scss/components/CoachmarkFixed/_index.scss +8 -0
  99. package/scss/components/CoachmarkFixed/_storybook-styles.scss +10 -0
  100. package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +50 -0
  101. package/scss/components/CoachmarkOverlayElement/_index.scss +8 -0
  102. package/scss/components/CoachmarkOverlayElement/_storybook-styles.scss +19 -0
  103. package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +40 -0
  104. package/scss/components/CoachmarkOverlayElements/_index.scss +8 -0
  105. package/scss/components/CoachmarkOverlayElements/_storybook-styles.scss +19 -0
  106. package/scss/components/CoachmarkStack/_coachmark-stack.scss +85 -0
  107. package/scss/components/CoachmarkStack/_index.scss +8 -0
  108. package/scss/components/CoachmarkStack/_storybook-styles.scss +10 -0
  109. package/scss/components/Datagrid/styles/_useColumnCenterAlign.scss +9 -9
  110. package/scss/components/_index.scss +7 -1
@@ -7268,19 +7268,13 @@ button.c4p--add-select__global-filter-toggle--open {
7268
7268
  padding-right: 0;
7269
7269
  }
7270
7270
 
7271
- /*
7272
- * Licensed Materials - Property of IBM
7273
- * 5724-Q36
7274
- * (c) Copyright IBM Corp. 2020
7275
- * US Government Users Restricted Rights - Use, duplication or disclosure
7276
- * restricted by GSA ADP Schedule Contract with IBM Corp.
7277
- */
7278
- .c4p--datagrid__center-align-header {
7271
+ .c4p--datagrid__center-align-header,
7272
+ .c4p--datagrid__center-align-header .c4p--datagrid--table-sort {
7279
7273
  width: 100%;
7280
7274
  text-align: center;
7281
7275
  }
7282
7276
 
7283
- .c4p--datagrid__center-align-cell-renderer.sortDisabled {
7277
+ .c4p--datagrid__center-align-cell-renderer {
7284
7278
  margin-right: auto;
7285
7279
  margin-left: auto;
7286
7280
  }
@@ -8753,6 +8747,11 @@ th.c4p--datagrid__select-all-toggle-on.button {
8753
8747
  .c4p--carousel__elements::-webkit-scrollbar {
8754
8748
  display: none;
8755
8749
  }
8750
+ @media (prefers-reduced-motion) {
8751
+ .c4p--carousel__elements {
8752
+ scroll-behavior: auto;
8753
+ }
8754
+ }
8756
8755
 
8757
8756
  /**
8758
8757
  * The Guidebanner specifically is theme-agnostic, and so we have to
@@ -11156,6 +11155,580 @@ th.c4p--datagrid__select-all-toggle-on.button {
11156
11155
  color: var(--cds-link-01, #0f62fe);
11157
11156
  }
11158
11157
 
11158
+ /* stylelint-disable declaration-no-important */
11159
+ .c4p--coachmark-dragbar {
11160
+ display: flex;
11161
+ }
11162
+ .c4p--coachmark-dragbar__handle {
11163
+ flex-grow: 1;
11164
+ padding: var(--cds-spacing-03, 0.5rem) 0 0 var(--cds-spacing-03, 0.5rem);
11165
+ border: 0;
11166
+ background-color: transparent;
11167
+ text-align: left;
11168
+ }
11169
+ .c4p--coachmark-dragbar__handle:hover {
11170
+ cursor: move;
11171
+ }
11172
+ .c4p--coachmark-dragbar--close-btn {
11173
+ width: var(--cds-spacing-07, 2rem);
11174
+ height: var(--cds-spacing-07, 2rem);
11175
+ margin-left: auto !important;
11176
+ }
11177
+ .c4p--coachmark-dragbar--close-btn svg > path {
11178
+ margin: 0;
11179
+ fill: var(--cds-inverse-01, #ffffff) !important;
11180
+ }
11181
+ .c4p--coachmark-dragbar--close-btn:hover {
11182
+ background-color: var(--cds-inverse-hover-ui, #4c4c4c) !important;
11183
+ }
11184
+ .c4p--coachmark-dragbar__light c4p--coachmark-dragbar--close-btn:active {
11185
+ background-color: var(--cds-active-secondary, #6f6f6f);
11186
+ }
11187
+ .c4p--coachmark-dragbar__dark c4p--coachmark-dragbar--close-btn:active {
11188
+ background-color: var(--cds-button-tertiary-active, #002d9c);
11189
+ }
11190
+ .c4p--coachmark-dragbar svg {
11191
+ color: var(--cds-inverse-01, #ffffff);
11192
+ }
11193
+
11194
+ /* stylelint-disable declaration-no-important */
11195
+ .c4p--coachmark-header {
11196
+ display: flex;
11197
+ }
11198
+ .c4p--coachmark-header--close-btn {
11199
+ width: var(--cds-spacing-07, 2rem);
11200
+ height: var(--cds-spacing-07, 2rem);
11201
+ margin-left: auto !important;
11202
+ }
11203
+ .c4p--coachmark-header--close-btn svg > path {
11204
+ margin: 0;
11205
+ fill: var(--cds-inverse-01, #ffffff) !important;
11206
+ }
11207
+ .c4p--coachmark-header--close-btn:hover {
11208
+ background-color: var(--cds-inverse-hover-ui, #4c4c4c) !important;
11209
+ }
11210
+ .c4p--coachmark-header__light c4p--coachmark-header--close-btn:active {
11211
+ background-color: var(--cds-active-secondary, #6f6f6f);
11212
+ }
11213
+ .c4p--coachmark-header__dark c4p--coachmark-header--close-btn:active {
11214
+ background-color: var(--cds-button-tertiary-active, #002d9c);
11215
+ }
11216
+
11217
+ /* stylelint-disable carbon/layout-token-use */
11218
+ /* stylelint-disable carbon/theme-token-use */
11219
+ /* stylelint-disable declaration-no-important */
11220
+ .c4p--coachmark-overlay {
11221
+ position: absolute;
11222
+ z-index: 5901;
11223
+ width: 18rem;
11224
+ border-radius: var(--cds-spacing-01, 0.125rem);
11225
+ background-color: var(--cds-inverse-02, #393939);
11226
+ color: var(--cds-inverse-01, #ffffff);
11227
+ /* ------------------ */
11228
+ }
11229
+ .c4p--coachmark-overlay--fixed {
11230
+ position: fixed;
11231
+ right: var(--cds-spacing-05, 1rem);
11232
+ bottom: 0;
11233
+ transform: translateY(100%);
11234
+ /* stylelint-disable-next-line carbon/motion-easing-use, carbon/motion-duration-use */
11235
+ transition: 240ms cubic-bezier(0.2, 0, 1, 0.9);
11236
+ }
11237
+ @media (prefers-reduced-motion) {
11238
+ .c4p--coachmark-overlay--fixed {
11239
+ transition: none;
11240
+ }
11241
+ }
11242
+ .c4p--coachmark-overlay--is-visible {
11243
+ transform: translateY(0);
11244
+ }
11245
+ .c4p--coachmark-overlay__caret {
11246
+ position: absolute;
11247
+ z-index: 5902;
11248
+ width: 0;
11249
+ height: 0;
11250
+ border-right: calc(var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) solid transparent;
11251
+ border-bottom: solid calc(var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) var(--cds-inverse-02, #393939);
11252
+ border-left: calc(var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) solid transparent;
11253
+ }
11254
+ .c4p--coachmark-overlay--top {
11255
+ transform: translate(-50%, calc(-1 * (100% + var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem))));
11256
+ }
11257
+ .c4p--coachmark-overlay--top .c4p--coachmark-overlay__caret {
11258
+ left: calc(50% - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11259
+ transform: rotate(180deg);
11260
+ }
11261
+ .c4p--coachmark-overlay--top-left {
11262
+ transform: translate(calc(-1 * var(--cds-spacing-06, 1.5rem)), calc(-1 * (100% + var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem))));
11263
+ }
11264
+ .c4p--coachmark-overlay--top-left .c4p--coachmark-overlay__caret {
11265
+ left: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11266
+ transform: rotate(180deg);
11267
+ }
11268
+ .c4p--coachmark-overlay--top-right {
11269
+ transform: translate(calc(-1 * (100% - var(--cds-spacing-06, 1.5rem))), calc(-1 * (100% + var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem))));
11270
+ }
11271
+ .c4p--coachmark-overlay--top-right .c4p--coachmark-overlay__caret {
11272
+ right: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11273
+ transform: rotate(180deg);
11274
+ }
11275
+ .c4p--coachmark-overlay--bottom {
11276
+ transform: translate(-50%, calc(var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11277
+ }
11278
+ .c4p--coachmark-overlay--bottom .c4p--coachmark-overlay__caret {
11279
+ top: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11280
+ left: calc(50% - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11281
+ }
11282
+ .c4p--coachmark-overlay--bottom-left {
11283
+ transform: translate(calc(-1 * var(--cds-spacing-06, 1.5rem)), calc(var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11284
+ }
11285
+ .c4p--coachmark-overlay--bottom-left .c4p--coachmark-overlay__caret {
11286
+ top: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11287
+ left: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11288
+ }
11289
+ .c4p--coachmark-overlay--bottom-right {
11290
+ transform: translate(calc(-1 * (100% - var(--cds-spacing-06, 1.5rem))), calc(var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11291
+ }
11292
+ .c4p--coachmark-overlay--bottom-right .c4p--coachmark-overlay__caret {
11293
+ top: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11294
+ right: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
11295
+ }
11296
+ .c4p--coachmark-overlay--left {
11297
+ transform: translate(calc(-1 * (100% + var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem))), -50%);
11298
+ }
11299
+ .c4p--coachmark-overlay--left .c4p--coachmark-overlay__caret {
11300
+ top: calc(50% - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
11301
+ right: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
11302
+ transform: rotate(90deg);
11303
+ }
11304
+ .c4p--coachmark-overlay--left-top {
11305
+ transform: translate(calc(-1 * (100% + var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem))), calc(-1 * var(--cds-spacing-06, 1.5rem)));
11306
+ }
11307
+ .c4p--coachmark-overlay--left-top .c4p--coachmark-overlay__caret {
11308
+ top: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
11309
+ right: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
11310
+ transform: rotate(90deg);
11311
+ }
11312
+ .c4p--coachmark-overlay--left-bottom {
11313
+ transform: translate(calc(-1 * (100% + var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem))), calc(-1 * (100% - var(--cds-spacing-06, 1.5rem))));
11314
+ }
11315
+ .c4p--coachmark-overlay--left-bottom .c4p--coachmark-overlay__caret {
11316
+ right: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
11317
+ bottom: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
11318
+ transform: rotate(90deg);
11319
+ }
11320
+ .c4p--coachmark-overlay--right {
11321
+ transform: translate(calc(var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)), -50%);
11322
+ }
11323
+ .c4p--coachmark-overlay--right .c4p--coachmark-overlay__caret {
11324
+ top: calc(50% - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
11325
+ left: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
11326
+ transform: rotate(-90deg);
11327
+ }
11328
+ .c4p--coachmark-overlay--right-top {
11329
+ transform: translate(calc(var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)), calc(-1 * var(--cds-spacing-06, 1.5rem)));
11330
+ }
11331
+ .c4p--coachmark-overlay--right-top .c4p--coachmark-overlay__caret {
11332
+ top: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
11333
+ left: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
11334
+ transform: rotate(-90deg);
11335
+ }
11336
+ .c4p--coachmark-overlay--right-bottom {
11337
+ transform: translate(calc(var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)), calc(-1 * (100% - var(--cds-spacing-06, 1.5rem))));
11338
+ }
11339
+ .c4p--coachmark-overlay--right-bottom .c4p--coachmark-overlay__caret {
11340
+ bottom: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
11341
+ left: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
11342
+ transform: rotate(-90deg);
11343
+ }
11344
+ .c4p--coachmark-overlay__element-stepped-media {
11345
+ height: calc(var(--cds-spacing-07, 2rem) + var(--cds-spacing-12, 6rem));
11346
+ margin-bottom: var(--cds-spacing-05, 1rem);
11347
+ }
11348
+ .c4p--coachmark-overlay__body {
11349
+ padding: var(--cds-spacing-01, 0.125rem) var(--cds-spacing-05, 1rem) var(--cds-spacing-05, 1rem);
11350
+ }
11351
+ .c4p--coachmark-overlay__body .bx--btn--ghost {
11352
+ color: var(--cds-inverse-link, #78a9ff);
11353
+ }
11354
+ .c4p--coachmark-overlay__body .bx--btn--ghost:hover {
11355
+ color: var(--cds-inverse-link, #78a9ff);
11356
+ }
11357
+ .c4p--coachmark-overlay__body c4p--coachmark-overlay-element {
11358
+ display: block;
11359
+ max-width: 100%;
11360
+ flex: 0 0 100%;
11361
+ }
11362
+ .c4p--coachmark-overlay__body c4p--coachmark-overlay-element c4p--coachmark-overlay-element__content {
11363
+ padding-bottom: var(--cds-spacing-05, 1rem);
11364
+ }
11365
+ .c4p--coachmark-overlay__body c4p--coachmark-overlay-element c4p--coachmark-overlay-element__title > div {
11366
+ margin: 0 0 var(--cds-spacing-03, 0.5rem);
11367
+ }
11368
+ .c4p--coachmark-overlay__body c4p--coachmark-overlay-element c4p--coachmark-overlay-element__title > div > h2 {
11369
+ font-size: var(--cds-productive-heading-02-font-size, 1rem);
11370
+ font-weight: var(--cds-productive-heading-02-font-weight, 600);
11371
+ line-height: var(--cds-productive-heading-02-line-height, 1.375);
11372
+ letter-spacing: var(--cds-productive-heading-02-letter-spacing, 0);
11373
+ order: 1;
11374
+ }
11375
+ .c4p--coachmark-overlay__footer {
11376
+ display: flex;
11377
+ align-items: center;
11378
+ justify-content: flex-end;
11379
+ }
11380
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--link {
11381
+ color: var(--cds-inverse-link, #78a9ff);
11382
+ }
11383
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--link:hover {
11384
+ color: #a6c8ff;
11385
+ }
11386
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--link:active {
11387
+ color: var(--cds-text-04, #ffffff);
11388
+ }
11389
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--link:focus {
11390
+ outline-color: var(--cds-text-04, #ffffff);
11391
+ }
11392
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--btn--ghost:hover {
11393
+ background-color: var(--cds-inverse-hover-ui, #4c4c4c);
11394
+ }
11395
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--btn--ghost:active {
11396
+ background-color: var(--cds-active-secondary, #6f6f6f);
11397
+ }
11398
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--link {
11399
+ color: #0062fe;
11400
+ }
11401
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--link:hover {
11402
+ color: #0043ce;
11403
+ }
11404
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--link:active {
11405
+ color: var(--cds-link-02, #0043ce);
11406
+ }
11407
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--link:focus {
11408
+ color: var(--cds-inverse-01, #ffffff);
11409
+ outline-color: var(--cds-inverse-01, #ffffff);
11410
+ }
11411
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--btn--primary:focus {
11412
+ background-color: var(--cds-button-primary-active, #002d9c);
11413
+ box-shadow: inset 0 0 0 var(--cds-spacing-01, 0.125rem) var(--cds-interactive-01, #0f62fe), inset 0 0 0 0.1875rem var(--cds-interactive-03, #0f62fe);
11414
+ }
11415
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--btn--ghost:hover {
11416
+ background-color: var(--cds-inverse-hover-ui, #4c4c4c);
11417
+ }
11418
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--btn--ghost:active {
11419
+ background-color: var(--cds-button-tertiary-active, #002d9c);
11420
+ }
11421
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--btn--ghost:focus {
11422
+ box-shadow: inset 0 0 0 var(--cds-spacing-01, 0.125rem) var(--cds-interactive-01, #0f62fe), inset 0 0 0 0.1875rem var(--cds-interactive-03, #0f62fe);
11423
+ }
11424
+ .c4p--coachmark-overlay .c4p--carousel__item {
11425
+ flex: 0 0 100% !important;
11426
+ }
11427
+
11428
+ /* stylelint-disable carbon/theme-token-use */
11429
+ /* stylelint-disable declaration-no-important */
11430
+ .c4p--coachmark-tagline {
11431
+ position: fixed;
11432
+ z-index: 1000;
11433
+ right: var(--cds-spacing-05, 1rem);
11434
+ bottom: 0;
11435
+ display: grid;
11436
+ overflow: hidden;
11437
+ width: 18rem;
11438
+ border-radius: var(--cds-spacing-01, 0.125rem) var(--cds-spacing-01, 0.125rem) 0 0;
11439
+ background: #6929c4;
11440
+ background-image: linear-gradient(90deg, #001d6c 0%, #6929c4 100%);
11441
+ color: #ffffff !important;
11442
+ grid-template-columns: [ctacol] auto [closebtncol] var(--cds-spacing-08, 2.5rem);
11443
+ opacity: 1;
11444
+ transition: opacity 240ms cubic-bezier(0.2, 0, 1, 0.9) 300ms;
11445
+ transition-delay: 240ms;
11446
+ }
11447
+ @media (prefers-reduced-motion) {
11448
+ .c4p--coachmark-tagline {
11449
+ transition: none;
11450
+ }
11451
+ }
11452
+ .c4p--coachmark-tagline::before {
11453
+ position: absolute;
11454
+ z-index: -1;
11455
+ top: 0;
11456
+ right: 0;
11457
+ bottom: 0;
11458
+ left: 0;
11459
+ background: linear-gradient(90deg, #0043ce 0%, #6929c4 100%);
11460
+ content: "";
11461
+ opacity: 0;
11462
+ /* stylelint-disable-next-line carbon/motion-duration-use */
11463
+ transition: opacity 240ms cubic-bezier(0.2, 0, 1, 0.9);
11464
+ }
11465
+ @media (prefers-reduced-motion) {
11466
+ .c4p--coachmark-tagline::before {
11467
+ transition: none;
11468
+ }
11469
+ }
11470
+ .c4p--coachmark-tagline:hover::before {
11471
+ opacity: 1;
11472
+ }
11473
+ .c4p--coachmark-tagline--is-open {
11474
+ background: #ffffff;
11475
+ opacity: 0;
11476
+ }
11477
+ .c4p--coachmark-tagline--is-open c4p--coachmark-tagline__cta {
11478
+ opacity: 0;
11479
+ }
11480
+ .c4p--coachmark-tagline--is-open c4p--coachmark-tagline--close-btn {
11481
+ display: none;
11482
+ }
11483
+ .c4p--coachmark-tagline--is-open::before {
11484
+ background: #ffffff;
11485
+ }
11486
+ .c4p--coachmark-tagline__cta {
11487
+ display: grid;
11488
+ padding: var(--cds-spacing-03, 0.5rem) 0;
11489
+ border: none;
11490
+ background: transparent;
11491
+ color: #ffffff !important;
11492
+ grid-template-columns: [iconcol] var(--cds-spacing-07, 2rem) [bodycol] auto;
11493
+ text-align: left;
11494
+ font-size: var(--cds-body-short-01-font-size, 0.875rem);
11495
+ font-weight: var(--cds-body-short-01-font-weight, 400);
11496
+ line-height: var(--cds-body-short-01-line-height, 1.28572);
11497
+ letter-spacing: var(--cds-body-short-01-letter-spacing, 0.16px);
11498
+ }
11499
+ .c4p--coachmark-tagline__cta:hover {
11500
+ cursor: pointer !important;
11501
+ }
11502
+ .c4p--coachmark-tagline__cta .c4p--coachmark-tagline__idea {
11503
+ justify-self: center;
11504
+ }
11505
+ .c4p--coachmark-tagline--close-btn {
11506
+ width: var(--cds-spacing-07, 2rem);
11507
+ height: var(--cds-spacing-07, 2rem);
11508
+ margin-left: auto !important;
11509
+ color: #ffffff;
11510
+ }
11511
+ .c4p--coachmark-tagline--close-btn svg > path {
11512
+ margin: 0;
11513
+ fill: #ffffff !important;
11514
+ }
11515
+ .c4p--coachmark-tagline--close-btn:hover {
11516
+ background-color: #7c3dd6 !important;
11517
+ }
11518
+
11519
+ /**
11520
+ * The CoachmarkBeacon specifically is theme-agnostic, and so we have to
11521
+ * use color tokens to keep the colors static instead of theme tokens
11522
+ * that will change depending on the selected theme.
11523
+ *
11524
+ * Because of this, we are triggering a *large* amount of linting errors.
11525
+ * So, we're adding 4 "disable" rules for the file instead of 50
11526
+ * individual rules.
11527
+ */
11528
+ /* stylelint-disable carbon/layout-token-use */
11529
+ /* stylelint-disable carbon/motion-duration-use */
11530
+ /* stylelint-disable carbon/theme-token-use */
11531
+ .c4p--coachmark-beacon {
11532
+ position: relative;
11533
+ }
11534
+ .c4p--coachmark-beacon-default .c4p--coachmark-beacon__target::after {
11535
+ position: absolute;
11536
+ top: calc(var(--cds-spacing-01, 0.125rem) + var(--cds-spacing-03, 0.5rem));
11537
+ left: calc(var(--cds-spacing-01, 0.125rem) + var(--cds-spacing-03, 0.5rem));
11538
+ width: var(--cds-spacing-04, 0.75rem);
11539
+ height: var(--cds-spacing-04, 0.75rem);
11540
+ border-radius: 50%;
11541
+ background-color: #4589ff;
11542
+ content: "";
11543
+ }
11544
+ .c4p--coachmark-beacon-ring .c4p--coachmark-beacon__center {
11545
+ -webkit-mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='80px' height='80px' viewBox='008080'><pathfill='white' stroke='none' d='M0,0m37-2a404001010Zm128a1212011-10Z'/></svg>");
11546
+ mask-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='80px' height='80px' viewBox='008080'><pathfill='white' stroke='none' d='M0,0m37-2a404001010Zm128a1212011-10Z'/></svg>");
11547
+ }
11548
+ .c4p--coachmark-beacon-ring .c4p--coachmark-beacon__center circle {
11549
+ /* stylelint-disable-next-line carbon/motion-easing-use */
11550
+ animation: ring-ripple 2s infinite;
11551
+ }
11552
+ @media (prefers-reduced-motion) {
11553
+ .c4p--coachmark-beacon-ring .c4p--coachmark-beacon__center circle {
11554
+ animation: none;
11555
+ }
11556
+ }
11557
+ .c4p--coachmark-beacon .c4p--coachmark-beacon__target {
11558
+ position: absolute;
11559
+ top: calc(-1 * var(--cds-spacing-05, 1rem));
11560
+ left: calc(-1 * var(--cds-spacing-05, 1rem));
11561
+ width: var(--cds-spacing-07, 2rem);
11562
+ height: var(--cds-spacing-07, 2rem);
11563
+ padding: 0;
11564
+ border: none;
11565
+ border-radius: 50%;
11566
+ background-color: transparent;
11567
+ cursor: pointer;
11568
+ }
11569
+ .c4p--coachmark-beacon .c4p--coachmark-beacon__target[aria-expanded=true] circle {
11570
+ animation: none;
11571
+ }
11572
+ .c4p--coachmark-beacon__center {
11573
+ position: absolute;
11574
+ z-index: 6900;
11575
+ top: calc((var(--cds-spacing-06, 1.5rem) - var(--cds-spacing-01, 0.125rem)) * -1);
11576
+ left: calc((var(--cds-spacing-06, 1.5rem) - var(--cds-spacing-01, 0.125rem)) * -1);
11577
+ width: var(--cds-spacing-11, 5rem);
11578
+ height: var(--cds-spacing-11, 5rem);
11579
+ pointer-events: none;
11580
+ }
11581
+ .c4p--coachmark-beacon__center circle {
11582
+ /* stylelint-disable-next-line carbon/motion-easing-use */
11583
+ animation: ripple 2s infinite;
11584
+ fill: var(--cds-support-04, #0043ce);
11585
+ fill-opacity: 0;
11586
+ -webkit-mask-image: none;
11587
+ mask-image: none;
11588
+ stroke: var(--cds-support-04, #0043ce);
11589
+ stroke-opacity: 0;
11590
+ stroke-width: 1px;
11591
+ transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);
11592
+ }
11593
+ @media (prefers-reduced-motion) {
11594
+ .c4p--coachmark-beacon__center circle {
11595
+ animation: none;
11596
+ }
11597
+ }
11598
+
11599
+ @keyframes ripple {
11600
+ 0% {
11601
+ fill-opacity: 0;
11602
+ r: 1px;
11603
+ stroke-opacity: 0;
11604
+ transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);
11605
+ }
11606
+ 31% {
11607
+ fill-opacity: 0.2;
11608
+ stroke-opacity: 1;
11609
+ }
11610
+ 62% {
11611
+ fill-opacity: 0;
11612
+ r: 32px;
11613
+ stroke-opacity: 0;
11614
+ }
11615
+ 100% {
11616
+ fill-opacity: 0;
11617
+ r: 32px;
11618
+ stroke-opacity: 0;
11619
+ }
11620
+ }
11621
+ @keyframes ring-ripple {
11622
+ 0% {
11623
+ fill-opacity: 0;
11624
+ r: 12px;
11625
+ stroke-opacity: 0;
11626
+ transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);
11627
+ }
11628
+ 31% {
11629
+ fill-opacity: 0.2;
11630
+ stroke-opacity: 1;
11631
+ }
11632
+ 62% {
11633
+ fill-opacity: 0;
11634
+ r: 32px;
11635
+ stroke-opacity: 0;
11636
+ }
11637
+ 100% {
11638
+ fill-opacity: 0;
11639
+ r: 32px;
11640
+ stroke-opacity: 0;
11641
+ }
11642
+ }
11643
+ .c4p--coachmark-overlay-elements__element-stepped-media {
11644
+ height: 8rem;
11645
+ margin-bottom: var(--cds-spacing-05, 1rem);
11646
+ }
11647
+ .c4p--coachmark-overlay-elements__footer {
11648
+ display: flex;
11649
+ align-items: center;
11650
+ justify-content: flex-end;
11651
+ }
11652
+ .c4p--coachmark-overlay-elements--controls-progress {
11653
+ margin-right: auto;
11654
+ justify-self: flex-start;
11655
+ font-size: var(--cds-helper-text-01-font-size, 0.75rem);
11656
+ line-height: var(--cds-helper-text-01-line-height, 1.33333);
11657
+ letter-spacing: var(--cds-helper-text-01-letter-spacing, 0.32px);
11658
+ }
11659
+
11660
+ .c4p--coachmark-overlay-element__content {
11661
+ padding-bottom: var(--cds-spacing-05, 1rem);
11662
+ }
11663
+ .c4p--coachmark-overlay-element__title {
11664
+ font-size: var(--cds-productive-heading-02-font-size, 1rem);
11665
+ font-weight: var(--cds-productive-heading-02-font-weight, 600);
11666
+ line-height: var(--cds-productive-heading-02-line-height, 1.375);
11667
+ letter-spacing: var(--cds-productive-heading-02-letter-spacing, 0);
11668
+ margin: 0 0 var(--cds-spacing-03, 0.5rem);
11669
+ }
11670
+ .c4p--coachmark-overlay-element__body {
11671
+ font-size: var(--cds-body-long-01-font-size, 0.875rem);
11672
+ font-weight: var(--cds-body-long-01-font-weight, 400);
11673
+ line-height: var(--cds-body-long-01-line-height, 1.42857);
11674
+ letter-spacing: var(--cds-body-long-01-letter-spacing, 0.16px);
11675
+ }
11676
+ .c4p--coachmark-overlay-element__button {
11677
+ margin-bottom: 0;
11678
+ }
11679
+
11680
+ .c4p--carousel__item .c4p--coachmark-overlay-element__button {
11681
+ margin-bottom: var(--cds-spacing-05, 1rem);
11682
+ }
11683
+
11684
+ /* stylelint-disable carbon/theme-token-use */
11685
+ .c4p--coachmark-stack-element {
11686
+ position: fixed;
11687
+ z-index: 5901;
11688
+ right: var(--cds-spacing-05, 1rem);
11689
+ bottom: -100%;
11690
+ transform: translateY(100%);
11691
+ }
11692
+ .c4p--coachmark-stack-element--is-mounted {
11693
+ bottom: 0;
11694
+ /* stylelint-disable-next-line carbon/motion-easing-use, carbon/motion-duration-use */
11695
+ transition: 240ms cubic-bezier(0.2, 0, 1, 0.9);
11696
+ }
11697
+ @media (prefers-reduced-motion) {
11698
+ .c4p--coachmark-stack-element--is-mounted {
11699
+ transition: none;
11700
+ }
11701
+ }
11702
+ .c4p--coachmark-stack-element--is-visible {
11703
+ opacity: 1;
11704
+ transform: translateY(0);
11705
+ }
11706
+ .c4p--coachmark-stack-element--is-stacked {
11707
+ bottom: 0;
11708
+ overflow: hidden;
11709
+ pointer-events: none;
11710
+ transform: perspective(9rem) translate3d(0, calc(var(--cds-spacing-09, 3rem) * -1), calc(var(--cds-spacing-05, 1rem) * -1));
11711
+ transform-origin: top center;
11712
+ }
11713
+ .c4p--coachmark-stack-element--is-stacked__light {
11714
+ background-color: #262626;
11715
+ }
11716
+ .c4p--coachmark-stack-element--is-stacked__dark {
11717
+ background-color: var(--cds-active-tertiary, #002d9c);
11718
+ }
11719
+
11720
+ .c4p--coachmark-stack-element ~ .c4p--coachmark-stack-element {
11721
+ z-index: 5902;
11722
+ }
11723
+
11724
+ .c4p--coachmark-stacked-home__nav-links {
11725
+ margin-top: var(--cds-spacing-04, 0.75rem);
11726
+ margin-left: calc(-1 * var(--cds-spacing-05, 1rem));
11727
+ }
11728
+ .c4p--coachmark-stacked-home__icon-idea {
11729
+ margin-bottom: var(--cds-spacing-03, 0.5rem);
11730
+ }
11731
+
11159
11732
  /**
11160
11733
  * The InlineTip specifically is theme-agnostic, and so we have to
11161
11734
  * use color tokens to keep the colors static instead of theme tokens