@abgov/ui-components-common 1.2.2-alpha.2 → 1.3.0-alpha.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.
Files changed (2) hide show
  1. package/lib/common.d.ts +6 -0
  2. package/package.json +1 -1
package/lib/common.d.ts CHANGED
@@ -149,6 +149,9 @@ export interface GoabPopoverProps extends Margins {
149
149
  maxWidth?: string;
150
150
  padded?: boolean;
151
151
  position?: GoabPopoverPosition;
152
+ /***
153
+ * @deprecated This property has no effect and will be removed in a future version
154
+ */
152
155
  relative?: boolean;
153
156
  }
154
157
  export type GoabNotificationType = "important" | "information" | "event" | "emergency";
@@ -263,4 +266,7 @@ export type GoabFormOnStateChange = {
263
266
  id: string;
264
267
  state: Record<string, Record<string, GoabFormField>>;
265
268
  };
269
+ export type GoabDrawerPosition = "bottom" | "left" | "right" | undefined;
270
+ export type GoabDrawerSizeUnit = "px" | "rem" | "ch" | "vh" | "vw";
271
+ export type GoabDrawerSize = `${number}${GoabDrawerSizeUnit}` | undefined;
266
272
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/ui-components-common",
3
- "version": "1.2.2-alpha.2",
3
+ "version": "1.3.0-alpha.1",
4
4
  "bugs": {
5
5
  "url": "https://github.com/GovAlta/ui-components/issues"
6
6
  },