project-booster-vue 8.112.5 → 8.113.3
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 +2 -2
- package/src/assets/styles/common/layout/_color.scss +35 -0
- package/src/assets/styles/kozikaza/pb-variables.scss +1 -0
- package/src/assets/styles/lm/pb-variables.scss +1 -0
- package/src/components/question/PbQuestion.vue +1 -0
- package/src/components/restitution/PbRestitution.stories.mdx +2 -2
- package/src/components/restitution/PbRestitution.vue +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "project-booster-vue",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.113.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"test:unit": "vue-cli-service test:unit --forceExit --detectOpenHandles",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"velocity-animate": "1.5.2",
|
|
57
57
|
"vue": "3.2.21",
|
|
58
58
|
"vue-router": "4.0.12",
|
|
59
|
-
"vue3-cookies": "1.0.
|
|
59
|
+
"vue3-cookies": "1.0.6",
|
|
60
60
|
"vuex": "4.0.2",
|
|
61
61
|
"vuexfire": "3.2.5",
|
|
62
62
|
"yarn": "1.22.10",
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
|
|
2
|
+
$themes: (
|
|
3
|
+
'primary-01',
|
|
4
|
+
'primary-02',
|
|
5
|
+
'grey',
|
|
6
|
+
'secondary-blue',
|
|
7
|
+
'secondary-green',
|
|
8
|
+
'secondary-purple',
|
|
9
|
+
'secondary-red',
|
|
10
|
+
'secondary-orange',
|
|
11
|
+
'secondary-yellow',
|
|
12
|
+
'danger',
|
|
13
|
+
'info',
|
|
14
|
+
'warning',
|
|
15
|
+
'success'
|
|
16
|
+
);
|
|
17
|
+
|
|
18
|
+
$colors: get-token(color);
|
|
19
|
+
|
|
20
|
+
@each $theme in $themes {
|
|
21
|
+
@if map-has-key($colors, $theme) {
|
|
22
|
+
@each $weight, $color in map-get($colors, $theme){
|
|
23
|
+
.pb-bg-#{$theme}-#{$weight}{
|
|
24
|
+
background-color:$color
|
|
25
|
+
}
|
|
26
|
+
.pb-text-#{$theme}-#{$weight}{
|
|
27
|
+
color:$color
|
|
28
|
+
}
|
|
29
|
+
.pb-border-#{$theme}-#{$weight}{
|
|
30
|
+
border-color:$color
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
}
|
|
@@ -5,6 +5,7 @@ $local-config: (
|
|
|
5
5
|
@import 'settings-tools/_all-settings';
|
|
6
6
|
@import '../common/layout/spacing';
|
|
7
7
|
@import '../common/layout/ratio';
|
|
8
|
+
@import '../common/layout/color';
|
|
8
9
|
@import '../common/layout/screens';
|
|
9
10
|
@import 'utilities/_u.margin';
|
|
10
11
|
@import 'utilities/_u.padding';
|
|
@@ -554,6 +554,7 @@ export default {
|
|
|
554
554
|
});
|
|
555
555
|
},
|
|
556
556
|
skipQuestion(button) {
|
|
557
|
+
this.initAnswersSelectedState(this.payload.answers);
|
|
557
558
|
this.$emit(this.completedEventName, {
|
|
558
559
|
answers: button.defaultAnswer ? [button.defaultAnswer] : [],
|
|
559
560
|
nextStep: this.computeNextStep(button.nextStep),
|
|
@@ -228,7 +228,7 @@ Restitution theming can be achieved with the `theme` prop or thanks to the `payl
|
|
|
228
228
|
name="Features/Theming with theme prop"
|
|
229
229
|
args={{
|
|
230
230
|
payload: DEFAULT_PAYLOAD,
|
|
231
|
-
theme: '
|
|
231
|
+
theme: 'colored',
|
|
232
232
|
}}
|
|
233
233
|
>
|
|
234
234
|
{TemplateSandbox.bind({})}
|
|
@@ -239,7 +239,7 @@ Restitution theming can be achieved with the `theme` prop or thanks to the `payl
|
|
|
239
239
|
<Story
|
|
240
240
|
name="Features/Theming with payload prop"
|
|
241
241
|
args={{
|
|
242
|
-
payload: { ...DEFAULT_PAYLOAD, theme: '
|
|
242
|
+
payload: { ...DEFAULT_PAYLOAD, theme: 'colored' },
|
|
243
243
|
}}
|
|
244
244
|
>
|
|
245
245
|
{TemplateSandbox.bind({})}
|