Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@hafslundnett/hdd-style
Advanced tools
'Hafslund digital designsystem' is a design system that can be used across projects while maintaining consistancy. The project follows strict naming guidlines, your can read more about them in the wiki. Every component should be able to run in an isolated environment without depending on parent classes/elements.
For every used front-end framework a separate 'components' library should be created. Listed below are the already existing libraries. If you want to add your library to this list, please create a pull request.
Framework | Version | Repo |
---|---|---|
Angular 6.x | 🚧 Alpha | Github |
Vue 2.x | 🚧 Alpha | Github |
HDD-style is documented along with it´s corresponding components library(HAL) at:
The showoff website include all documentation off components with related examples. The showoff website can be generated/started by running:
yarn
yarn start
You need to have node
and yarn
installed in order to start the showoff website.
You need access to the Hafslund Nett NPM organisation
yarn build
npm publish
We will behave ourselves if you behave yourselves. For more details see our code of conduct.
Please read through our contributing guidelines.
This project will be maintained under the Semantic Versioning guidelines as much as possible. Releases will be numbered with the following format:
<major>.<minor>.<patch>
Azure CDN is used to host fonts and icons from the cdn/
folder. To update the contents of
cdn/
.package.json
and the CDN-url in variables/fontawesome/_variables.scss
. The three numbers after "hdd-style-release-" should match the package version. If the package version is 1.0.2, then the url bound to $fa-font-path
should be https://hafslundnett.azureedge.net/hdd-style-release-1-0-2/icons
.release/1.0.2
, given that the package version is 1.0.2. This will start the hdd-style.release build, and upload the contents of cdn/
to Azure CDN.Note: This process has room for improvements.
Update [8.0.0]
In this update the default forms-compoentent have some breaking changes that fixes some styling-bugs.
Can affect spacing between .hdd-form_field
elements and other elements.
Add your own spacing between elements with the hdd-spacing standards!
.hdd-form_field
- standard spacing between elements is the same, but spacing will not be added to the last element..hdd-form_checkbox
- standard spacing between elements is the same, but spacing will not be added to the last element..hdd-form_radiobutton
- standard spacing between elements is the same, but spacing will not be added to the last element.border-box
as the new universal box-sizing
all elements will inherit this style.box-sizing
attribute can be set to content-box
or the element itself needs to change.Will affect the checkboxes if custom styling has been added to make the checkboxes smaller og bigger.
Overwrite the min + max width and height in your own component! Check with a designer if the change is needed.
.hdd-form_checkbox_mark
has now min + max width and height set to same height so that the size will never change..hdd-form_field_title
has now the attribute font-weight: bold
.FAQs
A universal design system used across Hafslund nett
The npm package @hafslundnett/hdd-style receives a total of 0 weekly downloads. As such, @hafslundnett/hdd-style popularity was classified as not popular.
We found that @hafslundnett/hdd-style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.