@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.
@@ -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): any;
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
- ul[data-go-timeslots] {
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
- ul[data-go-timeslots] li {
945
+ go-timeslots > ul li {
946
946
  margin: 5px;
947
947
  display: flex;
948
948
  }
949
949
 
950
- ul[data-go-timeslots] label {
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
- ul[data-go-timeslots] .available {
965
+ go-timeslots > ul .available {
966
966
  background-color: #fff;
967
967
  color: #333;
968
968
  }
969
969
 
970
- ul[data-go-timeslots] input[type='radio'] {
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
- ul[data-go-timeslots] label:has(input[type='radio']:checked) {
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
- ul[data-go-timeslots] .finished {
988
+ go-timeslots > ul .finished {
989
989
  background-color: #f0f0f0;
990
990
  color: #999;
991
991
  }
992
992
 
993
- ul[data-go-timeslots] .finished input {
993
+ go-timeslots > ul .finished input {
994
994
  display: none;
995
995
  }
996
996
 
997
- ul[data-go-timeslots] .finished {
997
+ go-timeslots > ul .finished {
998
998
  pointer-events: none;
999
999
  }
1000
1000
 
1001
1001
  /* Disabled radio button appearance */
1002
1002
 
1003
- ul[data-go-timeslots] input:disabled + label {
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
- ul[data-go-timeslots] label:hover {
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
- ul[data-go-timeslots] input:focus + label {
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: nowrap;
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;