@ghs-hazard-pictograms/css 1.0.4 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -34
- package/package.json +31 -31
package/README.md
CHANGED
|
@@ -42,38 +42,38 @@ Or link it in HTML:
|
|
|
42
42
|
|
|
43
43
|
### GHS chemical hazard pictograms
|
|
44
44
|
|
|
45
|
-
| Class
|
|
46
|
-
|
|
47
|
-
| `.ghs-ghs01` | GHS01 Explosive
|
|
48
|
-
| `.ghs-ghs02` | GHS02 Flammable
|
|
49
|
-
| `.ghs-ghs03` | GHS03 Oxidizing
|
|
50
|
-
| `.ghs-ghs04` | GHS04 Compressed Gas
|
|
51
|
-
| `.ghs-ghs05` | GHS05 Corrosive
|
|
52
|
-
| `.ghs-ghs06` | GHS06 Toxic
|
|
45
|
+
| Class | Pictogram |
|
|
46
|
+
| ------------ | ---------------------------------------------- |
|
|
47
|
+
| `.ghs-ghs01` | GHS01 Explosive |
|
|
48
|
+
| `.ghs-ghs02` | GHS02 Flammable |
|
|
49
|
+
| `.ghs-ghs03` | GHS03 Oxidizing |
|
|
50
|
+
| `.ghs-ghs04` | GHS04 Compressed Gas |
|
|
51
|
+
| `.ghs-ghs05` | GHS05 Corrosive |
|
|
52
|
+
| `.ghs-ghs06` | GHS06 Toxic |
|
|
53
53
|
| `.ghs-ghs07` | GHS07 Health Hazard / Hazardous to Ozone Layer |
|
|
54
|
-
| `.ghs-ghs08` | GHS08 Serious Health Hazard
|
|
55
|
-
| `.ghs-ghs09` | GHS09 Hazardous to the Environment
|
|
54
|
+
| `.ghs-ghs08` | GHS08 Serious Health Hazard |
|
|
55
|
+
| `.ghs-ghs09` | GHS09 Hazardous to the Environment |
|
|
56
56
|
|
|
57
57
|
### UN transport hazard class pictograms
|
|
58
58
|
|
|
59
|
-
| Class
|
|
60
|
-
|
|
61
|
-
| `.ghs-adr-1`
|
|
62
|
-
| `.ghs-adr-1-4` | Division 1.4 — Explosives
|
|
63
|
-
| `.ghs-adr-1-5` | Division 1.5 — Explosives
|
|
64
|
-
| `.ghs-adr-1-6` | Division 1.6 — Explosives
|
|
65
|
-
| `.ghs-adr-2-1` | Division 2.1 — Flammable Gas
|
|
66
|
-
| `.ghs-adr-2-2` | Division 2.2 — Non-Flammable Gas
|
|
67
|
-
| `.ghs-adr-2-3` | Division 2.3 — Toxic Gas
|
|
68
|
-
| `.ghs-adr-3`
|
|
69
|
-
| `.ghs-adr-5-1` | Division 5.1 — Oxidizing Substances
|
|
70
|
-
| `.ghs-adr-5-2` | Division 5.2 — Organic Peroxides
|
|
71
|
-
| `.ghs-adr-6-1` | Division 6.1 — Toxic Substances
|
|
72
|
-
| `.ghs-adr-8`
|
|
73
|
-
| `.ghs-un-6-2`
|
|
74
|
-
| `.ghs-un-7`
|
|
75
|
-
| `.ghs-un-8`
|
|
76
|
-
| `.ghs-un-9`
|
|
59
|
+
| Class | Pictogram |
|
|
60
|
+
| -------------- | --------------------------------------- |
|
|
61
|
+
| `.ghs-adr-1` | Divisions 1.1, 1.2, 1.3 — Explosives |
|
|
62
|
+
| `.ghs-adr-1-4` | Division 1.4 — Explosives |
|
|
63
|
+
| `.ghs-adr-1-5` | Division 1.5 — Explosives |
|
|
64
|
+
| `.ghs-adr-1-6` | Division 1.6 — Explosives |
|
|
65
|
+
| `.ghs-adr-2-1` | Division 2.1 — Flammable Gas |
|
|
66
|
+
| `.ghs-adr-2-2` | Division 2.2 — Non-Flammable Gas |
|
|
67
|
+
| `.ghs-adr-2-3` | Division 2.3 — Toxic Gas |
|
|
68
|
+
| `.ghs-adr-3` | Class 3 — Flammable Liquid |
|
|
69
|
+
| `.ghs-adr-5-1` | Division 5.1 — Oxidizing Substances |
|
|
70
|
+
| `.ghs-adr-5-2` | Division 5.2 — Organic Peroxides |
|
|
71
|
+
| `.ghs-adr-6-1` | Division 6.1 — Toxic Substances |
|
|
72
|
+
| `.ghs-adr-8` | Class 8 — Corrosive Substances |
|
|
73
|
+
| `.ghs-un-6-2` | Class 6.2 — Infectious Substances |
|
|
74
|
+
| `.ghs-un-7` | Class 7 — Radioactive Material |
|
|
75
|
+
| `.ghs-un-8` | Class 8 (UN) — Corrosive |
|
|
76
|
+
| `.ghs-un-9` | Class 9 — Miscellaneous Dangerous Goods |
|
|
77
77
|
|
|
78
78
|
## JavaScript / TypeScript API
|
|
79
79
|
|
|
@@ -114,12 +114,12 @@ The element itself must have an explicit `width` and `height` — the stylesheet
|
|
|
114
114
|
|
|
115
115
|
## Related packages
|
|
116
116
|
|
|
117
|
-
| Package
|
|
118
|
-
|
|
119
|
-
| [`@ghs-hazard-pictograms/core`](https://www.npmjs.com/package/@ghs-hazard-pictograms/core)
|
|
120
|
-
| [`@ghs-hazard-pictograms/react`](https://www.npmjs.com/package/@ghs-hazard-pictograms/react)
|
|
121
|
-
| [`@ghs-hazard-pictograms/assets`](https://www.npmjs.com/package/@ghs-hazard-pictograms/assets) | Static SVG/PNG/JPG/WebP image files (required peer)
|
|
122
|
-
| [`@ghs-hazard-pictograms/sprite`](https://www.npmjs.com/package/@ghs-hazard-pictograms/sprite) | SVG `<symbol>` sprite for `<use href>` embedding
|
|
117
|
+
| Package | Description |
|
|
118
|
+
| ---------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
|
|
119
|
+
| [`@ghs-hazard-pictograms/core`](https://www.npmjs.com/package/@ghs-hazard-pictograms/core) | Raw data, inline SVGs, and lookup helpers (framework-agnostic) |
|
|
120
|
+
| [`@ghs-hazard-pictograms/react`](https://www.npmjs.com/package/@ghs-hazard-pictograms/react) | Ready-to-use React components for each pictogram |
|
|
121
|
+
| [`@ghs-hazard-pictograms/assets`](https://www.npmjs.com/package/@ghs-hazard-pictograms/assets) | Static SVG/PNG/JPG/WebP image files (required peer) |
|
|
122
|
+
| [`@ghs-hazard-pictograms/sprite`](https://www.npmjs.com/package/@ghs-hazard-pictograms/sprite) | SVG `<symbol>` sprite for `<use href>` embedding |
|
|
123
123
|
|
|
124
124
|
## Links
|
|
125
125
|
|
package/package.json
CHANGED
|
@@ -1,17 +1,42 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ghs-hazard-pictograms/css",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "GHS hazard pictogram CSS sprite utilities",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"adr",
|
|
7
|
+
"background-image",
|
|
8
|
+
"chemical",
|
|
9
|
+
"css",
|
|
10
|
+
"ghs",
|
|
11
|
+
"globally-harmonized-system",
|
|
12
|
+
"hazard",
|
|
13
|
+
"icons",
|
|
14
|
+
"pictogram",
|
|
15
|
+
"pictograms",
|
|
16
|
+
"safety",
|
|
17
|
+
"sprite",
|
|
18
|
+
"symbol",
|
|
19
|
+
"transport",
|
|
20
|
+
"un",
|
|
21
|
+
"utility",
|
|
22
|
+
"warning"
|
|
23
|
+
],
|
|
5
24
|
"homepage": "https://karlnorling.github.io/ghs-hazard-pictograms/",
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/karlnorling/ghs-hazard-pictograms/issues"
|
|
27
|
+
},
|
|
28
|
+
"license": "MIT",
|
|
6
29
|
"repository": {
|
|
7
30
|
"type": "git",
|
|
8
31
|
"url": "https://github.com/karlnorling/ghs-hazard-pictograms",
|
|
9
32
|
"directory": "packages/@ghs-hazard-pictograms/css"
|
|
10
33
|
},
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
34
|
+
"files": [
|
|
35
|
+
"dist/",
|
|
36
|
+
"sprite.css",
|
|
37
|
+
"package.json",
|
|
38
|
+
"README.md"
|
|
39
|
+
],
|
|
15
40
|
"main": "./dist/cjs/index.js",
|
|
16
41
|
"module": "./dist/esm/index.js",
|
|
17
42
|
"types": "./dist/esm/index.d.ts",
|
|
@@ -23,35 +48,10 @@
|
|
|
23
48
|
},
|
|
24
49
|
"./sprite.css": "./sprite.css"
|
|
25
50
|
},
|
|
26
|
-
"files": [
|
|
27
|
-
"dist/",
|
|
28
|
-
"sprite.css",
|
|
29
|
-
"package.json",
|
|
30
|
-
"README.md"
|
|
31
|
-
],
|
|
32
|
-
"keywords": [
|
|
33
|
-
"ghs",
|
|
34
|
-
"hazard",
|
|
35
|
-
"pictogram",
|
|
36
|
-
"pictograms",
|
|
37
|
-
"chemical",
|
|
38
|
-
"safety",
|
|
39
|
-
"warning",
|
|
40
|
-
"symbol",
|
|
41
|
-
"icons",
|
|
42
|
-
"css",
|
|
43
|
-
"sprite",
|
|
44
|
-
"background-image",
|
|
45
|
-
"utility",
|
|
46
|
-
"transport",
|
|
47
|
-
"un",
|
|
48
|
-
"adr",
|
|
49
|
-
"globally-harmonized-system"
|
|
50
|
-
],
|
|
51
51
|
"scripts": {
|
|
52
52
|
"compile": "tsc -p tsconfig.cjs.json && tsc -p tsconfig.esm.json && node -e \"require('fs').writeFileSync('dist/cjs/package.json', JSON.stringify({type:'commonjs'})); require('fs').writeFileSync('dist/esm/package.json', JSON.stringify({type:'module'}))\"",
|
|
53
53
|
"test": "jest",
|
|
54
|
-
"type-check": "tsc --noEmit -p tsconfig.
|
|
54
|
+
"type-check": "tsc --noEmit -p tsconfig.json"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
57
|
"@ghs-hazard-pictograms/core": "workspace:*"
|