@entur/button 2.10.5-alpha.1 → 2.10.5-beta.3

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 +135 -135
  2. package/package.json +12 -9
  3. package/CHANGELOG.md +0 -455
package/dist/styles.css CHANGED
@@ -2,141 +2,6 @@
2
2
  --eds-button: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
- .eds-button-group .eds-button {
6
- margin-right: 0.75rem;
7
- margin-bottom: 0.75rem;
8
- }
9
- .eds-button-group .eds-button:only-child {
10
- margin: 0;
11
- }/* DO NOT CHANGE!*/
12
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
13
- .eds-icon-button {
14
- border: 0.0625rem solid transparent;
15
- border-radius: 0.25rem;
16
- background: none;
17
- color: inherit;
18
- cursor: pointer;
19
- display: flex;
20
- justify-content: center;
21
- align-items: center;
22
- font-size: 1rem;
23
- padding: 0.5rem;
24
- }
25
- .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
26
- background-color: #ffffff;
27
- }
28
- .eds-icon-button--size-small {
29
- height: 1.5rem;
30
- width: 1.5rem;
31
- padding: 0;
32
- }
33
- .eds-icon-button--size-medium {
34
- height: 2rem;
35
- width: 2rem;
36
- }
37
- .eds-icon-button:hover {
38
- background-color: #d1d4e3;
39
- }
40
- .eds-contrast .eds-icon-button:hover {
41
- background-color: #393d79;
42
- }
43
- .eds-icon-button:active {
44
- background: #babbcf;
45
- }
46
- .eds-contrast .eds-icon-button:active {
47
- background: #292b6a;
48
- }
49
- .eds-icon-button:focus {
50
- border: 0.0625rem solid #181c56;
51
- outline: none;
52
- }
53
- .eds-contrast .eds-icon-button:focus {
54
- border: 0.0625rem solid #ffffff;
55
- }
56
- .eds-icon-button--disabled {
57
- opacity: 0.5;
58
- pointer-events: none;
59
- }
60
- .eds-icon-button--disabled__wrapper {
61
- cursor: not-allowed;
62
- width: -webkit-fit-content;
63
- width: -moz-fit-content;
64
- width: fit-content;
65
- }/* DO NOT CHANGE!*/
66
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
67
- .eds-floating-button {
68
- align-items: center;
69
- -webkit-appearance: none;
70
- -moz-appearance: none;
71
- appearance: none;
72
- background: #181c56;
73
- border: 0;
74
- border-radius: 1.5rem;
75
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
76
- color: #ffffff;
77
- cursor: pointer;
78
- display: flex;
79
- font-family: inherit;
80
- font-size: 0.875rem;
81
- font-weight: 500;
82
- justify-content: center;
83
- min-height: 3rem;
84
- margin: 0;
85
- min-width: 3rem;
86
- padding: 0 1rem;
87
- position: relative;
88
- z-index: 10;
89
- }
90
- .eds-floating-button--extended {
91
- padding: 0 0.9375rem;
92
- }
93
- .eds-floating-button:hover {
94
- background-color: #2f3367;
95
- }
96
- .eds-floating-button:active {
97
- background-color: #16194d;
98
- }
99
- .eds-floating-button:focus {
100
- outline-offset: 0.125rem;
101
- outline: none;
102
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
103
- }
104
- .eds-contrast .eds-floating-button:focus {
105
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
106
- }
107
- .eds-contrast .eds-floating-button {
108
- background: #ffffff;
109
- color: #181c56;
110
- box-shadow: 0 0.0625rem 0.1875rem #393d79;
111
- }
112
- .eds-contrast .eds-floating-button:hover {
113
- background-color: #b6bee5;
114
- }
115
- .eds-contrast .eds-floating-button:active {
116
- background-color: #e6e6e6;
117
- }
118
- .eds-floating-button--small {
119
- border-radius: 1rem;
120
- height: 2rem;
121
- padding: 0 0.5rem;
122
- min-width: 2rem;
123
- min-height: 2rem;
124
- flex: 0 1 auto;
125
- }
126
- .eds-floating-button--small.eds-floating-button--extended {
127
- padding: 0 0.6875rem;
128
- }
129
-
130
- .eds-floating-button--extended > * {
131
- margin: 0 0.5em;
132
- }
133
- .eds-floating-button--extended > *:first-child {
134
- margin-left: 0;
135
- }
136
- .eds-floating-button--extended > *:last-child {
137
- margin-right: 0;
138
- }/* DO NOT CHANGE!*/
139
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
140
5
  a.eds-button {
141
6
  padding: 0.5rem 1rem;
142
7
  }
@@ -352,6 +217,141 @@ a.eds-button--size-large {
352
217
  color: #aeb7e2;
353
218
  }/* DO NOT CHANGE!*/
