@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.
Files changed (2) hide show
  1. package/lib/common.d.ts +3 -0
  2. 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/ui-components-common",
3
- "version": "1.10.0-dev.2",
3
+ "version": "1.10.0-dev.3",
4
4
  "bugs": {
5
5
  "url": "https://github.com/GovAlta/ui-components/issues"
6
6
  },