@asd20/ui 3.2.362 → 3.2.365
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/package.json +1 -1
- package/src/components/organisms/Asd20PageFooter/index.vue +1 -0
- package/src/components/organisms/Asd20SchoolHomepageVideoHeader/index.vue +4 -4
- package/src/components/organisms/Asd20VideoHeader/index.vue +2 -2
- package/src/components/templates/Asd20SalaryCalculatorTemplate/index.stories.js +58 -0
- package/src/components/templates/Asd20SalaryCalculatorTemplate/index.vue +733 -0
- package/src/components/templates/Asd20SchoolHomeTemplate/index.vue +1 -1
- package/src/data/page-queries/salary-calculator-page-result.json +2566 -0
- package/src/data/page-queries/school-home-page-query-result.json +1 -1
package/package.json
CHANGED
|
@@ -196,7 +196,7 @@ export default {
|
|
|
196
196
|
h1 {
|
|
197
197
|
position: relative;
|
|
198
198
|
font-size: 32px !important;
|
|
199
|
-
color:
|
|
199
|
+
color: #ffffff !important;
|
|
200
200
|
margin: space(3) space(1) space(1) space(1);
|
|
201
201
|
z-index: 1;
|
|
202
202
|
border-bottom: 5px solid var(--color__accent);
|
|
@@ -206,7 +206,7 @@ export default {
|
|
|
206
206
|
&__lead {
|
|
207
207
|
position: relative;
|
|
208
208
|
z-index: 1;
|
|
209
|
-
color:
|
|
209
|
+
color: #f6f6f6 !important;
|
|
210
210
|
@include asd20-font(1, var(--website-typography__font-family-body));
|
|
211
211
|
margin: space(-0.5) space(2) space(1) space(1);
|
|
212
212
|
a {
|
|
@@ -251,7 +251,7 @@ export default {
|
|
|
251
251
|
}
|
|
252
252
|
}
|
|
253
253
|
.scroll-down-indicator {
|
|
254
|
-
position:
|
|
254
|
+
position: absolute;
|
|
255
255
|
z-index: 3;
|
|
256
256
|
text-transform: uppercase;
|
|
257
257
|
display: none;
|
|
@@ -262,7 +262,7 @@ export default {
|
|
|
262
262
|
font-weight: 400;
|
|
263
263
|
color: transparent;
|
|
264
264
|
bottom: 15vh;
|
|
265
|
-
left:
|
|
265
|
+
left: 45%;
|
|
266
266
|
&::before {
|
|
267
267
|
content: '';
|
|
268
268
|
position: absolute;
|
|
@@ -135,7 +135,7 @@ export default {
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
.scroll-down-indicator {
|
|
138
|
-
position:
|
|
138
|
+
position: absolute;
|
|
139
139
|
z-index: 3;
|
|
140
140
|
text-transform: uppercase;
|
|
141
141
|
display: none;
|
|
@@ -146,7 +146,7 @@ export default {
|
|
|
146
146
|
font-weight: 400;
|
|
147
147
|
color: transparent;
|
|
148
148
|
bottom: 15vh;
|
|
149
|
-
left:
|
|
149
|
+
left: 45%;
|
|
150
150
|
&::before {
|
|
151
151
|
content: '';
|
|
152
152
|
position: absolute;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { storiesOf } from '@storybook/vue'
|
|
2
|
+
import { withKnobs, boolean } from '@storybook/addon-knobs'
|
|
3
|
+
|
|
4
|
+
import mockPageMixin from '../../../mixins/mockPageMixin'
|
|
5
|
+
|
|
6
|
+
import Asd20SalaryCalculatorTemplate from '.'
|
|
7
|
+
import pageQueryResult from '../../../data/page-queries/salary-calculator-page-result.json'
|
|
8
|
+
import notifications from '../../../data/messages/notifications'
|
|
9
|
+
|
|
10
|
+
const info = {
|
|
11
|
+
summary: 'Salary Calculator Template',
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
const wrapper = {
|
|
15
|
+
mixins: [mockPageMixin],
|
|
16
|
+
components: {
|
|
17
|
+
Asd20SalaryCalculatorTemplate,
|
|
18
|
+
},
|
|
19
|
+
|
|
20
|
+
data: () => ({ pageQueryResult }),
|
|
21
|
+
|
|
22
|
+
computed: {
|
|
23
|
+
activeNotificationsByType() {
|
|
24
|
+
const empty = {
|
|
25
|
+
inline: [],
|
|
26
|
+
banner: [],
|
|
27
|
+
floating: [],
|
|
28
|
+
status: [],
|
|
29
|
+
}
|
|
30
|
+
return boolean('Show Notifications', false)
|
|
31
|
+
? notifications || empty
|
|
32
|
+
: empty
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const stories = storiesOf('Templates - Asd20SalaryCalculatorTemplate', module)
|
|
38
|
+
stories.addDecorator(withKnobs)
|
|
39
|
+
|
|
40
|
+
stories.add(
|
|
41
|
+
'Default',
|
|
42
|
+
() => ({
|
|
43
|
+
...wrapper,
|
|
44
|
+
template: `
|
|
45
|
+
<Asd20SalaryCalculatorTemplate
|
|
46
|
+
v-bind="templateProps"
|
|
47
|
+
:menu-open.sync="menuOpen"
|
|
48
|
+
:search-open.sync="searchOpen"
|
|
49
|
+
|
|
50
|
+
@announcements-in-view="loadAnnouncements"
|
|
51
|
+
@stories-in-view="loadStories"
|
|
52
|
+
@events-in-view="loadEvents"
|
|
53
|
+
@files-in-view="loadFiles"
|
|
54
|
+
|
|
55
|
+
/>`,
|
|
56
|
+
}),
|
|
57
|
+
{ info }
|
|
58
|
+
)
|