@gomusdev/web-components 3.9.0 → 3.10.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/README.md +16 -0
- package/dist-js/components/shared/quantityStepper/QuantityStepper.svelte.d.ts +1 -0
- package/dist-js/gomus-webcomponents.css +165 -5
- package/dist-js/gomus-webcomponents.iife.js +341 -59
- package/dist-js/gomus-webcomponents.js +341 -59
- package/dist-js/gomus-webcomponents.min.css +1 -1
- package/dist-js/gomus-webcomponents.min.iife.js +45 -45
- package/dist-js/gomus-webcomponents.min.js +6949 -6735
- package/dist-js/src/components/annualTicketPersonalization/lib/PersonalizationDetails.svelte.d.ts +1 -1
- package/dist-js/src/components/forms/lib/Forms.svelte.d.ts +6 -3
- package/dist-js/src/components/shared/quantityStepper/QuantityStepper.spec.d.ts +1 -0
- package/dist-js/src/config/configStore.svelte.d.ts +6 -1
- package/dist-js/src/lib/helpers/translations.d.ts +2 -0
- package/dist-js/src/lib/models/cart/quantityStepper.d.ts +29 -0
- package/dist-js/src/lib/models/cart/quantityStepper.spec.d.ts +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 3.10.1 (2026-07-02)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **ticket-selection:** re-derive capacity on cart changes (TC-09)
|
|
8
|
+
|
|
9
|
+
## 3.10.0 (2026-07-01)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **quantity-stepper:** accessible − qty + stepper for go-tickets and go-cart
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **quantity-stepper:** ship default stepper styles and fix go-tickets header alignment
|
|
18
|
+
|
|
3
19
|
## 3.9.0 (2026-06-30)
|
|
4
20
|
|
|
5
21
|
### Features
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { SvelteComponent as default } from 'svelte';
|
|
@@ -822,7 +822,7 @@
|
|
|
822
822
|
/*CALENDARUI CSS*/
|
|
823
823
|
|
|
824
824
|
[data-calendar-wrapper] {
|
|
825
|
-
max-width:
|
|
825
|
+
max-width: 800px;
|
|
826
826
|
}
|
|
827
827
|
|
|
828
828
|
[data-calendar-wrapper] [data-calendar-prev-button],[data-calendar-wrapper] [data-calendar-next-button] {
|
|
@@ -1064,16 +1064,16 @@ go-tickets ol.go-tickets > .go-tickets-header > ul .go-tickets-header-title {
|
|
|
1064
1064
|
flex: var(--col-title) 0 0;
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
go-tickets ol.go-tickets > .go-tickets-header > ul .go-tickets-description {
|
|
1067
|
+
go-tickets ol.go-tickets > .go-tickets-header > ul .go-tickets-header-description {
|
|
1068
1068
|
flex: var(--col-desc) 0 0;
|
|
1069
1069
|
}
|
|
1070
1070
|
|
|
1071
|
-
go-tickets ol.go-tickets > .go-tickets-header > ul .go-tickets-price {
|
|
1071
|
+
go-tickets ol.go-tickets > .go-tickets-header > ul .go-tickets-header-price {
|
|
1072
1072
|
flex: var(--col-price) 0 0;
|
|
1073
1073
|
text-align: right;
|
|
1074
1074
|
}
|
|
1075
1075
|
|
|
1076
|
-
go-tickets ol.go-tickets > .go-tickets-header > ul .go-tickets-quality {
|
|
1076
|
+
go-tickets ol.go-tickets > .go-tickets-header > ul .go-tickets-header-quality {
|
|
1077
1077
|
flex: var(--col-qty) 0 0;
|
|
1078
1078
|
text-align: right;
|
|
1079
1079
|
}
|
|
@@ -1216,6 +1216,166 @@ go-cart ul,go-cart ol {
|
|
|
1216
1216
|
text-align: right;
|
|
1217
1217
|
}
|
|
1218
1218
|
|
|
1219
|
+
/*=== QUANTITY STEPPER (shared by go-tickets + go-cart) ===*/
|
|
1220
|
+
/* Scoped under :host,:root so these out-specify the global `:root button` rule
|
|
1221
|
+
(teal background + margin-top: 2rem + 20px 60px padding) without !important.
|
|
1222
|
+
White control, primary color on hover; box model fully self-contained so a
|
|
1223
|
+
host reset (e.g. Storybook) can't leak in. */
|
|
1224
|
+
:host .go-quantity-stepper {
|
|
1225
|
+
display: inline-flex;
|
|
1226
|
+
align-items: stretch;
|
|
1227
|
+
vertical-align: middle;
|
|
1228
|
+
box-sizing: border-box;
|
|
1229
|
+
line-height: 1;
|
|
1230
|
+
border: 1px solid rgba(0, 0, 0, 0.25);
|
|
1231
|
+
border-radius: 0.375rem;
|
|
1232
|
+
overflow: hidden;
|
|
1233
|
+
}
|
|
1234
|
+
:root .go-quantity-stepper {
|
|
1235
|
+
display: inline-flex;
|
|
1236
|
+
align-items: stretch;
|
|
1237
|
+
vertical-align: middle;
|
|
1238
|
+
box-sizing: border-box;
|
|
1239
|
+
line-height: 1;
|
|
1240
|
+
border: 1px solid rgba(0, 0, 0, 0.25);
|
|
1241
|
+
border-radius: 0.375rem;
|
|
1242
|
+
overflow: hidden;
|
|
1243
|
+
}
|
|
1244
|
+
:host .go-quantity-stepper * {
|
|
1245
|
+
box-sizing: border-box;
|
|
1246
|
+
}
|
|
1247
|
+
:root .go-quantity-stepper * {
|
|
1248
|
+
box-sizing: border-box;
|
|
1249
|
+
}
|
|
1250
|
+
:host .go-quantity-stepper *::before {
|
|
1251
|
+
box-sizing: border-box;
|
|
1252
|
+
}
|
|
1253
|
+
:root .go-quantity-stepper *::before {
|
|
1254
|
+
box-sizing: border-box;
|
|
1255
|
+
}
|
|
1256
|
+
:host .go-quantity-stepper *::after {
|
|
1257
|
+
box-sizing: border-box;
|
|
1258
|
+
}
|
|
1259
|
+
:root .go-quantity-stepper *::after {
|
|
1260
|
+
box-sizing: border-box;
|
|
1261
|
+
}
|
|
1262
|
+
:host .go-quantity-stepper-button {
|
|
1263
|
+
margin: 0;
|
|
1264
|
+
padding: 0;
|
|
1265
|
+
-moz-appearance: none;
|
|
1266
|
+
appearance: none;
|
|
1267
|
+
-webkit-appearance: none;
|
|
1268
|
+
flex: 0 0 auto;
|
|
1269
|
+
width: 2rem;
|
|
1270
|
+
height: 2rem;
|
|
1271
|
+
border: 0;
|
|
1272
|
+
border-radius: 0;
|
|
1273
|
+
background: #fff;
|
|
1274
|
+
color: #111;
|
|
1275
|
+
color: var(--black, #111);
|
|
1276
|
+
font: inherit;
|
|
1277
|
+
font-size: 1.125rem;
|
|
1278
|
+
line-height: 1;
|
|
1279
|
+
display: grid;
|
|
1280
|
+
align-items: center;
|
|
1281
|
+
justify-items: center;
|
|
1282
|
+
place-items: center;
|
|
1283
|
+
cursor: pointer;
|
|
1284
|
+
transition: background-color 0.15s ease;
|
|
1285
|
+
}
|
|
1286
|
+
:root .go-quantity-stepper-button {
|
|
1287
|
+
margin: 0;
|
|
1288
|
+
padding: 0;
|
|
1289
|
+
-moz-appearance: none;
|
|
1290
|
+
appearance: none;
|
|
1291
|
+
-webkit-appearance: none;
|
|
1292
|
+
flex: 0 0 auto;
|
|
1293
|
+
width: 2rem;
|
|
1294
|
+
height: 2rem;
|
|
1295
|
+
border: 0;
|
|
1296
|
+
border-radius: 0;
|
|
1297
|
+
background: #fff;
|
|
1298
|
+
color: #111;
|
|
1299
|
+
color: var(--black, #111);
|
|
1300
|
+
font: inherit;
|
|
1301
|
+
font-size: 1.125rem;
|
|
1302
|
+
line-height: 1;
|
|
1303
|
+
display: grid;
|
|
1304
|
+
align-items: center;
|
|
1305
|
+
justify-items: center;
|
|
1306
|
+
place-items: center;
|
|
1307
|
+
cursor: pointer;
|
|
1308
|
+
transition: background-color 0.15s ease;
|
|
1309
|
+
}
|
|
1310
|
+
:host .go-quantity-stepper-button:hover:not([aria-disabled='true']) {
|
|
1311
|
+
background: #12826a;
|
|
1312
|
+
background: var(--primary, #12826a);
|
|
1313
|
+
color: #fff;
|
|
1314
|
+
}
|
|
1315
|
+
:root .go-quantity-stepper-button:hover:not([aria-disabled='true']) {
|
|
1316
|
+
background: #12826a;
|
|
1317
|
+
background: var(--primary, #12826a);
|
|
1318
|
+
color: #fff;
|
|
1319
|
+
}
|
|
1320
|
+
:host .go-quantity-stepper-button[aria-disabled='true'] {
|
|
1321
|
+
opacity: 0.4;
|
|
1322
|
+
cursor: not-allowed;
|
|
1323
|
+
}
|
|
1324
|
+
:root .go-quantity-stepper-button[aria-disabled='true'] {
|
|
1325
|
+
opacity: 0.4;
|
|
1326
|
+
cursor: not-allowed;
|
|
1327
|
+
}
|
|
1328
|
+
:host .go-quantity-stepper-value {
|
|
1329
|
+
margin: 0;
|
|
1330
|
+
padding: 0;
|
|
1331
|
+
-moz-appearance: none;
|
|
1332
|
+
appearance: none;
|
|
1333
|
+
-webkit-appearance: none;
|
|
1334
|
+
flex: 0 0 auto;
|
|
1335
|
+
width: 2.75rem;
|
|
1336
|
+
height: 2rem;
|
|
1337
|
+
text-align: center;
|
|
1338
|
+
border: 0;
|
|
1339
|
+
border-left: 1px solid rgba(0, 0, 0, 0.25);
|
|
1340
|
+
border-right: 1px solid rgba(0, 0, 0, 0.25);
|
|
1341
|
+
border-radius: 0;
|
|
1342
|
+
background: #fff;
|
|
1343
|
+
color: #111;
|
|
1344
|
+
color: var(--fg, #111);
|
|
1345
|
+
font: inherit;
|
|
1346
|
+
vertical-align: middle;
|
|
1347
|
+
}
|
|
1348
|
+
:root .go-quantity-stepper-value {
|
|
1349
|
+
margin: 0;
|
|
1350
|
+
padding: 0;
|
|
1351
|
+
-moz-appearance: none;
|
|
1352
|
+
appearance: none;
|
|
1353
|
+
-webkit-appearance: none;
|
|
1354
|
+
flex: 0 0 auto;
|
|
1355
|
+
width: 2.75rem;
|
|
1356
|
+
height: 2rem;
|
|
1357
|
+
text-align: center;
|
|
1358
|
+
border: 0;
|
|
1359
|
+
border-left: 1px solid rgba(0, 0, 0, 0.25);
|
|
1360
|
+
border-right: 1px solid rgba(0, 0, 0, 0.25);
|
|
1361
|
+
border-radius: 0;
|
|
1362
|
+
background: #fff;
|
|
1363
|
+
color: #111;
|
|
1364
|
+
color: var(--fg, #111);
|
|
1365
|
+
font: inherit;
|
|
1366
|
+
vertical-align: middle;
|
|
1367
|
+
}
|
|
1368
|
+
:host .go-quantity-stepper-value:focus-visible {
|
|
1369
|
+
outline: 2px solid #12826a;
|
|
1370
|
+
outline: 2px solid var(--primary, #12826a);
|
|
1371
|
+
outline-offset: -2px;
|
|
1372
|
+
}
|
|
1373
|
+
:root .go-quantity-stepper-value:focus-visible {
|
|
1374
|
+
outline: 2px solid #12826a;
|
|
1375
|
+
outline: 2px solid var(--primary, #12826a);
|
|
1376
|
+
outline-offset: -2px;
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1219
1379
|
/* Coupon row */
|
|
1220
1380
|
.go-cart-coupon article > ul {
|
|
1221
1381
|
display: flex;
|
|
@@ -1316,7 +1476,7 @@ h2 {
|
|
|
1316
1476
|
}
|
|
1317
1477
|
|
|
1318
1478
|
.component-container {
|
|
1319
|
-
max-width:
|
|
1479
|
+
max-width: 800px;
|
|
1320
1480
|
margin: 0 auto;
|
|
1321
1481
|
box-shadow:
|
|
1322
1482
|
0 4px 12px rgba(12, 12, 12, 0.15),
|