@entur/form 5.4.8-beta.0 → 5.4.8

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 (3) hide show
  1. package/CHANGELOG.md +808 -0
  2. package/dist/styles.css +67 -67
  3. package/package.json +11 -18
package/CHANGELOG.md ADDED
@@ -0,0 +1,808 @@
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
+ ## [5.4.8](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.7...@entur/form@5.4.8) (2022-10-31)
7
+
8
+ **Note:** Version bump only for package @entur/form
9
+
10
+ ## [5.4.7](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.6...@entur/form@5.4.7) (2022-10-20)
11
+
12
+ **Note:** Version bump only for package @entur/form
13
+
14
+ ## [5.4.6](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.5...@entur/form@5.4.6) (2022-10-20)
15
+
16
+ **Note:** Version bump only for package @entur/form
17
+
18
+ ## [5.4.5](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.4...@entur/form@5.4.5) (2022-10-12)
19
+
20
+ **Note:** Version bump only for package @entur/form
21
+
22
+ ## [5.4.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.2...@entur/form@5.4.3) (2022-08-31)
23
+
24
+ **Note:** Version bump only for package @entur/form
25
+
26
+ ## [5.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.1...@entur/form@5.4.2) (2022-08-24)
27
+
28
+ ### Bug Fixes
29
+
30
+ - fix lint errors, mostly related to hooks ([f753806](https://bitbucket.org/enturas/design-system/commits/f75380657d95357f89917ddd7a2bce6f5e04b490))
31
+
32
+ ## [5.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.4.0...@entur/form@5.4.1) (2022-08-12)
33
+
34
+ ### Bug Fixes
35
+
36
+ - **segmented control:** fix screen readers not reading label for segmented control ([4f64203](https://bitbucket.org/enturas/design-system/commits/4f64203fada486a569781fa7d22027cd59935af5))
37
+ - **text area:** add missing aria-invalid to text area ([c64ebda](https://bitbucket.org/enturas/design-system/commits/c64ebda1e593fdc60e8dfc786aa3dc2c24eb3524))
38
+ - **text field:** fix check for if input should be aria-invalid ([2ca938b](https://bitbucket.org/enturas/design-system/commits/2ca938b538e9688f42d9cb6e9ae13e130a0b1b95))
39
+
40
+ # [5.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.10...@entur/form@5.4.0) (2022-08-09)
41
+
42
+ ### Features
43
+
44
+ - **datepicker:** add alert for screenreader when invalid date is inputed ([f21a0d9](https://bitbucket.org/enturas/design-system/commits/f21a0d9a50eb83ce8e7ae0acc876d2a465ea42d0))
45
+
46
+ ## [5.3.10](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.9...@entur/form@5.3.10) (2022-08-09)
47
+
48
+ **Note:** Version bump only for package @entur/form
49
+
50
+ ## [5.3.9](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.8...@entur/form@5.3.9) (2022-07-05)
51
+
52
+ ### Bug Fixes
53
+
54
+ - **validation exclamation icon:** fix icon colours for validation exclamation icon in react native ([4e64eb8](https://bitbucket.org/enturas/design-system/commits/4e64eb86fd1b98731b47ac040ce578e8ee0aa956))
55
+
56
+ ## [5.3.8](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.7...@entur/form@5.3.8) (2022-06-28)
57
+
58
+ **Note:** Version bump only for package @entur/form
59
+
60
+ ## [5.3.7](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.6...@entur/form@5.3.7) (2022-06-24)
61
+
62
+ **Note:** Version bump only for package @entur/form
63
+
64
+ ## [5.3.6](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.5...@entur/form@5.3.6) (2022-06-02)
65
+
66
+ **Note:** Version bump only for package @entur/form
67
+
68
+ ## [5.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.4...@entur/form@5.3.5) (2022-05-13)
69
+
70
+ ### Bug Fixes
71
+
72
+ - **text field:** fix linter errors for react hooks ([fbf1011](https://bitbucket.org/enturas/design-system/commits/fbf10116cef7abb943e1404be2194886bdacba66))
73
+
74
+ ## [5.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.3...@entur/form@5.3.4) (2022-05-04)
75
+
76
+ ### Bug Fixes
77
+
78
+ - **validation exclamation icon:** fix incorrect exclamation mark color for non-contrast validation ([22deff9](https://bitbucket.org/enturas/design-system/commits/22deff9cac4f867a26a14ec51197f1c3be13d403))
79
+
80
+ ## [5.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.2...@entur/form@5.3.3) (2022-04-27)
81
+
82
+ **Note:** Version bump only for package @entur/form
83
+
84
+ ## [5.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.1...@entur/form@5.3.2) (2022-04-20)
85
+
86
+ **Note:** Version bump only for package @entur/form
87
+
88
+ ## [5.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.3.0...@entur/form@5.3.1) (2022-04-19)
89
+
90
+ **Note:** Version bump only for package @entur/form
91
+
92
+ # [5.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.2.3...@entur/form@5.3.0) (2022-03-14)
93
+
94
+ ### Features
95
+
96
+ - **switch:** add state icon to switch by default. Hide using hideIcon or change using icon prop ([a785c76](https://bitbucket.org/enturas/design-system/commits/a785c760bfd7b3f7aa45887a08b97c83656eb69e))
97
+
98
+ ## [5.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.2.2...@entur/form@5.2.3) (2022-03-01)
99
+
100
+ **Note:** Version bump only for package @entur/form
101
+
102
+ ## [5.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.2.1...@entur/form@5.2.2) (2022-02-09)
103
+
104
+ **Note:** Version bump only for package @entur/form
105
+
106
+ ## [5.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.2.0...@entur/form@5.2.1) (2022-01-21)
107
+
108
+ ### Bug Fixes
109
+
110
+ - **textarea:** fix label position bug in textarea ([cbc07cd](https://bitbucket.org/enturas/design-system/commits/cbc07cdbc8201f89bfc455e7965ecaee80d00a2a))
111
+ - **textfield:** fix label position bug on textfield ([76a2cdf](https://bitbucket.org/enturas/design-system/commits/76a2cdf7878f32bd1c5a9c7f4f8d8918b8e09344))
112
+
113
+ # [5.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.1.5...@entur/form@5.2.0) (2022-01-05)
114
+
115
+ ### Bug Fixes
116
+
117
+ - **form:** added space between label and segmented control ([dea5a1a](https://bitbucket.org/enturas/design-system/commits/dea5a1ac5e18d118d546d35f4195293cf1e395f0))
118
+
119
+ ### Features
120
+
121
+ - **switch:** add 'labelPlacement' prop with 'right' or 'bottom' choice to Switch ([97d8933](https://bitbucket.org/enturas/design-system/commits/97d8933e8644a633ef5c48471bc04a5392bdd2ba))
122
+ - **travel switch:** update TravelSwitch to use new 'labelPlacement' prop in 'Switch' ([5676ef8](https://bitbucket.org/enturas/design-system/commits/5676ef89dbc25e73a227224f7d0738fce4d3cc2c))
123
+
124
+ ## [5.1.5](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.1.4...@entur/form@5.1.5) (2021-12-10)
125
+
126
+ ### Bug Fixes
127
+
128
+ - **textfield:** consistent rendering of clearbutton if clearable ([87a42ba](https://bitbucket.org/enturas/design-system/commits/87a42baadebfffbc07c8636db26aa2be6203d523))
129
+
130
+ ## [5.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.1.3...@entur/form@5.1.4) (2021-11-17)
131
+
132
+ ### Bug Fixes
133
+
134
+ - **radiopanel:** add focus styling for radiopanel ([e462bf4](https://bitbucket.org/enturas/design-system/commits/e462bf41db886a12edc26164c2895b2313658369))
135
+ - **textarea:** fix label background color bug ([d0ad582](https://bitbucket.org/enturas/design-system/commits/d0ad58209cfe9d28440d2d8937d10570645b2e1b))
136
+ - **textarea:** fix label position bug on uncontrolled components ([4a1e134](https://bitbucket.org/enturas/design-system/commits/4a1e134e23ad24f54a86f74e9e9ba1ab2348a6e1))
137
+ - **textfield:** fix label position bug on uncontrolled components ([695412d](https://bitbucket.org/enturas/design-system/commits/695412d345aabec9b55432c9bd8b8eeecbdfb146))
138
+ - **textfield:** update props descriptioin ([8a7ddad](https://bitbucket.org/enturas/design-system/commits/8a7ddadc0ecc0f472dedee19aa057fead28cf796))
139
+
140
+ ## [5.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.1.2...@entur/form@5.1.3) (2021-10-25)
141
+
142
+ ### Bug Fixes
143
+
144
+ - **radiopanel:** adjust font weight on title ([ba40113](https://bitbucket.org/enturas/design-system/commits/ba40113a00c7c60c504801e81bcf796070926935))
145
+
146
+ ## [5.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.1.1...@entur/form@5.1.2) (2021-10-18)
147
+
148
+ ### Bug Fixes
149
+
150
+ - **segmented control:** adjust focus styling ([6a20996](https://bitbucket.org/enturas/design-system/commits/6a209962ca2d265e0b6a01e5dcbf0666eda55cee))
151
+
152
+ ## [5.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.1.0...@entur/form@5.1.1) (2021-09-23)
153
+
154
+ **Note:** Version bump only for package @entur/form
155
+
156
+ # [5.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@5.0.0...@entur/form@5.1.0) (2021-09-13)
157
+
158
+ ### Bug Fixes
159
+
160
+ - **textfield:** adjust clearable button style ([2cf3fd6](https://bitbucket.org/enturas/design-system/commits/2cf3fd6d7d84bb5063d0caba89b4ab4289028a4a))
161
+ - **travel switch:** fix typing for size prop ([f30c02d](https://bitbucket.org/enturas/design-system/commits/f30c02dcc83b19e99dd7accee746a5dfbe211187))
162
+
163
+ ### Features
164
+
165
+ - **textfield:** add clearable and onClear prop to component ([7469da6](https://bitbucket.org/enturas/design-system/commits/7469da65c191ec76ba556ac2c0128d1e48244495))
166
+ - **textfield:** add labelProps prop ([d4d7b50](https://bitbucket.org/enturas/design-system/commits/d4d7b501bddc66ebd4cb1c87a4c907e35d3c6f49))
167
+
168
+ # [5.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.4.7...@entur/form@5.0.0) (2021-09-07)
169
+
170
+ ### Bug Fixes
171
+
172
+ - **feedback text:** adjust font color for feedback text ([f3ca6d4](https://bitbucket.org/enturas/design-system/commits/f3ca6d4b063fbc8ab40a5f81b2db77f972326499))
173
+ - utilize reworked focus token ([586758f](https://bitbucket.org/enturas/design-system/commits/586758fc86eb5aa52116c63c14ef033eb2e8b12f))
174
+ - **base form control:** add new focus styling for all input components ([46334f1](https://bitbucket.org/enturas/design-system/commits/46334f16a712f77861a1817ae8c46908e34e5f5f))
175
+ - **inputgroup:** remove inputgroup component ([e3577cc](https://bitbucket.org/enturas/design-system/commits/e3577cc91f4b5f414043018ac382cdf00f3a0867))
176
+ - fix lint warnings ([88598f2](https://bitbucket.org/enturas/design-system/commits/88598f2b4ece751eadf84540243ac4f6bce3cdeb))
177
+ - **switch:** fix typings for size prop ([5971864](https://bitbucket.org/enturas/design-system/commits/5971864fc1b65d39171495c7d40efb992be5c19b))
178
+
179
+ ### BREAKING CHANGES
180
+
181
+ - **inputgroup:** removed inputgroup component
182
+
183
+ ## [4.4.7](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.4.6...@entur/form@4.4.7) (2021-08-13)
184
+
185
+ **Note:** Version bump only for package @entur/form
186
+
187
+ ## [4.4.6](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.4.5...@entur/form@4.4.6) (2021-07-16)
188
+
189
+ ### Bug Fixes
190
+
191
+ - **inputgrouplabel:** fix label color in contrast ([f0e70fb](https://bitbucket.org/enturas/design-system/commits/f0e70fb361b0fd5e66abc692646e0895e9016cb4))
192
+
193
+ ## [4.4.5](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.4.4...@entur/form@4.4.5) (2021-06-25)
194
+
195
+ ### Bug Fixes
196
+
197
+ - update dependencies ([d150f64](https://bitbucket.org/enturas/design-system/commits/d150f6439167f96a758902f45913cd9cc2b94db8))
198
+ - **text area:** adjust label background placement ([3961dd7](https://bitbucket.org/enturas/design-system/commits/3961dd776e6a0c5443f59655c54fb61766a61c19))
199
+
200
+ ## [4.4.4](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.4.3...@entur/form@4.4.4) (2021-06-04)
201
+
202
+ ### Bug Fixes
203
+
204
+ - **input group label:** spread additional props on label element ([7e356d4](https://bitbucket.org/enturas/design-system/commits/7e356d4dabeed0863f585f4d12384f9308b7d571))
205
+ - **text area:** add white background on label ([57b9a6a](https://bitbucket.org/enturas/design-system/commits/57b9a6adfa32cf4cdcfd0048b20e3de991f2f0be))
206
+
207
+ ## [4.4.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.4.2...@entur/form@4.4.3) (2021-05-19)
208
+
209
+ **Note:** Version bump only for package @entur/form
210
+
211
+ ## [4.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.4.1...@entur/form@4.4.2) (2021-05-05)
212
+
213
+ **Note:** Version bump only for package @entur/form
214
+
215
+ ## [4.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.4.0...@entur/form@4.4.1) (2021-04-23)
216
+
217
+ ### Bug Fixes
218
+
219
+ - **radiopanel:** fix contrast styling for unselected items ([6395cb5](https://bitbucket.org/enturas/design-system/commits/6395cb50ed425ffbc4241ddf0c3701ebefbb54be))
220
+ - utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
221
+
222
+ # [4.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.3.0...@entur/form@4.4.0) (2021-04-09)
223
+
224
+ ### Features
225
+
226
+ - **radio:** add disabled prop ([c5769ea](https://bitbucket.org/enturas/design-system/commits/c5769ea1ee3c2f11ff72d69938560df9c8eef800))
227
+
228
+ # [4.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.2.4...@entur/form@4.3.0) (2021-03-02)
229
+
230
+ ### Bug Fixes
231
+
232
+ - **radiopanel:** update styling ([0d3e698](https://bitbucket.org/enturas/design-system/commits/0d3e6985c07ca7cb39e85a44328c0c32867604c1))
233
+
234
+ ### Features
235
+
236
+ - **radiopanel:** add support for disabled prop ([523526f](https://bitbucket.org/enturas/design-system/commits/523526fc2d50445318786841d6f4f1615045f8b6))
237
+
238
+ ## [4.2.4](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.2.3...@entur/form@4.2.4) (2021-02-17)
239
+
240
+ **Note:** Version bump only for package @entur/form
241
+
242
+ ## [4.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.2.2...@entur/form@4.2.3) (2021-02-05)
243
+
244
+ ### Bug Fixes
245
+
246
+ - **form components:** fix label and input position ([10dc3c2](https://bitbucket.org/enturas/design-system/commits/10dc3c2380d2d1ce4bd993678c70bab2077d20b4))
247
+ - **multiplesegmentedcontrol:** add deprecation warning for component ([bf51d8c](https://bitbucket.org/enturas/design-system/commits/bf51d8c8b0cdc84ef6797e0808d29494ce6e8d45))
248
+ - **segmentedchoice:** adjust height of component ([63b60a2](https://bitbucket.org/enturas/design-system/commits/63b60a21d6fb828e557c7257945d97be5c02f5de))
249
+ - **segmentedchoice:** extend typings from html input element ([5fe70ba](https://bitbucket.org/enturas/design-system/commits/5fe70bab111b8d2cb9a37dda034c7d208b95fbfe))
250
+
251
+ ## [4.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.2.1...@entur/form@4.2.2) (2021-01-29)
252
+
253
+ ### Bug Fixes
254
+
255
+ - **segmentedcontrol:** fix classname overwrites bug ([73a1ede](https://bitbucket.org/enturas/design-system/commits/73a1ede991d570f25c4726a0e153bc00d278c304))
256
+ - **textarea:** fix label position bug ([dcb6990](https://bitbucket.org/enturas/design-system/commits/dcb699058bda6d73a57f0737f5a1b71554e899f4))
257
+ - **textfield:** fix label position bug ([40c1163](https://bitbucket.org/enturas/design-system/commits/40c11634d542b25a3360a438d7d90208c174b00f))
258
+
259
+ ## [4.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.2.0...@entur/form@4.2.1) (2021-01-20)
260
+
261
+ ### Bug Fixes
262
+
263
+ - **radiogroup:** allow null in typings for value ([946817a](https://bitbucket.org/enturas/design-system/commits/946817a1f4f8bd562807939b36ae68e8f2da6da2))
264
+ - **radiopanel:** fix typings issues and improve a11y ([b966c5c](https://bitbucket.org/enturas/design-system/commits/b966c5cc5e1cf11cd0f42d9159aee238e84b50a7))
265
+ - **segmentedcontrol:** updated styling for component ([5293045](https://bitbucket.org/enturas/design-system/commits/529304558541fd871e6d1a3f1f7707e58f610189))
266
+ - **textarea:** fix label position on async value bug ([54a4d74](https://bitbucket.org/enturas/design-system/commits/54a4d747ab1fbd2ac5ef56b7fe3a7f31c095604e))
267
+ - **textfield:** fix label position if size=large ([88fd29e](https://bitbucket.org/enturas/design-system/commits/88fd29e78895f4e8a34288194b3c1a35eb28ffda))
268
+ - **textfield:** fix label position on async value bug ([25a23a3](https://bitbucket.org/enturas/design-system/commits/25a23a3df1889014cb665cdb831dc2f655b0778a))
269
+
270
+ # [4.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.1.0...@entur/form@4.2.0) (2021-01-13)
271
+
272
+ ### Bug Fixes
273
+
274
+ - add support for static label in internal components ([010d767](https://bitbucket.org/enturas/design-system/commits/010d767a3759d5b927e0bc3c53f534957ebd0ad8))
275
+ - fix overflow issues in label tooltip ([9c4537b](https://bitbucket.org/enturas/design-system/commits/9c4537bc9dbe78129598a9b8587cde6093b0e1e6))
276
+ - transpose grey colors for updated color tokens ([d6a444c](https://bitbucket.org/enturas/design-system/commits/d6a444c2c37339b9bac0702738ed52693367d344))
277
+
278
+ ### Features
279
+
280
+ - **textarea:** add disablelabelanimation prop ([d923a70](https://bitbucket.org/enturas/design-system/commits/d923a7076f4d7ee1a1d5f8748454eb0ed0e6d3c9))
281
+ - **textfield:** add disablelabelanimation prop ([5be6c33](https://bitbucket.org/enturas/design-system/commits/5be6c3367c5f056281e653d35cdc97bf00048b93))
282
+
283
+ # [4.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.0.8...@entur/form@4.1.0) (2021-01-05)
284
+
285
+ ### Bug Fixes
286
+
287
+ - **baseformcontrol:** improve typings on internal component ([8ef826a](https://bitbucket.org/enturas/design-system/commits/8ef826ac2d8733ced354b3a954ba5bcb34ec623c))
288
+ - **inputgrouplabel:** upgrade label props from string to reactnode ([46421d5](https://bitbucket.org/enturas/design-system/commits/46421d538d4d8a5b49b163f0a41325aa5b390be7))
289
+ - **radiopanel:** fix improper typing for size and title prop ([37e9419](https://bitbucket.org/enturas/design-system/commits/37e9419c17adec4560c2d9c18183e6d9f0307bfa))
290
+ - **textarea:** fix text pos when defaultValue is used ([79d9780](https://bitbucket.org/enturas/design-system/commits/79d978079bac0da12664e0b83f14407c033906d3))
291
+ - **textarea:** update internal prop usage ([351727e](https://bitbucket.org/enturas/design-system/commits/351727e3016434e13abd2b8b0f70e2e6ebe64f6b))
292
+ - **textfield:** fix label pos when defaultvalue is used ([c117037](https://bitbucket.org/enturas/design-system/commits/c1170370988742ecd6f49cab327a5d31353ff5ba))
293
+ - **textfield:** improve typings of rest props ([df5f460](https://bitbucket.org/enturas/design-system/commits/df5f4604368f6dd0667ba4c715463b6c18adcdb7))
294
+
295
+ ### Features
296
+
297
+ - **checkbox:** add reduceclickarea prop ([449845f](https://bitbucket.org/enturas/design-system/commits/449845f966121103dd589d4d4bb18e2b4c16fb94))
298
+
299
+ ## [4.0.8](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.0.7...@entur/form@4.0.8) (2020-12-04)
300
+
301
+ ### Bug Fixes
302
+
303
+ - **baseformcontrol:** improve typings ([a147e27](https://bitbucket.org/enturas/design-system/commits/a147e275460c79d67595d3a7d44fde94c3db5504))
304
+ - **checkbox:** improve typings ([fdf9447](https://bitbucket.org/enturas/design-system/commits/fdf94478e208b13969477b1d18e87eb2a79cea02))
305
+ - **radio:** improve typings ([9985231](https://bitbucket.org/enturas/design-system/commits/9985231c29900caa2fd0f8a0d9b46e6713a5377a))
306
+ - **radiopanel:** improve typings ([c6b4d41](https://bitbucket.org/enturas/design-system/commits/c6b4d41792826546f9c6a67aab6189a194d3f803))
307
+ - **switch:** improve typings ([3c28dc9](https://bitbucket.org/enturas/design-system/commits/3c28dc95d473d673136ace4782064b74e82b7c2c))
308
+ - **textarea:** improve typings ([5cf3b05](https://bitbucket.org/enturas/design-system/commits/5cf3b0524cd5dcf51c91c20bc49d58e2a9e10994))
309
+ - **textarea:** make labeltooltip prop typings optional ([211e939](https://bitbucket.org/enturas/design-system/commits/211e939a13d93a25c4b438043840c5623f156961))
310
+ - **textfield:** improve typings ([a331093](https://bitbucket.org/enturas/design-system/commits/a33109379346671ab48e4003b4561997e1aef296))
311
+ - **travelswitch:** improve typings ([8441b96](https://bitbucket.org/enturas/design-system/commits/8441b96563ebbe808c4c6f77a3154286f30b7025))
312
+
313
+ ## [4.0.7](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.0.6...@entur/form@4.0.7) (2020-11-26)
314
+
315
+ ### Bug Fixes
316
+
317
+ - **textarea:** labeltooltip prop is optional ([d27757a](https://bitbucket.org/enturas/design-system/commits/d27757a022395bb723da6ec7f7469b0f4eea0d1a))
318
+
319
+ ## [4.0.6](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.0.5...@entur/form@4.0.6) (2020-11-10)
320
+
321
+ **Note:** Version bump only for package @entur/form
322
+
323
+ ## [4.0.5](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.0.4...@entur/form@4.0.5) (2020-11-05)
324
+
325
+ ### Bug Fixes
326
+
327
+ - **switch:** improve css specificity to avoid icon color bug ([63a984f](https://bitbucket.org/enturas/design-system/commits/63a984f21f223b8f24f03b54a9bec433a6a005ed))
328
+
329
+ ## [4.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.0.3...@entur/form@4.0.4) (2020-10-28)
330
+
331
+ ### Bug Fixes
332
+
333
+ - **textarea:** fix onchange bug where event is undefined ([7ca8c03](https://bitbucket.org/enturas/design-system/commits/7ca8c03cc16936f634fbc44cd1ea386461b106ae))
334
+
335
+ ## [4.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.0.2...@entur/form@4.0.3) (2020-10-23)
336
+
337
+ ### Bug Fixes
338
+
339
+ - **baseformcontrol:** adjust background color for readonly inputs ([94be935](https://bitbucket.org/enturas/design-system/commits/94be93517bda29e9dab2dea104ef0400a3c23de9))
340
+ - **feedback text:** remove info icon if variant is info ([0d99020](https://bitbucket.org/enturas/design-system/commits/0d9902039b8795a696fae425eb72d33520e4ea84))
341
+
342
+ ## [4.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.0.1...@entur/form@4.0.2) (2020-10-16)
343
+
344
+ **Note:** Version bump only for package @entur/form
345
+
346
+ ## [4.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@4.0.0...@entur/form@4.0.1) (2020-10-09)
347
+
348
+ ### Bug Fixes
349
+
350
+ - **textarea:** fix onchange bug ([b52b45f](https://bitbucket.org/enturas/design-system/commits/b52b45f3c6d5c687cd2eba5dfa96b79b56c70d1f))
351
+ - **textfield:** fix onchange bug ([abeed8c](https://bitbucket.org/enturas/design-system/commits/abeed8c6d8a1e57e797d741fbb0f786e44d67468))
352
+
353
+ # [4.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.4.7...@entur/form@4.0.0) (2020-10-09)
354
+
355
+ ### Bug Fixes
356
+
357
+ - **baseformcontrol:** update to accomadate deprecation of inputgroup ([aded2ac](https://bitbucket.org/enturas/design-system/commits/aded2ac6099ae3848d3fcbce3473c0fa2493b35e))
358
+ - **input components:** add new styling for variants and hover ([7913aae](https://bitbucket.org/enturas/design-system/commits/7913aae2ba93c7b4667204ba984e17fad25f09e5))
359
+ - **inputgroup:** deprecate inputgroup ([d6e7c11](https://bitbucket.org/enturas/design-system/commits/d6e7c11ec43fe331482061b8d047eb2ec2d845de))
360
+ - **segmented control:** adjust height to accomadate new input fields ([1a1bd68](https://bitbucket.org/enturas/design-system/commits/1a1bd684c0f1ab601a1b0f0b18af7fae53457a81))
361
+
362
+ ### Features
363
+
364
+ - **textarea:** add inputgroup props to textarea ([a7b6ff3](https://bitbucket.org/enturas/design-system/commits/a7b6ff30d26de1daa8a97bea35fc540641caefff))
365
+ - **textfield:** add inputgroup props to textfield ([b7059f7](https://bitbucket.org/enturas/design-system/commits/b7059f78f09eef2a57b6ba07597757c1b23613db))
366
+
367
+ ### BREAKING CHANGES
368
+
369
+ - **textarea:** label is now required prop for textarea
370
+ - **textfield:** label is now a required prop for textfields to ensure a11y
371
+ - **inputgroup:** inputgroup may not function as intended as it is now deprecated in favor of using input components
372
+ directly
373
+
374
+ ## [3.4.7](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.4.6...@entur/form@3.4.7) (2020-09-25)
375
+
376
+ ### Bug Fixes
377
+
378
+ - **radiopanel:** add divider on contrast radio panel ([d7dd956](https://bitbucket.org/enturas/design-system/commits/d7dd956d0bb1b9ebec1669e67734e63f3d13834a))
379
+
380
+ ## [3.4.6](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.4.5...@entur/form@3.4.6) (2020-09-14)
381
+
382
+ **Note:** Version bump only for package @entur/form
383
+
384
+ ## [3.4.5](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.4.4...@entur/form@3.4.5) (2020-09-10)
385
+
386
+ **Note:** Version bump only for package @entur/form
387
+
388
+ ## [3.4.4](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.4.3...@entur/form@3.4.4) (2020-09-02)
389
+
390
+ ### Bug Fixes
391
+
392
+ - **baseformcontrol:** shift font size for new token ([0f64d35](https://bitbucket.org/enturas/design-system/commits/0f64d357f16abedbd7d40b31d9c25c1f4f6afe23))
393
+ - **radiopanel:** shift font size for new token ([21ecdd4](https://bitbucket.org/enturas/design-system/commits/21ecdd4c36193e2f1167b5165319e279d03218fb))
394
+ - fix font size for prepend and append ([8335cbf](https://bitbucket.org/enturas/design-system/commits/8335cbf0f7bb79b1e5bd1257e7350ed53b324ea4))
395
+
396
+ ## [3.4.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.4.2...@entur/form@3.4.3) (2020-08-26)
397
+
398
+ ### Bug Fixes
399
+
400
+ - **baseformcontrol:** forwardreferncing for baseformcontrol ([0350f52](https://bitbucket.org/enturas/design-system/commits/0350f5213d98ac8d71748d391fa06d5f3ab9ee1e))
401
+ - **textfield:** adjust size large styling further ([6e053e2](https://bitbucket.org/enturas/design-system/commits/6e053e28714b5d6d881cd42e5cd5a0567ca38f24))
402
+ - **textfield:** fix aria-invalid bug ([348fbb1](https://bitbucket.org/enturas/design-system/commits/348fbb12031d5b97407f2a1a46512e5f1bbe6b99))
403
+
404
+ ## [3.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.4.1...@entur/form@3.4.2) (2020-08-20)
405
+
406
+ ### Bug Fixes
407
+
408
+ - **textfield:** fix fontsize for append/prepend on size=large ([354d47c](https://bitbucket.org/enturas/design-system/commits/354d47c2da6230087c0f2270496f6b4b2dd1e636))
409
+
410
+ ## [3.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.4.0...@entur/form@3.4.1) (2020-08-19)
411
+
412
+ ### Bug Fixes
413
+
414
+ - **text field:** fix font size for large text fields ([640caef](https://bitbucket.org/enturas/design-system/commits/640caefaa252b9e3c3f6d200c21f8d4a077e735d))
415
+
416
+ # [3.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.3.0...@entur/form@3.4.0) (2020-08-14)
417
+
418
+ ### Bug Fixes
419
+
420
+ - **text area:** fix disabled not being applied to text area ([2dc5529](https://bitbucket.org/enturas/design-system/commits/2dc5529f979e87058d7c9827a529fffaa3a26524))
421
+ - **text field:** increase font size on text field when size=large ([682ff1a](https://bitbucket.org/enturas/design-system/commits/682ff1aeb5739336cea8b66ba58f76bc9f8ef90f))
422
+
423
+ ### Features
424
+
425
+ - **radio panel:** add hideCheckbox prop ([b485311](https://bitbucket.org/enturas/design-system/commits/b4853115c01597c2e299905061c07415b50fae6f))
426
+
427
+ # [3.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.2.1...@entur/form@3.3.0) (2020-08-11)
428
+
429
+ ### Features
430
+
431
+ - **textfield:** add size prop to textfield ([3389e0d](https://bitbucket.org/enturas/design-system/commits/3389e0db294b41cd71b6f8b62b8340ffe16d64d9))
432
+
433
+ ## [3.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.2.0...@entur/form@3.2.1) (2020-07-24)
434
+
435
+ **Note:** Version bump only for package @entur/form
436
+
437
+ # [3.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.1.3...@entur/form@3.2.0) (2020-07-22)
438
+
439
+ ### Bug Fixes
440
+
441
+ - **formcontrol:** set min height to a proper value ([2a58ef6](https://bitbucket.org/enturas/design-system/commits/2a58ef6f11ff919669cbc50b8c6c5e08ed44f403))
442
+
443
+ ### Features
444
+
445
+ - **radiopanel:** add new component, radiopanel ([6519377](https://bitbucket.org/enturas/design-system/commits/65193779a5fdf0304951d0285f084654a617a783))
446
+
447
+ ## [3.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.1.2...@entur/form@3.1.3) (2020-07-16)
448
+
449
+ ### Bug Fixes
450
+
451
+ - fix disabled forms styling when disabled ([6edbaab](https://bitbucket.org/enturas/design-system/commits/6edbaabb21767ae024a4c2a068187e3816b8ad0e))
452
+
453
+ ## [3.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.1.1...@entur/form@3.1.2) (2020-07-13)
454
+
455
+ **Note:** Version bump only for package @entur/form
456
+
457
+ ## [3.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.1.0...@entur/form@3.1.1) (2020-07-09)
458
+
459
+ **Note:** Version bump only for package @entur/form
460
+
461
+ # [3.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.0.3...@entur/form@3.1.0) (2020-07-03)
462
+
463
+ ### Bug Fixes
464
+
465
+ - fix typogragphy element for feedbacktext ([0ee5ede](https://bitbucket.org/enturas/design-system/commits/0ee5edee7ea9788287a75bbd0944c286caf30ec8))
466
+
467
+ ### Features
468
+
469
+ - add required prop for inputgroups ([5e07a9c](https://bitbucket.org/enturas/design-system/commits/5e07a9cb56c0f6d73eed99cd77662f544bee756d))
470
+
471
+ ## [3.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.0.2...@entur/form@3.0.3) (2020-06-17)
472
+
473
+ ### Bug Fixes
474
+
475
+ - avoid resizing feedback icon bug ([8d15688](https://bitbucket.org/enturas/design-system/commits/8d1568881bd10a142412d9d290842471ad4949a4))
476
+ - classname prop, and prop spreading for feedbacktext ([e794b3a](https://bitbucket.org/enturas/design-system/commits/e794b3acb9e249dff3e62c5f4023433b6a306f77))
477
+ - fix wrong definition of forward referencing ([e5cad92](https://bitbucket.org/enturas/design-system/commits/e5cad92c59bc6453ab4dbe9a18c4c7e42dd7e00d))
478
+
479
+ ## [3.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.0.1...@entur/form@3.0.2) (2020-05-27)
480
+
481
+ **Note:** Version bump only for package @entur/form
482
+
483
+ ## [3.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@3.0.0...@entur/form@3.0.1) (2020-05-26)
484
+
485
+ ### Bug Fixes
486
+
487
+ - readjust fieldset to use label instead of heading4 ([feafc73](https://bitbucket.org/enturas/design-system/commits/feafc73cfc6a9e08342c9e2c41001d78eef4f182))
488
+
489
+ # [3.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.5.5...@entur/form@3.0.0) (2020-05-20)
490
+
491
+ ### Bug Fixes
492
+
493
+ - fix focus styling for segmented control ([855bda0](https://bitbucket.org/enturas/design-system/commits/855bda0c78479dd9d30393fe1874c3f5265e5673))
494
+
495
+ ### Code Refactoring
496
+
497
+ - netex naming for travelswitch ([c5424e3](https://bitbucket.org/enturas/design-system/commits/c5424e3793264d8432816bdefcb4c557d1dbe607))
498
+
499
+ ### BREAKING CHANGES
500
+
501
+ - updated naming of transport modes to follow netex standard
502
+
503
+ ## [2.5.5](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.5.4...@entur/form@2.5.5) (2020-04-27)
504
+
505
+ **Note:** Version bump only for package @entur/form
506
+
507
+ ## [2.5.4](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.5.3...@entur/form@2.5.4) (2020-04-23)
508
+
509
+ ### Bug Fixes
510
+
511
+ - updated to use new focus styling where applicable ([d0a52c0](https://bitbucket.org/enturas/design-system/commits/d0a52c096b673c6647070a90dd79bef9003ee0ad))
512
+
513
+ ## [2.5.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.5.2...@entur/form@2.5.3) (2020-04-08)
514
+
515
+ **Note:** Version bump only for package @entur/form
516
+
517
+ ## [2.5.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.5.0...@entur/form@2.5.2) (2020-03-25)
518
+
519
+ ### Bug Fixes
520
+
521
+ - adjust segmentedChoice size=medium and fontsize increase ([e72684e](https://bitbucket.org/enturas/design-system/commits/e72684e658a4bee8915dee2f7f0f87d3d70612b5))
522
+ - remove fieldset for radiogroup if no label is given ([a1abcfc](https://bitbucket.org/enturas/design-system/commits/a1abcfcbce2b2009483cd42c1b0145749999ea33))
523
+ - update design for radio buttons ([1b49dcf](https://bitbucket.org/enturas/design-system/commits/1b49dcf3eaaf235e39bf67888a68a2a0e0020809))
524
+
525
+ ## [2.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.5.0...@entur/form@2.5.1) (2020-03-25)
526
+
527
+ ### Bug Fixes
528
+
529
+ - adjust segmentedChoice size=medium and fontsize increase ([e72684e](https://bitbucket.org/enturas/design-system/commits/e72684e658a4bee8915dee2f7f0f87d3d70612b5))
530
+ - remove fieldset for radiogroup if no label is given ([a1abcfc](https://bitbucket.org/enturas/design-system/commits/a1abcfcbce2b2009483cd42c1b0145749999ea33))
531
+ - update design for radio buttons ([1b49dcf](https://bitbucket.org/enturas/design-system/commits/1b49dcf3eaaf235e39bf67888a68a2a0e0020809))
532
+
533
+ # [2.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.4.3...@entur/form@2.5.0) (2020-03-20)
534
+
535
+ ### Bug Fixes
536
+
537
+ - **inputgroup:** add dependency to tooltip ([03fa516](https://bitbucket.org/enturas/design-system/commits/03fa5161afabcaecda8e277b5194d7a47dde8902))
538
+
539
+ ### Features
540
+
541
+ - **inputgroup:** add a label tooltip ([ecf4523](https://bitbucket.org/enturas/design-system/commits/ecf4523e03b035b9e44581822a03012a54fd512d))
542
+
543
+ ## [2.4.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.4.1...@entur/form@2.4.3) (2020-03-18)
544
+
545
+ ### Bug Fixes
546
+
547
+ - add type to onChange for radiogroup and checkbox ([c46e5dd](https://bitbucket.org/enturas/design-system/commits/c46e5dd45edf580d7f620fd573467029651f88e1))
548
+
549
+ ## [2.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.4.1...@entur/form@2.4.2) (2020-03-17)
550
+
551
+ ### Bug Fixes
552
+
553
+ - **RadioGroup**: Specified onChange to be of type `React.ChangeEvent<HTMLInputElement>`
554
+ - **Checkbox**: Specified onChange to be of type `React.ChangeEvent<HTMLInputElement>`
555
+
556
+ ## [2.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.4.0...@entur/form@2.4.1) (2020-03-05)
557
+
558
+ **Note:** Version bump only for package @entur/form
559
+
560
+ # [2.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.3.5...@entur/form@2.4.0) (2020-02-26)
561
+
562
+ ### Bug Fixes
563
+
564
+ - removed vertical padding for inputgroups next to each other ([a164ceb](https://bitbucket.org/enturas/design-system/commits/a164ceb66e56965862d467508f5258e0f42d6012))
565
+ - **form:** add airportTrain and airportBus to transport type ([7ccbbb4](https://bitbucket.org/enturas/design-system/commits/7ccbbb4d61cbe5a491187f8aa95f1ade891568e5))
566
+ - **form:** correct airportLinkTrain to airportLinkRail ([86a0e1f](https://bitbucket.org/enturas/design-system/commits/86a0e1f622c814ebdb193a9d7e001131d2bd7df2))
567
+ - **form:** netex-ify English names for flybuss and flytog ([865f10d](https://bitbucket.org/enturas/design-system/commits/865f10debab6a29b0f38e5b68eae5eb0c0f38fef))
568
+
569
+ ### Features
570
+
571
+ - **form:** add airportBus and airportTrain to TravelSwitch ([91e2d4e](https://bitbucket.org/enturas/design-system/commits/91e2d4ef67589e61a6f168bad43c8bfb52975ab7))
572
+
573
+ ## [2.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.3.4...@entur/form@2.3.5) (2020-02-20)
574
+
575
+ **Note:** Version bump only for package @entur/form
576
+
577
+ ## [2.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.3.3...@entur/form@2.3.4) (2020-02-14)
578
+
579
+ **Note:** Version bump only for package @entur/form
580
+
581
+ ## [2.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.3.2...@entur/form@2.3.3) (2020-02-12)
582
+
583
+ ### Bug Fixes
584
+
585
+ - add size prop, for support of larger segmented controls to align with input fields ([e761945](https://bitbucket.org/enturas/design-system/commits/e761945ceab7bf49dd3da1671f287a18fc5c1652))
586
+ - adding styling for disabled checkboxes, according to design-discussions ([52ffb2a](https://bitbucket.org/enturas/design-system/commits/52ffb2a8203a3dc49eb158a719177232afa43cd1))
587
+ - proper styling for disabled checkbox ([57b5d71](https://bitbucket.org/enturas/design-system/commits/57b5d719d1b0cadb15302fe652503f9014780456))
588
+
589
+ ## [2.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.3.1...@entur/form@2.3.2) (2020-02-10)
590
+
591
+ ### Bug Fixes
592
+
593
+ - update styling for input fields ([24cbccf](https://bitbucket.org/enturas/design-system/commits/24cbccf2b6c278c34101cf6cc827fbc4df0bfe64))
594
+
595
+ ## [2.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.3.0...@entur/form@2.3.1) (2020-02-05)
596
+
597
+ ### Bug Fixes
598
+
599
+ - remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
600
+
601
+ # [2.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.2.5...@entur/form@2.3.0) (2020-01-31)
602
+
603
+ ### Bug Fixes
604
+
605
+ - **SegmentedControl:** improve the error message slightly ([8df42c8](https://bitbucket.org/enturas/design-system/commits/8df42c8b8905fd4f9b8de7719422027770a3e7b5))
606
+
607
+ ### Features
608
+
609
+ - add the SegmentedControl and SegmentedGroup components ([59fbd54](https://bitbucket.org/enturas/design-system/commits/59fbd543211d5222f17a365dd7fbb583fcf92373))
610
+ - rename to SegmentedControl and SegmentedChoice ([a1919b1](https://bitbucket.org/enturas/design-system/commits/a1919b17151ba278926a2d00fa1c9639164a7b0b))
611
+
612
+ ## [2.2.5](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.2.4...@entur/form@2.2.5) (2020-01-28)
613
+
614
+ **Note:** Version bump only for package @entur/form
615
+
616
+ ## [2.2.4](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.2.3...@entur/form@2.2.4) (2020-01-27)
617
+
618
+ ### Bug Fixes
619
+
620
+ - adjust typography ([e630ebc](https://bitbucket.org/enturas/design-system/commits/e630ebcfbf1de9326b2969f919fedd19d662cbe3))
621
+ - fixing form elements to comply with new typography standards ([4de70a5](https://bitbucket.org/enturas/design-system/commits/4de70a5c05a619a19bf194468d1799b5e686e0b3))
622
+ - fixing pixel alignment for switch buttons ([d8b1a5e](https://bitbucket.org/enturas/design-system/commits/d8b1a5e384e2595f3b44d3c62e2ad98e23be609d))
623
+ - **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
624
+
625
+ ## [2.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.2.2...@entur/form@2.2.3) (2020-01-20)
626
+
627
+ **Note:** Version bump only for package @entur/form
628
+
629
+ ## [2.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.2.1...@entur/form@2.2.2) (2020-01-14)
630
+
631
+ **Note:** Version bump only for package @entur/form
632
+
633
+ ## [2.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.2.0...@entur/form@2.2.1) (2020-01-13)
634
+
635
+ ### Bug Fixes
636
+
637
+ - placeholder and focus styling bugs fixed ([a59b972](https://bitbucket.org/enturas/design-system/commits/a59b972ba3fb3239ad133903b3d84fa66bda5564))
638
+
639
+ # [2.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.1.1...@entur/form@2.2.0) (2020-01-10)
640
+
641
+ ### Bug Fixes
642
+
643
+ - add focus styling for checkbox ([5355da4](https://bitbucket.org/enturas/design-system/commits/5355da4b460ddcc706bdf1b6173fbde158de29f0))
644
+
645
+ ### Features
646
+
647
+ - **Checkbox:** style prop explicitly set to label instead of being spread to input ([47f283c](https://bitbucket.org/enturas/design-system/commits/47f283c303d93ccc87bf8ad424f6d6ff81b72922))
648
+
649
+ ## [2.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.1.0...@entur/form@2.1.1) (2020-01-08)
650
+
651
+ ### Bug Fixes
652
+
653
+ - warn in development if the developer have forgotten the CSS ([e5c30fc](https://bitbucket.org/enturas/design-system/commits/e5c30fc08624ef22c02773892778abd92205c6b0))
654
+
655
+ # [2.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.0.2...@entur/form@2.1.0) (2020-01-06)
656
+
657
+ ### Features
658
+
659
+ - **Checkbox:** add support for indeterminate checkboxes ([a98fb42](https://bitbucket.org/enturas/design-system/commits/a98fb429d3b917fc4804a5ceb7a0052ea84052ca))
660
+
661
+ ## [2.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.0.1...@entur/form@2.0.2) (2019-12-17)
662
+
663
+ ### Bug Fixes
664
+
665
+ - new and improved icon for Checkbox ([0f58e5b](https://bitbucket.org/enturas/design-system/commits/0f58e5ba3f561dd57dc1a0fb9bab49d191755d11))
666
+
667
+ ## [2.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@2.0.0...@entur/form@2.0.1) (2019-12-10)
668
+
669
+ **Note:** Version bump only for package @entur/form
670
+
671
+ # [2.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@1.3.2...@entur/form@2.0.0) (2019-12-10)
672
+
673
+ ### Bug Fixes
674
+
675
+ - adding default prop as part of documentation ([1ef7510](https://bitbucket.org/enturas/design-system/commits/1ef75107362f6262429d7fe31519b4353eccc8de))
676
+ - exposing BaseFormControl for use in new dropdown component ([ba859d2](https://bitbucket.org/enturas/design-system/commits/ba859d2653df265413b2b23cc0bbc0a88db0b3d8))
677
+ - fixing 44px height for form-components ([a73794c](https://bitbucket.org/enturas/design-system/commits/a73794c73eed4464efa90a33f7bd122be11cecce))
678
+ - fixing mobility colors on travel switch ([fbe10c6](https://bitbucket.org/enturas/design-system/commits/fbe10c6119e899e63ca965606ce79b42aa7a7263))
679
+ - paragraph styling for label ([b98a5c5](https://bitbucket.org/enturas/design-system/commits/b98a5c5924599fddd32ee193295551baf31b0a2f))
680
+
681
+ ### Code Refactoring
682
+
683
+ - **Dropdown, DropdownItem:** remove Dropdown and DropdownItem from @entur/form ([db64c30](https://bitbucket.org/enturas/design-system/commits/db64c304df278ecd37584db18cde43277537c28c))
684
+
685
+ ### Features
686
+
687
+ - refactor input groups to provide flexibility ([e55d493](https://bitbucket.org/enturas/design-system/commits/e55d49395baf2d2d29e8ca942415493e132c7fea))
688
+ - **switch:** adding new components: Switch and TravelSwitch ([28ca3f9](https://bitbucket.org/enturas/design-system/commits/28ca3f9ce152f56382e4000d990ec3a49484b6a3))
689
+
690
+ ### BREAKING CHANGES
691
+
692
+ - **Dropdown, DropdownItem:** Dropdown and DropdownItem is being moved to its own package - @entur/dropdown. Install the new
693
+ dependency, and import Dropdown from there. See the docs on how to migrate
694
+
695
+ ## [1.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@1.3.1...@entur/form@1.3.2) (2019-11-29)
696
+
697
+ ### Bug Fixes
698
+
699
+ - using new box shadow tokens ([9ff30bd](https://bitbucket.org/enturas/design-system/commits/9ff30bd52ad2b6e6d770565684a05e15f0b0ba9a))
700
+
701
+ ## [1.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@1.3.0...@entur/form@1.3.1) (2019-11-28)
702
+
703
+ ### Bug Fixes
704
+
705
+ - **Dropdown:** fix bug where dropdown options don't show ([703fd9a](https://bitbucket.org/enturas/design-system/commits/703fd9a035aab7218787e487939e42b44979b112))
706
+
707
+ # [1.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@1.2.1...@entur/form@1.3.0) (2019-11-27)
708
+
709
+ ### Bug Fixes
710
+
711
+ - **types:** simplify the types to avoid extraneous props ([571ac56](https://bitbucket.org/enturas/design-system/commits/571ac568abb5a6b2c353d5711418d1058b51a91b))
712
+
713
+ ### Features
714
+
715
+ - **InputGroup:** add support for custom class names and extra props ([aaf68de](https://bitbucket.org/enturas/design-system/commits/aaf68de25959c793c5dafdc73452feb5ae63b68f))
716
+
717
+ ## [1.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@1.2.0...@entur/form@1.2.1) (2019-11-25)
718
+
719
+ ### Bug Fixes
720
+
721
+ - **Dropdown:** ensure color is set correctly for option items on Windows ([f2a8fce](https://bitbucket.org/enturas/design-system/commits/f2a8fceaf47e34c60ff66a0c36551bddfe196e2e))
722
+ - **Dropdown:** increase the click target size of dropdowns ([b5aa231](https://bitbucket.org/enturas/design-system/commits/b5aa231c359752c92e794bbbeda4d45665ed13b0))
723
+
724
+ # [1.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@1.1.0...@entur/form@1.2.0) (2019-11-22)
725
+
726
+ ### Bug Fixes
727
+
728
+ - fixing potential duplication of props naming ([6efd896](https://bitbucket.org/enturas/design-system/commits/6efd896d381bca09bc047dbdaec6d2629a9571db))
729
+ - **InputGroup:** increase the size of the feedback icon ([fc543b0](https://bitbucket.org/enturas/design-system/commits/fc543b01fb9365140b6ee23e0031cde746155b44))
730
+
731
+ ### Features
732
+
733
+ - **types:** exporting all public types for public components ([4a277ab](https://bitbucket.org/enturas/design-system/commits/4a277ab266fdb32a6760821a07b1c6cc716bac85))
734
+
735
+ # [1.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@1.0.3...@entur/form@1.1.0) (2019-11-18)
736
+
737
+ ### Bug Fixes
738
+
739
+ - add hover-effect for form elements in contrast sections ([a9da726](https://bitbucket.org/enturas/design-system/commits/a9da7266d9500b39aa69da39b57e50ab55a8a6e4))
740
+
741
+ ### Features
742
+
743
+ - add readOnly prop to Dropdown, TextField and TextArea components ([ac26116](https://bitbucket.org/enturas/design-system/commits/ac26116338dce15bc23fe0fb9582f95c67c9c6e2))
744
+
745
+ ## [1.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/form@1.0.2...@entur/form@1.0.3) (2019-11-14)
746
+
747
+ ### Bug Fixes
748
+
749
+ - make form controls expand to the size of its container ([df4ff54](https://bitbucket.org/enturas/design-system/commits/df4ff546d6911cedea21e025f3ff30f703cdcc18))
750
+ - **checkbox:** change types to work with newest typescript ([090d933](https://bitbucket.org/enturas/design-system/commits/090d933b7b55ac6a5882e53e652d0e94c853c31f))
751
+ - **css classnames:** fixing naming collisions with CSS classes ([a93ca43](https://bitbucket.org/enturas/design-system/commits/a93ca435d3a01d61d8f02694a672686b9e943a66))
752
+
753
+ ## [1.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/form@1.0.1...@entur/form@1.0.2) (2019-11-07)
754
+
755
+ ### Bug Fixes
756
+
757
+ - **FormControl:** fixing spacing on prepend and append ([0837844](https://bitbucket.org/enturas/design-system/commits/0837844247cfcbffc99f1bb6aeb7b74cddb0c8c7))
758
+
759
+ ## [1.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/form@1.0.0...@entur/form@1.0.1) (2019-11-06)
760
+
761
+ **Note:** Version bump only for package @entur/form
762
+
763
+ # [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@0.4.0...@entur/form@1.0.0) (2019-11-04)
764
+
765
+ ### Code Refactoring
766
+
767
+ - **Dropdown, TextArea, TextField:** rewrite form field implementation ([0b6b9d0](https://bitbucket.org/enturas/design-system/commits/0b6b9d0d87c712366e05b6a275eea406f1a5cdb9))
768
+ - **InputGroup:** rename FormGroup to InputGroup ([520281d](https://bitbucket.org/enturas/design-system/commits/520281d8dc461c73fb533db92ceed0ebf40a1823))
769
+ - **InputGroup:** rename FormGroup to InputGroup ([725f121](https://bitbucket.org/enturas/design-system/commits/725f121f9597310a1c4f9e46501eeef1c8a82829))
770
+
771
+ ### BREAKING CHANGES
772
+
773
+ - **InputGroup:** Rename FormGroup to InputGroup
774
+ - **InputGroup:** FormGroup is now known as InputGroup. Change your imports. Also, variant="none" is not a valid form
775
+ control variant - pass null instead.
776
+ - **Dropdown, TextArea, TextField:** Removes width prop (now fluid by default)
777
+
778
+ # [0.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@0.3.0...@entur/form@0.4.0) (2019-10-30)
779
+
780
+ ### Bug Fixes
781
+
782
+ - **FormGroup:** give adjacent form groups some margin between them ([4acc478](https://bitbucket.org/enturas/design-system/commits/4acc478f1d8f71fafaed14dc7f135ea16e4533ee))
783
+ - migrate to latest version of space tokens ([4330496](https://bitbucket.org/enturas/design-system/commits/4330496e269bf628f7b9b7aec75f704800201101))
784
+ - update all packages to use new tokens ([4847835](https://bitbucket.org/enturas/design-system/commits/48478359b0e562ba828e06d9b5c57239316805c2))
785
+ - **FormGroup:** make FormGroup component a block element and add default space between ([56d2b6b](https://bitbucket.org/enturas/design-system/commits/56d2b6bfcd7fbed77078b1c4bf9cdaa533b0d078))
786
+ - **FormGroup:** removing feedback if variant is set to 'none' ([21fe9e2](https://bitbucket.org/enturas/design-system/commits/21fe9e27f78789d158eb54ebce599b254cd91aaa))
787
+ - **FormGroup:** removing required label, and styling bugs fixed ([b2a94fa](https://bitbucket.org/enturas/design-system/commits/b2a94fa0c183bf81d9b0e59a9ecca9abda18c411))
788
+
789
+ ### Features
790
+
791
+ - adding checkbox form component ([ef3738a](https://bitbucket.org/enturas/design-system/commits/ef3738a5e25fdfe81631e87d3406a62f16487eb6))
792
+ - adding Dropdown as a form component ([4128447](https://bitbucket.org/enturas/design-system/commits/41284476813b11cec6f641558864522ad837dde4))
793
+ - adding radio button as form component ([06daf66](https://bitbucket.org/enturas/design-system/commits/06daf669712c49c3c65aa3f4430e3fe01c35a3bc))
794
+ - **Fieldset:** add new component Fieldset ([9085f9e](https://bitbucket.org/enturas/design-system/commits/9085f9e2d7bb06a5cb96dc67901793161cd18267))
795
+ - **RadioGroup:** adding RadioGroup for use with radio-buttons ([7133c2e](https://bitbucket.org/enturas/design-system/commits/7133c2eb7f04e14b0d012481d7d4f334a57a42e7))
796
+
797
+ # [0.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/form@0.2.0...@entur/form@0.3.0) (2019-10-22)
798
+
799
+ ### Features
800
+
801
+ - **small typography:** added Small typography and documentation ([f2c6a0a](https://bitbucket.org/enturas/design-system/commits/f2c6a0a108b177efad32ca0fec0733a2072bd9d1))
802
+ - **textarea:** adding TextArea Component, including rewrite of TextField component ([37360bc](https://bitbucket.org/enturas/design-system/commits/37360bcec5d0eba27dc6dc597aad4fe84fce6979))
803
+
804
+ # 0.2.0 (2019-10-11)
805
+
806
+ ### Features
807
+
808
+ - **form:** formGroup component for input components ([844612f](https://bitbucket.org/enturas/design-system/commits/844612f))
package/dist/styles.css CHANGED
@@ -2,57 +2,6 @@
2
2
  --eds-form: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
- .eds-feedback-text {
6
- display: flex;
7
- align-items: center;
8
- margin-top: 0.25rem;
9
- }
10
- .eds-feedback-text--info {
11
- padding-left: calc(1rem + 0.125rem);
12
- }
13
- .eds-feedback-text__text {
14
- color: #181c56;
15
- }
16
- .eds-contrast .eds-feedback-text__text {
17
- color: #ffffff;
18
- }
19
-
20
- .eds-feedback-text__icon {
21
- font-size: 1.5rem;
22
- min-height: 1.5rem;
23
- min-width: 1.5rem;
24
- padding-right: 0.5rem;
25
- position: relative;
26
- top: -0.1rem;
27
- }
28
- .eds-feedback-text__icon--success {
29
- color: #1a8e60;
30
- }
31
- .eds-contrast .eds-feedback-text__icon--success {
32
- color: #5ac39a;
33
- }
34
- .eds-feedback-text__icon--error {
35
- color: #d31b1b;
36
- }
37
- .eds-contrast .eds-feedback-text__icon--error {
38
- color: #ff9494;
39
- }
40
- .eds-feedback-text__icon--info {
41
- color: #0082b9;
42
- }
43
- .eds-contrast .eds-feedback-text__icon--info {
44
- color: #64b3e7;
45
- }
46
- .eds-feedback-text__icon--warning {
47
- color: #ffca28;
48
- }
49
- .eds-feedback-text__icon--warning circle {
50
- fill: #181c56;
51
- }
52
- .eds-contrast .eds-feedback-text__icon--warning {
53
- color: #ffe082;
54
- }/* DO NOT CHANGE!*/
55
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
56
5
  .eds-checkbox__container {
57
6
  display: flex;
58
7
  align-items: center;
@@ -447,6 +396,12 @@
447
396
  margin-left: 0;
448
397
  }/* DO NOT CHANGE!*/
449
398
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
399
+ textarea.eds-form-control.eds-textarea {
400
+ min-height: 7.75rem;
401
+ resize: vertical;
402
+ line-height: 1.5rem;
403
+ }/* DO NOT CHANGE!*/
404
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
450
405
  .eds-fieldset {
451
406
  margin: 0;
452
407
  padding: 0;
@@ -456,12 +411,6 @@
456
411
  margin: 0 0 0.5rem;
457
412
  }/* DO NOT CHANGE!*/
458
413
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
459
- textarea.eds-form-control.eds-textarea {
460
- min-height: 7.75rem;
461
- resize: vertical;
462
- line-height: 1.5rem;
463
- }/* DO NOT CHANGE!*/
464
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
465
414
  .eds-textfield__clear-button {
466
415
  background: none;
467
416
  border: none;
@@ -498,6 +447,57 @@ textarea.eds-form-control.eds-textarea {
498
447
  background-color: #8285a8;
499
448
  }/* DO NOT CHANGE!*/
500
449
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
450
+ .eds-feedback-text {
451
+ display: flex;
452
+ align-items: center;
453
+ margin-top: 0.25rem;
454
+ }
455
+ .eds-feedback-text--info {
456
+ padding-left: calc(1rem + 0.125rem);
457
+ }
458
+ .eds-feedback-text__text {
459
+ color: #181c56;
460
+ }
461
+ .eds-contrast .eds-feedback-text__text {
462
+ color: #ffffff;
463
+ }
464
+
465
+ .eds-feedback-text__icon {
466
+ font-size: 1.5rem;
467
+ min-height: 1.5rem;
468
+ min-width: 1.5rem;
469
+ padding-right: 0.5rem;
470
+ position: relative;
471
+ top: -0.1rem;
472
+ }
473
+ .eds-feedback-text__icon--success {
474
+ color: #1a8e60;
475
+ }
476
+ .eds-contrast .eds-feedback-text__icon--success {
477
+ color: #5ac39a;
478
+ }
479
+ .eds-feedback-text__icon--error {
480
+ color: #d31b1b;
481
+ }
482
+ .eds-contrast .eds-feedback-text__icon--error {
483
+ color: #ff9494;
484
+ }
485
+ .eds-feedback-text__icon--info {
486
+ color: #0082b9;
487
+ }
488
+ .eds-contrast .eds-feedback-text__icon--info {
489
+ color: #64b3e7;
490
+ }
491
+ .eds-feedback-text__icon--warning {
492
+ color: #ffca28;
493
+ }
494
+ .eds-feedback-text__icon--warning circle {
495
+ fill: #181c56;
496
+ }
497
+ .eds-contrast .eds-feedback-text__icon--warning {
498
+ color: #ffe082;
499
+ }/* DO NOT CHANGE!*/
500
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
501
501
  .eds-form-component--radio__container {
502
502
  display: flex;
503
503
  justify-content: center;
@@ -967,16 +967,6 @@ textarea.eds-form-control.eds-textarea {
967
967
  margin-left: 1rem;
968
968
  }/* DO NOT CHANGE!*/
969
969
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
970
- .eds-segmented-control {
971
- margin-top: 0.25rem;
972
- display: flex;
973
- background: #d1d4e3;
974
- border-radius: 0.25rem;
975
- }
976
- .eds-contrast .eds-segmented-control {
977
- background: #393d79;
978
- }/* DO NOT CHANGE!*/
979
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
980
970
  .eds-segmented-choice {
981
971
  display: block;
982
972
  flex: 1 1 0px;
@@ -1044,4 +1034,14 @@ textarea.eds-form-control.eds-textarea {
1044
1034
  }
1045
1035
  .eds-contrast .eds-segmented-choice:hover input:checked + .eds-base-segmented {
1046
1036
  --background-color: #d1d4e3;
1037
+ }/* DO NOT CHANGE!*/
1038
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1039
+ .eds-segmented-control {
1040
+ margin-top: 0.25rem;
1041
+ display: flex;
1042
+ background: #d1d4e3;
1043
+ border-radius: 0.25rem;
1044
+ }
1045
+ .eds-contrast .eds-segmented-control {
1046
+ background: #393d79;
1047
1047
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "5.4.8-beta.0",
3
+ "version": "5.4.8",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/form.esm.js",
@@ -17,29 +17,22 @@
17
17
  "access": "public"
18
18
  },
19
19
  "scripts": {
20
- "start": "yarn run dts watch --noClean",
21
- "build": "yarn run dts build",
22
- "prepack": "yarn run build",
23
- "prepublish": "yarn run test && yarn run lint",
24
- "test": "yarn run dts test --env=jsdom",
25
- "lint": "yarn run dts lint"
20
+ "start": "dts watch --noClean",
21
+ "build": "dts build",
22
+ "test": "dts test --env=jsdom",
23
+ "lint": "dts lint"
26
24
  },
27
25
  "peerDependencies": {
28
26
  "react": ">=16.8.0",
29
27
  "react-dom": ">=16.8.0"
30
28
  },
31
29
  "dependencies": {
32
- "@entur/icons": "^5.1.2-beta.0",
33
- "@entur/tokens": "^3.4.2-beta.0",
34
- "@entur/tooltip": "^2.5.20-beta.0",
35
- "@entur/typography": "^1.7.1-beta.0",
36
- "@entur/utils": "^0.4.6-beta.0",
30
+ "@entur/icons": "^5.2.0",
31
+ "@entur/tokens": "^3.4.1",
32
+ "@entur/tooltip": "^2.5.20",
33
+ "@entur/typography": "^1.7.0",
34
+ "@entur/utils": "^0.4.5",
37
35
  "classnames": "^2.3.1"
38
36
  },
39
- "devDependencies": {
40
- "dts-cli": "^1.1.6",
41
- "jest-watch-typeahead": "^2.2.0",
42
- "ts-jest": "^27.0.0"
43
- },
44
- "gitHead": "d66113fbe7eee544fb34f82211406b8ed95837a1"
37
+ "gitHead": "7dfc6f3e46a7bf635e8ec0f0b5ae1d4ba5b8722a"
45
38
  }