@carbon/ibm-products 1.55.2 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (112) hide show
  1. package/css/index-full-carbon.css +640 -0
  2. package/css/index-full-carbon.css.map +1 -1
  3. package/css/index-full-carbon.min.css +2 -2
  4. package/css/index-full-carbon.min.css.map +1 -1
  5. package/css/index-without-carbon.css +640 -0
  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 +640 -0
  10. package/css/index.css.map +1 -1
  11. package/css/index.min.css +2 -2
  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/Datagrid.js +12 -7
  39. package/es/components/Datagrid/Datagrid/DatagridContent.js +6 -3
  40. package/es/components/Datagrid/Datagrid/DatagridHeaderRow.js +127 -7
  41. package/es/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +1 -23
  42. package/es/components/Datagrid/Datagrid/addons/stateReducer.js +111 -0
  43. package/es/components/Datagrid/useDatagrid.js +5 -2
  44. package/es/components/Datagrid/utils/getColTitle.js +25 -0
  45. package/es/components/NotificationsPanel/NotificationsPanel.js +3 -2
  46. package/es/components/index.js +7 -0
  47. package/es/global/js/hooks/useResizeObserver.js +19 -3
  48. package/es/global/js/package-settings.js +8 -1
  49. package/lib/components/Carousel/Carousel.js +15 -5
  50. package/lib/components/Coachmark/Coachmark.js +247 -0
  51. package/lib/components/Coachmark/CoachmarkDragbar.js +137 -0
  52. package/lib/components/Coachmark/CoachmarkHeader.js +85 -0
  53. package/lib/components/Coachmark/CoachmarkOverlay.js +139 -0
  54. package/lib/components/Coachmark/CoachmarkTagline.js +90 -0
  55. package/lib/components/Coachmark/index.js +38 -0
  56. package/lib/components/Coachmark/utils/constants.js +82 -0
  57. package/lib/components/Coachmark/utils/context.js +13 -0
  58. package/lib/components/Coachmark/utils/enums.js +49 -0
  59. package/lib/components/Coachmark/utils/helpers.js +17 -0
  60. package/lib/components/Coachmark/utils/hooks.js +60 -0
  61. package/lib/components/CoachmarkBeacon/CoachmarkBeacon.js +87 -0
  62. package/lib/components/CoachmarkBeacon/index.js +12 -0
  63. package/lib/components/CoachmarkButton/CoachmarkButton.js +69 -0
  64. package/lib/components/CoachmarkButton/index.js +12 -0
  65. package/lib/components/CoachmarkFixed/CoachmarkFixed.js +201 -0
  66. package/lib/components/CoachmarkFixed/index.js +12 -0
  67. package/lib/components/CoachmarkOverlayElement/CoachmarkOverlayElement.js +83 -0
  68. package/lib/components/CoachmarkOverlayElement/index.js +12 -0
  69. package/lib/components/CoachmarkOverlayElements/CoachmarkOverlayElements.js +176 -0
  70. package/lib/components/CoachmarkOverlayElements/index.js +12 -0
  71. package/lib/components/CoachmarkStack/CoachmarkStack.js +264 -0
  72. package/lib/components/CoachmarkStack/CoachmarkStackHome.js +160 -0
  73. package/lib/components/CoachmarkStack/index.js +12 -0
  74. package/lib/components/Datagrid/Datagrid/Datagrid.js +12 -7
  75. package/lib/components/Datagrid/Datagrid/DatagridContent.js +6 -3
  76. package/lib/components/Datagrid/Datagrid/DatagridHeaderRow.js +130 -7
  77. package/lib/components/Datagrid/Datagrid/addons/CustomizeColumns/DraggableItemsList.js +4 -26
  78. package/lib/components/Datagrid/Datagrid/addons/stateReducer.js +122 -0
  79. package/lib/components/Datagrid/useDatagrid.js +5 -2
  80. package/lib/components/Datagrid/utils/getColTitle.js +32 -0
  81. package/lib/components/NotificationsPanel/NotificationsPanel.js +3 -2
  82. package/lib/components/index.js +49 -0
  83. package/lib/global/js/hooks/useResizeObserver.js +19 -3
  84. package/lib/global/js/package-settings.js +8 -1
  85. package/package.json +2 -2
  86. package/scss/components/Carousel/_carousel.scss +3 -0
  87. package/scss/components/Coachmark/_index.scss +11 -0
  88. package/scss/components/Coachmark/_storybook-styles.scss +20 -0
  89. package/scss/components/Coachmark/styles/_coachmark-dragbar.scss +74 -0
  90. package/scss/components/Coachmark/styles/_coachmark-header.scss +58 -0
  91. package/scss/components/Coachmark/styles/_coachmark-overlay.scss +327 -0
  92. package/scss/components/Coachmark/styles/_coachmark-tagline.scss +118 -0
  93. package/scss/components/CoachmarkBeacon/_coachmark-beacon.scss +166 -0
  94. package/scss/components/CoachmarkBeacon/_index.scss +8 -0
  95. package/scss/components/CoachmarkBeacon/_storybook-styles.scss +19 -0
  96. package/scss/components/CoachmarkButton/_coachmark-button.scss +34 -0
  97. package/scss/components/CoachmarkButton/_index.scss +8 -0
  98. package/scss/components/CoachmarkButton/_storybook-styles.scss +19 -0
  99. package/scss/components/CoachmarkFixed/_coachmark-fixed.scss +34 -0
  100. package/scss/components/CoachmarkFixed/_index.scss +8 -0
  101. package/scss/components/CoachmarkFixed/_storybook-styles.scss +10 -0
  102. package/scss/components/CoachmarkOverlayElement/_coachmark-overlay-element.scss +50 -0
  103. package/scss/components/CoachmarkOverlayElement/_index.scss +8 -0
  104. package/scss/components/CoachmarkOverlayElement/_storybook-styles.scss +19 -0
  105. package/scss/components/CoachmarkOverlayElements/_coachmark-overlay-elements.scss +40 -0
  106. package/scss/components/CoachmarkOverlayElements/_index.scss +8 -0
  107. package/scss/components/CoachmarkOverlayElements/_storybook-styles.scss +19 -0
  108. package/scss/components/CoachmarkStack/_coachmark-stack.scss +85 -0
  109. package/scss/components/CoachmarkStack/_index.scss +8 -0
  110. package/scss/components/CoachmarkStack/_storybook-styles.scss +10 -0
  111. package/scss/components/Datagrid/styles/_datagrid.scss +65 -0
  112. package/scss/components/_index.scss +7 -1
