@scopetickets/checkout 0.1.2 → 0.2.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/README.md +14 -3
- package/dist/{chunk-4BOPQURW.js → chunk-B7AHG2OO.js} +417 -325
- package/dist/chunk-B7AHG2OO.js.map +1 -0
- package/dist/index.cjs +4561 -2253
- package/dist/index.cjs.map +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +236 -203
- package/dist/index.d.ts +236 -203
- package/dist/index.js +4262 -2033
- package/dist/index.js.map +1 -1
- package/dist/pickers.cjs +109 -68
- package/dist/pickers.cjs.map +1 -1
- package/dist/pickers.css +20 -2
- package/dist/pickers.css.map +1 -1
- package/dist/pickers.d.cts +50 -37
- package/dist/pickers.d.ts +50 -37
- package/dist/pickers.js +1 -1
- package/dist/styles.css +52 -7
- package/package.json +11 -9
- package/dist/chunk-4BOPQURW.js.map +0 -1
package/README.md
CHANGED
|
@@ -9,9 +9,9 @@ imports the SDK, and the SDK's public API is unchanged by its arrival.
|
|
|
9
9
|
|
|
10
10
|
## What is here
|
|
11
11
|
|
|
12
|
-
The widget, its island and the steps it mounts —
|
|
13
|
-
tests. `src/island` is the surface and its motion;
|
|
14
|
-
|
|
12
|
+
The widget, its island and the steps it mounts — 190 files, of which 86 are
|
|
13
|
+
tests. `src/island` is the surface and its motion; the flow it walks lives in
|
|
14
|
+
`@scopetickets/checkout-core`, as pure functions with no React in them.
|
|
15
15
|
|
|
16
16
|
Not everything it draws is reachable yet, and the gaps are all in the same
|
|
17
17
|
place: there is no account service to sign into, so `ScopeTicketsCheckout`
|
|
@@ -116,6 +116,17 @@ picker they needed. The four that can answer from the intent run first and often
|
|
|
116
116
|
spare the request. A check that throws sends the buyer to the card it guards
|
|
117
117
|
rather than past it.
|
|
118
118
|
|
|
119
|
+
**The event's questions are asked, and the answers are sent before payment.** A question
|
|
120
|
+
can be set on the ticket, the event or its series: the tickets carry their own, and once
|
|
121
|
+
the cart is open the event's questionnaire is read — the series' where the event has
|
|
122
|
+
none. Text is a field, a whole number is a numeric field, a yes or no is a switch, and
|
|
123
|
+
the card stays shut until every one is answered; a buyer the checks opened past it is
|
|
124
|
+
walked back to it. The answers — the buyer's, or the `intent.answers` a host already
|
|
125
|
+
collected, which excuse the card only where they answer every question — go to every
|
|
126
|
+
cart item before any charge. The platform only adds answers, so once saved they are
|
|
127
|
+
shown read-only and never sent twice. A questionnaire that cannot be read, or answers
|
|
128
|
+
that are refused, stop the buyer on a notice with Try Again, before anything is charged.
|
|
129
|
+
|
|
119
130
|
**A host that already opened a cart passes it**, and the widget adopts it rather
|
|
120
131
|
than opening a second:
|
|
121
132
|
|