@gomusdev/web-components 1.46.0 → 1.48.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.
@@ -1,4 +1,6 @@
1
- export declare function generateQuantityOptions(min: number, max: number): {
1
+ export declare function generateQuantityOptions(from: number, to: number, options?: {
2
+ floor: number;
3
+ }): {
2
4
  value: number;
3
5
  label: string;
4
6
  }[];
@@ -0,0 +1 @@
1
+ export {};
@@ -387,6 +387,7 @@ export declare class Shop {
387
387
  donations: {
388
388
  id: number;
389
389
  donation_cents: number;
390
+ donation_campaign_id: number | null;
390
391
  }[];
391
392
  customer: import('@gomus/types').components["schemas"]["customer"];
392
393
  items: (import('@gomus/types').components["schemas"]["ticket_order_item"] | import('@gomus/types').components["schemas"]["tour_order_item"] | import('@gomus/types').components["schemas"]["event_order_item"] | import('@gomus/types').components["schemas"]["coupon_order_item"] | import('@gomus/types').components["schemas"]["merchandise_order_item"] | import('@gomus/types').components["schemas"]["accounting_article_order_item"])[];
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "Giantmonkey GmbH"
5
5
  },
6
6
  "license": "MIT",
7
- "version": "1.46.0",
7
+ "version": "1.48.0",
8
8
  "type": "module",
9
9
  "main": "./dist-js/gomus-webcomponents.iife.js",
10
10
  "module": "./dist-js/gomus-webcomponents.iife.js",
@@ -14,6 +14,7 @@
14
14
  "scripts": {
15
15
  "dev": "vite",
16
16
  "test": "vitest",
17
+ "test:a11y": "sh src/axe-a11y/test-a11y.sh",
17
18
  "npm:publish": "pnpm version patch && pnpm build && npm publish --tag latest",
18
19
  "Dev:Personalization": "vite dev -c vite.personalization.config.ts",
19
20
  "build": "vite build",
@@ -46,6 +47,7 @@
46
47
  "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"
47
48
  },
48
49
  "devDependencies": {
50
+ "@axe-core/playwright": "^4.11.1",
49
51
  "@chromatic-com/storybook": "^5.0.0",
50
52
  "@faker-js/faker": "^10.2.0",
51
53
  "@flydotio/dockerfile": "^0.7.10",
@@ -64,6 +66,7 @@
64
66
  "@storybook/addon-docs": "^10.2.1",
65
67
  "@storybook/addon-svelte-csf": "^5.0.10",
66
68
  "@storybook/svelte-vite": "^10.2.1",
69
+ "@storybook/test-runner": "^0.24.2",
67
70
  "@sveltejs/vite-plugin-svelte": "^6.2.4",
68
71
  "@testing-library/jest-dom": "^6.9.1",
69
72
  "@testing-library/svelte": "^5.3.1",
@@ -75,9 +78,11 @@
75
78
  "autoprefixer": "^10.4.23",
76
79
  "bits-ui": "^2.15.4",
77
80
  "chromatic": "^13.3.5",
81
+ "concurrently": "^9.2.1",
78
82
  "conventional-changelog-conventionalcommits": "^9.1.0",
79
83
  "dompurify": "^3.3.1",
80
84
  "eslint-plugin-storybook": "10.2.1",
85
+ "http-server": "^14.1.1",
81
86
  "js-cookie": "^3.0.5",
82
87
  "liquidjs": "^10.24.0",
83
88
  "msw": "2.12.7",
@@ -99,7 +104,8 @@
99
104
  "vite-plugin-dts": "^4.5.4",
100
105
  "vite-plugin-string": "^1.2.3",
101
106
  "vitest": "^4.0.18",
102
- "wait-for-expect": "^4.0.0"
107
+ "wait-for-expect": "^4.0.0",
108
+ "wait-on": "^9.0.4"
103
109
  },
104
110
  "dependencies": {
105
111
  "@testing-library/user-event": "^14.6.1",