@entur/tokens 3.4.1 → 3.4.2-beta.0

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.
Files changed (2) hide show
  1. package/package.json +8 -6
  2. package/CHANGELOG.md +0 -225
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/tokens",
3
- "version": "3.4.1",
3
+ "version": "3.4.2-beta.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/tokens.esm.js",
@@ -18,20 +18,22 @@
18
18
  },
19
19
  "scripts": {
20
20
  "build": "yarn build:tokens && yarn build:css",
21
- "build:tokens": "dts build",
22
- "build:css": "ts-node -O '{\"module\": \"commonjs\"}' bin/build-tokens.ts",
23
- "test": "dts test"
21
+ "build:tokens": "yarn run dts build",
22
+ "build:css": "yarn run ts-node -O '{\"module\": \"commonjs\"}' bin/build-tokens.ts",
23
+ "prepack": "yarn run build"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/flat": "^0.0.28",
27
27
  "@types/fs-extra": "^8.0.0",
28
28
  "case": "^1.6.2",
29
+ "dts-cli": "^1.1.6",
29
30
  "flat": "^5.0.1",
30
31
  "fs-extra": "^8.1.0",
31
32
  "ts-node": "^8.3.0"
32
33
  },
33
34
  "dependencies": {
34
- "hex-rgb": "^4.1.0"
35
+ "hex-rgb": "^4.1.0",
36
+ "typescript": "^4.6.3"
35
37
  },
36
- "gitHead": "1dabe0c64e98a7de3a47a29fc24fd46e74dc0d7c"
38
+ "gitHead": "d66113fbe7eee544fb34f82211406b8ed95837a1"
37
39
  }
