You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds `--spectrum-coachmark-media-fixed-height` for fixed `4:3` image variant and an accompanying `--mod-coachmark-media-fixed-height` mod. This variation has been added to the `coachmark` component story as a boolean control labeled as `Image fixed height`. The class is conditionally added within the `hasImage` block and, as such, will only impact rendering when `hasImage` is also `true`.
<divclass="spectrum-CoachMark-title">Try playing with a pixel brush</div>
49
-
<divclass="spectrum-CoachMark-action-menu">
50
-
${hasActionMenu ? ActionMenu({
51
-
isOpen,
52
-
popoverPosition: "right",
53
-
popoverTestId: "popover-nested-2",
54
-
popoverId: "popover-nested-2",
55
-
popoverTriggerId: "trigger-nested-2",
56
-
customStyles: {
57
-
"margin-block-start": "30px",
58
-
"margin-inline-start": "-32px"
59
-
},
60
-
iconName: "More",
61
-
size: globals.scale==="large" ? "s" : "m",
62
-
items: [
63
-
{
64
-
label: "Skip tour",
65
-
},
66
-
{
67
-
label: "Reset tour",
68
-
}
69
-
],
70
-
}) : ""}
71
-
</div>
72
-
</div>
73
-
<divclass="spectrum-CoachMark-content">
74
-
Pixel brushes use pixels to create brush strokes, just like in other design and drawing tools. Start drawing, and zoom in to see the pixels in each stroke.
75
-
</div>
76
-
<divclass="${rootClass}-footer">
77
-
${hasPagination ? html`<divclass="spectrum-CoachMark-step"><bdodir="ltr">2 of 8</bdo></div>` : ""}
0 commit comments