diff --git a/.changeset/rh-cta-lightdom-shim.md b/.changeset/rh-cta-lightdom-shim.md new file mode 100644 index 0000000000..e44cf02c78 --- /dev/null +++ b/.changeset/rh-cta-lightdom-shim.md @@ -0,0 +1,5 @@ +--- +"@rhds/elements": minor +--- + +``: Added `rh-cta-lightdom-shim.css` as an optional file to help reduce layout shift before element is defined, where declarative shadow DOM is not an option. diff --git a/docs/_includes/layout-base.njk b/docs/_includes/layout-base.njk index 32f1f44865..ed6a2f9847 100644 --- a/docs/_includes/layout-base.njk +++ b/docs/_includes/layout-base.njk @@ -26,6 +26,7 @@ + {% sassFile false %} diff --git a/elements/rh-cta/demo/color-context-with-lightdom-css.html b/elements/rh-cta/demo/color-context-with-lightdom-css.html new file mode 100644 index 0000000000..75bc09c679 --- /dev/null +++ b/elements/rh-cta/demo/color-context-with-lightdom-css.html @@ -0,0 +1,15 @@ + + Default + Default Video + Primary + Video + Secondary + Brick + Brick Video + + + + diff --git a/elements/rh-cta/demo/rh-cta.html b/elements/rh-cta/demo/rh-cta.html index 848d5a6659..1aac713fd4 100644 --- a/elements/rh-cta/demo/rh-cta.html +++ b/elements/rh-cta/demo/rh-cta.html @@ -2,7 +2,6 @@ Call to Action - diff --git a/elements/rh-cta/demo/right-to-left.html b/elements/rh-cta/demo/right-to-left.html index ddb655c615..f267855e2d 100644 --- a/elements/rh-cta/demo/right-to-left.html +++ b/elements/rh-cta/demo/right-to-left.html @@ -89,7 +89,6 @@

Deep Shadow RTL

-