CSS ComponentThe latest version of this package is: 17.0.30-alpha.8, Opens in new window
The banner is used as a form of internal advertising for our products or for selling points.
This component provides .css
, .styl
, .less
and .scss
-files.
To be able to install this component, please refer to the Project Setup documentation.
$ npm i @ids-core/banner@17.0.30-alpha.8
Det oknepiga försäkringsbolaget
Skaffa rätt skydd för ditt hem och dina saker
Table of Contents
Edit this section, Opens in new windowUsage
Markup
Claims
<div class="if banner claims">
<div class="if container">
<span class="if title">Har du råkat ut för en skada eller olycka?</span>
<a class="if standalone" href="/asdsd">Till skadeanmällan</a>
</div>
</div>
Splash
<div class="if banner splash">
<div class="if content">
<img
src="https://www.libero.no/globalassets/libero-club21/liberoklubben-logotyp-se-dk-no-lila-retina-new22_177kb.png"
class="if image"
/>
<div class="if description">
<p>Visste du att du har en massa fördelar via Liberoklubben?</p>
<p>
<a class="if standalone" href="/asd">Til Liberoklubben</a>
</p>
</div>
</div>
</div>
Share
<div class="if banner share">
<div class="if content">
<ul class="if">
<li class="if facebook">
<a class="if" href="https://wwww.google.com">Share on Facebook</a>
</li>
<li class="if linkedin">
<a class="if" href="https://wwww.google.com">Share on LinkedIn</a>
</li>
<li class="if twitter">
<a class="if" href="https://wwww.google.com">Share on Twitter</a>
</li>
</ul>
</div>
</div>
Changelog
Change Log
All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
14.22.2 (2022-05-03)
Miscellaneous chores
- package locks: update package locks (813eac7)
14.20.1 (2022-04-19)
Miscellaneous chores
- changelog: regenerate all CHANGELOG.md files (64ab385) , closes #586342
- changelog: regenerate all changelogs after updating changelog generation (70789c9) , closes #587270
14.18.3 (2022-04-13)
Bug Fixes
- changelog: generate new CHANGELOG.md files for root and
packages (349fda4)
,
closes #586063
. We regenerate the files to include all relevant commits and to use
conventional-commits
at 100%
14.16.0 (2022-04-07)
Bug Fixes
14.9.0 (2022-03-03)
Miscellaneous chores
- 🤖 Bootstrap (6822f5b)
14.8.1 (2022-02-23)
Bug Fixes
reinstall (d425056)
bootstrap (9a713df)
merge (2b1c5f1)
reinstall (5221600)
reinstall (147df55)
reinstall (afce1f2)
reinstall (67f3140)
-
Add changelog.md to files (3338314)
Reinstall (a2abf51)
14.2.2 (2021-12-10)
Code Refactoring
reinstall (885c74b)
-
fix changelogs manually (b1232b4)
reinstall (545a069)
reinstall (e149c2c)
13.12.3 (2021-11-09)
⚠ BREAKING CHANGES
- 🧨 The scope for If Design System npm packages has now changed from
@if-design-system
to@ids-core
. We have also renamed the repository fromif-design-system
toids-core
- 🧨 Util is now renamed to Utils
- 🧨 We have now changed the navigation structure for the documentation site. Please update any saved links!
- 🧨 Navigation structure has now changed. Please see release notes!
Documentation Updates
-
✏️ Move position of the quick links (5cb0897)
-
✏️ Remove unneeded margins for shortcuts (36c7e8d)
-
✏️ Update documentation (b1baa6d)
-
✏️ Update links and change navigation structure (0bfd27d) , closes #490579
Code Refactoring
-
💡 Reduce spacing tokens, use correct size tokens (97aa461)
-
💡 Remove manual box-shadow on example (5cd6477)
-
💡 Rename scope and repository (3ea5423)
-
💡 Use new navigation structure for documentation (415aee5) , closes #490579
-
another change in the structure (38a0d2e)
Miscellaneous chores
bootstrap (6fc1ed8)
reinstall (da80dba)
13.11.0 (2021-10-19)
Features
- 🎸 Input field hot reload (eac76b7)
13.7.0 (2021-09-22)
Documentation Updates
- ✏️ Update linking layout and naming (15c383b)
13.6.3 (2021-09-17)
Bug Fixes
13.6.0 (2021-09-08)
Documentation Updates
bootstrap (d23e139)
- 🤖 Use correct order for diff (cc6a4fd)
12.14.1 (2021-08-12)
Miscellaneous chores
12.13.1 (2021-08-11)
Bug Fixes
-
🐛 Whitelist docs dir for npm packaging (1a5cfd0) , closes #457621
-
🤖 Remove .gitignore, use npm package.json files instead, ignore zip files for npm pack (49f0269) , closes #412081 . This will whitelist files to be used in "npm pack"
-
🤖 Reinstall (e660696)
-
🤖 Update published date (61e7ccf)
12.6.0 (2021-05-27)
Bug Fixes
12.0.0 (2021-05-05)
⚠ BREAKING CHANGES
- 🧨 All of the mixins have now been renamed
- 🧨 Teasers are no more. It has been replaces with Lifestyle Navigational Card, Text Navigational Card. Studio Teasers is gone, use Studio Navigational Card instead, which is based on the old Studio Crosslinks
- 🧨 This extracts the Hero variation with no image into a separate, design updated component named Header
- 🧨 Footer is now renamed to Global Footer
Features
Bug Fixes
- 🐛 Update references (c08f107)
Code Refactoring
Miscellaneous chores
-
🤖 Convert typography tokens from theo to SD (e48f255)
-
🤖 Convert util tokens from theo to style-dictionary (99fb4f5)
-
🤖 Finalize breakpoint token conversion (f50ea0d)
-
🤖 Reinstall (2c763ea)
-
🤖 Reinstall (69e1a5b)
-
🤖 Update all design token references (c640d15)
-
🤖 Update references to util variables (b79ec36)
-
🤖 Updating links (70f166e)
rebuild (7edb430)
-
🤖 Rename Change Log to Changelog (d412e63)
-
🤖 Remove all references to sketch (35fc554) , closes #339203
-
🤖 Update package fields (200c0af)
-
reinstall packages (fcfacf4)
6.43.3 (2020-11-03)
Miscellaneous chores
reinstall (2cefe15)
6.36.0 (2020-10-12)
Miscellaneous chores
- 🤖 Add what-input to demo and dev files (56801b7)
6.29.3 (2020-09-07)
Documentation Updates
- ✏️ Merge atoms/molecules/organisms into components (90ed590)
6.26.12 (2020-08-03)
Documentation Updates
- ✏️ Update documentation for the new registry (3e7ba20)
Miscellaneous chores
-
🤖 lerna bootstrap (d835ec9)
-
🤖 Temporarily remove package-lock.json-files (87b3f7f)
-
🤖 Update references to new scope (b5575dd)
6.26.11 (2020-07-15)
Documentation Updates
- ✏️ Cleanup documentation layout for banner (d310663)
6.26.10 (2020-07-14)
Miscellaneous chores
-
🤖 Manually update some links (ecc0133)
-
🤖 Update CHANGELOG.md links to workitems and commits (ab2887b)
6.25.0 (2020-07-07)
Features
- 🎸 Add new banner type, for social media sharing (2f85d50)
Documentation Updates
- ✏️ Use domain links for assets (59ace1c)
Miscellaneous chores
- 🤖 Update preprocessor files for banner (bfd077a)
6.23.0 (2020-07-01)
Miscellaneous chores
reinstall (1ab1527)
6.22.0 (2020-07-01)
Miscellaneous chores
-
🤖 Remove references from old site to new site (08d174f)
-
🤖 Search and replace old color usage (3e5abb0)
6.21.6 (2020-06-11)
Miscellaneous chores
- 🤖 Remove .zip files from .npmignore (b3bc7dc)
6.21.4 (2020-06-11)
Miscellaneous chores
- 🤖 Use correct site URL (6a5a482)
6.19.0 (2020-06-02)
Miscellaneous chores
-
🤖 Remove old edit-link from banner usage.md (be2dca3)
reinstall (3416c65)
6.16.2 (2020-05-20)
Bug Fixes
- 🐛 Adjust spacing for banner titles (76f7634)
6.16.1 (2020-05-20)
Bug Fixes
- 🐛 Fix routing for dev server (295db6e)
Documentation Updates
- ✏️ Use full instead of emphasize in doc examples (a2dda1d)
6.15.5 (2020-05-15)
Miscellaneous chores
gatsbify (0e07d68)
-
prepped and ready to separate documentation site from code (d3e1fd9)
-
pruning and reinstalling (5cda0bc)
reinstall (939dae6)
reinstall (cae55fb)
- Remove livingcss data and add frontmatter data (b384946)
6.15.4 (2020-05-14)
Miscellaneous chores
- lerna bootstrap (0c4f599)
6.15.2 (2020-05-11)
Miscellaneous chores
- reinstall and build (aedc097)
6.15.0 (2020-05-07)
Miscellaneous chores
6.11.0 (2020-04-22)
Bug Fixes
- 🐛 Add sr only text for footer logo link (2971dd9)
6.10.9 (2020-04-22)
Miscellaneous chores
- 🤖 Add *.zip-files to .npmignore-files (062b8b0)
6.10.6 (2020-04-17)
Miscellaneous chores
- 🤖 lerna bootstrap (d8faf26)
6.9.1 (2020-04-16)
Documentation Updates
- ✏️ Use correct badge color in README.md (03b563e)
6.6.0 (2020-04-09)
Documentation Updates
- ✏️ Change edit this document to edit this section (791b646)
6.5.4 (2020-04-08)
Bug Fixes
6.5.3 (2020-04-06)
Documentation Updates
- ✏️ Some more sg updates and tweaks (d1d6802)
6.3.4 (2020-04-01)
Miscellaneous chores
- 🤖 Use more of if styling on documentation site (2eaf386)
5.2.0 (2020-03-17)
Features
- 🎸 Add component banner (073b392)
Miscellaneous chores
- 🤖 Finalize banner and documentation (efecb87)