package/css/index.css CHANGED
@@ -21549,6 +21549,67 @@ button.c4p--add-select__global-filter-toggle--open {
21549
21549
  background-color: var(--cds-ui-03, #e0e0e0);
21550
21550
  }
21551
21551
 
21552
+ .c4p--datagrid .c4p--datagrid__col-resizer-range {
21553
+ position: absolute;
21554
+ z-index: 2;
21555
+ top: 0;
21556
+ right: calc(var(--cds-spacing-03, 0.5rem) * -1);
21557
+ width: 1rem;
21558
+ height: 100%;
21559
+ margin: 0;
21560
+ -webkit-appearance: none;
21561
+ appearance: none;
21562
+ background: transparent;
21563
+ }
21564
+
21565
+ .c4p--datagrid .c4p--datagrid__col-resizer-range:focus {
21566
+ outline: 0;
21567
+ }
21568
+
21569
+ .c4p--datagrid .c4p--datagrid__col-resizer-range:focus::before {
21570
+ position: absolute;
21571
+ top: 50%;
21572
+ left: 50%;
21573
+ width: 2px;
21574
+ height: 100%;
21575
+ background-color: var(--cds-focus, #0f62fe);
21576
+ content: "";
21577
+ transform: translate(-50%, -50%);
21578
+ }
21579
+
21580
+ .c4p--datagrid .c4p--datagrid__col-resizer-range:focus + .c4p--datagrid__col-resize-indicator {
21581
+ position: absolute;
21582
+ z-index: 2;
21583
+ right: calc(var(--cds-spacing-03, 0.5rem) * -1);
21584
+ width: 0.5rem;
21585
+ height: 0.5rem;
21586
+ border-radius: 100%;
21587
+ margin: 0;
21588
+ background-color: var(--cds-focus, #0f62fe);
21589
+ transform: translate(-50%, 0);
21590
+ }
21591
+
21592
+ .c4p--datagrid .c4p--datagrid__col-resizer-range:focus::after {
21593
+ position: absolute;
21594
+ /* stylelint-disable-next-line carbon/layout-token-use */
21595
+ top: var(--c4p--datagrid--row-height);
21596
+ right: var(--cds-spacing-03, 0.5rem);
21597
+ width: 1px;
21598
+ height: calc(var(--c4p--datagrid--grid-height) - var(--c4p--datagrid--row-height));
21599
+ background-color: var(--cds-active-ui, #c6c6c6);
21600
+ content: "";
21601
+ }
21602
+
21603
+ .c4p--datagrid .c4p--datagrid__col-resizer-range::-webkit-slider-thumb {
21604
+ width: 16px;
21605
+ height: 16px;
21606
+ border: none;
21607
+ border-radius: 50%;
21608
+ -webkit-appearance: none;
21609
+ appearance: none;
21610
+ background: transparent;
21611
+ }
21612
+
21552
21613
  /*
21553
21614
  * Licensed Materials - Property of IBM
21554
21615
  * 5724-Q36
@@ -23193,6 +23254,11 @@ th.c4p--datagrid__select-all-toggle-on.button {
23193
23254
  .c4p--carousel__elements::-webkit-scrollbar {
23194
23255
  display: none;
23195
23256
  }
23257
+ @media (prefers-reduced-motion) {
23258
+ .c4p--carousel__elements {
23259
+ scroll-behavior: auto;
23260
+ }
23261
+ }
23196
23262
 
23197
23263
  /**
23198
23264
  * The Guidebanner specifically is theme-agnostic, and so we have to
@@ -25596,6 +25662,580 @@ th.c4p--datagrid__select-all-toggle-on.button {
25596
25662
  color: var(--cds-link-01, #0f62fe);
25597
25663
  }
25598
25664
 
25665
+ /* stylelint-disable declaration-no-important */
25666
+ .c4p--coachmark-dragbar {
25667
+ display: flex;
25668
+ }
25669
+ .c4p--coachmark-dragbar__handle {
25670
+ flex-grow: 1;
25671
+ padding: var(--cds-spacing-03, 0.5rem) 0 0 var(--cds-spacing-03, 0.5rem);
25672
+ border: 0;
25673
+ background-color: transparent;
25674
+ text-align: left;
25675
+ }
25676
+ .c4p--coachmark-dragbar__handle:hover {
25677
+ cursor: move;
25678
+ }
25679
+ .c4p--coachmark-dragbar--close-btn {
25680
+ width: var(--cds-spacing-07, 2rem);
25681
+ height: var(--cds-spacing-07, 2rem);
25682
+ margin-left: auto !important;
25683
+ }
25684
+ .c4p--coachmark-dragbar--close-btn svg > path {
25685
+ margin: 0;
25686
+ fill: var(--cds-inverse-01, #ffffff) !important;
25687
+ }
25688
+ .c4p--coachmark-dragbar--close-btn:hover {
25689
+ background-color: var(--cds-inverse-hover-ui, #4c4c4c) !important;
25690
+ }
25691
+ .c4p--coachmark-dragbar__light c4p--coachmark-dragbar--close-btn:active {
25692
+ background-color: var(--cds-active-secondary, #6f6f6f);
25693
+ }
25694
+ .c4p--coachmark-dragbar__dark c4p--coachmark-dragbar--close-btn:active {
25695
+ background-color: var(--cds-button-tertiary-active, #002d9c);
25696
+ }
25697
+ .c4p--coachmark-dragbar svg {
25698
+ color: var(--cds-inverse-01, #ffffff);
25699
+ }
25700
+
25701
+ /* stylelint-disable declaration-no-important */
25702
+ .c4p--coachmark-header {
25703
+ display: flex;
25704
+ }
25705
+ .c4p--coachmark-header--close-btn {
25706
+ width: var(--cds-spacing-07, 2rem);
25707
+ height: var(--cds-spacing-07, 2rem);
25708
+ margin-left: auto !important;
25709
+ }
25710
+ .c4p--coachmark-header--close-btn svg > path {
25711
+ margin: 0;
25712
+ fill: var(--cds-inverse-01, #ffffff) !important;
25713
+ }
25714
+ .c4p--coachmark-header--close-btn:hover {
25715
+ background-color: var(--cds-inverse-hover-ui, #4c4c4c) !important;
25716
+ }
25717
+ .c4p--coachmark-header__light c4p--coachmark-header--close-btn:active {
25718
+ background-color: var(--cds-active-secondary, #6f6f6f);
25719
+ }
25720
+ .c4p--coachmark-header__dark c4p--coachmark-header--close-btn:active {
25721
+ background-color: var(--cds-button-tertiary-active, #002d9c);
25722
+ }
25723
+
25724
+ /* stylelint-disable carbon/layout-token-use */
25725
+ /* stylelint-disable carbon/theme-token-use */
25726
+ /* stylelint-disable declaration-no-important */
25727
+ .c4p--coachmark-overlay {
25728
+ position: absolute;
25729
+ z-index: 5901;
25730
+ width: 18rem;
25731
+ border-radius: var(--cds-spacing-01, 0.125rem);
25732
+ background-color: var(--cds-inverse-02, #393939);
25733
+ color: var(--cds-inverse-01, #ffffff);
25734
+ /* ------------------ */
25735
+ }
25736
+ .c4p--coachmark-overlay--fixed {
25737
+ position: fixed;
25738
+ right: var(--cds-spacing-05, 1rem);
25739
+ bottom: 0;
25740
+ transform: translateY(100%);
25741
+ /* stylelint-disable-next-line carbon/motion-easing-use, carbon/motion-duration-use */
25742
+ transition: 240ms cubic-bezier(0.2, 0, 1, 0.9);
25743
+ }
25744
+ @media (prefers-reduced-motion) {
25745
+ .c4p--coachmark-overlay--fixed {
25746
+ transition: none;
25747
+ }
25748
+ }
25749
+ .c4p--coachmark-overlay--is-visible {
25750
+ transform: translateY(0);
25751
+ }
25752
+ .c4p--coachmark-overlay__caret {
25753
+ position: absolute;
25754
+ z-index: 5902;
25755
+ width: 0;
25756
+ height: 0;
25757
+ border-right: calc(var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) solid transparent;
25758
+ border-bottom: solid calc(var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) var(--cds-inverse-02, #393939);
25759
+ border-left: calc(var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) solid transparent;
25760
+ }
25761
+ .c4p--coachmark-overlay--top {
25762
+ transform: translate(-50%, calc(-1 * (100% + var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem))));
25763
+ }
25764
+ .c4p--coachmark-overlay--top .c4p--coachmark-overlay__caret {
25765
+ left: calc(50% - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
25766
+ transform: rotate(180deg);
25767
+ }
25768
+ .c4p--coachmark-overlay--top-left {
25769
+ 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))));
25770
+ }
25771
+ .c4p--coachmark-overlay--top-left .c4p--coachmark-overlay__caret {
25772
+ left: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
25773
+ transform: rotate(180deg);
25774
+ }
25775
+ .c4p--coachmark-overlay--top-right {
25776
+ 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))));
25777
+ }
25778
+ .c4p--coachmark-overlay--top-right .c4p--coachmark-overlay__caret {
25779
+ right: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
25780
+ transform: rotate(180deg);
25781
+ }
25782
+ .c4p--coachmark-overlay--bottom {
25783
+ transform: translate(-50%, calc(var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
25784
+ }
25785
+ .c4p--coachmark-overlay--bottom .c4p--coachmark-overlay__caret {
25786
+ top: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
25787
+ left: calc(50% - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
25788
+ }
25789
+ .c4p--coachmark-overlay--bottom-left {
25790
+ 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)));
25791
+ }
25792
+ .c4p--coachmark-overlay--bottom-left .c4p--coachmark-overlay__caret {
25793
+ top: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
25794
+ left: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
25795
+ }
25796
+ .c4p--coachmark-overlay--bottom-right {
25797
+ 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)));
25798
+ }
25799
+ .c4p--coachmark-overlay--bottom-right .c4p--coachmark-overlay__caret {
25800
+ top: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
25801
+ right: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)));
25802
+ }
25803
+ .c4p--coachmark-overlay--left {
25804
+ transform: translate(calc(-1 * (100% + var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem))), -50%);
25805
+ }
25806
+ .c4p--coachmark-overlay--left .c4p--coachmark-overlay__caret {
25807
+ top: calc(50% - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
25808
+ right: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
25809
+ transform: rotate(90deg);
25810
+ }
25811
+ .c4p--coachmark-overlay--left-top {
25812
+ 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)));
25813
+ }
25814
+ .c4p--coachmark-overlay--left-top .c4p--coachmark-overlay__caret {
25815
+ top: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
25816
+ right: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
25817
+ transform: rotate(90deg);
25818
+ }
25819
+ .c4p--coachmark-overlay--left-bottom {
25820
+ 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))));
25821
+ }
25822
+ .c4p--coachmark-overlay--left-bottom .c4p--coachmark-overlay__caret {
25823
+ right: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
25824
+ bottom: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
25825
+ transform: rotate(90deg);
25826
+ }
25827
+ .c4p--coachmark-overlay--right {
25828
+ transform: translate(calc(var(--cds-spacing-06, 1.5rem) + var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)), -50%);
25829
+ }
25830
+ .c4p--coachmark-overlay--right .c4p--coachmark-overlay__caret {
25831
+ top: calc(50% - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
25832
+ left: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
25833
+ transform: rotate(-90deg);
25834
+ }
25835
+ .c4p--coachmark-overlay--right-top {
25836
+ 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)));
25837
+ }
25838
+ .c4p--coachmark-overlay--right-top .c4p--coachmark-overlay__caret {
25839
+ top: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
25840
+ left: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
25841
+ transform: rotate(-90deg);
25842
+ }
25843
+ .c4p--coachmark-overlay--right-bottom {
25844
+ 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))));
25845
+ }
25846
+ .c4p--coachmark-overlay--right-bottom .c4p--coachmark-overlay__caret {
25847
+ bottom: calc(var(--cds-spacing-06, 1.5rem) - (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 0.5);
25848
+ left: calc(-1 * (var(--cds-spacing-03, 0.5rem) - var(--cds-spacing-01, 0.125rem)) * 1.5);
25849
+ transform: rotate(-90deg);
25850
+ }
25851
+ .c4p--coachmark-overlay__element-stepped-media {
25852
+ height: calc(var(--cds-spacing-07, 2rem) + var(--cds-spacing-12, 6rem));
25853
+ margin-bottom: var(--cds-spacing-05, 1rem);
25854
+ }
25855
+ .c4p--coachmark-overlay__body {
25856
+ padding: var(--cds-spacing-01, 0.125rem) var(--cds-spacing-05, 1rem) var(--cds-spacing-05, 1rem);
25857
+ }
25858
+ .c4p--coachmark-overlay__body .bx--btn--ghost {
25859
+ color: var(--cds-inverse-link, #78a9ff);
25860
+ }
25861
+ .c4p--coachmark-overlay__body .bx--btn--ghost:hover {
25862
+ color: var(--cds-inverse-link, #78a9ff);
25863
+ }
25864
+ .c4p--coachmark-overlay__body c4p--coachmark-overlay-element {
25865
+ display: block;
25866
+ max-width: 100%;
25867
+ flex: 0 0 100%;
25868
+ }
25869
+ .c4p--coachmark-overlay__body c4p--coachmark-overlay-element c4p--coachmark-overlay-element__content {
25870
+ padding-bottom: var(--cds-spacing-05, 1rem);
25871
+ }
25872
+ .c4p--coachmark-overlay__body c4p--coachmark-overlay-element c4p--coachmark-overlay-element__title > div {
25873
+ margin: 0 0 var(--cds-spacing-03, 0.5rem);
25874
+ }
25875
+ .c4p--coachmark-overlay__body c4p--coachmark-overlay-element c4p--coachmark-overlay-element__title > div > h2 {
25876
+ font-size: var(--cds-productive-heading-02-font-size, 1rem);
25877
+ font-weight: var(--cds-productive-heading-02-font-weight, 600);
25878
+ line-height: var(--cds-productive-heading-02-line-height, 1.375);
25879
+ letter-spacing: var(--cds-productive-heading-02-letter-spacing, 0);
25880
+ order: 1;
25881
+ }
25882
+ .c4p--coachmark-overlay__footer {
25883
+ display: flex;
25884
+ align-items: center;
25885
+ justify-content: flex-end;
25886
+ }
25887
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--link {
25888
+ color: var(--cds-inverse-link, #78a9ff);
25889
+ }
25890
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--link:hover {
25891
+ color: #a6c8ff;
25892
+ }
25893
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--link:active {
25894
+ color: var(--cds-text-04, #ffffff);
25895
+ }
25896
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--link:focus {
25897
+ outline-color: var(--cds-text-04, #ffffff);
25898
+ }
25899
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--btn--ghost:hover {
25900
+ background-color: var(--cds-inverse-hover-ui, #4c4c4c);
25901
+ }
25902
+ .c4p--coachmark-overlay__light .c4p--coachmark-overlay__body .bx--btn--ghost:active {
25903
+ background-color: var(--cds-active-secondary, #6f6f6f);
25904
+ }
25905
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--link {
25906
+ color: #0062fe;
25907
+ }
25908
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--link:hover {
25909
+ color: #0043ce;
25910
+ }
25911
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--link:active {
25912
+ color: var(--cds-link-02, #0043ce);
25913
+ }
25914
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--link:focus {
25915
+ color: var(--cds-inverse-01, #ffffff);
25916
+ outline-color: var(--cds-inverse-01, #ffffff);
25917
+ }
25918
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--btn--primary:focus {
25919
+ background-color: var(--cds-button-primary-active, #002d9c);
25920
+ 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);
25921
+ }
25922
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--btn--ghost:hover {
25923
+ background-color: var(--cds-inverse-hover-ui, #4c4c4c);
25924
+ }
25925
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--btn--ghost:active {
25926
+ background-color: var(--cds-button-tertiary-active, #002d9c);
25927
+ }
25928
+ .c4p--coachmark-overlay__dark .c4p--coachmark-overlay__body .bx--btn--ghost:focus {
25929
+ 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);
25930
+ }
25931
+ .c4p--coachmark-overlay .c4p--carousel__item {
25932
+ flex: 0 0 100% !important;
25933
+ }
25934
+
25935
+ /* stylelint-disable carbon/theme-token-use */
25936
+ /* stylelint-disable declaration-no-important */
25937
+ .c4p--coachmark-tagline {
25938
+ position: fixed;
25939
+ z-index: 1000;
25940
+ right: var(--cds-spacing-05, 1rem);
25941
+ bottom: 0;
25942
+ display: grid;
25943
+ overflow: hidden;
25944
+ width: 18rem;
25945
+ border-radius: var(--cds-spacing-01, 0.125rem) var(--cds-spacing-01, 0.125rem) 0 0;
25946
+ background: #6929c4;
25947
+ background-image: linear-gradient(90deg, #001d6c 0%, #6929c4 100%);
25948
+ color: #ffffff !important;
25949
+ grid-template-columns: [ctacol] auto [closebtncol] var(--cds-spacing-08, 2.5rem);
25950
+ opacity: 1;
25951
+ transition: opacity 240ms cubic-bezier(0.2, 0, 1, 0.9) 300ms;
25952
+ transition-delay: 240ms;
25953
+ }
25954
+ @media (prefers-reduced-motion) {
25955
+ .c4p--coachmark-tagline {
25956
+ transition: none;
25957
+ }
25958
+ }
25959
+ .c4p--coachmark-tagline::before {
25960
+ position: absolute;
25961
+ z-index: -1;
25962
+ top: 0;
25963
+ right: 0;
25964
+ bottom: 0;
25965
+ left: 0;
25966
+ background: linear-gradient(90deg, #0043ce 0%, #6929c4 100%);
25967
+ content: "";
25968
+ opacity: 0;
25969
+ /* stylelint-disable-next-line carbon/motion-duration-use */
25970
+ transition: opacity 240ms cubic-bezier(0.2, 0, 1, 0.9);
25971
+ }
25972
+ @media (prefers-reduced-motion) {
25973
+ .c4p--coachmark-tagline::before {
25974
+ transition: none;
25975
+ }
25976
+ }
25977
+ .c4p--coachmark-tagline:hover::before {
25978
+ opacity: 1;
25979
+ }
25980
+ .c4p--coachmark-tagline--is-open {
25981
+ background: #ffffff;
25982
+ opacity: 0;
25983
+ }
25984
+ .c4p--coachmark-tagline--is-open c4p--coachmark-tagline__cta {
25985
+ opacity: 0;
25986
+ }
25987
+ .c4p--coachmark-tagline--is-open c4p--coachmark-tagline--close-btn {
25988
+ display: none;
25989
+ }
25990
+ .c4p--coachmark-tagline--is-open::before {
25991
+ background: #ffffff;
25992
+ }
25993
+ .c4p--coachmark-tagline__cta {
25994
+ display: grid;
25995
+ padding: var(--cds-spacing-03, 0.5rem) 0;
25996
+ border: none;
25997
+ background: transparent;
25998
+ color: #ffffff !important;
25999
+ grid-template-columns: [iconcol] var(--cds-spacing-07, 2rem) [bodycol] auto;
26000
+ text-align: left;
26001
+ font-size: var(--cds-body-short-01-font-size, 0.875rem);
26002
+ font-weight: var(--cds-body-short-01-font-weight, 400);
26003
+ line-height: var(--cds-body-short-01-line-height, 1.28572);
26004
+ letter-spacing: var(--cds-body-short-01-letter-spacing, 0.16px);
26005
+ }
26006
+ .c4p--coachmark-tagline__cta:hover {
26007
+ cursor: pointer !important;
26008
+ }
26009
+ .c4p--coachmark-tagline__cta .c4p--coachmark-tagline__idea {
26010
+ justify-self: center;
26011
+ }
26012
+ .c4p--coachmark-tagline--close-btn {
26013
+ width: var(--cds-spacing-07, 2rem);
26014
+ height: var(--cds-spacing-07, 2rem);
26015
+ margin-left: auto !important;
26016
+ color: #ffffff;
26017
+ }
26018
+ .c4p--coachmark-tagline--close-btn svg > path {
26019
+ margin: 0;
26020
+ fill: #ffffff !important;
26021
+ }
26022
+ .c4p--coachmark-tagline--close-btn:hover {
26023
+ background-color: #7c3dd6 !important;
26024
+ }
26025
+
26026
+ /**
26027
+ * The CoachmarkBeacon specifically is theme-agnostic, and so we have to
26028
+ * use color tokens to keep the colors static instead of theme tokens
26029
+ * that will change depending on the selected theme.
26030
+ *
26031
+ * Because of this, we are triggering a *large* amount of linting errors.
26032
+ * So, we're adding 4 "disable" rules for the file instead of 50
26033
+ * individual rules.
26034
+ */
26035
+ /* stylelint-disable carbon/layout-token-use */
26036
+ /* stylelint-disable carbon/motion-duration-use */
26037
+ /* stylelint-disable carbon/theme-token-use */
26038
+ .c4p--coachmark-beacon {
26039
+ position: relative;
26040
+ }
26041
+ .c4p--coachmark-beacon-default .c4p--coachmark-beacon__target::after {
26042
+ position: absolute;
26043
+ top: calc(var(--cds-spacing-01, 0.125rem) + var(--cds-spacing-03, 0.5rem));
26044
+ left: calc(var(--cds-spacing-01, 0.125rem) + var(--cds-spacing-03, 0.5rem));
26045
+ width: var(--cds-spacing-04, 0.75rem);
26046
+ height: var(--cds-spacing-04, 0.75rem);
26047
+ border-radius: 50%;
26048
+ background-color: #4589ff;
26049
+ content: "";
26050
+ }
26051
+ .c4p--coachmark-beacon-ring .c4p--coachmark-beacon__center {
26052
+ -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>");
26053
+ 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>");
26054
+ }
26055
+ .c4p--coachmark-beacon-ring .c4p--coachmark-beacon__center circle {
26056
+ /* stylelint-disable-next-line carbon/motion-easing-use */
26057
+ animation: ring-ripple 2s infinite;
26058
+ }
26059
+ @media (prefers-reduced-motion) {
26060
+ .c4p--coachmark-beacon-ring .c4p--coachmark-beacon__center circle {
26061
+ animation: none;
26062
+ }
26063
+ }
26064
+ .c4p--coachmark-beacon .c4p--coachmark-beacon__target {
26065
+ position: absolute;
26066
+ top: calc(-1 * var(--cds-spacing-05, 1rem));
26067
+ left: calc(-1 * var(--cds-spacing-05, 1rem));
26068
+ width: var(--cds-spacing-07, 2rem);
26069
+ height: var(--cds-spacing-07, 2rem);
26070
+ padding: 0;
26071
+ border: none;
26072
+ border-radius: 50%;
26073
+ background-color: transparent;
26074
+ cursor: pointer;
26075
+ }
26076
+ .c4p--coachmark-beacon .c4p--coachmark-beacon__target[aria-expanded=true] circle {
26077
+ animation: none;
26078
+ }
26079
+ .c4p--coachmark-beacon__center {
26080
+ position: absolute;
26081
+ z-index: 6900;
26082
+ top: calc((var(--cds-spacing-06, 1.5rem) - var(--cds-spacing-01, 0.125rem)) * -1);
26083
+ left: calc((var(--cds-spacing-06, 1.5rem) - var(--cds-spacing-01, 0.125rem)) * -1);
26084
+ width: var(--cds-spacing-11, 5rem);
26085
+ height: var(--cds-spacing-11, 5rem);
26086
+ pointer-events: none;
26087
+ }
26088
+ .c4p--coachmark-beacon__center circle {
26089
+ /* stylelint-disable-next-line carbon/motion-easing-use */
26090
+ animation: ripple 2s infinite;
26091
+ fill: var(--cds-support-04, #0043ce);
26092
+ fill-opacity: 0;
26093
+ -webkit-mask-image: none;
26094
+ mask-image: none;
26095
+ stroke: var(--cds-support-04, #0043ce);
26096
+ stroke-opacity: 0;
26097
+ stroke-width: 1px;
26098
+ transition-timing-function: cubic-bezier(0.2, 0, 1, 0.9);
26099
+ }
26100
+ @media (prefers-reduced-motion) {
26101
+ .c4p--coachmark-beacon__center circle {
26102
+ animation: none;
26103
+ }
26104
+ }
26105
+
26106
+ @keyframes ripple {
26107
+ 0% {
26108
+ fill-opacity: 0;
26109
+ r: 1px;
26110
+ stroke-opacity: 0;
26111
+ transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);
26112
+ }
26113
+ 31% {
26114
+ fill-opacity: 0.2;
26115
+ stroke-opacity: 1;
26116
+ }
26117
+ 62% {
26118
+ fill-opacity: 0;
26119
+ r: 32px;
26120
+ stroke-opacity: 0;
26121
+ }
26122
+ 100% {
26123
+ fill-opacity: 0;
26124
+ r: 32px;
26125
+ stroke-opacity: 0;
26126
+ }
26127
+ }
26128
+ @keyframes ring-ripple {
26129
+ 0% {
26130
+ fill-opacity: 0;
26131
+ r: 12px;
26132
+ stroke-opacity: 0;
26133
+ transition-timing-function: cubic-bezier(0, 0, 0.38, 0.9);
26134
+ }
26135
+ 31% {
26136
+ fill-opacity: 0.2;
26137
+ stroke-opacity: 1;
26138
+ }
26139
+ 62% {
26140
+ fill-opacity: 0;
26141
+ r: 32px;
26142
+ stroke-opacity: 0;
26143
+ }
26144
+ 100% {
26145
+ fill-opacity: 0;
26146
+ r: 32px;
26147
+ stroke-opacity: 0;
26148
+ }
26149
+ }
26150
+ .c4p--coachmark-overlay-elements__element-stepped-media {
26151
+ height: 8rem;
26152
+ margin-bottom: var(--cds-spacing-05, 1rem);
26153
+ }
26154
+ .c4p--coachmark-overlay-elements__footer {
26155
+ display: flex;
26156
+ align-items: center;
26157
+ justify-content: flex-end;
26158
+ }
26159
+ .c4p--coachmark-overlay-elements--controls-progress {
26160
+ margin-right: auto;
26161
+ justify-self: flex-start;
26162
+ font-size: var(--cds-helper-text-01-font-size, 0.75rem);
26163
+ line-height: var(--cds-helper-text-01-line-height, 1.33333);
26164
+ letter-spacing: var(--cds-helper-text-01-letter-spacing, 0.32px);
26165
+ }
26166
+
26167
+ .c4p--coachmark-overlay-element__content {
26168
+ padding-bottom: var(--cds-spacing-05, 1rem);
26169
+ }
26170
+ .c4p--coachmark-overlay-element__title {
26171
+ font-size: var(--cds-productive-heading-02-font-size, 1rem);
26172
+ font-weight: var(--cds-productive-heading-02-font-weight, 600);
26173
+ line-height: var(--cds-productive-heading-02-line-height, 1.375);
26174
+ letter-spacing: var(--cds-productive-heading-02-letter-spacing, 0);
26175
+ margin: 0 0 var(--cds-spacing-03, 0.5rem);
26176
+ }
26177
+ .c4p--coachmark-overlay-element__body {
26178
+ font-size: var(--cds-body-long-01-font-size, 0.875rem);
26179
+ font-weight: var(--cds-body-long-01-font-weight, 400);
26180
+ line-height: var(--cds-body-long-01-line-height, 1.42857);
26181
+ letter-spacing: var(--cds-body-long-01-letter-spacing, 0.16px);
26182
+ }
26183
+ .c4p--coachmark-overlay-element__button {
26184
+ margin-bottom: 0;
26185
+ }
26186
+
26187
+ .c4p--carousel__item .c4p--coachmark-overlay-element__button {
26188
+ margin-bottom: var(--cds-spacing-05, 1rem);
26189
+ }
26190
+
26191
+ /* stylelint-disable carbon/theme-token-use */
26192
+ .c4p--coachmark-stack-element {
26193
+ position: fixed;
26194
+ z-index: 5901;
26195
+ right: var(--cds-spacing-05, 1rem);
26196
+ bottom: -100%;
26197
+ transform: translateY(100%);
26198
+ }
26199
+ .c4p--coachmark-stack-element--is-mounted {
26200
+ bottom: 0;
26201
+ /* stylelint-disable-next-line carbon/motion-easing-use, carbon/motion-duration-use */
26202
+ transition: 240ms cubic-bezier(0.2, 0, 1, 0.9);
26203
+ }
26204
+ @media (prefers-reduced-motion) {
26205
+ .c4p--coachmark-stack-element--is-mounted {
26206
+ transition: none;
26207
+ }
26208
+ }
26209
+ .c4p--coachmark-stack-element--is-visible {
26210
+ opacity: 1;
26211
+ transform: translateY(0);
26212
+ }
26213
+ .c4p--coachmark-stack-element--is-stacked {
26214
+ bottom: 0;
26215
+ overflow: hidden;
26216
+ pointer-events: none;
26217
+ transform: perspective(9rem) translate3d(0, calc(var(--cds-spacing-09, 3rem) * -1), calc(var(--cds-spacing-05, 1rem) * -1));
26218
+ transform-origin: top center;
26219
+ }
26220
+ .c4p--coachmark-stack-element--is-stacked__light {
26221
+ background-color: #262626;
26222
+ }
26223
+ .c4p--coachmark-stack-element--is-stacked__dark {
26224
+ background-color: var(--cds-active-tertiary, #002d9c);
26225
+ }
26226
+
26227
+ .c4p--coachmark-stack-element ~ .c4p--coachmark-stack-element {
26228
+ z-index: 5902;
26229
+ }
26230
+
26231
+ .c4p--coachmark-stacked-home__nav-links {
26232
+ margin-top: var(--cds-spacing-04, 0.75rem);
26233
+ margin-left: calc(-1 * var(--cds-spacing-05, 1rem));
26234
+ }
26235
+ .c4p--coachmark-stacked-home__icon-idea {
26236
+ margin-bottom: var(--cds-spacing-03, 0.5rem);
26237
+ }
26238
+
25599
26239
  /**
25600
26240
  * The InlineTip specifically is theme-agnostic, and so we have to
25601
26241
  * use color tokens to keep the colors static instead of theme tokens