@saooti/octopus-sdk 30.0.21 → 30.0.22

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/README.md CHANGED
@@ -518,4 +518,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
518
518
  * 30.0.18 Responsive select
519
519
  * 30.0.19 Mise à jour Api
520
520
  * 30.0.20 Petit refacto commentaires
521
- * 30.0.21 #10701 & #10698
521
+ * 30.0.21 #10701 & #10698
522
+ * 30.0.22 Accessibilité
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "30.0.21",
3
+ "version": "30.0.22",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -40,30 +40,7 @@
40
40
  border-radius: 50px;
41
41
  height: auto;
42
42
  border: 0;
43
- color: white !important;
44
- &:focus,
45
- &:hover {
46
- background:$octopus-third-color;
47
- background: -moz-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
48
- background: -webkit-gradient(left top, right bottom, color-stop(0%, $octopus-third-color), color-stop(100%, $octopus-primary-color));
49
- background: -webkit-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
50
- background: -o-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
51
- background: -ms-linear-gradient(-45deg, $octopus-third-color 0%, $octopus-primary-color 100%);
52
- background: linear-gradient(135deg, $octopus-third-color 0%, $octopus-primary-color 100%);
53
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d6d91f', endColorstr='#4fcf91', GradientType=1 );
54
- border: 0;
55
- }
56
- &:active,
57
- &.active {
58
- background: darken($octopus-primary-color, 4%);
59
- border-color: darken($octopus-primary-color, 7%);
60
- }
61
- }
62
- &.btn-light{
63
- color: $octopus-primary-color;
64
- background: transparent;
65
- }
66
- &.btn-auth{
43
+ color: black !important;
67
44
  &:focus,
68
45
  &:hover {
69
46
  background:$octopus-third-color;
@@ -98,8 +75,12 @@
98
75
  }
99
76
 
100
77
  &.btn-link {
101
- background: $octopus-secondary-color;
102
- color: $octopus-primary-color;
78
+ display: flex;
79
+ align-items: center;
80
+ justify-content: center;
81
+ background: $octopus-primary-color;
82
+ border: 2px solid $octopus-primary-color;
83
+ color: white;
103
84
  font-weight: bold;
104
85
  margin: 2rem;
105
86
  width: fit-content;
@@ -108,37 +89,14 @@
108
89
  &:hover,
109
90
  &:active,
110
91
  &.active {
111
- background: darken($octopus-secondary-color, 5%);
112
- color: $octopus-primary-color;
92
+ background: transparent;
93
+ color: $octopus-primary-color;
113
94
  }
114
95
  @media (max-width: 500px){
115
96
  margin: 0.3rem;
116
97
  }
117
98
  }
118
-
119
- &.btn-link-plus {
120
- padding: 8px 16px;
121
- font-size: 0.8rem;
122
- border-radius: 50px;
123
- background-color: #ddd;
124
- color: #000;
125
- box-shadow: none;
126
- display: flex;
127
- border: 1px solid transparent;
128
- .saooti-plus{
129
- line-height: 1.5 !important;
130
- margin-left: 5px;
131
- }
132
- &:focus,
133
- &:hover,
134
- &:active,
135
- &.active {
136
- background: $octopus-primary-color;
137
- color: white;
138
- border: 1px solid $octopus-primary-color;
139
- }
140
- }
141
-
99
+
142
100
  &.btn-more{
143
101
  background: $octopus-primary-color;
144
102
  color: $octopus-background;
@@ -1,5 +1,8 @@
1
1
  <template>
2
- <div class="mt-3" v-if="isDisplay">
2
+ <div
3
+ v-if="isDisplay"
4
+ class="mt-3"
5
+ >
3
6
  <nav
4
7
  v-if="categoryFilter || rubriqueFilter.length"
5
8
  title="breadcrumb"
@@ -41,7 +41,7 @@
41
41
  <button
42
42
  v-show="!allFetched"
43
43
  class="btn"
44
- :class="buttonPlus ? 'btn-link-plus' : 'btn-more'"
44
+ :class="buttonPlus ? 'btn-link' : 'btn-more'"
45
45
  :disabled="loading"
46
46
  :title="$t('See more')"
47
47
  @click="fetchContent(false)"
@@ -49,7 +49,10 @@
49
49
  <template v-if="buttonPlus">
50
50
  {{ $t('See more') }}
51
51
  </template>
52
- <div class="saooti-plus" />
52
+ <div
53
+ :class="buttonPlus?'ms-1':''"
54
+ class="saooti-plus"
55
+ />
53
56
  </button>
54
57
  </template>
55
58
  </div>
@@ -16,7 +16,7 @@
16
16
  <button
17
17
  v-show="!allFetched"
18
18
  class="btn"
19
- :class="buttonPlus ? 'btn-link-plus mt-3' : 'btn-more'"
19
+ :class="buttonPlus ? 'btn-link mt-3' : 'btn-more'"
20
20
  :disabled="inFetching"
21
21
  :title="$t('See more')"
22
22
  @click="displayMore"
@@ -24,7 +24,10 @@
24
24
  <template v-if="buttonPlus">
25
25
  {{ $t('See more') }}
26
26
  </template>
27
- <div class="saooti-plus" />
27
+ <div
28
+ :class="buttonPlus?'ms-1':''"
29
+ class="saooti-plus"
30
+ />
28
31
  </button>
29
32
  </div>
30
33
  </template>
@@ -19,7 +19,7 @@
19
19
  <button
20
20
  v-show="!allFetched && loaded"
21
21
  class="btn"
22
- :class="buttonPlus ? 'btn-link-plus':'btn-more'"
22
+ :class="buttonPlus ? 'btn-link':'btn-more'"
23
23
  :disabled="inFetching"
24
24
  :title="$t('See more')"
25
25
  @click="displayMore"
@@ -27,7 +27,10 @@
27
27
  <template v-if="buttonPlus">
28
28
  {{ $t('See more') }}
29
29
  </template>
30
- <div class="saooti-plus" />
30
+ <div
31
+ :class="buttonPlus?'ms-1':''"
32
+ class="saooti-plus"
33
+ />
31
34
  </button>
32
35
  </div>
33
36
  </template>
@@ -40,14 +40,17 @@
40
40
  <button
41
41
  v-show="size < podcasts.length && loaded"
42
42
  class="btn"
43
- :class="buttonPlus ? 'btn-link-plus':'btn-more'"
43
+ :class="buttonPlus ? 'btn-link':'btn-more'"
44
44
  :title="$t('See more')"
45
45
  @click="displayMore"
46
46
  >
47
47
  <template v-if="buttonPlus">
48
48
  {{ $t('See more') }}
49
49
  </template>
50
- <div class="saooti-plus" />
50
+ <div
51
+ :class="buttonPlus?'ms-1':''"
52
+ class="saooti-plus"
53
+ />
51
54
  </button>
52
55
  </div>
53
56
  </template>
@@ -63,13 +63,13 @@
63
63
  </transition-group>
64
64
  <router-link
65
65
  class="btn btn-link"
66
- :class="buttonPlus ? 'btn-link-plus' : ''"
66
+ :class="buttonPlus ? 'btn-link' : ''"
67
67
  :to="refTo"
68
68
  >
69
69
  {{ buttonText }}
70
70
  <div
71
71
  v-if="buttonPlus"
72
- class="saooti-plus"
72
+ class="ms-1 saooti-plus"
73
73
  />
74
74
  </router-link>
75
75
  </div>
@@ -23,7 +23,7 @@
23
23
  <button
24
24
  v-show="!allFetched && loaded"
25
25
  class="btn"
26
- :class="buttonPlus ? 'btn-link-plus' : 'btn-more'"
26
+ :class="buttonPlus ? 'btn-link' : 'btn-more'"
27
27
  :disabled="inFetching"
28
28
  :title="$t('See more')"
29
29
  @click="displayMore"
@@ -31,7 +31,10 @@
31
31
  <template v-if="buttonPlus">
32
32
  {{ $t('See more') }}
33
33
  </template>
34
- <div class="saooti-plus" />
34
+ <div
35
+ :class="buttonPlus?'ms-1':''"
36
+ class="saooti-plus"
37
+ />
35
38
  </button>
36
39
  </div>
37
40
  </template>
@@ -32,7 +32,7 @@
32
32
  >
33
33
  <button
34
34
  v-if="canceltext"
35
- class="btn btn-light m-1"
35
+ class="btn m-1"
36
36
  @click="onCancel"
37
37
  >
38
38
  {{ canceltext }}