@gomusdev/web-components 4.6.0 → 4.6.2
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 +13 -0
- package/dist-js/gomus-webcomponents.iife.js +43 -19
- package/dist-js/gomus-webcomponents.js +43 -19
- package/dist-js/gomus-webcomponents.min.iife.js +20 -20
- package/dist-js/gomus-webcomponents.min.js +4187 -4173
- package/dist-js/src/components/shared/quantityStepper/quantityLabel.d.ts +11 -0
- package/dist-js/src/components/shared/quantityStepper/quantityLabel.spec.d.ts +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Product } from '../../../../lib/models/cart/types.ts';
|
|
2
|
+
/**
|
|
3
|
+
* Accessible name for a line's QuantityControl, derived from the same source as
|
|
4
|
+
* the visible row title: event rows compose it from event_title + time because a
|
|
5
|
+
* flat-price event's price row carries no title (the row IS the event) — naming
|
|
6
|
+
* the control from product.title alone left it unnamed (WI #141).
|
|
7
|
+
*/
|
|
8
|
+
export declare function quantityLabel(item: {
|
|
9
|
+
product: Product;
|
|
10
|
+
time?: string;
|
|
11
|
+
}): string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "Giantmonkey GmbH"
|
|
5
5
|
},
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"version": "4.6.
|
|
7
|
+
"version": "4.6.2",
|
|
8
8
|
"type": "module",
|
|
9
9
|
"main": "./dist-js/gomus-webcomponents.iife.js",
|
|
10
10
|
"module": "./dist-js/gomus-webcomponents.iife.js",
|
|
@@ -47,7 +47,8 @@
|
|
|
47
47
|
"storybook:docs": "pnpm build:interactive-editor && storybook dev -c .storybook-docs",
|
|
48
48
|
"storybook:docs:build": "pnpm build:interactive-editor && storybook build -o ./.storybook-docs/deploy/build -c ./.storybook-docs && node .storybook-docs/copy-bugs.mjs && node .storybook-docs/copy-demos.mjs",
|
|
49
49
|
"storybook:docs:build-and-deploy": "pnpm storybook:docs:build && cd ./.storybook-docs/deploy && fly deploy",
|
|
50
|
-
"storybook:docs:docker:build-and-run": "docker build -t storybook-caddy-auth ./.storybook-docs/deploy && docker run --env-file .env -p 8080:8080 storybook-caddy-auth"
|
|
50
|
+
"storybook:docs:docker:build-and-run": "docker build -t storybook-caddy-auth ./.storybook-docs/deploy && docker run --env-file .env -p 8080:8080 storybook-caddy-auth",
|
|
51
|
+
"demos:public": "pnpm build && DEMOS_OUT=./public node .storybook-docs/copy-demos.mjs"
|
|
51
52
|
},
|
|
52
53
|
"devDependencies": {
|
|
53
54
|
"@axe-core/playwright": "^4.11.1",
|