@scopetickets/checkout 0.1.1 → 0.1.3
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 +29 -1
- package/dist/{chunk-4BOPQURW.js → chunk-GJZKPJB5.js} +86 -86
- package/dist/{chunk-4BOPQURW.js.map → chunk-GJZKPJB5.js.map} +1 -1
- package/dist/index.cjs +997 -522
- package/dist/index.cjs.map +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +98 -32
- package/dist/index.d.ts +98 -32
- package/dist/index.js +661 -186
- package/dist/index.js.map +1 -1
- package/dist/pickers.d.cts +5 -0
- package/dist/pickers.d.ts +5 -0
- package/dist/pickers.js +1 -1
- package/dist/styles.css +55 -19
- package/package.json +1 -1
package/dist/pickers.d.cts
CHANGED
|
@@ -640,6 +640,11 @@ declare interface Ticket {
|
|
|
640
640
|
UrgencyTags: string[];
|
|
641
641
|
/** Nullable for the same reason as the run's — see `EventInfoResponse`. */
|
|
642
642
|
UserTypes: UserType[] | null;
|
|
643
|
+
/**
|
|
644
|
+
* The events this product sells for. Only `TicketInformation` sends it, which is how a
|
|
645
|
+
* response spanning a whole series is split back into days.
|
|
646
|
+
*/
|
|
647
|
+
EventKeys?: string[] | null;
|
|
643
648
|
}
|
|
644
649
|
|
|
645
650
|
/** The time it is right now on a given zone's clock, as `HH:MM`. */
|
package/dist/pickers.d.ts
CHANGED
|
@@ -640,6 +640,11 @@ declare interface Ticket {
|
|
|
640
640
|
UrgencyTags: string[];
|
|
641
641
|
/** Nullable for the same reason as the run's — see `EventInfoResponse`. */
|
|
642
642
|
UserTypes: UserType[] | null;
|
|
643
|
+
/**
|
|
644
|
+
* The events this product sells for. Only `TicketInformation` sends it, which is how a
|
|
645
|
+
* response spanning a whole series is split back into days.
|
|
646
|
+
*/
|
|
647
|
+
EventKeys?: string[] | null;
|
|
643
648
|
}
|
|
644
649
|
|
|
645
650
|
/** The time it is right now on a given zone's clock, as `HH:MM`. */
|
package/dist/pickers.js
CHANGED
package/dist/styles.css
CHANGED
|
@@ -1054,6 +1054,8 @@
|
|
|
1054
1054
|
|
|
1055
1055
|
/* src/island/island.css */
|
|
1056
1056
|
[data-scopetickets-island] {
|
|
1057
|
+
--scopetickets-island-origin-block: bottom;
|
|
1058
|
+
--scopetickets-island-origin-inline: center;
|
|
1057
1059
|
position: absolute;
|
|
1058
1060
|
inset-inline: 0;
|
|
1059
1061
|
bottom: 0;
|
|
@@ -1064,6 +1066,7 @@
|
|
|
1064
1066
|
transition: padding-inline-start var(--scopetickets-island-morph-ms) var(--scopetickets-island-spring) var(--scopetickets-island-morph-delay), padding-inline-end var(--scopetickets-island-morph-ms) var(--scopetickets-island-spring) var(--scopetickets-island-morph-delay);
|
|
1065
1067
|
}
|
|
1066
1068
|
[data-scopetickets-island-anchor] {
|
|
1069
|
+
--scopetickets-island-top-layer: 2147483647;
|
|
1067
1070
|
position: relative;
|
|
1068
1071
|
height: var(--scopetickets-island-anchor-height, auto);
|
|
1069
1072
|
}
|
|
@@ -1072,42 +1075,68 @@
|
|
|
1072
1075
|
--scopetickets-island-edge-inline: 0px;
|
|
1073
1076
|
}
|
|
1074
1077
|
}
|
|
1075
|
-
[data-scopetickets-island][data-align=top] {
|
|
1078
|
+
[data-scopetickets-island][data-align-block=top] {
|
|
1079
|
+
--scopetickets-island-origin-block: top;
|
|
1076
1080
|
top: 0;
|
|
1077
1081
|
bottom: auto;
|
|
1078
1082
|
}
|
|
1079
|
-
[data-scopetickets-island][data-align=top] .scopetickets-island-plane {
|
|
1083
|
+
[data-scopetickets-island][data-align-block=top] .scopetickets-island-plane {
|
|
1080
1084
|
top: 0;
|
|
1081
1085
|
bottom: auto;
|
|
1082
1086
|
}
|
|
1083
|
-
[data-scopetickets-island][data-align=
|
|
1084
|
-
|
|
1085
|
-
}
|
|
1086
|
-
[data-scopetickets-island][data-align=center] {
|
|
1087
|
+
[data-scopetickets-island][data-align-block=center] {
|
|
1088
|
+
--scopetickets-island-origin-block: center;
|
|
1087
1089
|
top: 50%;
|
|
1088
1090
|
bottom: auto;
|
|
1089
1091
|
transform: translateY(-50%);
|
|
1090
1092
|
}
|
|
1091
|
-
[data-scopetickets-island][data-align=center] .scopetickets-island-plane {
|
|
1093
|
+
[data-scopetickets-island][data-align-block=center] .scopetickets-island-plane {
|
|
1092
1094
|
top: 50%;
|
|
1093
1095
|
bottom: auto;
|
|
1094
1096
|
transform: translateY(-50%);
|
|
1095
1097
|
}
|
|
1098
|
+
[data-scopetickets-island][data-align-inline=left] {
|
|
1099
|
+
--scopetickets-island-origin-inline: left;
|
|
1100
|
+
margin-left: 0;
|
|
1101
|
+
margin-right: auto;
|
|
1102
|
+
}
|
|
1103
|
+
[data-scopetickets-island][data-align-inline=right] {
|
|
1104
|
+
--scopetickets-island-origin-inline: right;
|
|
1105
|
+
margin-left: auto;
|
|
1106
|
+
margin-right: 0;
|
|
1107
|
+
}
|
|
1108
|
+
[data-scopetickets-island-anchor][data-placement=screen] {
|
|
1109
|
+
position: fixed;
|
|
1110
|
+
inset-inline: 0;
|
|
1111
|
+
bottom: var(--scopetickets-island-anchor-inset);
|
|
1112
|
+
z-index: var(--scopetickets-island-top-layer);
|
|
1113
|
+
pointer-events: none;
|
|
1114
|
+
}
|
|
1115
|
+
[data-scopetickets-island-anchor][data-placement=screen][data-align-block=top] {
|
|
1116
|
+
top: var(--scopetickets-island-anchor-inset);
|
|
1117
|
+
bottom: auto;
|
|
1118
|
+
}
|
|
1119
|
+
[data-scopetickets-island-anchor][data-placement=screen][data-align-block=center] {
|
|
1120
|
+
top: 0;
|
|
1121
|
+
bottom: 0;
|
|
1122
|
+
margin-block: auto;
|
|
1123
|
+
}
|
|
1124
|
+
[data-scopetickets-island-anchor][data-placement=screen] > [data-scopetickets-island],
|
|
1125
|
+
[data-scopetickets-island-anchor][data-placement=screen] > .scopetickets-island-shield {
|
|
1126
|
+
pointer-events: auto;
|
|
1127
|
+
}
|
|
1096
1128
|
[data-scopetickets-island][data-journey=fullscreen] {
|
|
1097
1129
|
transform: none;
|
|
1098
1130
|
}
|
|
1099
1131
|
[data-scopetickets-island][data-journey=fullscreen] .scopetickets-island-surface {
|
|
1100
1132
|
contain: none;
|
|
1101
1133
|
}
|
|
1102
|
-
[data-scopetickets-island][data-align=center] .scopetickets-island-surface {
|
|
1103
|
-
transform-origin: center center;
|
|
1104
|
-
}
|
|
1105
1134
|
[data-scopetickets-island] .scopetickets-island-surface {
|
|
1106
1135
|
position: relative;
|
|
1107
1136
|
height: var(--scopetickets-island-height, auto);
|
|
1108
1137
|
display: flex;
|
|
1109
1138
|
flex-direction: column;
|
|
1110
|
-
transform-origin:
|
|
1139
|
+
transform-origin: var(--scopetickets-island-origin-inline) var(--scopetickets-island-origin-block);
|
|
1111
1140
|
border: var(--scopetickets-island-space-0-25) solid var(--scopetickets-island-stroke);
|
|
1112
1141
|
border-radius: var(--scopetickets-island-radius);
|
|
1113
1142
|
transition:
|
|
@@ -1170,7 +1199,7 @@
|
|
|
1170
1199
|
[data-scopetickets-island] .scopetickets-island-bay__journey {
|
|
1171
1200
|
position: fixed;
|
|
1172
1201
|
inset: 0;
|
|
1173
|
-
z-index:
|
|
1202
|
+
z-index: var(--scopetickets-island-top-layer);
|
|
1174
1203
|
overscroll-behavior: contain;
|
|
1175
1204
|
}
|
|
1176
1205
|
[data-scopetickets-island] .scopetickets-island-surface__bay > div {
|
|
@@ -1274,15 +1303,9 @@
|
|
|
1274
1303
|
[data-scopetickets-island] .scopetickets-island-carry__lift {
|
|
1275
1304
|
width: 100%;
|
|
1276
1305
|
height: 100%;
|
|
1277
|
-
transform-origin:
|
|
1306
|
+
transform-origin: left var(--scopetickets-island-origin-block);
|
|
1278
1307
|
will-change: transform;
|
|
1279
1308
|
}
|
|
1280
|
-
[data-scopetickets-island][data-align=top] .scopetickets-island-carry__lift {
|
|
1281
|
-
transform-origin: top left;
|
|
1282
|
-
}
|
|
1283
|
-
[data-scopetickets-island][data-align=center] .scopetickets-island-carry__lift {
|
|
1284
|
-
transform-origin: center left;
|
|
1285
|
-
}
|
|
1286
1309
|
[data-scopetickets-island] .scopetickets-island-carry--released {
|
|
1287
1310
|
transform: translateX(0);
|
|
1288
1311
|
}
|
|
@@ -1473,6 +1496,19 @@
|
|
|
1473
1496
|
gap: var(--scopetickets-island-space-2);
|
|
1474
1497
|
width: 100%;
|
|
1475
1498
|
}
|
|
1499
|
+
[data-scopetickets-island] .scopetickets-island-card__agreement {
|
|
1500
|
+
display: flex;
|
|
1501
|
+
align-items: center;
|
|
1502
|
+
justify-content: space-between;
|
|
1503
|
+
gap: var(--scopetickets-island-field-inset);
|
|
1504
|
+
min-height: var(--scopetickets-island-field-height);
|
|
1505
|
+
padding-inline: var(--scopetickets-island-field-inset);
|
|
1506
|
+
}
|
|
1507
|
+
[data-scopetickets-island] .scopetickets-island-card__agreement-label {
|
|
1508
|
+
color: var(--scopetickets-island-input-text-secondary);
|
|
1509
|
+
font-size: var(--scopetickets-island-size-md);
|
|
1510
|
+
line-height: var(--scopetickets-island-leading-md);
|
|
1511
|
+
}
|
|
1476
1512
|
[data-scopetickets-island] .scopetickets-island-card__buttons {
|
|
1477
1513
|
position: absolute;
|
|
1478
1514
|
inset-inline: 0;
|
package/package.json
CHANGED