354
219
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
220
+ .eds-floating-button {
221
+ align-items: center;
222
+ -webkit-appearance: none;
223
+ -moz-appearance: none;
224
+ appearance: none;
225
+ background: #181c56;
226
+ border: 0;
227
+ border-radius: 1.5rem;
228
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
229
+ color: #ffffff;
230
+ cursor: pointer;
231
+ display: flex;
232
+ font-family: inherit;
233
+ font-size: 0.875rem;
234
+ font-weight: 500;
235
+ justify-content: center;
236
+ min-height: 3rem;
237
+ margin: 0;
238
+ min-width: 3rem;
239
+ padding: 0 1rem;
240
+ position: relative;
241
+ z-index: 10;
242
+ }
243
+ .eds-floating-button--extended {
244
+ padding: 0 0.9375rem;
245
+ }
246
+ .eds-floating-button:hover {
247
+ background-color: #2f3367;
248
+ }
249
+ .eds-floating-button:active {
250
+ background-color: #16194d;
251
+ }
252
+ .eds-floating-button:focus {
253
+ outline-offset: 0.125rem;
254
+ outline: none;
255
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
256
+ }
257
+ .eds-contrast .eds-floating-button:focus {
258
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
259
+ }
260
+ .eds-contrast .eds-floating-button {
261
+ background: #ffffff;
262
+ color: #181c56;
263
+ box-shadow: 0 0.0625rem 0.1875rem #393d79;
264
+ }
265
+ .eds-contrast .eds-floating-button:hover {
266
+ background-color: #b6bee5;
267
+ }
268
+ .eds-contrast .eds-floating-button:active {
269
+ background-color: #e6e6e6;
270
+ }
271
+ .eds-floating-button--small {
272
+ border-radius: 1rem;
273
+ height: 2rem;
274
+ padding: 0 0.5rem;
275
+ min-width: 2rem;
276
+ min-height: 2rem;
277
+ flex: 0 1 auto;
278
+ }
279
+ .eds-floating-button--small.eds-floating-button--extended {
280
+ padding: 0 0.6875rem;
281
+ }
282
+
283
+ .eds-floating-button--extended > * {
284
+ margin: 0 0.5em;
285
+ }
286
+ .eds-floating-button--extended > *:first-child {
287
+ margin-left: 0;
288
+ }
289
+ .eds-floating-button--extended > *:last-child {
290
+ margin-right: 0;
291
+ }/* DO NOT CHANGE!*/
292
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
293
+ .eds-button-group .eds-button {
294
+ margin-right: 0.75rem;
295
+ margin-bottom: 0.75rem;
296
+ }
297
+ .eds-button-group .eds-button:only-child {
298
+ margin: 0;
299
+ }/* DO NOT CHANGE!*/
300
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
301
+ .eds-icon-button {
302
+ border: 0.0625rem solid transparent;
303
+ border-radius: 0.25rem;
304
+ background: none;
305
+ color: inherit;
306
+ cursor: pointer;
307
+ display: flex;
308
+ justify-content: center;
309
+ align-items: center;
310
+ font-size: 1rem;
311
+ padding: 0.5rem;
312
+ }
313
+ .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
314
+ background-color: #ffffff;
315
+ }
316
+ .eds-icon-button--size-small {
317
+ height: 1.5rem;
318
+ width: 1.5rem;
319
+ padding: 0;
320
+ }
321
+ .eds-icon-button--size-medium {
322
+ height: 2rem;
323
+ width: 2rem;
324
+ }
325
+ .eds-icon-button:hover {
326
+ background-color: #d1d4e3;
327
+ }
328
+ .eds-contrast .eds-icon-button:hover {
329
+ background-color: #393d79;
330
+ }
331
+ .eds-icon-button:active {
332
+ background: #babbcf;
333
+ }
334
+ .eds-contrast .eds-icon-button:active {
335
+ background: #292b6a;
336
+ }
337
+ .eds-icon-button:focus {
338
+ border: 0.0625rem solid #181c56;
339
+ outline: none;
340
+ }
341
+ .eds-contrast .eds-icon-button:focus {
342
+ border: 0.0625rem solid #ffffff;
343
+ }
344
+ .eds-icon-button--disabled {
345
+ opacity: 0.5;
346
+ pointer-events: none;
347
+ }
348
+ .eds-icon-button--disabled__wrapper {
349
+ cursor: not-allowed;
350
+ width: -webkit-fit-content;
351
+ width: -moz-fit-content;
352
+ width: fit-content;
353
+ }/* DO NOT CHANGE!*/
354
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
355
355
  .eds-square-button {
356
356
  --icon-color: var(--primary-text-color);
357
357
  --icon-background: transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/button",
3
- "version": "2.10.5-alpha.1",
3
+ "version": "2.10.5-beta.3",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/button.esm.js",
@@ -17,22 +17,25 @@
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
+ "test": "yarn run dts test --env=jsdom",
23
+ "lint": "yarn run dts lint"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": ">=16.8.0",
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/loader": "^0.4.13-alpha.1",
31
- "@entur/utils": "^0.5.0-alpha.0",
30
+ "@entur/loader": "^0.4.13-beta.3",
31
+ "@entur/utils": "^0.4.6-beta.2",
32
32
  "classnames": "^2.3.1"
33
33
  },
