@nuskin/product-components 3.18.2-gms-11721.1 → 3.18.2-gms-12518.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/.releaserc
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
</div>
|
|
29
29
|
<template #custom>
|
|
30
30
|
<input
|
|
31
|
-
ref="
|
|
31
|
+
ref="autoFocusInput"
|
|
32
32
|
v-model.number="quantityInput"
|
|
33
33
|
:class="[$style.customInput, { [$style.small]: size === 'small' }]"
|
|
34
34
|
type="number"
|
|
@@ -171,6 +171,17 @@ export default {
|
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
173
|
},
|
|
174
|
+
mounted() {
|
|
175
|
+
this.$nextTick(() => {
|
|
176
|
+
const input = this.$refs.autoFocusInput;
|
|
177
|
+
if (input && input.focus) {
|
|
178
|
+
input.focus();
|
|
179
|
+
} else {
|
|
180
|
+
const fallbackInput = this.$el.querySelector("input");
|
|
181
|
+
if (fallbackInput) fallbackInput.focus();
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
},
|
|
174
185
|
methods: {
|
|
175
186
|
/**
|
|
176
187
|
* Disables input
|
package/docs/CHANGELOG.md
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
## [3.18.2-gms-
|
|
1
|
+
## [3.18.2-gms-12518.1](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.18.1...v3.18.2-gms-12518.1) (2025-06-24)
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"bomFormat": "CycloneDX",
|
|
3
3
|
"specVersion": "1.4",
|
|
4
|
-
"serialNumber": "urn:uuid:
|
|
4
|
+
"serialNumber": "urn:uuid:80e4d1a3-aa12-4fb8-84eb-5fb922df8178",
|
|
5
5
|
"version": 1,
|
|
6
6
|
"metadata": {
|
|
7
|
-
"timestamp": "2025-
|
|
7
|
+
"timestamp": "2025-06-24T15:58:43Z",
|
|
8
8
|
"tools": [
|
|
9
9
|
{
|
|
10
10
|
"vendor": "GitLab",
|
|
11
11
|
"name": "Gemnasium",
|
|
12
|
-
"version": "5.9.
|
|
12
|
+
"version": "5.9.4"
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"authors": [
|
package/mixins/NsProductMixin.js
CHANGED
|
@@ -1082,7 +1082,7 @@ const NsProductMixin = {
|
|
|
1082
1082
|
isBaseSku: this.isBaseSku,
|
|
1083
1083
|
isVariantSku: this.isVariantSku,
|
|
1084
1084
|
addToCart: !this.disableAddToCart,
|
|
1085
|
-
addToAdr: !this.
|
|
1085
|
+
addToAdr: !this.disableAddToCart,
|
|
1086
1086
|
selectedQuantity: Number(this.selectedQuantity),
|
|
1087
1087
|
maxQuantity: this.maxQuantity,
|
|
1088
1088
|
originalPrice: this.originalPrice,
|