pulibrary / lux-design-system

Princeton University Library's design system
https://pulibrary.github.io/lux-design-system/
1 stars 1 forks source link

Distribute lux as an IIFE (as well as the existing distribution options) #304

Closed sandbergja closed 3 months ago

sandbergja commented 4 months ago

What maintenance needs to be done?

Add an IIFE version of lux that loads all of its components.

This would allow applications to include lux using <script src="[CDN URL goes here]", rather than <script type="importmap".

This is needed to add lux to LibWizard, since LibWizard only allows us to add <script src, not <script type="importmap".

Level of urgency

Why is this maintenance needed?

Acceptance criteria

Implementation notes, if any