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