AlaskaAirlines / auro-checkbox

Custom element for the purpose of allowing users to select one or more options of a limited number of choices.
https://auro.alaskaair.com/components/auro/checkbox
Apache License 2.0
0 stars 1 forks source link

Surge demo is not working #115

Closed blackfalcon closed 4 months ago

blackfalcon commented 11 months ago

Please verify the version of auro-checkbox you have installed

@latest

Please describe the bug

  1. Go to http://alaskaairlines-auro-checkbox-dsande-updatedeps.surge.sh/demo
  2. see that resources are not loaded in the DOM
Screen Shot 2023-10-09 at 8 52 30 PM

Reproducing the error

This issue cannot be reproduced on the Auro docsite

Expected behavior

Resources are updated for the demo release in Surge as expected.

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

Additional context

No response

Exit criteria

This issue can be closed once the Surge demo is illustrating the auro-checkbox UI as expected.

fajar-apri-alaska commented 7 months ago

Could we update the entry point imports here: https://github.com/AlaskaAirlines/auro-checkbox/blob/8daa3b88cb3d15341dffcb75594fb9e4580c5b3b/index.js#L1-L2

by adding .js extension in the end ?

import { AuroCheckbox } from './src/auro-checkbox.js'; 
import { AuroCheckboxGroup } from './src/auro-checkbox-group.js';