@seatsio/seatsio-types 2.5.1 → 2.7.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +5 -2
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -244,6 +244,9 @@ export interface ChartRendererConfigOptions extends DeprecatedConfigProperties,
244
244
  colorSelected?: string;
245
245
  cursorTooltipBackgroundColor?: string;
246
246
  colorTitle?: string;
247
+ availableObjectColor?: string;
248
+ selectedObjectColor?: string;
249
+ errorColor?: string;
247
250
  };
248
251
  /**
249
252
  * Sets the preset of styles to use for the seating chart user interface. {@link https://docs.seats.io/docs/renderer/stylepreset See documentation}
@@ -593,10 +596,10 @@ export type CategoryFilter = {
593
596
  */
594
597
  zoomOnSelect?: boolean;
595
598
  /**
596
- * Sort categories by price, or use the order that's defined on the chart
599
+ * Sort categories by property, or use `none` for the order they are defined on the chart
597
600
  * @default price
598
601
  */
599
- sortBy?: 'price' | 'none';
602
+ sortBy?: 'none' | 'name' | 'price' | 'priceDescending';
600
603
  };
601
604
  export type DeprecatedConfigProperties = {
602
605
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@seatsio/seatsio-types",
3
3
  "description": "Type definitions for Seats.io",
4
- "version": "2.5.1",
4
+ "version": "2.7.0",
5
5
  "license": "MIT",
6
6
  "types": "dist/index.d.ts",
7
7
  "files": [