config.js 666 B

12345678910111213141516171819202122
  1. /*!
  2. * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  3. * See https://github.com/Esri/calcite-components/blob/master/LICENSE.md for details.
  4. * v1.0.0-beta.97
  5. */
  6. /**
  7. * This module helps users provide custom configuration for component internals.
  8. *
  9. * @internal
  10. */
  11. const configOverrides = globalThis["calciteComponentsConfig"];
  12. const config = {
  13. /**
  14. * We apply a custom fix to improve positioning for non-Chromium browsers.
  15. * The fix comes at a performance cost, so provides users a way to opt-out if necessary.
  16. *
  17. * @internal
  18. */
  19. floatingUINonChromiumPositioningFix: true,
  20. ...configOverrides
  21. };
  22. export { config };