@gomusdev/web-components 4.16.0 → 4.17.0
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 +12 -0
- package/dist-js/gomus-webcomponents.iife.js +13 -9
- package/dist-js/gomus-webcomponents.js +13 -9
- package/dist-js/gomus-webcomponents.min.iife.js +14 -14
- package/dist-js/gomus-webcomponents.min.js +829 -828
- package/dist-js/src/config/configStore.svelte.d.ts +8 -0
- package/package.json +1 -1
|
@@ -18,6 +18,14 @@ export type ConfigOptions = {
|
|
|
18
18
|
* (default). Set to `false` to keep the legacy `<select>` control.
|
|
19
19
|
*/
|
|
20
20
|
quantityStepper?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* What the cart stepper's `−` does once a line is at its minimum quantity:
|
|
23
|
+
* `'remove'` (default) turns it into a remove control (`.go-quantity-stepper-remove`)
|
|
24
|
+
* that deletes the line; `'disable'` keeps a plain, disabled `−` — removal then goes
|
|
25
|
+
* through the line's ✕ button only, and a typed `0` clamps back to the minimum.
|
|
26
|
+
* Ticket selection and the legacy `<select>` are unaffected.
|
|
27
|
+
*/
|
|
28
|
+
quantityStepperAtMinimum?: 'remove' | 'disable';
|
|
21
29
|
};
|
|
22
30
|
declare class ConfigStoreSvelte {
|
|
23
31
|
private defaultConfig;
|