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