@nuskin/product-components 3.7.0 → 3.7.1
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/CHANGELOG.md +7 -0
- package/components/NsProductOffer.vue +2 -25
- package/cyclonedx-npm-yarn.json +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [3.7.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.7.0...v3.7.1) (2023-06-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Fix
|
|
5
|
+
|
|
6
|
+
* Remove add to bag button from product offer ([6e148ee](https://code.tls.nuskin.io/ns-am/ux/product-components/commit/6e148ee22ccee9ef463541b2f49c373ccc9fc97f))
|
|
7
|
+
|
|
1
8
|
# [3.7.0](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.6.7...v3.7.0) (2023-06-20)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -94,18 +94,7 @@
|
|
|
94
94
|
<span v-if="offerSavingsAfterHtml" v-html="offerSavingsAfterHtml" />
|
|
95
95
|
</div>
|
|
96
96
|
|
|
97
|
-
<!-- OFFER ACTION -->
|
|
98
|
-
<div :class="$style.offerAction">
|
|
99
|
-
<button
|
|
100
|
-
class="primary-solid fluid"
|
|
101
|
-
:class="$style.button"
|
|
102
|
-
:disabled="disableAddAll"
|
|
103
|
-
@click="addFullOfferToCart"
|
|
104
|
-
>
|
|
105
|
-
<NsIcon :class="$style.addToCartIcon" icon-name="icon-bag" />
|
|
106
|
-
{{ localTranslations.addAllItems }}
|
|
107
|
-
</button>
|
|
108
|
-
</div>
|
|
97
|
+
<!-- OFFER ACTION Vintas removed the Add to Bag button until the issue is fixed-->
|
|
109
98
|
</div>
|
|
110
99
|
|
|
111
100
|
<!-- OFFER PRODUCTS -->
|
|
@@ -169,17 +158,6 @@
|
|
|
169
158
|
</div>
|
|
170
159
|
|
|
171
160
|
<!-- OFFER ACTION -->
|
|
172
|
-
<div :class="$style.offerAction">
|
|
173
|
-
<button
|
|
174
|
-
class="primary-solid fluid"
|
|
175
|
-
:class="$style.button"
|
|
176
|
-
:disabled="disableAddAll"
|
|
177
|
-
@click="addFullOfferToCart"
|
|
178
|
-
>
|
|
179
|
-
<NsIcon :class="$style.addToCartIcon" icon-name="icon-bag" />
|
|
180
|
-
{{ localTranslations.addAllItems }}
|
|
181
|
-
</button>
|
|
182
|
-
</div>
|
|
183
161
|
</div>
|
|
184
162
|
</section>
|
|
185
163
|
</article>
|
|
@@ -203,7 +181,7 @@ import {
|
|
|
203
181
|
} from "@nuskin/ns-shop";
|
|
204
182
|
import { AccountService } from "@nuskin/ns-account";
|
|
205
183
|
import { isNullOrEmpty, isNumber } from "@nuskin/ns-common-lib";
|
|
206
|
-
import { NsSpinner
|
|
184
|
+
import { NsSpinner } from "@nuskin/design-components";
|
|
207
185
|
import { waitForConfig } from "../services/configHelper";
|
|
208
186
|
import debounce from "lodash/debounce";
|
|
209
187
|
|
|
@@ -214,7 +192,6 @@ export default {
|
|
|
214
192
|
name: "NsProductOffer",
|
|
215
193
|
components: {
|
|
216
194
|
NsSpinner,
|
|
217
|
-
NsIcon,
|
|
218
195
|
// eslint-disable-next-line vue/no-unused-components
|
|
219
196
|
NsCurrency,
|
|
220
197
|
NsProductCard
|
package/cyclonedx-npm-yarn.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bomFormat": "CycloneDX",
|
|
3
3
|
"specVersion": "1.4",
|
|
4
|
-
"serialNumber": "urn:uuid:
|
|
4
|
+
"serialNumber": "urn:uuid:edb32b2f-1b27-424f-90ef-1df7e4e82372",
|
|
5
5
|
"version": 1,
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2023-06-
|
|
7
|
+
"timestamp": "2023-06-20T16:17:10Z",
|
|
8
8
|
"tools": [
|
|
9
9
|
{
|
|
10
10
|
"vendor": "GitLab",
|