34
34
  "devDependencies": {
35
- "@entur/tokens": "^3.4.1"
35
+ "@entur/tokens": "^3.4.2-beta.2",
36
+ "dts-cli": "^1.1.6",
37
+ "jest-watch-typeahead": "^2.2.0",
38
+ "ts-jest": "^27.0.0"
36
39
  },
37
- "gitHead": "8e5d6c63d180d5b3a7b2d0c6c4cdbb8ecb8af8f4"
40
+ "gitHead": "89c8eee86c247794134c34484a205e0f7f65d0a5"
38
41
  }
package/CHANGELOG.md DELETED
@@ -1,455 +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
- ## [2.10.5-alpha.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.10.5-alpha.0...@entur/button@2.10.5-alpha.1) (2022-10-26)
7
-
8
- **Note:** Version bump only for package @entur/button
9
-
10
- ## [2.10.5-alpha.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.10.4...@entur/button@2.10.5-alpha.0) (2022-10-20)
11
-
12
- **Note:** Version bump only for package @entur/button
13
-
14
- ## [2.10.3](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.10.2...@entur/button@2.10.3) (2022-08-31)
15
-
16
- **Note:** Version bump only for package @entur/button
17
-
18
- ## [2.10.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.10.1...@entur/button@2.10.2) (2022-08-24)
19
-
20
- **Note:** Version bump only for package @entur/button
21
-
22
- ## [2.10.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.10.0...@entur/button@2.10.1) (2022-08-09)
23
-
24
- **Note:** Version bump only for package @entur/button
25
-
26
- # [2.10.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.9.0...@entur/button@2.10.0) (2022-06-28)
27
-
28
- ### Features
29
-
30
- - **button:** add aria-label to button when loading ([50f325b](https://bitbucket.org/enturas/design-system/commits/50f325be55954b2d9411178d5430c202adc078c9))
31
-
32
- # [2.9.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.8.3...@entur/button@2.9.0) (2022-06-24)
33
-
34
- ### Features
35
-
36
- - **floating button:** add visual indication for active state ([c794e4f](https://bitbucket.org/enturas/design-system/commits/c794e4f831096da1a9ab4e25e62f4329e25e48ff))
37
- - **icon button:** add cursor not-allowed to disabled icon button and add aria-label prop descriptio ([d7ab051](https://bitbucket.org/enturas/design-system/commits/d7ab051d9a32a2879e243aee9e4620f3e23cb525))
38
-
39
- ## [2.8.3](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.8.2...@entur/button@2.8.3) (2022-06-02)
40
-
41
- **Note:** Version bump only for package @entur/button
42
-
43
- ## [2.8.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.8.1...@entur/button@2.8.2) (2022-05-13)
44
-
45
- **Note:** Version bump only for package @entur/button
46
-
47
- ## [2.8.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.8.0...@entur/button@2.8.1) (2022-04-27)
48
-
49
- **Note:** Version bump only for package @entur/button
50
-
51
- # [2.8.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.7.4...@entur/button@2.8.0) (2022-02-09)
52
-
53
- ### Features
54
-
55
- - **square button:** add tertiary square button style ([fe083e3](https://bitbucket.org/enturas/design-system/commits/fe083e3603cb3e037456f9485d5c71d4364d20ee))
56
-
57
- ## [2.7.4](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.7.3...@entur/button@2.7.4) (2021-11-17)
58
-
59
- **Note:** Version bump only for package @entur/button
60
-
61
- ## [2.7.3](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.7.2...@entur/button@2.7.3) (2021-09-23)
62
-
63
- **Note:** Version bump only for package @entur/button
64
-
65
- ## [2.7.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.7.1...@entur/button@2.7.2) (2021-09-13)
66
-
67
- ### Bug Fixes
68
-
69
- - **iconbutton:** fix loading dots in contrast ([f0e4a46](https://bitbucket.org/enturas/design-system/commits/f0e4a462ddb1bbd7f022b7528feea68627fc8da9))
70
- - **tertiary button:** reduce min width of button ([a241d93](https://bitbucket.org/enturas/design-system/commits/a241d9308488eb8a9a1d95ff400c2afe09e11143))
71
-
72
- ## [2.7.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.7.0...@entur/button@2.7.1) (2021-09-07)
73
-
74
- ### Bug Fixes
75
-
76
- - utilize reworked focus token ([586758f](https://bitbucket.org/enturas/design-system/commits/586758fc86eb5aa52116c63c14ef033eb2e8b12f))
77
- - **button:** adjust styling for disabled buttons ([edbae0e](https://bitbucket.org/enturas/design-system/commits/edbae0edc8285352c11e402ca9c0d78d0a91bcd8))
78
- - **button:** fix styling on disabled buttons in contrast ([951ed83](https://bitbucket.org/enturas/design-system/commits/951ed83b2ae0194179cf307f069b9588c68150ec))
79
-
80
- # [2.7.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.6.1...@entur/button@2.7.0) (2021-08-13)
81
-
82
- ### Features
83
-
84
- - **tertiary button:** add loading prop to button ([d52150e](https://bitbucket.org/enturas/design-system/commits/d52150ee26bd5cf7044bd0edacc61f9f53569d60))
85
-
86
- ## [2.6.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.6.0...@entur/button@2.6.1) (2021-06-25)
87
-
88
- ### Bug Fixes
89
-
90
- - update dependencies ([8b7e866](https://bitbucket.org/enturas/design-system/commits/8b7e8667a99df305ecbaefb0daebf7b8074f86e7))
91
-
92
- # [2.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.5.2...@entur/button@2.6.0) (2021-05-05)
93
-
94
- ### Features
95
-
96
- - **iconbutton:** add loading prop to iconbutton ([1738d37](https://bitbucket.org/enturas/design-system/commits/1738d375a18fbbabf818f5c612d1ab793eb87464))
97
-
98
- ## [2.5.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.5.1...@entur/button@2.5.2) (2021-04-23)
99
-
100
- ### Bug Fixes
101
-
102
- - **button:** use loading dots component if button is loading ([ccf02da](https://bitbucket.org/enturas/design-system/commits/ccf02daf48e97211151c214898910eaa6669bacc))
103
- - **iconbutton:** fix focus style for iconbutton ([ebf0649](https://bitbucket.org/enturas/design-system/commits/ebf0649246da39ca5390cfc61b1c445fb7ca2d34))
104
- - utilize new focus tokens ([17113ef](https://bitbucket.org/enturas/design-system/commits/17113ef3f791c86fa6e19e71680fd5acdbae4990))
105
-
106
- ## [2.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.5.0...@entur/button@2.5.1) (2021-02-17)
107
-
108
- ### Bug Fixes
109
-
110
- - **polymorphism:** update polymorphism dependency ([dc4c31d](https://bitbucket.org/enturas/design-system/commits/dc4c31d8e891a46c1f0c1fbd0a6a026c1638accc))
111
-
112
- # [2.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.4.2...@entur/button@2.5.0) (2021-01-29)
113
-
114
- ### Features
115
-
116
- - **iconbutton:** add size prop ([aa8b36a](https://bitbucket.org/enturas/design-system/commits/aa8b36a2ef5d3188b283df6f3963414671f1e9a9))
117
-
118
- ## [2.4.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.4.1...@entur/button@2.4.2) (2021-01-20)
119
-
120
- **Note:** Version bump only for package @entur/button
121
-
122
- ## [2.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.4.0...@entur/button@2.4.1) (2021-01-13)
123
-
124
- **Note:** Version bump only for package @entur/button
125
-
126
- # [2.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.3.7...@entur/button@2.4.0) (2020-12-04)
127
-
128
- ### Bug Fixes
129
-
130
- - **basesquarebutton:** improve typings ([3f17a89](https://bitbucket.org/enturas/design-system/commits/3f17a8988504ad88b73007b2e96bceda018aa3ee))
131
- - **button:** improve typings ([4d16703](https://bitbucket.org/enturas/design-system/commits/4d16703d58e7a64d731890c637248be108463c7b))
132
- - **iconbutton:** improve typings ([0039ca4](https://bitbucket.org/enturas/design-system/commits/0039ca4e9ec23a6cc98d497694c21e8a36c397f9))
133
- - **negativebutton:** improve typings ([b91041f](https://bitbucket.org/enturas/design-system/commits/b91041f071a05f53b3915d6ec748aa244ed963c2))
134
- - **primarybutton:** improve typings ([d01819e](https://bitbucket.org/enturas/design-system/commits/d01819ec82b0a4056c10a787ce3eff29ce44c520))
135
- - **secondarybutton:** improve typings ([e5eff74](https://bitbucket.org/enturas/design-system/commits/e5eff74afcc6657023641096813a1702bfe218e9))
136
- - **secondarysquarebutton:** improve typings ([10c9765](https://bitbucket.org/enturas/design-system/commits/10c97655dfb33f8aca553598a2956b0134ba1ffc))
137
- - **successbutton:** improve typings ([06b297f](https://bitbucket.org/enturas/design-system/commits/06b297ffaf35169bc201786521c110325c9b6121))
138
- - **successsquarebutton:** improve typings ([7359728](https://bitbucket.org/enturas/design-system/commits/73597283dbddf078df744c4e061e630a9dc4c05d))
139
- - **tertiarybutton:** improve typings ([4ba1abd](https://bitbucket.org/enturas/design-system/commits/4ba1abd61ba4f143c5ee39b195780abe2120bbc8))
140
-
141
- ### Features
142
-
143
- - **buttons:** add support for polymorphic component typings ([ed3c66b](https://bitbucket.org/enturas/design-system/commits/ed3c66b074a6afb39f7b32bef4f7aac9aa019325))
144
-
145
- ## [2.3.7](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.3.6...@entur/button@2.3.7) (2020-11-10)
146
-
147
- ### Bug Fixes
148
-
149
- - **floating button:** adjust horizontal padding ([857bdee](https://bitbucket.org/enturas/design-system/commits/857bdee64bbfcf13bd1ee6dc0eee39da1c4995d1))
150
-
151
- ## [2.3.6](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.3.5...@entur/button@2.3.6) (2020-10-28)
152
-
153
- ### Bug Fixes
154
-
155
- - **floatingbutton:** adjust height of floating buttons ([6e983a9](https://bitbucket.org/enturas/design-system/commits/6e983a99fd9650a60262e173e1fd785291bd7dc2))
156
-
157
- ## [2.3.5](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.3.4...@entur/button@2.3.5) (2020-10-23)
158
-
159
- ### Bug Fixes
160
-
161
- - **iconbutton:** adjust size to 32px ([45dabc8](https://bitbucket.org/enturas/design-system/commits/45dabc8670fd3420088de8c523686fde86298cfd))
162
-
163
- ## [2.3.4](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.3.3...@entur/button@2.3.4) (2020-10-09)
164
-
165
- ### Bug Fixes
166
-
167
- - **button:** increase button height to accomodate for new inputs ([7ebd5a9](https://bitbucket.org/enturas/design-system/commits/7ebd5a9f914a6306c88d1ac8273c31514e93c45b))
168
-
169
- ## [2.3.3](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.3.2...@entur/button@2.3.3) (2020-09-02)
170
-
171
- ### Bug Fixes
172
-
173
- - **tertiary button:** fix padding when tertiary button is link ([670504d](https://bitbucket.org/enturas/design-system/commits/670504ddcc55d1c33da59089339d2ff8856d224d))
174
-
175
- ## [2.3.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.3.1...@entur/button@2.3.2) (2020-08-11)
176
-
177
- **Note:** Version bump only for package @entur/button
178
-
179
- ## [2.3.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.3.0...@entur/button@2.3.1) (2020-07-09)
180
-
181
- ### Bug Fixes
182
-
183
- - lock height and width of icon button ([fa74a1b](https://bitbucket.org/enturas/design-system/commits/fa74a1baaa1e9bbae7fb8a7758e405ae548e3f2e))
184
-
185
- # [2.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.11...@entur/button@2.3.0) (2020-07-03)
186
-
187
- ### Features
188
-
189
- - add forwardref for squarebuttons ([bb118a1](https://bitbucket.org/enturas/design-system/commits/bb118a15f07706773273ca2009bb6e338d599d27))
190
-
191
- ## [2.2.11](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.10...@entur/button@2.2.11) (2020-06-17)
192
-
193
- ### Bug Fixes
194
-
195
- - fix wrong definition of forward referencing ([e5cad92](https://bitbucket.org/enturas/design-system/commits/e5cad92c59bc6453ab4dbe9a18c4c7e42dd7e00d))
196
-
197
- ## [2.2.10](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.9...@entur/button@2.2.10) (2020-05-27)
198
-
199
- **Note:** Version bump only for package @entur/button
200
-
201
- ## [2.2.9](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.8...@entur/button@2.2.9) (2020-05-26)
202
-
203
- ### Bug Fixes
204
-
205
- - new styling for iconbutton ([84fe6b8](https://bitbucket.org/enturas/design-system/commits/84fe6b8bca8ecd76303995d0b9804cc1517845c5))
206
-
207
- ## [2.2.8](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.7...@entur/button@2.2.8) (2020-05-20)
208
-
209
- ### Bug Fixes
210
-
211
- - fix padding bug for link buttons ([119e33a](https://bitbucket.org/enturas/design-system/commits/119e33a8d2c9c649e16328378b7e95ce9aa7d3bb))
212
-
213
- ## [2.2.7](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.6...@entur/button@2.2.7) (2020-04-27)
214
-
215
- **Note:** Version bump only for package @entur/button
216
-
217
- ## [2.2.6](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.5...@entur/button@2.2.6) (2020-04-23)
218
-
219
- ### Bug Fixes
220
-
221
- - updated to use new focus styling where applicable ([d0a52c0](https://bitbucket.org/enturas/design-system/commits/d0a52c096b673c6647070a90dd79bef9003ee0ad))
222
-
223
- ## [2.2.5](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.4...@entur/button@2.2.5) (2020-04-08)
224
-
225
- ### Bug Fixes
226
-
227
- - adding forward referencing for iconbutton ([472dac0](https://bitbucket.org/enturas/design-system/commits/472dac0ad13b7e886cedec8a3a4fe8f88295d8b3))
228
-
229
- ## [2.2.4](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.2...@entur/button@2.2.4) (2020-03-25)
230
-
231
- ### Bug Fixes
232
-
233
- - fix for disability state for iconbutton ([2550062](https://bitbucket.org/enturas/design-system/commits/2550062988a0deb5ea2dfccddabbd6202fa5be66))
234
-
235
- ## [2.2.3](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.2...@entur/button@2.2.3) (2020-03-25)
236
-
237
- ### Bug Fixes
238
-
239
- - fix for disability state for iconbutton ([2550062](https://bitbucket.org/enturas/design-system/commits/2550062988a0deb5ea2dfccddabbd6202fa5be66))
240
-
241
- ## [2.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.1...@entur/button@2.2.2) (2020-03-20)
242
-
243
- ### Bug Fixes
244
-
245
- - improving disabled functionality of iconbutton ([bc76650](https://bitbucket.org/enturas/design-system/commits/bc76650c2c9c368b03c94e892f60c34b6d84a7c4))
246
-
247
- ## [2.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.2.0...@entur/button@2.2.1) (2020-03-18)
248
-
249
- ### Bug Fixes
250
-
251
- - add support for loading and disabled to square buttons ([b25ffa0](https://bitbucket.org/enturas/design-system/commits/b25ffa0d9e692e8c7e0d3ba961fa67a0a840835a))
252
- - update to use new shadow tokens ([37dfe1c](https://bitbucket.org/enturas/design-system/commits/37dfe1c887cbb0357609bbc482ee8a306ba91d20))
253
-
254
- # [2.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.1.4...@entur/button@2.2.0) (2020-03-05)
255
-
256
- ### Bug Fixes
257
-
258
- - fix square button focus styling ([803ffd1](https://bitbucket.org/enturas/design-system/commits/803ffd139faaea4cc222cf0a6ae163f1d646c7d6))
259
-
260
- ### Features
261
-
262
- - **iconbutton:** add iconbutton component ([81e966f](https://bitbucket.org/enturas/design-system/commits/81e966f3be5cac8605a26abe7f558aeb3682aa1c))
263
-
264
- ## [2.1.4](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.1.3...@entur/button@2.1.4) (2020-02-20)
265
-
266
- **Note:** Version bump only for package @entur/button
267
-
268
- ## [2.1.3](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.1.2...@entur/button@2.1.3) (2020-02-14)
269
-
270
- ### Bug Fixes
271
-
272
- - fix padding for button as link as size=large ([4b6757b](https://bitbucket.org/enturas/design-system/commits/4b6757b0dd6fce0e5e7f12629849e4f5ce8ea561))
273
-
274
- ## [2.1.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.1.1...@entur/button@2.1.2) (2020-02-10)
275
-
276
- ### Bug Fixes
277
-
278
- - update styling for tertiary buttons ([e55f0fb](https://bitbucket.org/enturas/design-system/commits/e55f0fba0ae4a6ad7f73968f769735ae2c50efb4))
279
-
280
- ## [2.1.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.1.0...@entur/button@2.1.1) (2020-02-05)
281
-
282
- ### Bug Fixes
283
-
284
- - remove test-files from build process ([e0b24af](https://bitbucket.org/enturas/design-system/commits/e0b24af05d5c2ad8de4ae587d83c389495235890))
285
-
286
- # [2.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.0.0...@entur/button@2.1.0) (2020-01-31)
287
-
288
- ### Bug Fixes
289
-
290
- - **Bugfiks: let square buttons accept "as":** let square buttons accept "as" ([a94eec1](https://bitbucket.org/enturas/design-system/commits/a94eec11e3e6a65361df2d1087a52afc792051dc))
291
-
292
- ### Features
293
-
294
- - **Add types for as in square button:** add types for as in square button ([2a71ee3](https://bitbucket.org/enturas/design-system/commits/2a71ee3af96214a5a92957d4d1dd348ec4bc5255))
295
-
296
- # [2.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.6.1...@entur/button@2.0.0) (2020-01-28)
297
-
298
- ### Code Refactoring
299
-
300
- - **Button:** remove size="square" as a valid prop from regular buttons ([7fb1f95](https://bitbucket.org/enturas/design-system/commits/7fb1f95c9dfa56155be762258d59eba7210e6dbc))
301
-
302
- ### Features
303
-
304
- - **square buttons:** new components \`SecondarySquareButton\`, \`SuccessSquareButton\` ([2e92897](https://bitbucket.org/enturas/design-system/commits/2e92897f22acacdc649e03dc145db6b589751454))
305
-
306
- ### BREAKING CHANGES
307
-
308
- - **Button:** Square buttons are now their own components.
309
-
310
- ISSUES CLOSED: DS-179
311
-
312
- ## [1.6.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.6.0...@entur/button@1.6.1) (2020-01-27)
313
-
314
- ### Bug Fixes
315
-
316
- - reduce padding for icons in tertiary buttons ([31491b6](https://bitbucket.org/enturas/design-system/commits/31491b6e979a208430199607ff85f0b6fc7a06f8))
317
- - **types:** place types in the correct place ([acace09](https://bitbucket.org/enturas/design-system/commits/acace09ec0e258c5cff3a65e13ab29d6603780d9))
318
-
319
- # [1.6.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.5.2...@entur/button@1.6.0) (2020-01-20)
320
-
321
- ### Bug Fixes
322
-
323
- - fix transparent styling for secondary buttons ([79640f6](https://bitbucket.org/enturas/design-system/commits/79640f6fd7b9679b7cb958d3b39e181c70bcb67c))
324
- - **FloatingButton:** add hover effect to the floating buttons ([998ad0b](https://bitbucket.org/enturas/design-system/commits/998ad0b1275af64eb83025195b6b9b0f1d46ff88))
325
- - **FloatingButton:** fix issue with docs ([a1c7879](https://bitbucket.org/enturas/design-system/commits/a1c7879e4363476541d43f76b9cc3fba17e2d290))
326
-
327
- ### Features
328
-
329
- - **FloatingButton:** add new prop "size" to FloatingButotn ([8fc534d](https://bitbucket.org/enturas/design-system/commits/8fc534d59e1d03a35a465affc2a98bc91c1fab56))
330
-
331
- ## [1.5.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.5.1...@entur/button@1.5.2) (2020-01-14)
332
-
333
- **Note:** Version bump only for package @entur/button
334
-
335
- ## [1.5.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.5.0...@entur/button@1.5.1) (2020-01-08)
336
-
337
- ### Bug Fixes
338
-
339
- - warn in development if the developer have forgotten the CSS ([e5c30fc](https://bitbucket.org/enturas/design-system/commits/e5c30fc08624ef22c02773892778abd92205c6b0))
340
-
341
- # [1.5.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.4.1...@entur/button@1.5.0) (2020-01-06)
342
-
343
- ### Features
344
-
345
- - **FloatingButton:** add new component: FloatingButton ([2f38bc5](https://bitbucket.org/enturas/design-system/commits/2f38bc53cb1b4a357126ca35d6548b7a6e36b3dc))
346
-
347
- ## [1.4.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.4.0...@entur/button@1.4.1) (2019-12-17)
348
-
349
- ### Bug Fixes
350
-
351
- - fix styling for disabled buttons for higher contrast ([7b6b6ce](https://bitbucket.org/enturas/design-system/commits/7b6b6cec62fe5801c538d3db4bf8d76714d64395))
352
-
353
- # [1.4.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.3.0...@entur/button@1.4.0) (2019-12-10)
354
-
355
- ### Bug Fixes
356
-
357
- - **All buttons:** set button props explicitly for each prop ([2bb306e](https://bitbucket.org/enturas/design-system/commits/2bb306e676df094a12d3b41e78006350322d4261))
358
-
359
- ### Features
360
-
361
- - **Button:** introduce new components for the different button variants ([26cdb6e](https://bitbucket.org/enturas/design-system/commits/26cdb6e0b70a11254f8902357fc3da8ae9ef8b4a))
362
-
363
- # [1.3.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.2.2...@entur/button@1.3.0) (2019-12-10)
364
-
365
- ### Bug Fixes
366
-
367
- - adding aria-disabled to disabled state ([c048c0e](https://bitbucket.org/enturas/design-system/commits/c048c0e335ea97dd0989cc98515b5e3262887357))
368
- - adding default prop as part of documentation ([1ef7510](https://bitbucket.org/enturas/design-system/commits/1ef75107362f6262429d7fe31519b4353eccc8de))
369
- - **styling:** fixing contrast styling for secondary and negative button ([d0ebaa1](https://bitbucket.org/enturas/design-system/commits/d0ebaa18ff2b0c5bd69668934399db1d47747e07))
370
-
371
- ### Features
372
-
373
- - adding the tertiary button as a new variant ([808e129](https://bitbucket.org/enturas/design-system/commits/808e129be233ae6ff47d4d8a0add1524138041ad))
374
-
375
- ## [1.2.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.2.1...@entur/button@1.2.2) (2019-11-29)
376
-
377
- ### Bug Fixes
378
-
379
- - using new box shadow tokens ([9ff30bd](https://bitbucket.org/enturas/design-system/commits/9ff30bd52ad2b6e6d770565684a05e15f0b0ba9a))
380
-
381
- ## [1.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.2.0...@entur/button@1.2.1) (2019-11-28)
382
-
383
- ### Bug Fixes
384
-
385
- - **Button:** add disabled styles to buttons ([745acca](https://bitbucket.org/enturas/design-system/commits/745acca56cf245cc21af3d7f6ae73a675571f82d))
386
-
387
- # [1.2.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.1.0...@entur/button@1.2.0) (2019-11-25)
388
-
389
- ### Features
390
-
391
- - **ButtonGroup:** add new component ButtonGroup ([ae87ffd](https://bitbucket.org/enturas/design-system/commits/ae87ffd137cc6ef6466f7842d69413f4738cda41))
392
-
393
- # [1.1.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.0.4...@entur/button@1.1.0) (2019-11-22)
394
-
395
- ### Bug Fixes
396
-
397
- - **spinner:** fixes styling on the spinner for all variants ([a0322cd](https://bitbucket.org/enturas/design-system/commits/a0322cd3c95e94ed9a4ba9af15a2a2b4c205b1b0))
398
- - **styling:** fixing styling of loading spinner on all button variants ([74f79f4](https://bitbucket.org/enturas/design-system/commits/74f79f4dc6150d9759f430055ff295a94edd4751))
399
-
400
- ### Features
401
-
402
- - **types:** exporting all public types for public components ([4a277ab](https://bitbucket.org/enturas/design-system/commits/4a277ab266fdb32a6760821a07b1c6cc716bac85))
403
-
404
- ## [1.0.4](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.0.3...@entur/button@1.0.4) (2019-11-18)
405
-
406
- ### Bug Fixes
407
-
408
- - add consistent spacing for icons inside buttons ([2c55c15](https://bitbucket.org/enturas/design-system/commits/2c55c1539260d3983ddb82f1a05e369d94425d28))
409
- - **button:** fixing paddings issue with button as link ([48fcd82](https://bitbucket.org/enturas/design-system/commits/48fcd82835a4bde7c97d8461e5385f39552a92b9))
410
- - **buttons:** updating all buttons to new border radius ([e1cbc88](https://bitbucket.org/enturas/design-system/commits/e1cbc888723c305333e1b56a1e26898c4a070c2d))
411
- - **secondary styling:** applying new styling for secondary button ([8fbcc6d](https://bitbucket.org/enturas/design-system/commits/8fbcc6df62552486520391c05f44fcfcaafecf29))
412
- - **square button:** fixing new styling for square buttons ([430c6f3](https://bitbucket.org/enturas/design-system/commits/430c6f3d7ecc2ba058f38b06e8b0f499c1f212cf))
413
-
414
- ## [1.0.3](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.0.2...@entur/button@1.0.3) (2019-11-14)
415
-
416
- ### Bug Fixes
417
-
418
- - **css classnames:** fixing naming collisions with CSS classes ([a93ca43](https://bitbucket.org/enturas/design-system/commits/a93ca435d3a01d61d8f02694a672686b9e943a66))
419
-
420
- ## [1.0.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.0.1...@entur/button@1.0.2) (2019-10-30)
421
-
422
- ### Bug Fixes
423
-
424
- - migrate to latest version of space tokens ([4330496](https://bitbucket.org/enturas/design-system/commits/4330496e269bf628f7b9b7aec75f704800201101))
425
- - update all packages to use new tokens ([4847835](https://bitbucket.org/enturas/design-system/commits/48478359b0e562ba828e06d9b5c57239316805c2))
426
-
427
- ## [1.0.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@1.0.0...@entur/button@1.0.1) (2019-10-22)
428
-
429
- ### Bug Fixes
430
-
431
- - **icons:** upgrade tsdx to avoid custom config for icons ([712f1cc](https://bitbucket.org/enturas/design-system/commits/712f1cccfd3f0242f3287c21b45c8d5c9ad92084))
432
-
433
- # [1.0.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@0.2.1...@entur/button@1.0.0) (2019-10-11)
434
-
435
- ### Bug Fixes
436
-
437
- - size property is proper height ([b8d88d2](https://bitbucket.org/enturas/design-system/commits/b8d88d2))
438
-
439
- ### BREAKING CHANGES
440
-
441
- - Width=medium|large removed
442
-
443
- ## [0.2.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@0.2.0...@entur/button@0.2.1) (2019-10-07)
444
-
445
- **Note:** Version bump only for package @entur/button
446
-
447
- # 0.2.0 (2019-09-25)
448
-
449
- ### Bug Fixes
450
-
451
- - **LinkButton:** fixed disabled property bug on LinkButton ([985d8ff](https://bitbucket.org/enturas/design-system/commits/985d8ff))
452
-
453
- ### Features
454
-
455
- - **Button:** button component implementation ([22dae96](https://bitbucket.org/enturas/design-system/commits/22dae96))