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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "project-booster-vue",
3
- "version": "8.112.5",
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.1",
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
+ }
@@ -31,6 +31,7 @@
31
31
  @import './_s.headings.scss';
32
32
  @import '../common/layout/spacing';
33
33
  @import '../common/layout/ratio';
34
+ @import '../common/layout/color';
34
35
  @import '../common/layout/screens';
35
36
  @import 'utilities/_u.margin';
36
37
  @import 'utilities/_u.padding';
@@ -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: 'light',
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: 'light' },
242
+ payload: { ...DEFAULT_PAYLOAD, theme: 'colored' },
243
243
  }}
244
244
  >
245
245
  {TemplateSandbox.bind({})}
@@ -102,7 +102,7 @@ export default {
102
102
  */
103
103
  theme: {
104
104
  type: String,
105
- default: 'colored',
105
+ default: 'light',
106
106
  validator: (value) => {
107
107
  return ['colored', 'light'].indexOf(value) !== -1;
108
108
  },