Commit graph

35 commits

Author SHA1 Message Date
qa46hx
82f019dc82 chore: cleanup old TODOs 2020-04-02 16:25:41 +02:00
Joren Broekema
5103289f99 fix: convert unnecessary backticks to single quotes for unpkg 2020-04-02 16:25:41 +02:00
Joren Broekema
e397f8d68b feat(field): align (pre)filled and empty, fix filled not working
BREAKING: _isPrefilled was removed in favor of _isEmpty. We used to have both, but we decided to align, because they basically do the same thing but opposite. If you were using _isPrefilled, switch to using _isEmpty and just use it in reverse. This change also makes _isEmpty available to all things that implement FormControlMixin. Lastly, filled is available now on all fields that implement InteractionStateMixin
2020-03-25 17:02:10 +01:00
Thomas Allmer
10bac5672b feat: update to stable @open-wc/scoped-elements 2020-03-25 17:02:10 +01:00
Joren Broekema
42c840f949 feat: refrain from using dynamic vars inside dynamic import
BREAKING: Dynamic variables inside dynamic content are problematic for tools that use static analysis, therefore we have removed it, but you can still add it back on your extension if it works for you. The change may break your extension if you relied on this logic, you can add it back yourself by overriding the static get localizeNamespaces(). Example can be found here: https://github.com/ing-bank/lion/blob/%40lion/localize%400.8.10/packages/localize/stories/50-system-overview.stories.mdx#rendering-with-localizemixin
2020-03-25 17:02:10 +01:00
Joren Broekema
15b4a5ebb3 feat: use Scoped Elements
Co-authored-by: Alex Ghiu <Alex.Ghiu@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2020-03-05 16:04:49 +01:00
Sławek Amielucha
ad1e828d51 chore: unify the naming of changedProperties param (#620) 2020-03-04 17:33:09 +01:00
George Serbanescu
7c45dd6839 feat(validate): use static validatorName instead of instance name (#600) 2020-02-26 15:25:12 +01:00
Ben Amor Aymen
9127f08440 fix(field): do not validate disabled fields (#586) 2020-02-19 21:51:48 +01:00
Thomas Rutten
ce6a89c895 fix(validate): reset validation result on validators change (#565) 2020-02-19 21:51:48 +01:00
T-Motion
ce3c02b63b fix(validator): throw error if getMessage not of type Function 2020-02-06 11:16:24 +01:00
Thomas Allmer
89b835a799 feat: improved storybook demos
Co-authored-by: Joren Broekema <Joren.Broekema@ing.com>
Co-authored-by: Alex Ghiu <Alex.Ghiu@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
2020-01-13 13:58:03 +01:00
Thomas Allmer
c21eabbacd fix(validate): allow getMessage to return message based on config 2019-12-13 15:19:41 +01:00
Joren Broekema
a5a9f975a6 feat: refactor the overlay system implementations, docs and demos 2019-11-29 17:32:31 +01:00
erik
4b9ca1e356 fix: make success message disappear 2019-11-27 16:03:48 +01:00
Thomas Allmer
396deb2e3b feat: finalize validation and adopt it everywhere
Co-authored-by: Alex Ghiu <alex.ghiu@ing.com>
Co-authored-by: Gerjan van Geest <Gerjan.van.Geest@ing.com>
Co-authored-by: Thijs Louisse <Thijs.Louisse@ing.com>
Co-authored-by: Joren Broekema <joren.broekema@ing.com>
Co-authored-by: Erik Kroes <erik.kroes@ing.com>
2019-11-18 15:30:08 +01:00
Thijs Louisse
6e81b55e3c feat(validate): new validation api, async validation and more
Co-authored-by: Thomas Allmer <Thomas.Allmer@ing.com>
2019-11-15 16:57:58 +01:00
Joren Broekema
5999ea9569 fix: refactor slot selection 2019-11-15 15:50:18 +01:00
Joren Broekema
66d3d390ae feat: remove all deprecations from lion 2019-11-13 11:00:48 +01:00
Joren Broekema
c984a66d4b fix(fieldset): manage when to show error messages
Co-authored-by: Thomas Allmer <thomas.allmer@ing.com>
2019-10-31 18:31:53 +01:00
devcer
93206e7e13 fix: issue #329
Signed-off-by: devcer <viswanathamsantosh@gmail.com>
2019-10-21 12:06:46 +05:30
qa46hx
9945f91deb fix(validate): normalizeDateTime of min/max dates 2019-10-04 14:19:31 +02:00
gerjanvangeest
eb1e295576 chore: removed super.properties everywhere 2019-08-13 17:28:23 +02:00
Eloisa Jocson-Iting
a0ebd2da2c fix: support Chinese language 2019-07-17 10:11:32 +02:00
Thomas Allmer
f4fb438363 fix(validate): add attributes for validation states 2019-07-15 13:45:35 +02:00
Thomas Allmer
b9012fe2ba fix(validate): remove deprecated CssClassMixin 2019-07-15 13:45:35 +02:00
Thijs Louisse
596488bbae fix(fieldset): test validation after dynamic child removal/addition 2019-07-02 14:06:04 +02:00
Thijs Louisse
9ba6e02f29 fix(validate): reset validation state when modelValue becomes undefined 2019-07-01 16:51:17 +02:00
Carlo Canlas
7643e64572 fix: support en-PH locale for polymer-cli 2019-06-20 10:49:06 +02:00
Ovidiu
b729bf07d4 fix: support language fallback for non found locales (#102) 2019-06-18 15:25:06 +02:00
gerjanvangeest
af538b6f3a fix(validate): fix isDateDisabled validator 2019-05-17 11:45:11 +02:00
Thijs Louisse
14df4fce1c feat(validate): added disabledDatesValidator 2019-05-16 10:39:57 +02:00
Thijs Louisse
4ee8b8f0df feat(validate): added isValidatorApplied util 2019-05-16 10:39:57 +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