@automattic/vip-design-system 0.14.0 → 0.14.1
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/build/system/Form/Toggle.js +1 -0
- package/build/system/NewDialog/NewDialog.js +4 -1
- package/build/system/NewDialog/NewDialog.stories.js +4 -0
- package/package.json +1 -1
- package/src/system/Form/Toggle.js +1 -0
- package/src/system/NewDialog/NewDialog.js +1 -1
- package/src/system/NewDialog/NewDialog.stories.jsx +4 -0
- package/tokens/valet-core.json +6558 -0
|
@@ -88,7 +88,10 @@ var NewDialog = function NewDialog(_ref) {
|
|
|
88
88
|
}), (0, _jsxRuntime.jsx)(_DialogDescription.DialogDescription, {
|
|
89
89
|
description: description,
|
|
90
90
|
hidden: !showHeading
|
|
91
|
-
}),
|
|
91
|
+
}), (0, _jsxRuntime.jsx)("div", {
|
|
92
|
+
role: "document",
|
|
93
|
+
children: content
|
|
94
|
+
})]
|
|
92
95
|
})]
|
|
93
96
|
})]
|
|
94
97
|
});
|
|
@@ -97,6 +97,10 @@ var HiddenHeadings = function HiddenHeadings() {
|
|
|
97
97
|
type: "submit",
|
|
98
98
|
children: "Submit"
|
|
99
99
|
})]
|
|
100
|
+
}), (0, _jsxRuntime.jsx)("h3", {
|
|
101
|
+
children: "Continue here"
|
|
102
|
+
}), (0, _jsxRuntime.jsx)("p", {
|
|
103
|
+
children: "This is an example."
|
|
100
104
|
})]
|
|
101
105
|
})
|
|
102
106
|
}))]
|
package/package.json
CHANGED
|
@@ -56,7 +56,7 @@ export const NewDialog = ( {
|
|
|
56
56
|
<DialogTitle title={ title } hidden={ ! showHeading } />
|
|
57
57
|
<DialogDescription description={ description } hidden={ ! showHeading } />
|
|
58
58
|
|
|
59
|
-
{ content }
|
|
59
|
+
<div role="document">{ content }</div>
|
|
60
60
|
</DialogPrimitive.Content>
|
|
61
61
|
</DialogPrimitive.Portal>
|
|
62
62
|
</DialogPrimitive.Root>
|