@kaizen/components 1.67.18 → 1.67.19
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.
- package/dist/cjs/GuidanceBlock/GuidanceBlock.cjs +1 -1
- package/dist/cjs/GuidanceBlock/GuidanceBlock.module.css.cjs +28 -0
- package/dist/esm/GuidanceBlock/GuidanceBlock.mjs +1 -1
- package/dist/esm/GuidanceBlock/GuidanceBlock.module.css.mjs +26 -0
- package/dist/styles.css +219 -258
- package/package.json +1 -1
- package/src/GuidanceBlock/{GuidanceBlock.module.scss → GuidanceBlock.module.css} +60 -114
- package/src/GuidanceBlock/GuidanceBlock.tsx +1 -1
- package/dist/cjs/GuidanceBlock/GuidanceBlock.module.scss.cjs +0 -33
- package/dist/esm/GuidanceBlock/GuidanceBlock.module.scss.mjs +0 -31
|
@@ -8,7 +8,7 @@ var Heading = require('../Heading/Heading.cjs');
|
|
|
8
8
|
var Text = require('../Text/Text.cjs');
|
|
9
9
|
var Icon = require('../__future__/Icon/Icon.cjs');
|
|
10
10
|
var index = require('../__overlays__/Tooltip/v1/index.cjs');
|
|
11
|
-
var GuidanceBlock_module = require('./GuidanceBlock.module.
|
|
11
|
+
var GuidanceBlock_module = require('./GuidanceBlock.module.css.cjs');
|
|
12
12
|
var Button = require('../__actions__/Button/v1/Button/Button.cjs');
|
|
13
13
|
function _interopDefault(e) {
|
|
14
14
|
return e && e.__esModule ? e : {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var styles = {
|
|
4
|
+
"rightMargin": "GuidanceBlock-module_rightMargin__T6JO2",
|
|
5
|
+
"noRightMargin": "GuidanceBlock-module_noRightMargin__MczwN",
|
|
6
|
+
"banner": "GuidanceBlock-module_banner__7FT39",
|
|
7
|
+
"noMaxWidth": "GuidanceBlock-module_noMaxWidth__UCCUk",
|
|
8
|
+
"illustrationWrapper": "GuidanceBlock-module_illustrationWrapper__tK4Xr",
|
|
9
|
+
"illustration": "GuidanceBlock-module_illustration__LiDV3",
|
|
10
|
+
"hasSceneIllustration": "GuidanceBlock-module_hasSceneIllustration__eBOyt",
|
|
11
|
+
"descriptionContainer": "GuidanceBlock-module_descriptionContainer__w1-P-",
|
|
12
|
+
"descriptionAndActions": "GuidanceBlock-module_descriptionAndActions__aQhc9",
|
|
13
|
+
"buttonContainer": "GuidanceBlock-module_buttonContainer__bcVmB",
|
|
14
|
+
"hidden": "GuidanceBlock-module_hidden__mwvrs",
|
|
15
|
+
"headingWrapper": "GuidanceBlock-module_headingWrapper__OfZB5",
|
|
16
|
+
"default": "GuidanceBlock-module_default__7naG4",
|
|
17
|
+
"positive": "GuidanceBlock-module_positive__iCp-1",
|
|
18
|
+
"negative": "GuidanceBlock-module_negative__wWBlw",
|
|
19
|
+
"assertive": "GuidanceBlock-module_assertive__bNdnQ",
|
|
20
|
+
"informative": "GuidanceBlock-module_informative__KeJWO",
|
|
21
|
+
"cautionary": "GuidanceBlock-module_cautionary__5Vkw6",
|
|
22
|
+
"prominent": "GuidanceBlock-module_prominent__rWTgt",
|
|
23
|
+
"inline": "GuidanceBlock-module_inline__B-Ubr",
|
|
24
|
+
"stacked": "GuidanceBlock-module_stacked__4dS71",
|
|
25
|
+
"centerContent": "GuidanceBlock-module_centerContent__9Vlup",
|
|
26
|
+
"smallScreenTextAlignment": "GuidanceBlock-module_smallScreenTextAlignment__-UXo9"
|
|
27
|
+
};
|
|
28
|
+
module.exports = styles;
|
|
@@ -6,7 +6,7 @@ import { Heading } from '../Heading/Heading.mjs';
|
|
|
6
6
|
import { Text } from '../Text/Text.mjs';
|
|
7
7
|
import { Icon } from '../__future__/Icon/Icon.mjs';
|
|
8
8
|
import { Tooltip } from '../__overlays__/Tooltip/v1/index.mjs';
|
|
9
|
-
import styles from './GuidanceBlock.module.
|
|
9
|
+
import styles from './GuidanceBlock.module.css.mjs';
|
|
10
10
|
import { Button } from '../__actions__/Button/v1/Button/Button.mjs';
|
|
11
11
|
var WithTooltip = function (_a) {
|
|
12
12
|
var tooltipProps = _a.tooltipProps,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"rightMargin": "GuidanceBlock-module_rightMargin__T6JO2",
|
|
3
|
+
"noRightMargin": "GuidanceBlock-module_noRightMargin__MczwN",
|
|
4
|
+
"banner": "GuidanceBlock-module_banner__7FT39",
|
|
5
|
+
"noMaxWidth": "GuidanceBlock-module_noMaxWidth__UCCUk",
|
|
6
|
+
"illustrationWrapper": "GuidanceBlock-module_illustrationWrapper__tK4Xr",
|
|
7
|
+
"illustration": "GuidanceBlock-module_illustration__LiDV3",
|
|
8
|
+
"hasSceneIllustration": "GuidanceBlock-module_hasSceneIllustration__eBOyt",
|
|
9
|
+
"descriptionContainer": "GuidanceBlock-module_descriptionContainer__w1-P-",
|
|
10
|
+
"descriptionAndActions": "GuidanceBlock-module_descriptionAndActions__aQhc9",
|
|
11
|
+
"buttonContainer": "GuidanceBlock-module_buttonContainer__bcVmB",
|
|
12
|
+
"hidden": "GuidanceBlock-module_hidden__mwvrs",
|
|
13
|
+
"headingWrapper": "GuidanceBlock-module_headingWrapper__OfZB5",
|
|
14
|
+
"default": "GuidanceBlock-module_default__7naG4",
|
|
15
|
+
"positive": "GuidanceBlock-module_positive__iCp-1",
|
|
16
|
+
"negative": "GuidanceBlock-module_negative__wWBlw",
|
|
17
|
+
"assertive": "GuidanceBlock-module_assertive__bNdnQ",
|
|
18
|
+
"informative": "GuidanceBlock-module_informative__KeJWO",
|
|
19
|
+
"cautionary": "GuidanceBlock-module_cautionary__5Vkw6",
|
|
20
|
+
"prominent": "GuidanceBlock-module_prominent__rWTgt",
|
|
21
|
+
"inline": "GuidanceBlock-module_inline__B-Ubr",
|
|
22
|
+
"stacked": "GuidanceBlock-module_stacked__4dS71",
|
|
23
|
+
"centerContent": "GuidanceBlock-module_centerContent__9Vlup",
|
|
24
|
+
"smallScreenTextAlignment": "GuidanceBlock-module_smallScreenTextAlignment__-UXo9"
|
|
25
|
+
};
|
|
26
|
+
export { styles as default };
|
package/dist/styles.css
CHANGED
|
@@ -72,6 +72,9 @@
|
|
|
72
72
|
opacity: 0.3;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
+
.Focusable-module_focusableWrapper__NfuIi {
|
|
76
|
+
display: inline-flex;
|
|
77
|
+
}
|
|
75
78
|
.Button-module_button__QOSYH {
|
|
76
79
|
--button-min-height-width: var(--spacing-48);
|
|
77
80
|
--button-padding-x: calc(
|
|
@@ -160,9 +163,6 @@
|
|
|
160
163
|
--button-icon-size: var(--spacing-16);
|
|
161
164
|
gap: var(--spacing-8);
|
|
162
165
|
}
|
|
163
|
-
.Focusable-module_focusableWrapper__NfuIi {
|
|
164
|
-
display: inline-flex;
|
|
165
|
-
}
|
|
166
166
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
167
167
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
168
168
|
/** THIS IS AN AUTOGENERATED FILE **/
|
|
@@ -4707,368 +4707,329 @@ input[type=range].InputRange-module_ratingScaleRange__gI-rs::-ms-thumb:not(:disa
|
|
|
4707
4707
|
gap: var(--spacing-8);
|
|
4708
4708
|
}
|
|
4709
4709
|
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
4713
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
4714
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
4715
|
-
/** THIS IS AN AUTOGENERATED FILE **/
|
|
4716
|
-
.GuidanceBlock-module_rightMargin__-iEFa {
|
|
4717
|
-
margin-right: var(--spacing-8, 0.5rem);
|
|
4710
|
+
.GuidanceBlock-module_rightMargin__T6JO2 {
|
|
4711
|
+
margin-right: var(--spacing-8);
|
|
4718
4712
|
}
|
|
4719
4713
|
|
|
4720
|
-
.GuidanceBlock-
|
|
4714
|
+
.GuidanceBlock-module_noRightMargin__MczwN {
|
|
4721
4715
|
margin-right: 0;
|
|
4722
4716
|
}
|
|
4723
4717
|
|
|
4724
|
-
.GuidanceBlock-
|
|
4718
|
+
.GuidanceBlock-module_banner__7FT39.GuidanceBlock-module_noMaxWidth__UCCUk {
|
|
4725
4719
|
max-width: inherit;
|
|
4726
4720
|
}
|
|
4727
4721
|
|
|
4728
|
-
.GuidanceBlock-
|
|
4722
|
+
.GuidanceBlock-module_banner__7FT39 {
|
|
4729
4723
|
--border-width: var(--border-width-1);
|
|
4724
|
+
--banner-padding: var(--spacing-lg);
|
|
4725
|
+
|
|
4730
4726
|
display: flex;
|
|
4731
4727
|
flex-direction: column;
|
|
4732
|
-
gap: var(--spacing-
|
|
4728
|
+
gap: var(--spacing-12);
|
|
4733
4729
|
min-width: 320px;
|
|
4734
|
-
max-width:
|
|
4730
|
+
max-width: var(--layout-breakpoints-large);
|
|
4735
4731
|
border: var(--border-width) var(--border-solid-border-style);
|
|
4736
|
-
border-radius: var(--border-solid-border-radius
|
|
4737
|
-
padding: calc(var(--
|
|
4738
|
-
box-shadow: var(--shadow-small-box-shadow
|
|
4732
|
+
border-radius: var(--border-solid-border-radius);
|
|
4733
|
+
padding: calc(var(--banner-padding) - var(--border-width));
|
|
4734
|
+
box-shadow: var(--shadow-small-box-shadow);
|
|
4739
4735
|
position: relative;
|
|
4740
4736
|
top: -1px;
|
|
4741
|
-
transition:
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4737
|
+
transition:
|
|
4738
|
+
opacity var(--animation-duration-slow) ease,
|
|
4739
|
+
margin-top var(--animation-duration-fast) var(--animation-duration-slow)
|
|
4740
|
+
ease;
|
|
4741
|
+
color: var(--color-purple-800);
|
|
4742
|
+
|
|
4743
|
+
@media (width >= 1024px) {
|
|
4744
|
+
min-height: calc(12rem - calc(var(--banner-padding) * 2));
|
|
4747
4745
|
flex-direction: row;
|
|
4748
|
-
gap: var(--spacing-
|
|
4746
|
+
gap: var(--spacing-24);
|
|
4749
4747
|
width: auto;
|
|
4750
4748
|
align-items: center;
|
|
4751
4749
|
}
|
|
4752
|
-
|
|
4753
|
-
@media (
|
|
4754
|
-
.GuidanceBlock-module_banner__FxKcd {
|
|
4750
|
+
|
|
4751
|
+
@media (width >= 767px) {
|
|
4755
4752
|
min-width: unset;
|
|
4756
4753
|
}
|
|
4757
4754
|
}
|
|
4758
4755
|
|
|
4759
|
-
.GuidanceBlock-
|
|
4756
|
+
.GuidanceBlock-module_illustrationWrapper__tK4Xr {
|
|
4760
4757
|
display: flex;
|
|
4761
|
-
|
|
4762
|
-
@media (
|
|
4763
|
-
.GuidanceBlock-module_illustrationWrapper__AEljX {
|
|
4758
|
+
|
|
4759
|
+
@media (768px <= width <= 1023px) {
|
|
4764
4760
|
text-align: center;
|
|
4765
4761
|
justify-content: center;
|
|
4766
4762
|
align-self: center;
|
|
4767
|
-
padding: var(--spacing-
|
|
4763
|
+
padding: var(--spacing-12);
|
|
4768
4764
|
}
|
|
4769
|
-
|
|
4770
|
-
@media (
|
|
4771
|
-
.GuidanceBlock-module_illustrationWrapper__AEljX {
|
|
4765
|
+
|
|
4766
|
+
@media (width <= 767px) {
|
|
4772
4767
|
display: none;
|
|
4773
4768
|
}
|
|
4774
4769
|
}
|
|
4775
4770
|
|
|
4776
|
-
.GuidanceBlock-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4771
|
+
.GuidanceBlock-module_illustration__LiDV3 {
|
|
4772
|
+
--illustration-size: 155px;
|
|
4773
|
+
--scene-illustration-size: 300px;
|
|
4774
|
+
|
|
4775
|
+
width: var(--illustration-size);
|
|
4776
|
+
height: var(--illustration-size);
|
|
4777
|
+
|
|
4778
|
+
/* This has been created to handle scene illustrations consistently until the tile component is created */
|
|
4779
|
+
.GuidanceBlock-module_hasSceneIllustration__eBOyt & {
|
|
4780
|
+
display: flex;
|
|
4781
|
+
justify-content: center;
|
|
4782
|
+
max-width: var(--scene-illustration-size);
|
|
4783
|
+
max-height: var(--scene-illustration-size);
|
|
4784
|
+
width: var(--scene-illustration-size);
|
|
4785
|
+
height: auto;
|
|
4786
|
+
|
|
4787
|
+
figure {
|
|
4788
|
+
max-height: 100%;
|
|
4789
|
+
max-width: 100%;
|
|
4790
|
+
aspect-ratio: 4/3;
|
|
4791
|
+
}
|
|
4792
|
+
|
|
4793
|
+
img {
|
|
4794
|
+
height: 100%;
|
|
4795
|
+
object-fit: contain;
|
|
4796
|
+
object-position: center;
|
|
4797
|
+
}
|
|
4798
|
+
}
|
|
4797
4799
|
}
|
|
4798
4800
|
|
|
4799
|
-
.GuidanceBlock-
|
|
4801
|
+
.GuidanceBlock-module_descriptionContainer__w1-P- {
|
|
4800
4802
|
flex: 1;
|
|
4801
4803
|
text-align: center;
|
|
4802
4804
|
align-self: center;
|
|
4803
4805
|
max-width: 780px;
|
|
4804
|
-
|
|
4805
|
-
@media (
|
|
4806
|
-
|
|
4807
|
-
padding: 0 var(--spacing-sm, 0.75rem);
|
|
4806
|
+
|
|
4807
|
+
@media (width >= 1024px) {
|
|
4808
|
+
padding: 0 var(--spacing-12);
|
|
4808
4809
|
text-align: left;
|
|
4809
4810
|
}
|
|
4810
|
-
|
|
4811
|
-
@media (
|
|
4812
|
-
|
|
4813
|
-
margin: var(--spacing-sm, 0.75rem);
|
|
4811
|
+
|
|
4812
|
+
@media (width <= 767px) {
|
|
4813
|
+
margin: var(--spacing-12);
|
|
4814
4814
|
max-width: 100%;
|
|
4815
4815
|
}
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4816
|
+
|
|
4817
|
+
[dir="rtl"] & {
|
|
4818
|
+
@media (width >= 1024px) {
|
|
4819
|
+
padding: 0 var(--spacing-12);
|
|
4820
|
+
text-align: right;
|
|
4821
|
+
}
|
|
4821
4822
|
}
|
|
4822
4823
|
}
|
|
4823
4824
|
|
|
4824
|
-
.GuidanceBlock-
|
|
4825
|
+
.GuidanceBlock-module_descriptionAndActions__aQhc9 {
|
|
4825
4826
|
display: flex;
|
|
4826
4827
|
flex: 1;
|
|
4827
4828
|
align-items: center;
|
|
4828
4829
|
justify-content: space-between;
|
|
4829
|
-
gap: var(--spacing-
|
|
4830
|
-
|
|
4831
|
-
@media (
|
|
4832
|
-
.GuidanceBlock-module_descriptionAndActions__E5BcL {
|
|
4830
|
+
gap: var(--spacing-24);
|
|
4831
|
+
|
|
4832
|
+
@media (width <= 1023px) {
|
|
4833
4833
|
flex-direction: column;
|
|
4834
4834
|
width: 100%;
|
|
4835
4835
|
align-items: unset;
|
|
4836
4836
|
}
|
|
4837
4837
|
}
|
|
4838
4838
|
|
|
4839
|
-
.GuidanceBlock-
|
|
4839
|
+
.GuidanceBlock-module_buttonContainer__bcVmB {
|
|
4840
4840
|
display: flex;
|
|
4841
4841
|
flex: 1 0 auto;
|
|
4842
4842
|
justify-content: center;
|
|
4843
4843
|
flex-direction: row-reverse;
|
|
4844
|
-
gap: var(--spacing-
|
|
4844
|
+
gap: var(--spacing-12);
|
|
4845
4845
|
min-width: max-content;
|
|
4846
|
-
|
|
4847
|
-
@media (
|
|
4848
|
-
.GuidanceBlock-module_buttonContainer__U2Hxn {
|
|
4846
|
+
|
|
4847
|
+
@media (width >= 768px) {
|
|
4849
4848
|
text-align: center;
|
|
4850
4849
|
}
|
|
4851
|
-
|
|
4852
|
-
@media (
|
|
4853
|
-
.GuidanceBlock-module_buttonContainer__U2Hxn {
|
|
4850
|
+
|
|
4851
|
+
@media (width <= 767px) {
|
|
4854
4852
|
flex-direction: column;
|
|
4855
4853
|
width: 100%;
|
|
4856
|
-
margin-top: var(--spacing-
|
|
4854
|
+
margin-top: var(--spacing-6);
|
|
4857
4855
|
}
|
|
4858
|
-
}
|
|
4859
|
-
[dir=rtl] .GuidanceBlock-module_buttonContainer__U2Hxn svg {
|
|
4860
|
-
transform: rotate(180deg);
|
|
4861
|
-
}
|
|
4862
4856
|
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4857
|
+
[dir="rtl"] & svg {
|
|
4858
|
+
transform: rotate(180deg);
|
|
4859
|
+
}
|
|
4866
4860
|
}
|
|
4867
4861
|
|
|
4868
|
-
.GuidanceBlock-
|
|
4869
|
-
|
|
4862
|
+
.GuidanceBlock-module_hidden__mwvrs {
|
|
4863
|
+
opacity: 0;
|
|
4864
|
+
margin-bottom: 0;
|
|
4870
4865
|
}
|
|
4871
4866
|
|
|
4872
|
-
.GuidanceBlock-
|
|
4873
|
-
|
|
4874
|
-
display: inline;
|
|
4875
|
-
background: transparent;
|
|
4876
|
-
color: inherit;
|
|
4877
|
-
font: inherit;
|
|
4878
|
-
margin: 0;
|
|
4879
|
-
padding: 0;
|
|
4880
|
-
border: none;
|
|
4881
|
-
cursor: pointer;
|
|
4882
|
-
position: absolute;
|
|
4883
|
-
top: var(--spacing-sm, 0.75rem);
|
|
4884
|
-
right: var(--spacing-sm, 0.75rem);
|
|
4885
|
-
color: var(--color-purple-800, #2f2438);
|
|
4886
|
-
}
|
|
4887
|
-
.GuidanceBlock-module_cancel__UaIA- .GuidanceBlock-module_icon__y2xz8 {
|
|
4888
|
-
opacity: 70%;
|
|
4889
|
-
transition: var(--animation-duration-fast, 300ms) opacity;
|
|
4890
|
-
}
|
|
4891
|
-
.GuidanceBlock-module_cancel__UaIA-:disabled .GuidanceBlock-module_icon__y2xz8, .GuidanceBlock-module_cancel__UaIA-.GuidanceBlock-module_disabled__Uhgsr .GuidanceBlock-module_icon__y2xz8 {
|
|
4892
|
-
opacity: 30%;
|
|
4893
|
-
}
|
|
4894
|
-
.GuidanceBlock-module_cancel__UaIA-:not(:disabled, .GuidanceBlock-module_disabled__Uhgsr):hover .GuidanceBlock-module_icon__y2xz8, .GuidanceBlock-module_cancel__UaIA-:not(:disabled, .GuidanceBlock-module_disabled__Uhgsr):focus .GuidanceBlock-module_icon__y2xz8, .GuidanceBlock-module_cancel__UaIA-:not(:disabled, .GuidanceBlock-module_disabled__Uhgsr).GuidanceBlock-module_hover__7V9x1 .GuidanceBlock-module_icon__y2xz8 {
|
|
4895
|
-
opacity: 100%;
|
|
4896
|
-
}
|
|
4897
|
-
.GuidanceBlock-module_cancel__UaIA-:not(:disabled, .GuidanceBlock-module_disabled__Uhgsr):active .GuidanceBlock-module_icon__y2xz8, .GuidanceBlock-module_cancel__UaIA-:not(:disabled, .GuidanceBlock-module_disabled__Uhgsr).GuidanceBlock-module_active__YJaZt .GuidanceBlock-module_icon__y2xz8 {
|
|
4898
|
-
opacity: 100%;
|
|
4867
|
+
.GuidanceBlock-module_headingWrapper__OfZB5 {
|
|
4868
|
+
margin-bottom: var(--spacing-24);
|
|
4899
4869
|
}
|
|
4900
4870
|
|
|
4901
|
-
.GuidanceBlock-
|
|
4871
|
+
.GuidanceBlock-module_default__7naG4 {
|
|
4902
4872
|
border-color: var(--color-gray-500);
|
|
4903
4873
|
background: var(--color-white);
|
|
4904
4874
|
}
|
|
4905
4875
|
|
|
4906
|
-
.GuidanceBlock-
|
|
4876
|
+
.GuidanceBlock-module_positive__iCp-1 {
|
|
4907
4877
|
border-color: var(--color-green-500);
|
|
4908
|
-
background: var(--color-green-100
|
|
4878
|
+
background: var(--color-green-100);
|
|
4909
4879
|
}
|
|
4910
4880
|
|
|
4911
|
-
.GuidanceBlock-
|
|
4912
|
-
.GuidanceBlock-
|
|
4881
|
+
.GuidanceBlock-module_negative__wWBlw,
|
|
4882
|
+
.GuidanceBlock-module_assertive__bNdnQ {
|
|
4913
4883
|
border-color: var(--color-red-500);
|
|
4914
|
-
background: var(--color-red-100
|
|
4884
|
+
background: var(--color-red-100);
|
|
4915
4885
|
}
|
|
4916
4886
|
|
|
4917
|
-
.GuidanceBlock-
|
|
4887
|
+
.GuidanceBlock-module_informative__KeJWO {
|
|
4918
4888
|
border-color: var(--color-blue-400);
|
|
4919
|
-
background: var(--color-blue-100
|
|
4889
|
+
background: var(--color-blue-100);
|
|
4920
4890
|
}
|
|
4921
4891
|
|
|
4922
|
-
.GuidanceBlock-
|
|
4892
|
+
.GuidanceBlock-module_cautionary__5Vkw6 {
|
|
4923
4893
|
border-color: var(--color-yellow-700);
|
|
4924
|
-
background: var(--color-yellow-100
|
|
4894
|
+
background: var(--color-yellow-100);
|
|
4925
4895
|
}
|
|
4926
4896
|
|
|
4927
|
-
.GuidanceBlock-
|
|
4897
|
+
.GuidanceBlock-module_prominent__rWTgt {
|
|
4928
4898
|
border-color: var(--color-purple-400);
|
|
4929
|
-
background: var(--color-purple-100
|
|
4899
|
+
background: var(--color-purple-100);
|
|
4930
4900
|
}
|
|
4931
4901
|
|
|
4932
|
-
.GuidanceBlock-
|
|
4933
|
-
.GuidanceBlock-
|
|
4902
|
+
.GuidanceBlock-module_inline__B-Ubr,
|
|
4903
|
+
.GuidanceBlock-module_stacked__4dS71 {
|
|
4934
4904
|
flex-flow: row wrap;
|
|
4935
4905
|
align-items: unset;
|
|
4936
|
-
gap: var(--spacing-
|
|
4906
|
+
gap: var(--spacing-24);
|
|
4937
4907
|
min-width: unset;
|
|
4938
|
-
|
|
4939
|
-
@media (
|
|
4940
|
-
.GuidanceBlock-module_inline__GwOWR,
|
|
4941
|
-
.GuidanceBlock-module_stacked__rDupX {
|
|
4908
|
+
|
|
4909
|
+
@media (width <= 1023px) {
|
|
4942
4910
|
flex-direction: unset;
|
|
4943
4911
|
}
|
|
4944
|
-
|
|
4945
|
-
.GuidanceBlock-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4912
|
+
|
|
4913
|
+
.GuidanceBlock-module_illustrationWrapper__tK4Xr {
|
|
4914
|
+
margin-right: var(--spacing-12);
|
|
4915
|
+
|
|
4916
|
+
[dir="rtl"] & {
|
|
4917
|
+
margin-left: var(--spacing-12);
|
|
4918
|
+
margin-right: inherit;
|
|
4919
|
+
}
|
|
4920
|
+
|
|
4921
|
+
@media (768px <= width <= 1023px) {
|
|
4922
|
+
padding: 0;
|
|
4923
|
+
}
|
|
4924
|
+
|
|
4925
|
+
@media (width <= 767px) {
|
|
4926
|
+
display: flex;
|
|
4927
|
+
}
|
|
4958
4928
|
}
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_illustrationWrapper__AEljX {
|
|
4963
|
-
display: flex;
|
|
4929
|
+
|
|
4930
|
+
.GuidanceBlock-module_descriptionAndActions__aQhc9 {
|
|
4931
|
+
margin: auto 0;
|
|
4964
4932
|
}
|
|
4965
|
-
|
|
4966
|
-
.GuidanceBlock-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4933
|
+
|
|
4934
|
+
.GuidanceBlock-module_descriptionContainer__w1-P- {
|
|
4935
|
+
text-align: left;
|
|
4936
|
+
max-width: unset;
|
|
4937
|
+
min-width: 320px;
|
|
4938
|
+
|
|
4939
|
+
@media (width >= 1024px) {
|
|
4940
|
+
padding: 0;
|
|
4941
|
+
}
|
|
4942
|
+
|
|
4943
|
+
@media (width <= 767px) {
|
|
4944
|
+
margin: 0;
|
|
4945
|
+
}
|
|
4946
|
+
|
|
4947
|
+
[dir="rtl"] & {
|
|
4948
|
+
text-align: right;
|
|
4949
|
+
|
|
4950
|
+
@media (width >= 1024px) {
|
|
4951
|
+
padding: 0;
|
|
4952
|
+
}
|
|
4953
|
+
}
|
|
4980
4954
|
}
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4985
|
-
|
|
4955
|
+
|
|
4956
|
+
.GuidanceBlock-module_buttonContainer__bcVmB {
|
|
4957
|
+
padding-left: var(--spacing-12);
|
|
4958
|
+
justify-content: flex-start;
|
|
4959
|
+
width: unset;
|
|
4960
|
+
min-width: unset;
|
|
4961
|
+
|
|
4962
|
+
@media (width <= 767px) {
|
|
4963
|
+
flex-direction: row-reverse;
|
|
4964
|
+
}
|
|
4965
|
+
|
|
4966
|
+
[dir="rtl"] & {
|
|
4967
|
+
padding-left: 0;
|
|
4968
|
+
padding-right: var(--spacing-12);
|
|
4969
|
+
}
|
|
4970
|
+
|
|
4971
|
+
> * {
|
|
4972
|
+
width: unset;
|
|
4973
|
+
}
|
|
4986
4974
|
}
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
text-align: right;
|
|
4991
|
-
}
|
|
4992
|
-
@media (min-width: 1024px) {
|
|
4993
|
-
[dir=rtl] .GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_descriptionContainer__aywtY,
|
|
4994
|
-
[dir=rtl] .GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_descriptionContainer__aywtY {
|
|
4995
|
-
padding: 0;
|
|
4975
|
+
|
|
4976
|
+
&.GuidanceBlock-module_hasSceneIllustration__eBOyt {
|
|
4977
|
+
justify-content: center;
|
|
4996
4978
|
}
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
4979
|
+
|
|
4980
|
+
&.GuidanceBlock-module_centerContent__9Vlup {
|
|
4981
|
+
flex-direction: column;
|
|
4982
|
+
|
|
4983
|
+
&.GuidanceBlock-module_hasSceneIllustration__eBOyt .GuidanceBlock-module_illustration__LiDV3 {
|
|
4984
|
+
width: 100%;
|
|
4985
|
+
}
|
|
4986
|
+
|
|
4987
|
+
.GuidanceBlock-module_illustrationWrapper__tK4Xr {
|
|
4988
|
+
margin: 0 auto;
|
|
4989
|
+
align-self: center;
|
|
4990
|
+
}
|
|
4991
|
+
|
|
4992
|
+
.GuidanceBlock-module_descriptionContainer__w1-P- {
|
|
4993
|
+
text-align: center;
|
|
4994
|
+
min-width: unset;
|
|
4995
|
+
|
|
4996
|
+
[dir="rtl"] & {
|
|
4997
|
+
text-align: center;
|
|
4998
|
+
}
|
|
4999
|
+
}
|
|
5000
|
+
|
|
5001
|
+
.GuidanceBlock-module_buttonContainer__bcVmB {
|
|
5002
|
+
padding: 0;
|
|
5003
|
+
flex-direction: column;
|
|
5004
|
+
min-width: unset;
|
|
5005
|
+
justify-content: center;
|
|
5006
|
+
}
|
|
5007
|
+
}
|
|
5008
|
+
|
|
5009
|
+
&.GuidanceBlock-module_centerContent__9Vlup.GuidanceBlock-module_smallScreenTextAlignment__-UXo9 {
|
|
5010
|
+
.GuidanceBlock-module_descriptionContainer__w1-P- {
|
|
5011
|
+
text-align: left;
|
|
5012
|
+
|
|
5013
|
+
[dir="rtl"] & {
|
|
5014
|
+
text-align: right;
|
|
5015
|
+
}
|
|
5016
|
+
}
|
|
5009
5017
|
}
|
|
5010
|
-
}
|
|
5011
|
-
[dir=rtl] .GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_buttonContainer__U2Hxn,
|
|
5012
|
-
[dir=rtl] .GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_buttonContainer__U2Hxn {
|
|
5013
|
-
padding-left: 0;
|
|
5014
|
-
padding-right: var(--spacing-sm, 0.75rem);
|
|
5015
|
-
}
|
|
5016
|
-
.GuidanceBlock-module_inline__GwOWR .GuidanceBlock-module_buttonContainer__U2Hxn > *,
|
|
5017
|
-
.GuidanceBlock-module_stacked__rDupX .GuidanceBlock-module_buttonContainer__U2Hxn > * {
|
|
5018
|
-
width: unset;
|
|
5019
|
-
}
|
|
5020
|
-
.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_hasSceneIllustration__tvFRD,
|
|
5021
|
-
.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_hasSceneIllustration__tvFRD {
|
|
5022
|
-
justify-content: center;
|
|
5023
|
-
}
|
|
5024
|
-
.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB,
|
|
5025
|
-
.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB {
|
|
5026
|
-
flex-direction: column;
|
|
5027
|
-
}
|
|
5028
|
-
.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_hasSceneIllustration__tvFRD .GuidanceBlock-module_illustration__sU1Vu,
|
|
5029
|
-
.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_hasSceneIllustration__tvFRD .GuidanceBlock-module_illustration__sU1Vu {
|
|
5030
|
-
width: 100%;
|
|
5031
|
-
}
|
|
5032
|
-
.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_illustrationWrapper__AEljX,
|
|
5033
|
-
.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_illustrationWrapper__AEljX {
|
|
5034
|
-
margin: 0 auto;
|
|
5035
|
-
align-self: center;
|
|
5036
|
-
}
|
|
5037
|
-
.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_descriptionContainer__aywtY,
|
|
5038
|
-
.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_descriptionContainer__aywtY {
|
|
5039
|
-
text-align: center;
|
|
5040
|
-
min-width: unset;
|
|
5041
|
-
}
|
|
5042
|
-
[dir=rtl] .GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_descriptionContainer__aywtY,
|
|
5043
|
-
[dir=rtl] .GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_descriptionContainer__aywtY {
|
|
5044
|
-
text-align: center;
|
|
5045
|
-
}
|
|
5046
|
-
.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_buttonContainer__U2Hxn,
|
|
5047
|
-
.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB .GuidanceBlock-module_buttonContainer__U2Hxn {
|
|
5048
|
-
padding: 0;
|
|
5049
|
-
flex-direction: column;
|
|
5050
|
-
min-width: unset;
|
|
5051
|
-
justify-content: center;
|
|
5052
|
-
}
|
|
5053
|
-
.GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_smallScreenTextAlignment__oWufj .GuidanceBlock-module_descriptionContainer__aywtY,
|
|
5054
|
-
.GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_smallScreenTextAlignment__oWufj .GuidanceBlock-module_descriptionContainer__aywtY {
|
|
5055
|
-
text-align: left;
|
|
5056
|
-
}
|
|
5057
|
-
[dir=rtl] .GuidanceBlock-module_inline__GwOWR.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_smallScreenTextAlignment__oWufj .GuidanceBlock-module_descriptionContainer__aywtY,
|
|
5058
|
-
[dir=rtl] .GuidanceBlock-module_stacked__rDupX.GuidanceBlock-module_centerContent__m3IhB.GuidanceBlock-module_smallScreenTextAlignment__oWufj .GuidanceBlock-module_descriptionContainer__aywtY {
|
|
5059
|
-
text-align: right;
|
|
5060
5018
|
}
|
|
5061
5019
|
|
|
5062
5020
|
/* stylelint-disable no-descending-specificity */
|
|
5063
|
-
.GuidanceBlock-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
align-self: flex-start;
|
|
5069
|
-
}
|
|
5021
|
+
.GuidanceBlock-module_stacked__4dS71 {
|
|
5022
|
+
.GuidanceBlock-module_descriptionAndActions__aQhc9 {
|
|
5023
|
+
flex-direction: column;
|
|
5024
|
+
align-items: unset;
|
|
5025
|
+
}
|
|
5070
5026
|
|
|
5027
|
+
.GuidanceBlock-module_descriptionContainer__w1-P- {
|
|
5028
|
+
align-self: flex-start;
|
|
5029
|
+
}
|
|
5030
|
+
}
|
|
5071
5031
|
/* stylelint-enable no-descending-specificity */
|
|
5032
|
+
|
|
5072
5033
|
.SVG-module_icon__8J5Ev {
|
|
5073
5034
|
width: 20px;
|
|
5074
5035
|
height: 20px;
|
package/package.json
CHANGED
|
@@ -1,27 +1,5 @@
|
|
|
1
|
-
@import "~@kaizen/design-tokens/sass/shadow";
|
|
2
|
-
@import "~@kaizen/design-tokens/sass/border";
|
|
3
|
-
@import "~@kaizen/design-tokens/sass/layout";
|
|
4
|
-
@import "~@kaizen/design-tokens/sass/color";
|
|
5
|
-
@import "~@kaizen/design-tokens/sass/animation";
|
|
6
|
-
@import "~@kaizen/design-tokens/sass/spacing";
|
|
7
|
-
@import "../../styles/utils/responsive";
|
|
8
|
-
@import "../../styles/utils/button-reset";
|
|
9
|
-
|
|
10
|
-
@mixin guidance-block-under-480 {
|
|
11
|
-
@media (max-width: 480px) {
|
|
12
|
-
@content;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
$bannerPadding: $spacing-lg;
|
|
17
|
-
$ca-banner-fade-out: opacity $animation-duration-slow ease;
|
|
18
|
-
$ca-banner-collapse-height-delayed: margin-top $animation-duration-fast
|
|
19
|
-
$animation-duration-slow ease;
|
|
20
|
-
$illustration-size: 155px;
|
|
21
|
-
$scene-illustration-size: 300px;
|
|
22
|
-
|
|
23
1
|
.rightMargin {
|
|
24
|
-
margin-right:
|
|
2
|
+
margin-right: var(--spacing-8);
|
|
25
3
|
}
|
|
26
4
|
|
|
27
5
|
.noRightMargin {
|
|
@@ -34,30 +12,34 @@ $scene-illustration-size: 300px;
|
|
|
34
12
|
|
|
35
13
|
.banner {
|
|
36
14
|
--border-width: var(--border-width-1);
|
|
15
|
+
--banner-padding: var(--spacing-lg);
|
|
37
16
|
|
|
38
17
|
display: flex;
|
|
39
18
|
flex-direction: column;
|
|
40
|
-
gap:
|
|
19
|
+
gap: var(--spacing-12);
|
|
41
20
|
min-width: 320px;
|
|
42
|
-
max-width:
|
|
21
|
+
max-width: var(--layout-breakpoints-large);
|
|
43
22
|
border: var(--border-width) var(--border-solid-border-style);
|
|
44
|
-
border-radius:
|
|
45
|
-
padding: calc(
|
|
46
|
-
box-shadow:
|
|
23
|
+
border-radius: var(--border-solid-border-radius);
|
|
24
|
+
padding: calc(var(--banner-padding) - var(--border-width));
|
|
25
|
+
box-shadow: var(--shadow-small-box-shadow);
|
|
47
26
|
position: relative;
|
|
48
27
|
top: -1px;
|
|
49
|
-
transition:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
28
|
+
transition:
|
|
29
|
+
opacity var(--animation-duration-slow) ease,
|
|
30
|
+
margin-top var(--animation-duration-fast) var(--animation-duration-slow)
|
|
31
|
+
ease;
|
|
32
|
+
color: var(--color-purple-800);
|
|
33
|
+
|
|
34
|
+
@media (width >= 1024px) {
|
|
35
|
+
min-height: calc(12rem - calc(var(--banner-padding) * 2));
|
|
54
36
|
flex-direction: row;
|
|
55
|
-
gap:
|
|
37
|
+
gap: var(--spacing-24);
|
|
56
38
|
width: auto;
|
|
57
39
|
align-items: center;
|
|
58
40
|
}
|
|
59
41
|
|
|
60
|
-
@
|
|
42
|
+
@media (width >= 767px) {
|
|
61
43
|
min-width: unset;
|
|
62
44
|
}
|
|
63
45
|
}
|
|
@@ -65,29 +47,32 @@ $scene-illustration-size: 300px;
|
|
|
65
47
|
.illustrationWrapper {
|
|
66
48
|
display: flex;
|
|
67
49
|
|
|
68
|
-
@
|
|
50
|
+
@media (768px <= width <= 1023px) {
|
|
69
51
|
text-align: center;
|
|
70
52
|
justify-content: center;
|
|
71
53
|
align-self: center;
|
|
72
|
-
padding:
|
|
54
|
+
padding: var(--spacing-12);
|
|
73
55
|
}
|
|
74
56
|
|
|
75
|
-
@
|
|
57
|
+
@media (width <= 767px) {
|
|
76
58
|
display: none;
|
|
77
59
|
}
|
|
78
60
|
}
|
|
79
61
|
|
|
80
62
|
.illustration {
|
|
81
|
-
|
|
82
|
-
|
|
63
|
+
--illustration-size: 155px;
|
|
64
|
+
--scene-illustration-size: 300px;
|
|
65
|
+
|
|
66
|
+
width: var(--illustration-size);
|
|
67
|
+
height: var(--illustration-size);
|
|
83
68
|
|
|
84
|
-
|
|
69
|
+
/* This has been created to handle scene illustrations consistently until the tile component is created */
|
|
85
70
|
.hasSceneIllustration & {
|
|
86
71
|
display: flex;
|
|
87
72
|
justify-content: center;
|
|
88
|
-
max-width:
|
|
89
|
-
max-height:
|
|
90
|
-
width:
|
|
73
|
+
max-width: var(--scene-illustration-size);
|
|
74
|
+
max-height: var(--scene-illustration-size);
|
|
75
|
+
width: var(--scene-illustration-size);
|
|
91
76
|
height: auto;
|
|
92
77
|
|
|
93
78
|
figure {
|
|
@@ -110,19 +95,19 @@ $scene-illustration-size: 300px;
|
|
|
110
95
|
align-self: center;
|
|
111
96
|
max-width: 780px;
|
|
112
97
|
|
|
113
|
-
@
|
|
114
|
-
padding: 0
|
|
98
|
+
@media (width >= 1024px) {
|
|
99
|
+
padding: 0 var(--spacing-12);
|
|
115
100
|
text-align: left;
|
|
116
101
|
}
|
|
117
102
|
|
|
118
|
-
@
|
|
119
|
-
margin:
|
|
103
|
+
@media (width <= 767px) {
|
|
104
|
+
margin: var(--spacing-12);
|
|
120
105
|
max-width: 100%;
|
|
121
106
|
}
|
|
122
107
|
|
|
123
108
|
[dir="rtl"] & {
|
|
124
|
-
@
|
|
125
|
-
padding: 0
|
|
109
|
+
@media (width >= 1024px) {
|
|
110
|
+
padding: 0 var(--spacing-12);
|
|
126
111
|
text-align: right;
|
|
127
112
|
}
|
|
128
113
|
}
|
|
@@ -133,9 +118,9 @@ $scene-illustration-size: 300px;
|
|
|
133
118
|
flex: 1;
|
|
134
119
|
align-items: center;
|
|
135
120
|
justify-content: space-between;
|
|
136
|
-
gap:
|
|
121
|
+
gap: var(--spacing-24);
|
|
137
122
|
|
|
138
|
-
@
|
|
123
|
+
@media (width <= 1023px) {
|
|
139
124
|
flex-direction: column;
|
|
140
125
|
width: 100%;
|
|
141
126
|
align-items: unset;
|
|
@@ -147,17 +132,17 @@ $scene-illustration-size: 300px;
|
|
|
147
132
|
flex: 1 0 auto;
|
|
148
133
|
justify-content: center;
|
|
149
134
|
flex-direction: row-reverse;
|
|
150
|
-
gap:
|
|
135
|
+
gap: var(--spacing-12);
|
|
151
136
|
min-width: max-content;
|
|
152
137
|
|
|
153
|
-
@
|
|
138
|
+
@media (width >= 768px) {
|
|
154
139
|
text-align: center;
|
|
155
140
|
}
|
|
156
141
|
|
|
157
|
-
@
|
|
142
|
+
@media (width <= 767px) {
|
|
158
143
|
flex-direction: column;
|
|
159
144
|
width: 100%;
|
|
160
|
-
margin-top:
|
|
145
|
+
margin-top: var(--spacing-6);
|
|
161
146
|
}
|
|
162
147
|
|
|
163
148
|
[dir="rtl"] & svg {
|
|
@@ -166,51 +151,12 @@ $scene-illustration-size: 300px;
|
|
|
166
151
|
}
|
|
167
152
|
|
|
168
153
|
.hidden {
|
|
169
|
-
opacity: 0
|
|
154
|
+
opacity: 0;
|
|
170
155
|
margin-bottom: 0;
|
|
171
156
|
}
|
|
172
157
|
|
|
173
158
|
.headingWrapper {
|
|
174
|
-
margin-bottom:
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.cancel {
|
|
178
|
-
@include button-reset;
|
|
179
|
-
|
|
180
|
-
cursor: pointer;
|
|
181
|
-
position: absolute;
|
|
182
|
-
top: $spacing-sm;
|
|
183
|
-
right: $spacing-sm;
|
|
184
|
-
color: $color-purple-800;
|
|
185
|
-
|
|
186
|
-
.icon {
|
|
187
|
-
opacity: 70%;
|
|
188
|
-
transition: $animation-duration-fast opacity;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&:disabled,
|
|
192
|
-
&.disabled {
|
|
193
|
-
.icon {
|
|
194
|
-
opacity: 30%;
|
|
195
|
-
}
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
&:not(:disabled, .disabled) {
|
|
199
|
-
&:hover,
|
|
200
|
-
&:focus,
|
|
201
|
-
&.hover {
|
|
202
|
-
.icon {
|
|
203
|
-
opacity: 100%;
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
&:active,
|
|
208
|
-
&.active {
|
|
209
|
-
.icon {
|
|
210
|
-
opacity: 100%;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
}
|
|
159
|
+
margin-bottom: var(--spacing-24);
|
|
214
160
|
}
|
|
215
161
|
|
|
216
162
|
.default {
|
|
@@ -220,54 +166,54 @@ $scene-illustration-size: 300px;
|
|
|
220
166
|
|
|
221
167
|
.positive {
|
|
222
168
|
border-color: var(--color-green-500);
|
|
223
|
-
background:
|
|
169
|
+
background: var(--color-green-100);
|
|
224
170
|
}
|
|
225
171
|
|
|
226
172
|
.negative,
|
|
227
173
|
.assertive {
|
|
228
174
|
border-color: var(--color-red-500);
|
|
229
|
-
background:
|
|
175
|
+
background: var(--color-red-100);
|
|
230
176
|
}
|
|
231
177
|
|
|
232
178
|
.informative {
|
|
233
179
|
border-color: var(--color-blue-400);
|
|
234
|
-
background:
|
|
180
|
+
background: var(--color-blue-100);
|
|
235
181
|
}
|
|
236
182
|
|
|
237
183
|
.cautionary {
|
|
238
184
|
border-color: var(--color-yellow-700);
|
|
239
|
-
background:
|
|
185
|
+
background: var(--color-yellow-100);
|
|
240
186
|
}
|
|
241
187
|
|
|
242
188
|
.prominent {
|
|
243
189
|
border-color: var(--color-purple-400);
|
|
244
|
-
background:
|
|
190
|
+
background: var(--color-purple-100);
|
|
245
191
|
}
|
|
246
192
|
|
|
247
193
|
.inline,
|
|
248
194
|
.stacked {
|
|
249
195
|
flex-flow: row wrap;
|
|
250
196
|
align-items: unset;
|
|
251
|
-
gap:
|
|
197
|
+
gap: var(--spacing-24);
|
|
252
198
|
min-width: unset;
|
|
253
199
|
|
|
254
|
-
@
|
|
200
|
+
@media (width <= 1023px) {
|
|
255
201
|
flex-direction: unset;
|
|
256
202
|
}
|
|
257
203
|
|
|
258
204
|
.illustrationWrapper {
|
|
259
|
-
margin-right:
|
|
205
|
+
margin-right: var(--spacing-12);
|
|
260
206
|
|
|
261
207
|
[dir="rtl"] & {
|
|
262
|
-
margin-left:
|
|
208
|
+
margin-left: var(--spacing-12);
|
|
263
209
|
margin-right: inherit;
|
|
264
210
|
}
|
|
265
211
|
|
|
266
|
-
@
|
|
212
|
+
@media (768px <= width <= 1023px) {
|
|
267
213
|
padding: 0;
|
|
268
214
|
}
|
|
269
215
|
|
|
270
|
-
@
|
|
216
|
+
@media (width <= 767px) {
|
|
271
217
|
display: flex;
|
|
272
218
|
}
|
|
273
219
|
}
|
|
@@ -281,36 +227,36 @@ $scene-illustration-size: 300px;
|
|
|
281
227
|
max-width: unset;
|
|
282
228
|
min-width: 320px;
|
|
283
229
|
|
|
284
|
-
@
|
|
230
|
+
@media (width >= 1024px) {
|
|
285
231
|
padding: 0;
|
|
286
232
|
}
|
|
287
233
|
|
|
288
|
-
@
|
|
234
|
+
@media (width <= 767px) {
|
|
289
235
|
margin: 0;
|
|
290
236
|
}
|
|
291
237
|
|
|
292
238
|
[dir="rtl"] & {
|
|
293
239
|
text-align: right;
|
|
294
240
|
|
|
295
|
-
@
|
|
241
|
+
@media (width >= 1024px) {
|
|
296
242
|
padding: 0;
|
|
297
243
|
}
|
|
298
244
|
}
|
|
299
245
|
}
|
|
300
246
|
|
|
301
247
|
.buttonContainer {
|
|
302
|
-
padding-left:
|
|
248
|
+
padding-left: var(--spacing-12);
|
|
303
249
|
justify-content: flex-start;
|
|
304
250
|
width: unset;
|
|
305
251
|
min-width: unset;
|
|
306
252
|
|
|
307
|
-
@
|
|
253
|
+
@media (width <= 767px) {
|
|
308
254
|
flex-direction: row-reverse;
|
|
309
255
|
}
|
|
310
256
|
|
|
311
257
|
[dir="rtl"] & {
|
|
312
258
|
padding-left: 0;
|
|
313
|
-
padding-right:
|
|
259
|
+
padding-right: var(--spacing-12);
|
|
314
260
|
}
|
|
315
261
|
|
|
316
262
|
> * {
|
|
@@ -8,7 +8,7 @@ import { Button, ButtonProps } from "~components/__actions__/v2"
|
|
|
8
8
|
import { Icon } from "~components/__future__/Icon"
|
|
9
9
|
import { Tooltip, TooltipProps } from "~components/__overlays__/Tooltip/v1"
|
|
10
10
|
import { VariantType } from "./types"
|
|
11
|
-
import styles from "./GuidanceBlock.module.
|
|
11
|
+
import styles from "./GuidanceBlock.module.css"
|
|
12
12
|
|
|
13
13
|
export type ActionProps = ButtonProps & {
|
|
14
14
|
tooltip?: TooltipProps
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var styles = {
|
|
4
|
-
"rightMargin": "GuidanceBlock-module_rightMargin__-iEFa",
|
|
5
|
-
"noRightMargin": "GuidanceBlock-module_noRightMargin__4Uy9N",
|
|
6
|
-
"banner": "GuidanceBlock-module_banner__FxKcd",
|
|
7
|
-
"noMaxWidth": "GuidanceBlock-module_noMaxWidth__UzHP1",
|
|
8
|
-
"illustrationWrapper": "GuidanceBlock-module_illustrationWrapper__AEljX",
|
|
9
|
-
"illustration": "GuidanceBlock-module_illustration__sU1Vu",
|
|
10
|
-
"hasSceneIllustration": "GuidanceBlock-module_hasSceneIllustration__tvFRD",
|
|
11
|
-
"descriptionContainer": "GuidanceBlock-module_descriptionContainer__aywtY",
|
|
12
|
-
"descriptionAndActions": "GuidanceBlock-module_descriptionAndActions__E5BcL",
|
|
13
|
-
"buttonContainer": "GuidanceBlock-module_buttonContainer__U2Hxn",
|
|
14
|
-
"hidden": "GuidanceBlock-module_hidden__CbgXn",
|
|
15
|
-
"headingWrapper": "GuidanceBlock-module_headingWrapper__zgVmA",
|
|
16
|
-
"cancel": "GuidanceBlock-module_cancel__UaIA-",
|
|
17
|
-
"icon": "GuidanceBlock-module_icon__y2xz8",
|
|
18
|
-
"disabled": "GuidanceBlock-module_disabled__Uhgsr",
|
|
19
|
-
"hover": "GuidanceBlock-module_hover__7V9x1",
|
|
20
|
-
"active": "GuidanceBlock-module_active__YJaZt",
|
|
21
|
-
"default": "GuidanceBlock-module_default__Ffblg",
|
|
22
|
-
"positive": "GuidanceBlock-module_positive__yENlT",
|
|
23
|
-
"negative": "GuidanceBlock-module_negative__E-Jvh",
|
|
24
|
-
"assertive": "GuidanceBlock-module_assertive__6PZlM",
|
|
25
|
-
"informative": "GuidanceBlock-module_informative__ZUH4j",
|
|
26
|
-
"cautionary": "GuidanceBlock-module_cautionary__sJ1CE",
|
|
27
|
-
"prominent": "GuidanceBlock-module_prominent__nn-r4",
|
|
28
|
-
"inline": "GuidanceBlock-module_inline__GwOWR",
|
|
29
|
-
"stacked": "GuidanceBlock-module_stacked__rDupX",
|
|
30
|
-
"centerContent": "GuidanceBlock-module_centerContent__m3IhB",
|
|
31
|
-
"smallScreenTextAlignment": "GuidanceBlock-module_smallScreenTextAlignment__oWufj"
|
|
32
|
-
};
|
|
33
|
-
module.exports = styles;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var styles = {
|
|
2
|
-
"rightMargin": "GuidanceBlock-module_rightMargin__-iEFa",
|
|
3
|
-
"noRightMargin": "GuidanceBlock-module_noRightMargin__4Uy9N",
|
|
4
|
-
"banner": "GuidanceBlock-module_banner__FxKcd",
|
|
5
|
-
"noMaxWidth": "GuidanceBlock-module_noMaxWidth__UzHP1",
|
|
6
|
-
"illustrationWrapper": "GuidanceBlock-module_illustrationWrapper__AEljX",
|
|
7
|
-
"illustration": "GuidanceBlock-module_illustration__sU1Vu",
|
|
8
|
-
"hasSceneIllustration": "GuidanceBlock-module_hasSceneIllustration__tvFRD",
|
|
9
|
-
"descriptionContainer": "GuidanceBlock-module_descriptionContainer__aywtY",
|
|
10
|
-
"descriptionAndActions": "GuidanceBlock-module_descriptionAndActions__E5BcL",
|
|
11
|
-
"buttonContainer": "GuidanceBlock-module_buttonContainer__U2Hxn",
|
|
12
|
-
"hidden": "GuidanceBlock-module_hidden__CbgXn",
|
|
13
|
-
"headingWrapper": "GuidanceBlock-module_headingWrapper__zgVmA",
|
|
14
|
-
"cancel": "GuidanceBlock-module_cancel__UaIA-",
|
|
15
|
-
"icon": "GuidanceBlock-module_icon__y2xz8",
|
|
16
|
-
"disabled": "GuidanceBlock-module_disabled__Uhgsr",
|
|
17
|
-
"hover": "GuidanceBlock-module_hover__7V9x1",
|
|
18
|
-
"active": "GuidanceBlock-module_active__YJaZt",
|
|
19
|
-
"default": "GuidanceBlock-module_default__Ffblg",
|
|
20
|
-
"positive": "GuidanceBlock-module_positive__yENlT",
|
|
21
|
-
"negative": "GuidanceBlock-module_negative__E-Jvh",
|
|
22
|
-
"assertive": "GuidanceBlock-module_assertive__6PZlM",
|
|
23
|
-
"informative": "GuidanceBlock-module_informative__ZUH4j",
|
|
24
|
-
"cautionary": "GuidanceBlock-module_cautionary__sJ1CE",
|
|
25
|
-
"prominent": "GuidanceBlock-module_prominent__nn-r4",
|
|
26
|
-
"inline": "GuidanceBlock-module_inline__GwOWR",
|
|
27
|
-
"stacked": "GuidanceBlock-module_stacked__rDupX",
|
|
28
|
-
"centerContent": "GuidanceBlock-module_centerContent__m3IhB",
|
|
29
|
-
"smallScreenTextAlignment": "GuidanceBlock-module_smallScreenTextAlignment__oWufj"
|
|
30
|
-
};
|
|
31
|
-
export { styles as default };
|