@abgov/ui-components-common 1.10.0-dev.1 → 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 +4 -1
  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;
@@ -318,7 +321,7 @@ export type GoabPublicFormPageStep = "step" | "summary" | "multistep";
318
321
  export type GoabPublicFormPageButtonVisibility = "visible" | "hidden";
319
322
  export type GoabPublicFormTaskStatus = "completed" | "not-started" | "cannot-start";
320
323
  export type GoabDrawerPosition = "bottom" | "left" | "right" | undefined;
321
- export type GoabDrawerSizeUnit = "px" | "rem" | "ch" | "vh" | "vw";
324
+ export type GoabDrawerSizeUnit = "px" | "rem" | "ch" | "vh" | "vw" | "%";
322
325
  export type GoabDrawerSize = `${number}${GoabDrawerSizeUnit}` | undefined;
323
326
  export type GoabWorkSideMenuItemType = "normal" | "emergency" | "success";
324
327
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/ui-components-common",
3
- "version": "1.10.0-dev.1",
3
+ "version": "1.10.0-dev.3",
4
4
  "bugs": {
5
5
  "url": "https://github.com/GovAlta/ui-components/issues"
6
6
  },