This repository has been archived by the owner on Mar 14, 2022. It is now read-only.
patch: Add core/enhanced experience to Origami demos.
origamiserviceuser
released this
08 Jul 11:55
·
157 commits
to master
since this release
Update core/enhanced experience in Origami demos. (#814) https://origami.ft.com/docs/components/compatibility/#core--enhanced-experiences Add cuts the mustard test to demos to conditionally load JavaScript. Remove core/enhanced CSS from demos. This currently does nothing without JavaScript to toggle them. We shouldn't use them in demos as its global CSS projects may or may not include, it's not required by the Origami specification. Remove use of `staticSource` and the last `config.production` reference as part of this work since obt v10 does not support a production build or source options. Update test expectation for the `init` method. This was failing due to changes in the `create-origami-component` project. 😬 Co-authored-by: Jake Champion <[email protected]>