spectrum-web-components icon indicating copy to clipboard operation
spectrum-web-components copied to clipboard

[Feature]: Update package exports to include "Overlay Timer" in default import

Open cuberoot opened this issue 4 years ago • 0 comments

Code of conduct

  • [X] I agree to follow this project's code of conduct.

Impacted component(s)

Overlay

Expected behavior

A minor issue, but I came across some of our code that uses the overlay timer directly and it isn't exported from the project.

I would expect to be able to do:

import { OverlayTimer } from '@spectrum-web-components/overlay'

Actual behavior

Right now we are referencing it via src

import { OverlayTimer } from '@spectrum-web-components/overlay/src/overlay-timer.js'

Screenshots

No response

What browsers are you seeing the problem in?

No response

How can we reproduce this issue?

  1. Go to '...'
  2. Click on '....'
  3. Scroll to '....'
  4. Check console
  5. See error

Sample code that illustrates the problem

No response

Logs taken while reproducing problem

No response

cuberoot avatar Nov 02 '21 01:11 cuberoot