1.7.6 • Published 4 months ago

@uoguelph/web-components v1.7.6

Weekly downloads
-
License
0BSD
Repository
github
Last release
4 months ago

University of Guelph Web Components Library

This is a collection of web components for use on various University of Guelph web pages. These components are built using Stencil, a compiler which makes developing component libraries fast and simple.

Including the components in a page

The best way to include the components in a page is to use unpkg, a fast and global CDN for everything on npm.

Put the following in the head of your HTML to always load the latest version

<link
  rel="stylesheet"
  href="https://unpkg.com/@uoguelph/web-components/dist/uofg-web-components/uofg-web-components.css"
/>
<script
  type="module"
  src="https://unpkg.com/@uoguelph/web-components/dist/uofg-web-components/uofg-web-components.esm.js"
></script>

Loading the latest version is not best practice, as a new version of the package may be released which has breaking changes and may result in your page being affected.

Instead, it's best to specify a semver range. As the package follows semantic versioning, versions follow this syntax: x.x.x where the first x represents major releases with potentially breaking changes, the second is minor releases with new features but maintains backwards compatibility, and finally the third which represents small bug fixes which are also backwards compatible.

For example 1.x.x represents the latest version of the v1 major release.

<link
  rel="stylesheet"
  href="https://unpkg.com/@uoguelph/web-components@1.x.x/dist/uofg-web-components/uofg-web-components.css"
/>
<script
  type="module"
  src="https://unpkg.com/@uoguelph/web-components@1.x.x/dist/uofg-web-components/uofg-web-components.esm.js"
></script>

Including the components this way, ensures that your page will run as expected, until you are ready to update to the latest major release.

For more information, check out the guide on the unpkg website.

Fonts

Some of the components were designed with specific fonts in mind, for example the uofg-header uses Roboto Condensed, a web font that is not included in most browsers/systems. As a result, it is recommended you include these fonts using the Google Fonts API:

<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="anonymous" />
<link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap" rel="stylesheet" />

Note the components will still function exactly as expected if these fonts are not included, but may differ slightly in looks.

Using the components

See the documentation for each component

Developing the components

See the development guide

1.9.1-rc.8

4 months ago

1.9.1-rc.5

4 months ago

1.9.1-rc.6

4 months ago

1.9.1-rc.3

4 months ago

1.9.1-rc.4

4 months ago

1.9.1-rc.1

4 months ago

1.9.1-rc.2

4 months ago

1.9.1-rc.0

4 months ago

1.9.0-rc.12

5 months ago

1.9.0-rc.11

5 months ago

1.9.0-rc.10

5 months ago

1.9.0-rc.9

5 months ago

1.9.0-rc.8

5 months ago

1.9.0-rc.7

5 months ago

1.9.0-rc.6

5 months ago

1.9.0-rc.1

5 months ago

1.9.0-rc.0

5 months ago

1.9.0-rc.5

5 months ago

1.9.0-rc.4

5 months ago

1.9.0-rc.3

5 months ago

1.9.0-rc.2

5 months ago

1.7.6

6 months ago

1.7.6-rc.0

6 months ago

1.7.6-rc.1

6 months ago

1.7.6-rc.2

6 months ago

1.7.6-rc.3

6 months ago

1.7.5

8 months ago

1.7.5-rc.0

8 months ago

1.7.4-rc.0

9 months ago

1.7.4

9 months ago

1.6.0

10 months ago

1.7.1-rc.0

10 months ago

1.6.0-rc.2

10 months ago

1.6.0-rc.1

10 months ago

1.6.0-rc.0

10 months ago

1.7.0-rc.0

10 months ago

1.8.0-rc.0

10 months ago

1.7.2-rc.0

10 months ago

1.7.3

10 months ago

1.7.2

10 months ago

1.7.1

10 months ago

1.7.0

10 months ago

1.7.3-rc.2

10 months ago

1.7.3-rc.1

10 months ago

1.7.3-rc.0

10 months ago

1.5.1-rc.0

12 months ago

1.5.1

12 months ago

1.5.0

12 months ago

1.4.2-rc.0

12 months ago

1.4.2

12 months ago

1.4.1

1 year ago

1.4.0

1 year ago

1.4.1-rc.0

1 year ago

1.4.0-rc.0

1 year ago

1.4.0-rc.2

1 year ago

1.4.0-rc.1

1 year ago

1.4.0-rc.3

1 year ago

1.2.3-rc.0

1 year ago

1.3.0-rc.3

1 year ago

1.2.2

1 year ago

1.2.2-rc.3

1 year ago

1.2.2-rc.1

1 year ago

1.2.2-rc.2

1 year ago

1.2.2-rc.0

1 year ago

1.3.0-rc.2

1 year ago

1.3.0-rc.0

1 year ago

1.3.0-rc.1

1 year ago

1.2.0

1 year ago

1.2.1

1 year ago

1.2.0-rc.9

1 year ago

1.2.0-rc.10

1 year ago

1.2.1-rc.0

1 year ago

1.2.0-rc.7

1 year ago

1.2.0-rc.6

1 year ago

1.2.0-rc.5

1 year ago

1.2.0-rc.2

1 year ago

1.2.0-rc.4

1 year ago

1.2.0-rc.3

1 year ago

1.2.0-rc.1

1 year ago

1.2.0-rc.0

1 year ago

1.1.4

1 year ago

1.0.2

2 years ago

1.0.18

2 years ago

1.0.1

2 years ago

1.0.17

2 years ago

1.0.0

2 years ago

1.0.16

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

0.0.30

2 years ago

0.0.31

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.29

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

0.0.20

2 years ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.15

2 years ago

1.0.14

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

0.0.10

2 years ago

0.0.9

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago