Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

@ecl/twig-component-news-ticker

Package Overview
Dependencies
2
Maintainers
6
Versions
10
Issues
File Explorer

Advanced tools

@ecl/twig-component-news-ticker

ECL News ticker

    3.3.0latest

Version published
Maintainers
6
Yearly downloads
2,124

Weekly downloads

Changelog

Source

3.3.0 (2022-05-16)

:rocket: New Feature

  • #2397 feat(content-item): revamp content item and description list - FRONT-3554 (@emeryro)
  • #2347 feat(breadcrumb): add site-wide components - FRONT-3552 (@papegaill)
  • #2404 feat(banner): add coypright - FRONT-3616 (@emeryro)
  • #2337 feat(page-header): add site-wide components - FRONT-3546 (@papegaill)
  • #2382 feat(rtl): batch 5 - FRONT-3569 (@tibi2303)
  • #2379 feat(tabs): Adapt JS for RTL support - FRONT-3594 (@papegaill)
  • #2396 feat(datepicker): Adapt JS for RTL support - FRONT-3595 (@papegaill)
  • #2385 feat(rtl): batch 4 - FRONT-3568 (@emeryro)
  • #2378 feat(carousel): Adapt JS for RTL support - FRONT-3593 (@papegaill)
  • #2318 feat(site-header): add component - FRONT-3530 (@emeryro)
  • #2367 feat(right-to-left): batch 3 - FRONT-3567 (@emeryro)
  • #2327 feat(navigation-list): add component - FRONT-3520 (@emeryro)
  • #2359 feat(rtl): right-to-left batch 2 - FRONT-3566 (@emeryro)
  • #2358 feat(rtl): right-to-left batch 1 - FRONT-3565 (@emeryro)
  • #2331 feat(css): add rtl css - FRONT-3515 (@emeryro)
  • #2328 feat(file-upload): Add dynamic upload file list example - FRONT-3525 (@papegaill)
  • #2333 feat(site-footer): add component - FRONT-3541 (@papegaill)

:bug: Bug Fix

  • #2408 fix(page-header): Fix metas RTL display - FRONT-3619 (@papegaill)
  • #2440 fix(file): Fix website demo previews - FRONT-3620 (@papegaill)
  • #2398 fix(skip-link): Fix story JS blur error - FRONT-3613 (@papegaill)
  • #2392 chore(destroy): Review destroy method for JS components - FRONT-3610 (@papegaill)
  • #2375 fix(accessibility): Pagination, carousel, gallery and news-ticker - FRONT-3591 (@papegaill)
  • #2391 fix(site-header): fix EU site header shadow - FRONT-3602 (@emeryro)
  • #2389 chore(autoinit): Review destroy method - FRONT-3596 (@papegaill)
  • #2383 chore(js): Making destroy method in the components accessible to the autoInit, fixing cssresources behaviour (@planctus)
  • #2374 fix(site-header): hide double logo - FRONT-3590 (@emeryro)
  • #2371 fix(website): Fixing display of condensed eu logs for other languages - FRONT-3586 (@planctus)
  • #2362 fix(theme): Add missing black-100 color for EU theme - FRONT-3582 (@papegaill)
  • #2361 fix(site-header): fix mobile site-name overlapping menu - FRONT-3579 (@papegaill)
  • #2355 fix(css): remove rtl css from website - FRONT-3575 (@emeryro)
  • #2354 fix(menu): Add esc to close sub-menu - FRONT-3564 (@papegaill)
  • #2350 fix(form): fix checkbox and radio display on multiple lines - FRONT-3562 (@emeryro)
  • #2351 fix(featured-item): fix font weight and color - FRONT-3561 (@emeryro)
  • #2341 fix(content-item): remove forced background - FRONT-3555 (@emeryro)

:nail_care: Enhancement

  • #2469 feat(cards): refactor cards with content block - FRONT-3606 (@emeryro)
  • #2468 feat(navigation-list): Revamp using content-block component - FRONT-3607 (@papegaill)
  • #2452 refactor(deprecate): Deprecate old families components - FRONT-3553 (@papegaill)
  • #2453 feat(card): deprecate tile variant - FRONT-3611 (@emeryro)
  • #2372 feat(select): Correctly reset the multiselect on form reset - FRONT-3583 (@papegaill)
  • #2394 feat(rtl): batch 6 - FRONT-3570 (@papegaill)
  • #2399 feat(news-ticker): Adapt JS for RTL support - FRONT-3614 (@papegaill)
  • #2393 feat(logos): add logos for UK, LB, RU, ZH, JP - FRONT-3603 (@emeryro)
  • #2363 feat(datepicker): Adding translatibility - FRONT-3573 (@planctus)
  • #2348 feat(card): improve meta structure - FRONT-3545 (@emeryro)
  • #2349 feat(tabs): add bottom spacing - FRONT-3559 (@emeryro)

:memo: Documentation

:house: Internal

Committers: 5

Readme

Source

ECL News ticker component

npm package: @ecl/twig-component-news-ticker

npm install --save @ecl/twig-component-news-ticker

Parameters:

  • "id" (string) (default: '')
  • "items" (array) (default: []) slide items
    • "content" (string)
    • "link" (string) (optional)
  • "counter_label" (string) (default: 'of')
  • "sr_previous" (string) (default: 'Previous news') screen reader label for previous button
  • "sr_next" (string) (default: 'Next news') screen reader label for next button
  • "sr_autoplay" (string) (default: 'News ticker auto play') screen reader label for autoplay button
  • "icon_path" (string) (default: ''): path to the icons svg
  • "extra_classes" (optional) (string) (default: '') Extra classes (space separated)
  • "extra_attributes" (optional) (array) (default: []) Extra attributes
    • "name" (string) Attribute name, eg. 'data-test'
    • "value" (string) Attribute value, eg: 'data-test-1'

Example:

{% include '@ecl/news-ticker/news-ticker.html.twig' with { id: 'news-ticker-example', icon_path: '/icons.svg', counter_label: 'of', items: [ { content: 'EMA starts rolling review of COVID-19 vaccine Vidprevtyn', link: 'https://www.ema.europa.eu/en/news/ema-starts-rolling-review-covid-19-vaccine-vidprevtyn', }, { content: 'President von der Leyen announced that the EU has achieved its goal of fully vaccinating 70% of its adult population on 31 August', link: 'https://ec.europa.eu/commission/presscorner/detail/en/ip_21_4362', }, { content: 'President von der Leyen announced that the EU has achieved its goal of fully vaccinating 70% of its adult population on 31 August', }, ... ], } %}

Keywords

Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc