@mmb-digital/design-system-web 0.1.334 → 0.1.336
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 +6 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +13 -3
- package/dist/index.esm.js +6 -6
- 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",
|
|
@@ -497,7 +497,7 @@ declare enum FontWeight {
|
|
|
497
497
|
heavy900 = "heavy",
|
|
498
498
|
ultra950 = "ultra"
|
|
499
499
|
}
|
|
500
|
-
declare const resolveFontWeightValue: (theme: Theme$1, fontWeight: FontWeight) => 100 | 200 |
|
|
500
|
+
declare const resolveFontWeightValue: (theme: Theme$1, fontWeight: FontWeight) => 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
|
|
501
501
|
|
|
502
502
|
declare const theme: {
|
|
503
503
|
readonly palette: {
|
|
@@ -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",
|
|
@@ -1343,6 +1343,16 @@ interface TabItemType {
|
|
|
1343
1343
|
interface TabsType {
|
|
1344
1344
|
activeTabDefaultPosition: TabsActiveTabDefaultPosition;
|
|
1345
1345
|
fullWidth?: boolean;
|
|
1346
|
+
/**
|
|
1347
|
+
* Controls the gap between individual tab items.
|
|
1348
|
+
* Defaults to {@link Spacing.xxs}.
|
|
1349
|
+
*/
|
|
1350
|
+
gap?: Spacing;
|
|
1351
|
+
/**
|
|
1352
|
+
* Removes the border and background from the tabs container.
|
|
1353
|
+
* Defaults to `false`.
|
|
1354
|
+
*/
|
|
1355
|
+
noBorder?: boolean;
|
|
1346
1356
|
size?: TabsSize;
|
|
1347
1357
|
tabItems: TabItemType[];
|
|
1348
1358
|
variant: TabsVariant;
|