@mmb-digital/design-system-web 0.1.329 → 0.1.330

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/dist/index.d.ts CHANGED
@@ -476,7 +476,7 @@ declare enum Spacing {
476
476
  xxxxl = "xxxxl",
477
477
  xxxxxl = "xxxxxl"
478
478
  }
479
- declare const resolveSpacingValue: (theme: Theme$1, spacing: Spacing) => "0" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "48px" | "56px" | "64px";
479
+ declare const resolveSpacingValue: (theme: Theme$1, spacing: Spacing) => "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "40px" | "48px" | "56px" | "64px" | "0";
480
480
 
481
481
  declare enum WhiteSpace {
482
482
  inherit = "inherit",
@@ -1059,7 +1059,7 @@ declare enum BorderRadius {
1059
1059
  xl = "xl",
1060
1060
  full = "full"
1061
1061
  }
1062
- declare const resolveBorderRadiusValue: (theme: Theme$1, borderRadius: BorderRadius) => "0" | "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "9999px";
1062
+ declare const resolveBorderRadiusValue: (theme: Theme$1, borderRadius: BorderRadius) => "4px" | "8px" | "12px" | "16px" | "24px" | "32px" | "9999px" | "0";
1063
1063
 
1064
1064
  declare enum FlexWrap {
1065
1065
  noWrap = "noWrap",
@@ -2353,9 +2353,35 @@ interface PaperProps extends DesignSystemBaseProps, SsrProps, AriaAttributes {
2353
2353
  }
2354
2354
  declare const Paper: React__default.ForwardRefExoticComponent<PaperProps & React__default.RefAttributes<HTMLDivElement>>;
2355
2355
 
2356
- interface ProgressDefinition {
2356
+ interface ProgressDefinition extends AriaAttributes {
2357
2357
  activeStepIndex: number;
2358
+ /**
2359
+ * Accessible label for the progress bar, e.g. "Step progress".
2360
+ * Maps directly to the native `aria-label` attribute.
2361
+ */
2362
+ 'aria-label'?: string;
2363
+ /**
2364
+ * Maximum value for the progress bar.
2365
+ * Defaults to `numberOfSteps`.
2366
+ */
2367
+ 'aria-valuemax'?: number;
2368
+ /**
2369
+ * Minimum value for the progress bar.
2370
+ * Defaults to `1`.
2371
+ */
2372
+ 'aria-valuemin'?: number;
2373
+ /**
2374
+ * Current value for the progress bar.
2375
+ * Defaults to `activeStepIndex + 1`.
2376
+ */
2377
+ 'aria-valuenow'?: number;
2378
+ /**
2379
+ * Accessible text describing the current progress value, e.g. "Step 3 of 5".
2380
+ * Maps directly to the native `aria-valuetext` attribute.
2381
+ */
2382
+ 'aria-valuetext'?: string;
2358
2383
  numberOfSteps: number;
2384
+ role?: AriaRole;
2359
2385
  }
2360
2386
 
2361
2387
  interface ProgressPaperProps extends PaperProps, SsrProps {