@abgov/ui-components-common 1.11.0-dev.3 → 1.11.0-dev.4

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/lib/common.d.ts +9 -0
  2. package/package.json +1 -1
package/lib/common.d.ts CHANGED
@@ -140,10 +140,19 @@ export interface GoabTableProps extends Margins {
140
140
  variant?: GoabTableVariant;
141
141
  testId?: string;
142
142
  }
143
+ export type GoabTableSortMode = "single" | "multi";
144
+ export type GoabTableSortOrder = 1 | 2;
145
+ export type GoabTableSortEntry = {
146
+ column: string;
147
+ direction: "asc" | "desc";
148
+ };
143
149
  export type GoabTableOnSortDetail = {
144
150
  sortBy: string;
145
151
  sortDir: number;
146
152
  };
153
+ export type GoabTableOnMultiSortDetail = {
154
+ sorts: GoabTableSortEntry[];
155
+ };
147
156
  export type GoabSpacerHorizontalSpacing = Spacing | "fill";
148
157
  export type GoabSpacerVerticalSpacing = Spacing;
149
158
  export interface GoabSpacerProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/ui-components-common",
3
- "version": "1.11.0-dev.3",
3
+ "version": "1.11.0-dev.4",
4
4
  "bugs": {
5
5
  "url": "https://github.com/GovAlta/ui-components/issues"
6
6
  },