@nuskin/product-components 3.18.2-gms-12518.3 → 3.18.2-gms-12518.5

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.
@@ -28,7 +28,7 @@
28
28
  </div>
29
29
  <template #custom>
30
30
  <input
31
- ref="autoFocusInput"
31
+ ref="quantityInput"
32
32
  v-model.number="quantityInput"
33
33
  :class="[$style.customInput, { [$style.small]: size === 'small' }]"
34
34
  type="number"
@@ -171,6 +171,9 @@ export default {
171
171
  }
172
172
  }
173
173
  },
174
+ mounted() {
175
+ this.blurAllQuantityInputs();
176
+ },
174
177
  methods: {
175
178
  /**
176
179
  * Disables input
@@ -242,7 +245,7 @@ export default {
242
245
  // this.$refs.input.select();
243
246
  // }, 100);
244
247
  this.$nextTick(() => {
245
- if (!this.isMobile()) {
248
+ if (!this.isMobileDevice()) {
246
249
  this.$refs.input.focus();
247
250
  this.$refs.input.select();
248
251
  } else {
@@ -270,6 +273,12 @@ export default {
270
273
  return (
271
274
  itemQty >= this.dropdownMax && this.maxAvailable > this.dropdownMax
272
275
  );
276
+ },
277
+ blurAllQuantityInputs() {
278
+ const inputs = document.querySelectorAll(
279
+ 'input[type="number"].quamtity-input'
280
+ );
281
+ inputs.forEach(input => input.blur());
273
282
  }
274
283
  }
275
284
  };
package/docs/CHANGELOG.md CHANGED
@@ -1 +1 @@
1
- ## [3.18.2-gms-12518.3](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.18.2-gms-12518.2...v3.18.2-gms-12518.3) (2025-06-27)
1
+ ## [3.18.2-gms-12518.5](https://code.tls.nuskin.io/ns-am/ux/product-components/compare/v3.18.2-gms-12518.4...v3.18.2-gms-12518.5) (2025-07-02)
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "bomFormat": "CycloneDX",
3
3
  "specVersion": "1.4",
4
- "serialNumber": "urn:uuid:757a0460-d508-4597-87cf-3ad7b1c21d06",
4
+ "serialNumber": "urn:uuid:b5041616-03a5-40a2-883f-731b1a8931b4",
5
5
  "version": 1,
6
6
  "metadata": {
7
- "timestamp": "2025-06-27T15:50:09Z",
7
+ "timestamp": "2025-07-02T04:57:15Z",
8
8
  "tools": [
9
9
  {
10
10
  "vendor": "GitLab",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuskin/product-components",
3
- "version": "3.18.2-gms-12518.3",
3
+ "version": "3.18.2-gms-12518.5",
4
4
  "description": "Nu Skin Product Components",
5
5
  "main": "index.js",
6
6
  "scripts": {