5.6.1-beta8 • Published 7 days ago

@iamproperty/components v5.6.1-beta8

Weekly downloads
1
License
UNLICENSED
Repository
github
Last release
7 days ago

Getting started

Using the component library or assets

Install

npm install @iamproperty/components --save

Usage

Static assets

The assets folder can be used independently from the Vue components so that they can be used with other frameworks. With the compiled files available to use out of the box alongside the source files that can be configured.

<link href="./node_modules/@iamproperty/components/assets/css/style.min.css" as="style" />
<script src="./node_modules/@iamproperty/components/assets/js/scripts.bundle.min.js"></script>
Sass files
@import './node_modules/@iamproperty/components/assets/sass/_func.scss';
@import './node_modules/@iamproperty/components/assets/sass/_corefiles_.scss';
JS modules
import navbar from @iamproperty/components/assets/js/modules/navbar.js

Vue application

import '@iamproperty/components/assets/css/core.min.css'
import '@iamproperty/components/dist/style.css'

import * as iamkey from '@iamproperty/components'
for (const [key, value] of Object.entries(iamkey)) {
  Vue.component(key, value)
}

Components then can be used as described in the design system documentation.

<Header title="Page title" image="../../assets/image.jpeg"><p>Page description</p></Header>

Contributing to iam key

Create code branch

Firstly the clone the repo from GitHub and create a new branch from the develop branch using the agreed naming convention (FEG-99/feature/task-title).

Commands

Install node packages

npm install --force

Development local web server

Setup a local web server to run the documentation site this will allow you to modify the code and check it.

npm run dev 

OR

npm run watch

The second command will run dev but will also watch for sass and typescript files being changed which would then update the CSS and JavaScript files.

Run unit tests

Unit tests should be ran after changing any code to make sure it has no unwanted side effects.

npm run test

This command is ran when a PR is created to give the reviewer confidence that their hasn't been any unforeseen side effects

Run visual regression test

This command should be ran while the local web server is still running. The localURL variable in package.json file needs to match the local web server.

npm run visual

The visual regression tests may differ greatly if the tests are running on a windows when the the snapshots where created on Mac.

Prepare for pull request

This command should be ran while the local web server is still running. The localURL variable in package.json file needs to match the local web server.

Before creating a pull request we want to make sure assets get re-compiled and audited so that we can keep an eye on file sizes. We also want to recreate visual regression snapshots. This will create a number of files that will be added to the pull request to help the reviewers make judgement on the changes.

npm run pull-request

Create Pull request into develop

You will not have the ability to commit changes directly to the main or develop branches and a pull request will have to be created. This pull request should follow the format dictated in the .github/pull_request_template.md file. The pull reguest should always be into develop unless you are doing a hotfix in a release branch. At least one approver is needed but for more complex bits of work more can be added. The pull request will run the unit tests and create a test environment in netlify for the reviewer to help complete the review. Once the pull request is closed the netlify development environment will get updated.

https://iamproperty-dev.netlify.app/

Create release

The creation of an npm package is done through GitHub actions when a GitHub release is created. Releases can be made from any branch but it should come from the master branch. npm registry package.

Update the documentation site

To update the documentation site you need to create a pull request from develop or a release branch into master. Once the PR is approved an automatic build and deploy process using GitHub actions will be created.

https://iamproperty.github.io/

5.6.1-beta8

7 days ago

5.6.1-beta7

13 days ago

5.6.1-beta6

14 days ago

5.6.1-beta5

16 days ago

5.6.1-beta4

16 days ago

5.6.1-beta3

20 days ago

5.6.1-beta2

23 days ago

5.6.1-beta1

29 days ago

5.6.0

1 month ago

5.5.1-beta-5

1 month ago

5.5.1-beta-4

1 month ago

5.5.1-beta-2

1 month ago

5.5.1-beta-1

2 months ago

5.5.0

3 months ago

5.4.2-beta4

3 months ago

5.4.2-beta3

3 months ago

5.4.2-beta2

3 months ago

5.4.2-beta1

3 months ago

5.4.1

3 months ago

5.4.0

3 months ago

5.3.0-beta7

4 months ago

5.3.0-beta6

4 months ago

5.3.0-beta5

4 months ago

5.3.0-beta4

4 months ago

5.3.0-beta3

4 months ago

5.3.0-beta2

4 months ago

5.2.0

5 months ago

5.3.0-beta1

4 months ago

5.1.0-beta12

5 months ago

5.1.0-beta13

5 months ago

5.1.0-beta11

5 months ago

5.1.0-beta10

5 months ago

5.1.0-beta9

5 months ago

5.1.0-beta8

5 months ago

5.1.0-beta7

5 months ago

5.1.0-beta6

5 months ago

4.1.0-beta

7 months ago

3.7.9-beta

9 months ago

5.1.0-beta

6 months ago

3.7.5

10 months ago

3.7.4

10 months ago

3.7.3

10 months ago

3.7.9

8 months ago

3.7.8

9 months ago

3.7.7

10 months ago

3.7.6

10 months ago

3.8.0

8 months ago

3.7.8--beta-2

10 months ago

4.1.1-beta-7

6 months ago

4.1.1-beta-6

6 months ago

4.1.1-beta-3

7 months ago

4.1.0-beta-3

7 months ago

4.1.1-beta-2

7 months ago

3.9.0-beta-1

8 months ago

4.1.1-beta-5

7 months ago

4.1.1-beta-4

7 months ago

4.1.0-beta-2

7 months ago

4.0.4

6 months ago

4.0.1

7 months ago

4.0.0

8 months ago

4.0.3

6 months ago

4.0.2

7 months ago

5.0.0

6 months ago

3.7.9-beta-2

9 months ago

3.7.8--beta

10 months ago

4.1.1-beta

7 months ago

5.1.0-beta5

5 months ago

5.1.0-beta4

5 months ago

5.1.0-beta3

5 months ago

5.1.0-beta2

6 months ago

4.1.0

7 months ago

3.7.2

11 months ago

3.6.0

11 months ago

3.4.7

11 months ago

3.4.6

1 year ago

3.7.1

11 months ago

3.7.0

11 months ago

3.5.0

11 months ago

2.8.1

1 year ago

3.4.4

1 year ago

3.4.5

1 year ago

2.8.0

1 year ago

3.2.0

2 years ago

3.0.0

2 years ago

2.9.0

2 years ago

3.1.0

2 years ago

2.7.9

2 years ago

2.7.6

2 years ago

2.7.5

2 years ago

2.7.8

2 years ago

2.7.7

2 years ago

2.7.2

2 years ago

2.7.1

2 years ago

2.7.4

2 years ago

2.7.3

2 years ago

2.7.0

2 years ago

2.3.0

2 years ago

2.2.0

2 years ago

2.5.0

2 years ago

2.3.2

2 years ago

2.4.0

2 years ago

2.3.1

2 years ago

2.6.1

2 years ago

2.6.0

2 years ago

2.5.1

2 years ago

2.3.3

2 years ago

2.6.3

2 years ago

2.6.2

2 years ago

2.1.0

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.14

3 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.10

4 years ago

1.0.9

4 years ago

1.0.7-0

4 years ago

1.0.8-0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1-3

4 years ago

1.0.1-2

4 years ago

1.0.1-1

4 years ago

1.0.1-0

4 years ago