@abgov/ui-components-common 1.2.2-alpha.1 → 1.2.2-alpha.3
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/lib/common.d.ts +4 -0
- 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";
|
|
@@ -240,6 +243,7 @@ export type GoabTextTextElement = "span" | "div" | "p";
|
|
|
240
243
|
export type GoabTextHeadingSize = "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs";
|
|
241
244
|
export type GoabTextBodySize = "body-l" | "body-m" | "body-s" | "body-xs";
|
|
242
245
|
export type GoabTextSize = GoabTextHeadingSize | GoabTextBodySize;
|
|
246
|
+
export type GoabTextColor = "primary" | "secondary";
|
|
243
247
|
export type GoabFielsetOnContinueDetail = {
|
|
244
248
|
el: HTMLElement;
|
|
245
249
|
state: Record<string, string>;
|