package/CHANGELOG.md DELETED
@@ -1,225 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [3.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@3.4.0...@entur/tokens@3.4.1) (2022-08-24)
7
-
8
- **Note:** Version bump only for package @entur/tokens
9
-
10
- # [3.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@3.3.2...@entur/tokens@3.4.0) (2022-08-09)
11
-
12
- ### Features
13
-
14
- - **js tokens:** add rem version for all relevant js tokens ([4f03069](https://bitbucket.org/enturas/design-system/commits/4f030697c0d6534e39659f87551119aeac27e349))
15
-
16
- ## [3.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@3.3.1...@entur/tokens@3.3.2) (2022-04-27)
17
-
18
- **Note:** Version bump only for package @entur/tokens
19
-
20
- ## [3.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@3.3.0...@entur/tokens@3.3.1) (2022-02-09)
21
-
22
- **Note:** Version bump only for package @entur/tokens
23
-
24
- # [3.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@3.2.1...@entur/tokens@3.3.0) (2021-11-17)
25
-
26
- ### Features
27
-
28
- - **colors:** add data colors ([86fef07](https://bitbucket.org/enturas/design-system/commits/86fef07d5cfd18cb376094cce9258a7861c5826c))
29
-
30
- ## [3.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@3.2.0...@entur/tokens@3.2.1) (2021-09-23)
31
-
32
- ### Bug Fixes
33
-
34
- - **shadows:** adjust width of focus token ([41aae61](https://bitbucket.org/enturas/design-system/commits/41aae61108873cca0d928af0368e2b693f355777))
35
-
36
- # [3.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@3.1.0...@entur/tokens@3.2.0) (2021-09-07)
37
-
38
- ### Bug Fixes
39
-
40
- - update shadow-focus token to match outline focus ([0882c3c](https://bitbucket.org/enturas/design-system/commits/0882c3c8ea265c58f4e8e0c386ae6f58be382fab))
41
-
42
- ### Features
43
-
44
- - **color:** add canary contrast and canary tint ([c2a22dc](https://bitbucket.org/enturas/design-system/commits/c2a22dc2168971edb3763641ebb64d2a8efbb4e7))
45
-
46
- # [3.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@3.0.1...@entur/tokens@3.1.0) (2021-04-23)
47
-
48
- ### Bug Fixes
49
-
50
- - **shadows:** update box shadow tokens ([5b10f8c](https://bitbucket.org/enturas/design-system/commits/5b10f8cae1c54bacd8ef47fdf52d380be772e91d))
51
-
52
- ### Features
53
-
54
- - add box shadow tokens ([51365ad](https://bitbucket.org/enturas/design-system/commits/51365ad92641113c1a854f3a1a4b18631459c793))
55
- - add outline and outline offset tokens ([4c30d26](https://bitbucket.org/enturas/design-system/commits/4c30d2696c872aeac85ad33c5731652fa74a7253))
56
-
57
- ## [3.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@3.0.0...@entur/tokens@3.0.1) (2021-01-20)
58
-
59
- ### Bug Fixes
60
-
61
- - darken misc-black, and adjust card-shadow ([2ae046b](https://bitbucket.org/enturas/design-system/commits/2ae046b832f8134ad1196ce832480be551fafcd4))
62
-
63
- # [3.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@2.0.1...@entur/tokens@3.0.0) (2021-01-13)
64
-
65
- ### Features
66
-
67
- - **color:** extend grey color range with darker colors ([b4a7096](https://bitbucket.org/enturas/design-system/commits/b4a709670422e371155e3cabc3deba01417a0397))
68
-
69
- ### BREAKING CHANGES
70
-
71
- - **color:** old values moved up - transpose greys by adding 50 - e.g. grey -> grey50 or grey20 -> grey70
72
-
73
- ## [2.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@2.0.0...@entur/tokens@2.0.1) (2020-12-04)
74
-
75
- ### Bug Fixes
76
-
77
- - **zindex:** change typing from string to number ([87491c6](https://bitbucket.org/enturas/design-system/commits/87491c668ceba7b1ec75983c85968ffce6638890))
78
-
79
- # [2.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.4.0...@entur/tokens@2.0.0) (2020-09-02)
80
-
81
- ### Features
82
-
83
- - **font sizes:** add new font size, and extra large sizes are shifted ([bcb99cf](https://bitbucket.org/enturas/design-system/commits/bcb99cf175340294c277a5278f9cfa38a9d57894))
84
-
85
- ### BREAKING CHANGES
86
-
87
- - **font sizes:**
88
- - **font sizes:** if you are using extralarge or larger for font size | shift font size one size up to
89
- remedy this. e.g. extralarge -> extralarge2
90
-
91
- # [1.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.3.6...@entur/tokens@1.4.0) (2020-08-11)
92
-
93
- ### Bug Fixes
94
-
95
- - update some transport contrast colors ([6697fc5](https://bitbucket.org/enturas/design-system/commits/6697fc5211b7c5ae35e5bf36c6e03041ac3b6bee))
96
-
97
- ### Features
98
-
99
- - add new color blue90 ([365e440](https://bitbucket.org/enturas/design-system/commits/365e4409c0ef948604947d174d54b4c7d196a343))
100
-
101
- ## [1.3.6](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.3.5...@entur/tokens@1.3.6) (2020-07-03)
102
-
103
- ### Bug Fixes
104
-
105
- - update bus colors for better differentiation ([7289adb](https://bitbucket.org/enturas/design-system/commits/7289adb992aa38dd1f38fdf390ad55ede5cb260c))
106
-
107
- ## [1.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.3.4...@entur/tokens@1.3.5) (2020-06-17)
108
-
109
- **Note:** Version bump only for package @entur/tokens
110
-
111
- ## [1.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.3.3...@entur/tokens@1.3.4) (2020-05-27)
112
-
113
- **Note:** Version bump only for package @entur/tokens
114
-
115
- ## [1.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.3.2...@entur/tokens@1.3.3) (2020-05-26)
116
-
117
- **Note:** Version bump only for package @entur/tokens
118
-
119
- ## [1.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.3.1...@entur/tokens@1.3.2) (2020-05-20)
120
-
121
- **Note:** Version bump only for package @entur/tokens
122
-
123
- ## [1.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.3.0...@entur/tokens@1.3.1) (2020-04-27)
124
-
125
- **Note:** Version bump only for package @entur/tokens
126
-
127
- # [1.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.2.3...@entur/tokens@1.3.0) (2020-04-23)
128
-
129
- ### Features
130
-
131
- - new focus styling and focus styling for contrast ([b05d79a](https://bitbucket.org/enturas/design-system/commits/b05d79ae762459c9926f4e43c150c3ce0db5ddfa))
132
-
133
- ## [1.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.2.2...@entur/tokens@1.2.3) (2020-03-20)
134
-
135
- ### Bug Fixes
136
-
137
- - fix of broken shadow tokens ([690c172](https://bitbucket.org/enturas/design-system/commits/690c172c159d1d9e9da69adde7dea4d379a7558e))
138
-
139
- ## [1.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.2.1...@entur/tokens@1.2.2) (2020-03-18)
140
-
141
- ### Bug Fixes
142
-
143
- - update shadow tokens ([cfb67d4](https://bitbucket.org/enturas/design-system/commits/cfb67d41eb169f917ced88a35f540120d0d58a78))
144
-
145
- ## [1.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.2.0...@entur/tokens@1.2.1) (2020-02-20)
146
-
147
- ### Bug Fixes
148
-
149
- - readjusting typography for small surfaces ([033ecaa](https://bitbucket.org/enturas/design-system/commits/033ecaad78be039b0290dbacba80604b502cd4cd))
150
-
151
- # [1.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.1.4...@entur/tokens@1.2.0) (2020-02-05)
152
-
153
- ### Bug Fixes
154
-
155
- - add "medium" timing for transition and animation purposes ([e1fd226](https://bitbucket.org/enturas/design-system/commits/e1fd22680064babdbe51f69708c2516410d9d0fd))
156
- - remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
157
-
158
- ### Features
159
-
160
- - adding extra large breakpoint token ([543e60b](https://bitbucket.org/enturas/design-system/commits/543e60b224f05ae390252bdd86d7aa35c7ca77e3))
161
-
162
- ## [1.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.1.3...@entur/tokens@1.1.4) (2020-01-28)
163
-
164
- ### Bug Fixes
165
-
166
- - **colors:** update tram color to be consistent with other purps ([4651eb3](https://bitbucket.org/enturas/design-system/commits/4651eb386252ea97787c94c0f01b652d4bbd4e30))
167
-
168
- ## [1.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.1.2...@entur/tokens@1.1.3) (2020-01-27)
169
-
170
- ### Bug Fixes
171
-
172
- - **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
173
- - update lineheight and font size tokens to align with 8x system ([4b5455e](https://bitbucket.org/enturas/design-system/commits/4b5455ee9ae4daaebfee0fa6b787c0d41f6b3008))
174
-
175
- ## [1.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.1.1...@entur/tokens@1.1.2) (2020-01-14)
176
-
177
- **Note:** Version bump only for package @entur/tokens
178
-
179
- ## [1.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.1.0...@entur/tokens@1.1.1) (2020-01-06)
180
-
181
- **Note:** Version bump only for package @entur/tokens
182
-
183
- # [1.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.0.2...@entur/tokens@1.1.0) (2019-11-29)
184
-
185
- ### Bug Fixes
186
-
187
- - updating focus color to be a rgba color ([a99dab6](https://bitbucket.org/enturas/design-system/commits/a99dab6177ddfb3bd6724e1106286595d0bab192))
188
-
189
- ### Features
190
-
191
- - adding boxshadow tokens ([abe861f](https://bitbucket.org/enturas/design-system/commits/abe861f943c06a9743a12fe1144a3249bbc3a4aa))
192
-
193
- ## [1.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.0.1...@entur/tokens@1.0.2) (2019-11-22)
194
-
195
- **Note:** Version bump only for package @entur/tokens
196
-
197
- ## [1.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@1.0.0...@entur/tokens@1.0.1) (2019-11-14)
198
-
199
- ### Bug Fixes
200
-
201
- - change the color of colors.greys.grey ([9e9cf17](https://bitbucket.org/enturas/design-system/commits/9e9cf1720b00ffe54cfc2c800335034c5c3e637c))
202
-
203
- # [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/tokens@0.2.0...@entur/tokens@1.0.0) (2019-10-30)
204
-
205
- ### Features
206
-
207
- - **Timings:** adding timings to be used with transitions/animations ([cc26b5d](https://bitbucket.org/enturas/design-system/commits/cc26b5d1b687f34eff9f18b22fd3664dd91bfd5b))
208
- - **tokens:** add borderWidth, borderRadius and zIndex tokens ([01b4319](https://bitbucket.org/enturas/design-system/commits/01b4319efafcdb2fc478b8f73604a9c910b55cb9))
209
- - **tokens:** add new token small of 12 px ([3256e1a](https://bitbucket.org/enturas/design-system/commits/3256e1a49ed2d668ddf1bec3caf4f3b30ad401b7))
210
-
211
- ### BREAKING CHANGES
212
-
213
- - **tokens:** space.extraSmall is now space.extraSmall2, space.small is now space.extraSmall
214
-
215
- # 0.2.0 (2019-09-25)
216
-
217
- ### Bug Fixes
218
-
219
- - **tokens:** make sure font weights aren't suffixed with px ([339aecf](https://bitbucket.org/enturas/design-system/commits/339aecf))
220
-
221
- ### Features
222
-
223
- - **tokens:** add new line height size ([2cd447a](https://bitbucket.org/enturas/design-system/commits/2cd447a))
224
- - **tokens:** add new package "tokens" ([680d062](https://bitbucket.org/enturas/design-system/commits/680d062))
225
- - **tokens:** add three new colors for info boxes ([a8dca64](https://bitbucket.org/enturas/design-system/commits/a8dca64))