@abgov/ui-components-common 1.10.0-dev.2 → 1.10.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 -0
- package/package.json +1 -1
package/lib/common.d.ts
CHANGED
|
@@ -250,6 +250,9 @@ export type GoabIconVariant = "primary" | "secondary" | "tertiary";
|
|
|
250
250
|
export type NumericSpacing = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "10";
|
|
251
251
|
export type TShirtSpacing = "none" | "3xs" | "2xs" | "xs" | "s" | "m" | "l" | "xl" | "2xl" | "3xl" | "4xl";
|
|
252
252
|
export type Spacing = NumericSpacing | TShirtSpacing | null;
|
|
253
|
+
export type DataAttributes = {
|
|
254
|
+
[K in `data-${string}`]?: string | boolean;
|
|
255
|
+
};
|
|
253
256
|
export interface Margins {
|
|
254
257
|
mt?: Spacing;
|
|
255
258
|
mr?: Spacing;
|