resources.js 997 B

12345678910111213141516171819202122232425262728293031323334353637
  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. export const CSS = {
  7. modal: "modal",
  8. modalOpen: "modal--open",
  9. title: "title",
  10. header: "header",
  11. footer: "footer",
  12. scrim: "scrim",
  13. back: "back",
  14. close: "close",
  15. secondary: "secondary",
  16. primary: "primary",
  17. overflowHidden: "overflow-hidden",
  18. // these classes help apply the animation in phases to only set transform on open/close
  19. // this helps avoid a positioning issue for any floating-ui-owning children
  20. openingIdle: "modal--opening-idle",
  21. openingActive: "modal--opening-active",
  22. closingIdle: "modal--closing-idle",
  23. closingActive: "modal--closing-active"
  24. };
  25. export const ICONS = {
  26. close: "x"
  27. };
  28. export const SLOTS = {
  29. content: "content",
  30. header: "header",
  31. back: "back",
  32. secondary: "secondary",
  33. primary: "primary"
  34. };
  35. export const TEXT = {
  36. close: "Close"
  37. };