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