@seatlayer/core 0.21.0 → 0.21.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/dist/index.d.cts CHANGED
@@ -2,8 +2,8 @@
2
2
  * SeatMap chart document — the single source of truth shared by the
3
3
  * Designer (authoring) and the Renderer (buyer picker).
4
4
  *
5
- * Mirrors docs/seatmap-build-spec.md §5. Coordinates are abstract units
6
- * (roughly "pixels at scale 1"); the renderer fits the chart to its container.
5
+ * Coordinates are abstract units (roughly "pixels at scale 1"); the renderer
6
+ * fits the chart to its container.
7
7
  * Rows are PARAMETRIC (origin + count + spacing + curve + rotation) — never
8
8
  * store per-seat coordinates in the document; expansion happens in layout.ts.
9
9
  */
@@ -499,7 +499,7 @@ interface ZoneDef {
499
499
  * Fixed set of four; derived from object type via `layerOf()` (no per-object field yet).
500
500
  */
501
501
  type SelectionLayer = 'interactive' | 'background' | 'foreground' | 'surroundings';
502
- /** Derive an object's selection layer from its type (design contract, HANDOFF §03). */
502
+ /** Derive an object's selection layer from its type. */
503
503
  declare function layerOf(obj: ChartObject): SelectionLayer;
504
504
  /** Free-standing text on the chart (aisle names, door labels…). */
505
505
  interface TextObject {
@@ -2234,10 +2234,10 @@ declare function generateSeatThumb(seat: ExpandedSeat, focalPoint: Point, _neigh
2234
2234
 
2235
2235
  /**
2236
2236
  * i18n core — deliberately tiny and framework-free so the embed SDK can share
2237
- * it without dragging in a runtime library (the 60KB-gzipped SDK budget is a
2237
+ * it without dragging in a runtime library (the 150KB-gzipped complete CDN budget is a
2238
2238
  * product contract).
2239
2239
  *
2240
- * Scope (docs/design-port-plan.md): the buyer surface (picker, public event
2240
+ * Scope: the buyer surface (picker, public event
2241
2241
  * page, SDK) ships fully translated in en/es/de/fr; dashboard pages route
2242
2242
  * their strings through t() as they are rebuilt but ship English this round.
2243
2243
  *
@@ -2265,7 +2265,7 @@ declare function formatDate(value: number | Date, opts?: Intl.DateTimeFormatOpti
2265
2265
 
2266
2266
  /**
2267
2267
  * Locale bundle loader — keeps non-English translations OUT of the initial
2268
- * bundle (the 60 KB SDK budget is a product contract) and code-splits each
2268
+ * bundle (the 150 KB complete CDN budget is a product contract) and code-splits each
2269
2269
  * locale so a page/SDK only downloads the language it actually uses.
2270
2270
  *
2271
2271
  * `loadLocale('de')` dynamic-imports the German dictionary, registers it via
package/dist/index.d.ts CHANGED
@@ -2,8 +2,8 @@
2
2
  * SeatMap chart document — the single source of truth shared by the
3
3
  * Designer (authoring) and the Renderer (buyer picker).
4
4
  *
5
- * Mirrors docs/seatmap-build-spec.md §5. Coordinates are abstract units
6
- * (roughly "pixels at scale 1"); the renderer fits the chart to its container.
5
+ * Coordinates are abstract units (roughly "pixels at scale 1"); the renderer
6
+ * fits the chart to its container.
7
7
  * Rows are PARAMETRIC (origin + count + spacing + curve + rotation) — never
8
8
  * store per-seat coordinates in the document; expansion happens in layout.ts.
9
9
  */
@@ -499,7 +499,7 @@ interface ZoneDef {
499
499
  * Fixed set of four; derived from object type via `layerOf()` (no per-object field yet).
500
500
  */
501
501
  type SelectionLayer = 'interactive' | 'background' | 'foreground' | 'surroundings';
502
- /** Derive an object's selection layer from its type (design contract, HANDOFF §03). */
502
+ /** Derive an object's selection layer from its type. */
503
503
  declare function layerOf(obj: ChartObject): SelectionLayer;
504
504
  /** Free-standing text on the chart (aisle names, door labels…). */
505
505
  interface TextObject {
@@ -2234,10 +2234,10 @@ declare function generateSeatThumb(seat: ExpandedSeat, focalPoint: Point, _neigh
2234
2234
 
2235
2235
  /**
2236
2236
  * i18n core — deliberately tiny and framework-free so the embed SDK can share
2237
- * it without dragging in a runtime library (the 60KB-gzipped SDK budget is a
2237
+ * it without dragging in a runtime library (the 150KB-gzipped complete CDN budget is a
2238
2238
  * product contract).
2239
2239
  *
2240
- * Scope (docs/design-port-plan.md): the buyer surface (picker, public event
2240
+ * Scope: the buyer surface (picker, public event
2241
2241
  * page, SDK) ships fully translated in en/es/de/fr; dashboard pages route
2242
2242
  * their strings through t() as they are rebuilt but ship English this round.
2243
2243
  *
@@ -2265,7 +2265,7 @@ declare function formatDate(value: number | Date, opts?: Intl.DateTimeFormatOpti
2265
2265
 
2266
2266
  /**
2267
2267
  * Locale bundle loader — keeps non-English translations OUT of the initial
2268
- * bundle (the 60 KB SDK budget is a product contract) and code-splits each
2268
+ * bundle (the 150 KB complete CDN budget is a product contract) and code-splits each
2269
2269
  * locale so a page/SDK only downloads the language it actually uses.
2270
2270
  *
2271
2271
  * `loadLocale('de')` dynamic-imports the German dictionary, registers it via
package/dist/index.js CHANGED
@@ -742,7 +742,7 @@ var en = {
742
742
  "common.close": "Close",
743
743
  "common.done": "Done",
744
744
  "common.copied": "\u2713 Copied",
745
- // buyer picker (extraction in progress — P4 of the port plan)
745
+ // buyer picker
746
746
  "picker.holdSeats": "Hold seats & checkout",
747
747
  "picker.completeBooking": "Complete booking",
748
748
  "picker.seatsHeld": "Seats held \u2014 {time}",