@gomusdev/web-components 1.28.0 → 1.30.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/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/utils.svelte.d.ts +1 -1
- package/dist-js/gomus-webcomponents.css +18 -18
- package/dist-js/gomus-webcomponents.iife.js +189 -134
- package/dist-js/gomus-webcomponents.js +189 -134
- package/dist-js/lib/models/cart/CartItem.d.ts +2 -2
- package/dist-js/lib/models/scalePrice/UIScaledPrice.svelte.d.ts +2 -17
- package/dist-js/mocks/ScalingPricesMocks.d.ts +11 -0
- package/dist-js/mocks/mocks.d.ts +2 -34
- package/package.json +1 -1
package/dist-js/components/ticketSelection/subcomponents/tickets/subcomponents/utils.svelte.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { TicketSelectionDetails } from '../../../TicketSelectionDetails.svelte.ts';
|
|
2
2
|
import { Product } from '../../../../../lib/models/cart/types.ts';
|
|
3
|
-
export declare function selectedTime(product: Product, tsd: TicketSelectionDetails):
|
|
3
|
+
export declare function selectedTime(product: Product, tsd: TicketSelectionDetails): string | import('@internationalized/date').CalendarDate | undefined;
|
|
@@ -933,7 +933,7 @@
|
|
|
933
933
|
}
|
|
934
934
|
/*END CALENDARUI CSS*/
|
|
935
935
|
|
|
936
|
-
|
|
936
|
+
go-timeslots > ul {
|
|
937
937
|
max-width: 650px;
|
|
938
938
|
list-style: none;
|
|
939
939
|
padding: 0;
|
|
@@ -942,12 +942,12 @@ ul[data-go-timeslots] {
|
|
|
942
942
|
grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
|
|
943
943
|
}
|
|
944
944
|
|
|
945
|
-
|
|
945
|
+
go-timeslots > ul li {
|
|
946
946
|
margin: 5px;
|
|
947
947
|
display: flex;
|
|
948
948
|
}
|
|
949
949
|
|
|
950
|
-
|
|
950
|
+
go-timeslots > ul label {
|
|
951
951
|
display: inline-block;
|
|
952
952
|
padding: 10px 20px;
|
|
953
953
|
border: 1px solid #ddd;
|
|
@@ -962,18 +962,18 @@ ul[data-go-timeslots] label {
|
|
|
962
962
|
|
|
963
963
|
/* Available timeslot */
|
|
964
964
|
|
|
965
|
-
|
|
965
|
+
go-timeslots > ul .available {
|
|
966
966
|
background-color: #fff;
|
|
967
967
|
color: #333;
|
|
968
968
|
}
|
|
969
969
|
|
|
970
|
-
|
|
970
|
+
go-timeslots > ul input[type='radio'] {
|
|
971
971
|
display: none; /* Hide the radio button */
|
|
972
972
|
}
|
|
973
973
|
|
|
974
974
|
/* When a timeslot is selected (checked radio button) */
|
|
975
975
|
|
|
976
|
-
|
|
976
|
+
go-timeslots > ul label:has(input[type='radio']:checked) {
|
|
977
977
|
background-color: #12826a;
|
|
978
978
|
background-color: var(--primary); /* blue-green color */
|
|
979
979
|
border-color: #12826a;
|
|
@@ -985,29 +985,29 @@ ul[data-go-timeslots] label:has(input[type='radio']:checked) {
|
|
|
985
985
|
|
|
986
986
|
/* Finished (unavailable) timeslot */
|
|
987
987
|
|
|
988
|
-
|
|
988
|
+
go-timeslots > ul .finished {
|
|
989
989
|
background-color: #f0f0f0;
|
|
990
990
|
color: #999;
|
|
991
991
|
}
|
|
992
992
|
|
|
993
|
-
|
|
993
|
+
go-timeslots > ul .finished input {
|
|
994
994
|
display: none;
|
|
995
995
|
}
|
|
996
996
|
|
|
997
|
-
|
|
997
|
+
go-timeslots > ul .finished {
|
|
998
998
|
pointer-events: none;
|
|
999
999
|
}
|
|
1000
1000
|
|
|
1001
1001
|
/* Disabled radio button appearance */
|
|
1002
1002
|
|
|
1003
|
-
|
|
1003
|
+
go-timeslots > ul input:disabled + label {
|
|
1004
1004
|
background-color: #e0e0e0;
|
|
1005
1005
|
color: #bbb;
|
|
1006
1006
|
cursor: not-allowed;
|
|
1007
1007
|
border-color: #ddd;
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
|
|
1010
|
+
go-timeslots > ul label:hover {
|
|
1011
1011
|
/*background-color: #f0f0f0;*/
|
|
1012
1012
|
border-color: #12826a;
|
|
1013
1013
|
border-color: var(--primary);
|
|
@@ -1017,7 +1017,7 @@ ul[data-go-timeslots] label:hover {
|
|
|
1017
1017
|
|
|
1018
1018
|
/* Focus state for better accessibility */
|
|
1019
1019
|
|
|
1020
|
-
|
|
1020
|
+
go-timeslots > ul input:focus + label {
|
|
1021
1021
|
outline: 2px solid #0052cc;
|
|
1022
1022
|
}
|
|
1023
1023
|
|
|
@@ -1098,9 +1098,9 @@ go-tickets [data-testid='tickets'] > li > article[data-go-ticket] > ul > li {
|
|
|
1098
1098
|
/*// enable text truncation*/
|
|
1099
1099
|
min-width: 0;
|
|
1100
1100
|
/*// Optional: single-line truncation (comment out if you want wrapping)*/
|
|
1101
|
-
white-space:
|
|
1102
|
-
overflow: hidden
|
|
1103
|
-
text-overflow: ellipsis
|
|
1101
|
+
/*white-space: ;*/
|
|
1102
|
+
/*overflow: hidden;*/
|
|
1103
|
+
/*text-overflow: ellipsis;*/
|
|
1104
1104
|
}
|
|
1105
1105
|
|
|
1106
1106
|
go-tickets [data-testid='tickets'] > li > article[data-go-ticket] > ul [data-go-tickets-title] {
|
|
@@ -1190,9 +1190,9 @@ go-cart {
|
|
|
1190
1190
|
[data-go-cart-item] article > ul > li {
|
|
1191
1191
|
list-style: none;
|
|
1192
1192
|
min-width: 0;
|
|
1193
|
-
white-space: nowrap
|
|
1194
|
-
overflow: hidden
|
|
1195
|
-
text-overflow: ellipsis
|
|
1193
|
+
/*white-space: nowrap;*/
|
|
1194
|
+
/*overflow: hidden;*/
|
|
1195
|
+
/*text-overflow: ellipsis;*/
|
|
1196
1196
|
}
|
|
1197
1197
|
[data-go-cart-item] article > ul [data-go-cart-item-title] {
|
|
1198
1198
|
flex: 2;
|