@mediaradar/design-tokens 2.6.1 → 2.7.0
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/DESIGN.md +1 -0
- package/dist/css/ref.css +1 -0
- package/dist/css/sys.css +1 -0
- package/dist/js/tokens.d.ts +3 -0
- package/dist/js/tokens.js +2 -0
- package/dist/tailwind/theme.css +1 -0
- package/package.json +1 -1
package/dist/DESIGN.md
CHANGED
package/dist/css/ref.css
CHANGED
package/dist/css/sys.css
CHANGED
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
--mr-opacity-disabled: var(--mr-ref-opacity-disabled);
|
|
68
68
|
--mr-z-dropdown: var(--mr-ref-z-dropdown);
|
|
69
69
|
--mr-z-modal: var(--mr-ref-z-modal);
|
|
70
|
+
--mr-z-toast: var(--mr-ref-z-toast);
|
|
70
71
|
--mr-z-tooltip: var(--mr-ref-z-tooltip);
|
|
71
72
|
--mr-text-style-heading-1-font-size: var(--mr-typography-font-size-h1);
|
|
72
73
|
--mr-text-style-heading-1-font-weight: var(--mr-ref-typography-weight-semibold);
|
package/dist/js/tokens.d.ts
CHANGED
|
@@ -440,6 +440,8 @@ export const mrRefMotionDurationSlow: number;
|
|
|
440
440
|
export const mrRefMotionEasingStandard: string;
|
|
441
441
|
export const mrRefZDropdown: number;
|
|
442
442
|
export const mrRefZModal: number;
|
|
443
|
+
/** Above modal, below tooltip. A toast reporting on something that happened in a modal has to be visible over it; a tooltip on the toast's own action button has to sit above the toast. Added because the product had four different hand-picked z values for the same object, so which message won was an accident of which screen you were on. */
|
|
444
|
+
export const mrRefZToast: number;
|
|
443
445
|
export const mrRefZTooltip: number;
|
|
444
446
|
export const mrColorCanvas: string;
|
|
445
447
|
export const mrColorSurface: string;
|
|
@@ -509,6 +511,7 @@ export const mrMotionEasingInteractive: string;
|
|
|
509
511
|
export const mrOpacityDisabled: number;
|
|
510
512
|
export const mrZDropdown: number;
|
|
511
513
|
export const mrZModal: number;
|
|
514
|
+
export const mrZToast: number;
|
|
512
515
|
export const mrZTooltip: number;
|
|
513
516
|
export const mrTextStyleHeading_1FontSize: number;
|
|
514
517
|
export const mrTextStyleHeading_1FontWeight: number;
|
package/dist/js/tokens.js
CHANGED
|
@@ -445,6 +445,7 @@ export const mrRefMotionDurationSlow = 320;
|
|
|
445
445
|
export const mrRefMotionEasingStandard = "cubic-bezier(0.2, 0, 0, 1)";
|
|
446
446
|
export const mrRefZDropdown = 1000;
|
|
447
447
|
export const mrRefZModal = 1100;
|
|
448
|
+
export const mrRefZToast = 1150; // Above modal, below tooltip. A toast reporting on something that happened in a modal has to be visible over it; a tooltip on the toast's own action button has to sit above the toast. Added because the product had four different hand-picked z values for the same object, so which message won was an accident of which screen you were on.
|
|
448
449
|
export const mrRefZTooltip = 1200;
|
|
449
450
|
export const mrColorCanvas = "#f4f2ee";
|
|
450
451
|
export const mrColorSurface = "#fbfaf7";
|
|
@@ -517,6 +518,7 @@ export const mrMotionEasingInteractive = "cubic-bezier(0.2, 0, 0, 1)";
|
|
|
517
518
|
export const mrOpacityDisabled = 0.4;
|
|
518
519
|
export const mrZDropdown = 1000;
|
|
519
520
|
export const mrZModal = 1100;
|
|
521
|
+
export const mrZToast = 1150;
|
|
520
522
|
export const mrZTooltip = 1200;
|
|
521
523
|
export const mrTextStyleHeading_1FontSize = 1.875;
|
|
522
524
|
export const mrTextStyleHeading_1FontWeight = 600;
|
package/dist/tailwind/theme.css
CHANGED