Thomas Allmer
5db622e9da
feat: as BREAKING CHANGE add exports & convert to static docs page
2021-03-15 15:22:37 +01:00
qa46hx
8fdfe37a3c
chore: update to latest eslint
2021-02-25 09:40:14 +01:00
Manuel Martin
b2f981db72
refactor: add package exports entry
...
This commit adds the exports entry in each package.json, exposing the public parts of each package and hiding the private ones.
2021-02-15 17:49:22 +01:00
Thijs Louisse
27020f12af
fix(button): make click event target predictable (always host)
2020-11-11 18:04:46 +01:00
Thijs Louisse
84ec97a640
fix(button): do not override aria-labelledby from user
2020-11-11 14:20:46 +01:00
Jorge del Casar
26b605939f
refactor(button): several improvements ( #1019 )
...
- remove click-area --> move styles to host::before
- reduce css so that extending styles makes sense. Merge .btn with host
- reduce the template and remove the if else construction inside the template
- hide focus styles if they're not needed, for example, when an element receives focus via the mouse.
- improve __clickDelegationHandler. Use current slotted native button instead of create new one
- fix vertical align when 2 buttons are inline and one has icon. Example included.
- add min-with to ensure target size for mobile, not only height
- add test to check event.target in all situations (inside and outside form)
2020-10-15 12:13:46 +02:00
Thijs Louisse
6679fe7743
chore: types button and combobox
2020-10-08 16:06:50 +02:00
Thijs Louisse
e42071d8dc
fix: types for overlays, tooltip, button
2020-09-09 12:21:22 +02:00
Joren Broekema
9f9d49ebcf
fix(button): add mouseupHandler also on 'this', remove iron test helpers
2020-06-30 17:17:58 +02:00
Hzunax
31ccb4a10f
fix(button): aria-disabled for button and switch
2020-05-28 20:24:55 +02:00
Joren Broekema
a451d4fc8a
chore: apply prettier formatting changes
2020-04-29 10:05:06 +02:00
Davide
9731771c23
fix: add display:none for hidden ( #692 )
2020-04-29 10:05:06 +02:00
Joren Broekema
2df061a17f
chore: cleanup, fix tests
2020-03-04 17:33:09 +01:00
CubLion
5a0b2c41ea
chore: todo cleanup
2020-02-19 21:51:48 +01:00
Wessel Loth
954adc5659
fix(button): run regexp once instead of every render cycle
...
chore: add browserDetection utility to @lion/core
Use it to fix test involving checking the userAgent in LionButton
chore: add browserDetection util to aria element sorting
2020-02-06 11:16:24 +01:00
erik
e1a417b041
feat: integrate and pass automated a11y testing
2019-12-03 15:15:01 +01:00
Joren Broekema
b4da3dabf0
chore: add storybook addon for a11y and fix violations
...
Co-authored-by: Dionysios Nikolopoulos <den.auth@gmail.com>
2019-11-13 11:01:37 +01:00
Joren Broekema
fdedcf2894
fix(button): make button more accessible
2019-11-13 11:01:37 +01:00
Joren Broekema
7995dfced5
chore(button): re-add and test 'type=reset' feature with native form
2019-10-21 08:22:39 +02:00
qa46hx
d19ca7cc5c
fix(button): fix form integration, fires only once, submit preventable
...
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
2019-10-21 07:58:27 +02:00
Joren Broekema
aa8bfc626d
chore(button): fix failing tests
2019-09-26 10:13:28 +02:00
erik
f2c15ce2c7
fix(button): make JAWS/IE11 work with inner button
2019-08-29 10:27:47 +02:00
Thomas Allmer
b3a1f912bc
fix(button): sync type property instead of delegating
2019-08-13 17:28:23 +02:00
Mikhail Bashkirov
f3303ae014
fix(button): remove active when mouse/key up on other element ( fix #210 )
2019-07-26 16:44:55 +02:00
Mikhail Bashkirov
471d662cb2
feat(button): move active to host for cross-browser support ( fix #188 )
2019-07-26 16:43:10 +02:00
Mikhail Bashkirov
e269b5d040
fix(button): click event fired twice in IE11 ( fix #179 )
2019-07-26 16:43:09 +02:00
Mikhail Bashkirov
59e456e11f
fix(button): put host element into click event target ( fix #89 )
2019-07-12 16:14:23 +02:00
Mikhail Bashkirov
b71177f667
fix(button): redispatch click event with all original properties
2019-07-12 16:14:22 +02:00
Mikhail Bashkirov
d8098902c7
fix(button): indicate visually the active state on enter/space
2019-06-13 10:56:24 +02:00
Thomas Allmer
76ccb94435
fix(button): do not override user provided tabindex
2019-05-16 13:14:09 +02:00
Thomas Allmer
8d96f84090
fix: update storybook/linting; adjust story labels, eslint ignores
2019-04-28 15:02:31 +02:00
Thomas Allmer
ec8da8f12c
feat: release inital public lion version
...
Co-authored-by: Mikhail Bashkirov <mikhail.bashkirov@ing.com>
Co-authored-by: Thijs Louisse <thijs.louisse@ing.com>
Co-authored-by: Joren Broekema <joren.broekema@ing.com>
Co-authored-by: Gerjan van Geest <gerjan.van.geest@ing.com>
Co-authored-by: Erik Kroes <erik.kroes@ing.com>
Co-authored-by: Lars den Bakker <lars.den.bakker@ing.com>
2019-04-26 10:37:57 +02:00