@ohhwells/bridge 0.1.117-next.329 → 0.1.117-next.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 +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1742,6 +1742,8 @@ function ButtonEl({
|
|
|
1742
1742
|
"a",
|
|
1743
1743
|
{
|
|
1744
1744
|
href: href || void 0,
|
|
1745
|
+
className: `btn btn--${variant}`,
|
|
1746
|
+
"data-ohw-btn-variant": variant,
|
|
1745
1747
|
...linkAttrs,
|
|
1746
1748
|
style: {
|
|
1747
1749
|
display: fullWidth ? "flex" : "inline-flex",
|
|
@@ -2979,6 +2981,9 @@ function renderNode(node, ctx, path) {
|
|
|
2979
2981
|
"button",
|
|
2980
2982
|
{
|
|
2981
2983
|
type: "submit",
|
|
2984
|
+
className: "btn btn--primary",
|
|
2985
|
+
"data-ohw-btn-variant": "primary",
|
|
2986
|
+
"data-ohw-role": "button",
|
|
2982
2987
|
style: {
|
|
2983
2988
|
alignSelf: submitAlign,
|
|
2984
2989
|
border: "none",
|