@ambita/design-system 5.0.7-1241.0 → 5.0.8

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.
@@ -0,0 +1 @@
1
+ <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" preserveAspectRatio="xMinYMid meet" x="0px" y="0px" viewBox="0 0 694.11 164.663" style="enable-background:new 0 0 694.11 164.663;"> <path fill="currentcolor" class="ambita-logo__svg__path" d="M101.071,48.106h-5.002c-5.439,0-9.889,4.451-9.889,9.892v0.155 c-8.794-6.17-19.177-10.047-30.702-10.047c-15.85,0-29.602,6.764-39.627,17.485C5.876,76.03,0.058,90.393,0.002,106.385 c0,0.078-0.002,0.156-0.002,0.236c0,15.848,5.827,30.302,15.85,41.022c10.025,10.493,23.778,17.02,39.627,17.02 c11.525,0,21.909-3.648,30.705-9.814c0.04,5.403,4.472,9.814,9.886,9.814h5.002c5.437,0,9.887-4.453,9.887-9.889V57.998 C110.958,52.558,106.507,48.106,101.071,48.106z M86.18,108.901c-0.508,8.609-3.876,16.153-9.021,21.729 c-5.595,5.826-13.522,9.089-21.681,9.089c-8.389,0-16.316-3.263-21.677-9.089c-5.595-6.063-8.859-14.453-8.859-24.009 c0-0.08,0.003-0.158,0.003-0.236c0.051-9.691,3.305-17.993,8.856-23.777c5.36-6.293,13.288-9.556,21.677-9.556 c8.159,0,16.086,3.263,21.681,9.556c5.145,5.36,8.513,12.888,9.021,21.68v2.098V108.901z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M281.806,48.106H150.147l0,0c-5.439,0-9.891,4.451-9.891,9.892v96.776 c0,5.436,4.451,9.889,9.891,9.889h4.999c5.439,0,9.89-4.453,9.89-9.889V72.887h38.551v81.888c0,5.436,4.451,9.889,9.89,9.889h4.999 c5.439,0,9.889-4.453,9.889-9.889V72.887h38.551v81.888c0,5.436,4.452,9.889,9.889,9.889h5.001c5.44,0,9.889-4.453,9.889-9.889 V57.998C291.695,52.558,287.247,48.106,281.806,48.106z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M684.222,48.106h-5.001c-5.44,0-9.889,4.451-9.889,9.892v0.155 c-8.794-6.17-19.178-10.047-30.702-10.047c-15.85,0-29.601,6.764-39.626,17.485c-9.976,10.438-15.791,24.801-15.848,40.793 c0,0.078-0.003,0.156-0.003,0.236c0,15.848,5.827,30.302,15.851,41.022c10.025,10.493,23.776,17.02,39.626,17.02 c11.525,0,21.908-3.648,30.702-9.814c0.041,5.403,4.475,9.814,9.889,9.814h5.001c5.438,0,9.889-4.453,9.889-9.889V57.998 C694.11,52.558,689.659,48.106,684.222,48.106z M669.332,108.907c-0.511,8.608-3.878,16.147-9.023,21.723 c-5.595,5.826-13.519,9.089-21.68,9.089c-8.391,0-16.315-3.263-21.679-9.089c-5.594-6.063-8.855-14.453-8.855-24.009 c0-0.08,0-0.158,0.003-0.236c0.051-9.691,3.305-17.993,8.852-23.777c5.363-6.293,13.288-9.556,21.679-9.556 c8.16,0,16.085,3.263,21.68,9.556c5.145,5.357,8.512,12.886,9.023,21.672v2.106V108.907z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M470.419,48.106h-5c-5.438,0-9.891,4.451-9.891,9.892v96.776c0,5.436,4.452,9.889,9.891,9.889h5 c5.439,0,9.889-4.453,9.889-9.889V57.998C480.308,52.558,475.857,48.106,470.419,48.106z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M433.659,106.385c-0.124-31.832-25.25-58.278-56.643-58.278c-11.422,0-22.608,3.731-31.234,9.792 l-0.008-46.522c0-5.437-4.448-9.889-9.888-9.889h-0.003h-4.998h-0.001c-5.439,0-9.889,4.452-9.889,9.889v143.398 c0,5.436,4.449,9.889,9.889,9.889h0.001h4.998h0.003c5.382,0,9.792-4.359,9.884-9.717c8.785,5.886,19.79,9.717,31.246,9.717 c31.471,0,56.647-26.575,56.647-58.042C433.662,106.541,433.659,106.463,433.659,106.385z M398.928,129.696 c-5.827,6.06-13.52,9.559-21.912,9.559c-8.623,0-16.084-3.499-21.911-9.559c-5.827-5.827-9.323-14.22-9.323-23.075 c0-0.08,0.001-0.158,0.001-0.236c0.059-9.232,3.542-17.532,9.322-23.311c5.827-6.06,13.288-9.559,21.911-9.559 c8.393,0,16.085,3.499,21.912,9.559c5.78,5.778,9.264,14.079,9.323,23.311c0,0.078,0.002,0.156,0.002,0.236 C408.253,115.477,404.758,123.869,398.928,129.696z"></path> <path fill="currentcolor" class="ambita-logo__svg__path" d="M565.793,48.106h-15.241v-36.73c0-5.437-4.45-9.889-9.889-9.889h-5.001 c-5.438,0-9.889,4.452-9.889,9.889v36.73h-15.241c-5.44,0-9.889,4.451-9.889,9.892v4.999c0,5.439,4.449,9.89,9.889,9.89h15.241 v81.888c0,5.436,4.451,9.889,9.889,9.889h5.001c5.438,0,9.889-4.453,9.889-9.889V72.887h15.241c5.44,0,9.889-4.45,9.889-9.89 v-4.999C575.682,52.558,571.233,48.106,565.793,48.106z"></path> <circle fill="currentcolor" class="ambita-logo__svg__path" cx="467.919" cy="13.877" r="13.878"></circle> </svg>
@@ -0,0 +1,65 @@
1
+ @import './colors-scss-variables';
2
+
3
+ /* Do not use if you need IE11 support */
4
+ :root {
5
+ /* Purple */
6
+ --aux-purple: #{$aux-purple};
7
+ --aux-purple-1: #{$aux-purple-1};
8
+ --aux-purple-2: #{$aux-purple-2};
9
+ --aux-purple-3: #{$aux-purple-3};
10
+ --aux-purple-4: #{$aux-purple-4};
11
+ --aux-purple-5: #{$aux-purple-5};
12
+ --aux-purple-6: #{$aux-purple-6};
13
+ --aux-purple-7: #{$aux-purple-7};
14
+ --aux-purple-8: #{$aux-purple-8};
15
+
16
+ /* Dark Purple */
17
+ --aux-dark-purple: #{$aux-dark-purple};
18
+ --aux-dark-purple-1: #{$aux-dark-purple-1};
19
+ --aux-dark-purple-2: #{$aux-dark-purple-2};
20
+ --aux-dark-purple-3: #{$aux-dark-purple-3};
21
+ --aux-dark-purple-4: #{$aux-dark-purple-4};
22
+ --aux-dark-purple-5: #{$aux-dark-purple-5};
23
+ --aux-dark-purple-6: #{$aux-dark-purple-6};
24
+ --aux-dark-purple-7: #{$aux-dark-purple-7};
25
+ --aux-dark-purple-8: #{$aux-dark-purple-8};
26
+
27
+ /* Mint green */
28
+ --aux-mint: #{$aux-mint};
29
+ --aux-mint-1: #{$aux-mint-1};
30
+ --aux-mint-2: #{$aux-mint-2};
31
+ --aux-mint-3: #{$aux-mint-3};
32
+ --aux-mint-4: #{$aux-mint-4};
33
+ --aux-mint-5: #{$aux-mint-5};
34
+ --aux-mint-6: #{$aux-mint-6};
35
+ --aux-mint-7: #{$aux-mint-7};
36
+ --aux-mint-8: #{$aux-mint-8};
37
+
38
+ /* Grey */
39
+ --aux-grey-1: #{$aux-grey-1};
40
+ --aux-grey-2: #{$aux-grey-2};
41
+ --aux-grey-3: #{$aux-grey-3};
42
+ --aux-grey-4: #{$aux-grey-4};
43
+ --aux-grey-5: #{$aux-grey-5};
44
+ --aux-grey-6: #{$aux-grey-6};
45
+
46
+ /* Supports */
47
+ --aux-red: #{$aux-red};
48
+ --aux-red-1: #{$aux-red-1};
49
+
50
+ --aux-blue: #{$aux-blue};
51
+ --aux-blue-2: #{$aux-blue-2};
52
+
53
+ --aux-yellow: #{$aux-yellow};
54
+ --aux-yellow-1: #{$aux-yellow-1};
55
+ --aux-yellow-2: #{$aux-yellow-2};
56
+
57
+ --aux-green: #{$aux-green};
58
+ --aux-white: #{$aux-white};
59
+ --aux-black: #{$aux-black};
60
+ --aux-focus: #{$aux-focus};
61
+
62
+ /* Borders */
63
+ --aux-border-1-grey-1: 1px solid #{$aux-grey-1};
64
+ --aux-border-2-grey-1: 2px solid #{$aux-grey-1};
65
+ }
@@ -0,0 +1,60 @@
1
+ // Purple
2
+ $aux-purple: #8237dc;
3
+ $aux-purple-1: #e6d7f8;
4
+ $aux-purple-2: #cdaff1;
5
+ $aux-purple-3: #b487ea;
6
+ $aux-purple-4: #9b5fe3;
7
+ $aux-purple-5: #682cb0;
8
+ $aux-purple-6: #4e2184;
9
+ $aux-purple-7: #341658;
10
+ $aux-purple-8: #1a0b2c;
11
+
12
+ // Dark Purple
13
+ $aux-dark-purple: #360076;
14
+ $aux-dark-purple-1: #d8cde6;
15
+ $aux-dark-purple-2: #b098c6;
16
+ $aux-dark-purple-3: #8666ac;
17
+ $aux-dark-purple-4: #5f3591;
18
+ $aux-dark-purple-5: #2d1c5b;
19
+ $aux-dark-purple-6: #200e47;
20
+ $aux-dark-purple-7: #1a0f2e;
21
+ $aux-dark-purple-8: #110b18;
22
+
23
+ // Mint
24
+ $aux-mint: #34d9c3;
25
+ $aux-mint-1: #d8efee;
26
+ $aux-mint-2: #b5e1dd;
27
+ $aux-mint-3: #93d4d0;
28
+ $aux-mint-4: #72cac3;
29
+ $aux-mint-5: #26ae9b;
30
+ $aux-mint-6: #218376;
31
+ $aux-mint-7: #14584e;
32
+ $aux-mint-8: #0a2b26;
33
+
34
+ // Grey
35
+ $aux-grey-1: #e1e1e1;
36
+ $aux-grey-2: #d2d2d2;
37
+ $aux-grey-3: #bebebe;
38
+ $aux-grey-4: #afafaf;
39
+ $aux-grey-5: #555555;
40
+ $aux-grey-6: #333333;
41
+
42
+ // Supports
43
+ $aux-red: #ac1631;
44
+ $aux-red-1: #ffe5e5;
45
+
46
+ $aux-blue: #0067a3;
47
+ $aux-blue-2: #c2e0f2;
48
+
49
+ $aux-yellow: #ecd025;
50
+ $aux-yellow-1: #fff3a8;
51
+ $aux-yellow-2: #f2c94c;
52
+
53
+ $aux-green: #5cb85c;
54
+ $aux-white: #fff;
55
+ $aux-black: #000;
56
+ $aux-focus: #003eff;
57
+
58
+ // Borders
59
+ $aux-border-1-grey-1: 1px solid $aux-grey-1;
60
+ $aux-border-2-grey-1: 2px solid $aux-grey-1;
@@ -0,0 +1,147 @@
1
+ $aux-focus-indicator-style:
2
+ 0 0 0 3px $aux-white,
3
+ 0 0 0 6px $aux-focus;
4
+
5
+ @mixin aux-focus-indicator {
6
+ & {
7
+ outline: none;
8
+ }
9
+
10
+ /**
11
+ * Safari does not support :focus-visible.
12
+ * Merging the rules below will break the
13
+ * focus functionality.
14
+ */
15
+ &:focus {
16
+ box-shadow: $aux-focus-indicator-style;
17
+ }
18
+
19
+ &:focus-visible {
20
+ /* This has to be slightly different from the focus rule above. */
21
+ box-shadow:
22
+ $aux-focus-indicator-style,
23
+ 0 0 0 0px transparent;
24
+ }
25
+
26
+ .aux-validation-wrapper--haserror &:focus-visible {
27
+ /* This has to be slightly different from the focus rule above. */
28
+ box-shadow:
29
+ 0 0 0px 1px $aux-red,
30
+ $aux-focus-indicator-style,
31
+ 0 0 0 0px transparent;
32
+ }
33
+
34
+ &:focus:not(:focus-visible) {
35
+ box-shadow: none;
36
+ }
37
+ }
38
+
39
+ @mixin aux-visually-hidden {
40
+ clip: rect(0 0 0 0);
41
+ clip-path: inset(100%);
42
+ height: 1px;
43
+ overflow: hidden;
44
+ position: absolute;
45
+ white-space: nowrap;
46
+ width: 1px;
47
+ }
48
+
49
+ @mixin aux-sr-only {
50
+ &:not(:focus):not(:active) {
51
+ @include aux-visually-hidden;
52
+ }
53
+ }
54
+
55
+ @mixin aux-input-error {
56
+ .aux-validation-wrapper--haserror & {
57
+ border-color: $aux-red;
58
+ box-shadow: 0 0 0px 1px $aux-red;
59
+ }
60
+ }
61
+
62
+ @mixin aux-input-radio-checkbox-error {
63
+ .aux-validation-wrapper--haserror input + label::before {
64
+ border-color: $aux-red;
65
+ box-shadow: 0 0 0px 1px $aux-red;
66
+ }
67
+
68
+ .aux-validation-wrapper--haserror input:focus-visible + label::before {
69
+ box-shadow:
70
+ 0 0 0px 1px $aux-red,
71
+ $aux-focus-indicator-style;
72
+ }
73
+
74
+ .aux-validation-wrapper--haserror .aux-card-layout::before {
75
+ border-color: $aux-red;
76
+ box-shadow: 0 0 0px 1px $aux-red;
77
+ }
78
+ }
79
+
80
+ @mixin aux-card-layout {
81
+ cursor: pointer;
82
+ display: block;
83
+ padding-bottom: 11px;
84
+ padding-top: 15px;
85
+ padding-left: 47px;
86
+ padding-right: 15px;
87
+ box-shadow: 0 2px 5px $aux-grey-4;
88
+ width: fit-content;
89
+ width: 100%;
90
+ border-radius: 3px;
91
+ position: relative;
92
+ font-family: ff-din-round-web, sans-serif;
93
+
94
+ &::before {
95
+ content: '';
96
+ width: 20px;
97
+ height: 20px;
98
+ display: block;
99
+ border: 1px solid $aux-grey-5;
100
+ background: $aux-white;
101
+ position: absolute;
102
+ left: 15px;
103
+ cursor: pointer;
104
+ }
105
+
106
+ & + .aux-card-layout {
107
+ margin-top: 10px;
108
+ }
109
+
110
+ &--selected {
111
+ background: $aux-mint-1;
112
+ outline: 1px solid $aux-mint-6;
113
+ }
114
+
115
+ &--disabled {
116
+ cursor: default;
117
+
118
+ &::before {
119
+ cursor: default;
120
+ background: $aux-grey-3;
121
+ border: 1px solid $aux-grey-3;
122
+ }
123
+ }
124
+
125
+ &:not(.aux-card-layout--disabled):hover {
126
+ color: $aux-dark-purple;
127
+ &::before {
128
+ border-color: $aux-dark-purple;
129
+ }
130
+ }
131
+
132
+ &:not(.aux-card-layout--selected):not(.aux-card-layout--disabled):hover::before {
133
+ background-color: $aux-mint-1;
134
+ }
135
+
136
+ &:has(:focus-visible) {
137
+ box-shadow: $aux-focus-indicator-style;
138
+ }
139
+
140
+ & input {
141
+ @include aux-visually-hidden;
142
+ }
143
+ }
144
+
145
+ @mixin aux-card-layout--box-shadow {
146
+ box-shadow: 0 2px 5px $aux-grey-4;
147
+ }