@mmb-digital/design-system-web 0.1.328 → 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.cjs.js +10 -10
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +30 -3
- package/dist/index.esm.js +2 -2
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
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) => "
|
|
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) => "
|
|
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",
|
|
@@ -2260,6 +2260,7 @@ interface TypographyProps extends DesignSystemBaseProps, SsrProps, AriaAttribute
|
|
|
2260
2260
|
id?: string;
|
|
2261
2261
|
onClick?: ((event: MouseEvent<HTMLElement>) => void) | undefined;
|
|
2262
2262
|
role?: AriaRole;
|
|
2263
|
+
tabIndex?: number;
|
|
2263
2264
|
textAlign?: TypographyTextAlign;
|
|
2264
2265
|
variant?: TypographyVariant;
|
|
2265
2266
|
weight?: FontWeight;
|
|
@@ -2352,9 +2353,35 @@ interface PaperProps extends DesignSystemBaseProps, SsrProps, AriaAttributes {
|
|
|
2352
2353
|
}
|
|
2353
2354
|
declare const Paper: React__default.ForwardRefExoticComponent<PaperProps & React__default.RefAttributes<HTMLDivElement>>;
|
|
2354
2355
|
|
|
2355
|
-
interface ProgressDefinition {
|
|
2356
|
+
interface ProgressDefinition extends AriaAttributes {
|
|
2356
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;
|
|
2357
2383
|
numberOfSteps: number;
|
|
2384
|
+
role?: AriaRole;
|
|
2358
2385
|
}
|
|
2359
2386
|
|
|
2360
2387
|
interface ProgressPaperProps extends PaperProps, SsrProps {
|