jxKeyframes top-level constant

Map<String, Map<String, Map<String, String>>> const jxKeyframes

Images clés des animations prédéfinies, ajoutées à la feuille seulement si une classe anim: les utilise. Nom -> (étape -> déclarations).

Implementation

const Map<String, Map<String, Map<String, String>>> jxKeyframes = {
  'jx-spin': {
    'to': {'rotate': '360deg'},
  },
  'jx-ping': {
    '75%, 100%': {'scale': '2', 'opacity': '0'},
  },
  'jx-pulse': {
    '50%': {'opacity': '0.5'},
  },
  'jx-bounce': {
    '0%, 100%': {
      'translate': '0 -25%',
      'animation-timing-function': 'cubic-bezier(0.8, 0, 1, 1)',
    },
    '50%': {
      'translate': '0 0',
      'animation-timing-function': 'cubic-bezier(0, 0, 0.2, 1)',
    },
  },
  'jx-fade-in': {
    'from': {'opacity': '0'},
  },
  'jx-fade-out': {
    'to': {'opacity': '0'},
  },
  'jx-slide-up': {
    'from': {'opacity': '0', 'translate': '0 1rem'},
  },
  'jx-slide-down': {
    'from': {'opacity': '0', 'translate': '0 -1rem'},
  },
  'jx-zoom-in': {
    'from': {'opacity': '0', 'scale': '0.95'},
  },
  'jx-slide-in-right': {
    'from': {'translate': '100% 0'},
  },
  'jx-slide-in-left': {
    'from': {'translate': '-100% 0'},
  },
  'jx-indeterminate': {
    'from': {'translate': '-100% 0'},
    'to': {'translate': '300% 0'},
  },
};