@abgov/ui-components-common 1.11.0-dev.1 → 1.11.0-dev.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 +3 -1
- package/package.json +1 -1
package/lib/common.d.ts
CHANGED
|
@@ -123,9 +123,11 @@ export type GoabTextAreaOnBlurDetail = {
|
|
|
123
123
|
event: Event;
|
|
124
124
|
};
|
|
125
125
|
export type GoabTabsVariant = "default" | "segmented";
|
|
126
|
+
export type GoabTabsOrientation = "auto" | "horizontal";
|
|
126
127
|
export interface GoabTabsProps {
|
|
127
128
|
initialTab?: number;
|
|
128
129
|
variant?: GoabTabsVariant;
|
|
130
|
+
orientation?: GoabTabsOrientation;
|
|
129
131
|
}
|
|
130
132
|
export type GoabTabsOnChangeDetail = {
|
|
131
133
|
tab: number;
|
|
@@ -282,7 +284,7 @@ export type GoabLinkButtonType = "start" | "primary" | "secondary" | "tertiary";
|
|
|
282
284
|
export type GoabTextMaxWidth = string | "none";
|
|
283
285
|
export type GoabTextHeadingElement = "h1" | "h2" | "h3" | "h4" | "h5";
|
|
284
286
|
export type GoabTextTextElement = "span" | "div" | "p";
|
|
285
|
-
export type GoabTextHeadingSize = "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs";
|
|
287
|
+
export type GoabTextHeadingSize = "heading-xl" | "heading-l" | "heading-m" | "heading-s" | "heading-xs" | "heading-2xs";
|
|
286
288
|
export type GoabTextBodySize = "body-l" | "body-m" | "body-s" | "body-xs";
|
|
287
289
|
export type GoabTextSize = GoabTextHeadingSize | GoabTextBodySize;
|
|
288
290
|
export type GoabTextColor = "primary" | "secondary";
|