Socket
Socket
Sign inDemoInstall

@lion/core

Package Overview
Dependencies
Maintainers
1
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/core - npm Package Compare versions

Comparing version 0.19.0 to 0.20.0

12

CHANGELOG.md
# Change Log
## 0.20.0
### Minor Changes
- 495cb0c5: Remove keyboardEventShimIE test helper
- 2b583ee7: Remove differentKeyEventNamesShimIE, since IE11 isn't supported any more
- 83011918: Remove closestPolyfill
### Patch Changes
- 30805edf: Replace deprecated node folder exports with wildcard exports for docs
## 0.19.0

@@ -4,0 +16,0 @@

8

docs/guides/how-to/create-a-custom-field.md

@@ -76,5 +76,5 @@ # How To >> Create a custom field ||20

Custom Fields can be created in just a few steps. All you need is an interaction element (like for instance a slider, a listbox or a combobox) and connect it to the [LionField](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/components/inputs/input/overview.md).
Custom Fields can be created in just a few steps. All you need is an interaction element (like for instance a slider, a listbox or a combobox) and connect it to the [LionField](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/components/inputs/input/overview.md).
> In case you want to extend a native element, follow [Extend a native Input](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/guides/how-to/extend-a-native-input.md).
> In case you want to extend a native element, follow [Extend a native Input](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/guides/how-to/extend-a-native-input.md).

@@ -128,3 +128,3 @@ ## A) an interaction element

Now we want to integrate the slider in our form framework to enrich the user interface, get
validation support and all other [benefits of LionField](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/components/inputs/input/overview.md).
validation support and all other [benefits of LionField](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/components/inputs/input/overview.md).
We start by creating a component `<slider-field>` that extends from `LionField`.

@@ -142,3 +142,3 @@ Then we follow the steps below:

equivalent of the `input` event of the platform, but for custom built interaction elements.
You now synchronized [modelValue](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/docs/systems/form/model-value.md), which can be regarded as
You now synchronized [modelValue](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/docs/systems/form/model-value.md), which can be regarded as
the glue to integrate all other functionality like parsing/formatting/serializing, validating,

@@ -145,0 +145,0 @@ tracking interaction states etc.

@@ -14,5 +14,5 @@ # How To >> Extend a native Input ||20

Input fields can be created by extending [LionInput](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/components/inputs/input/overview.md).
Input fields can be created by extending [LionInput](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/components/inputs/input/overview.md).
> In case you want to wrap a custom form element, follow [Create a custom Field](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/guides/how-to/create-a-custom-field.md).
> In case you want to wrap a custom form element, follow [Create a custom Field](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/guides/how-to/create-a-custom-field.md).

@@ -19,0 +19,0 @@ For this tutorial, we create an input that wraps native `input[type=datetime-local]`.

@@ -15,5 +15,5 @@ # Guides

- [Definitions and Terms](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/guides/principles/definitions-and-terms.md)
- [Styling](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/guides/principles/styling.md)
- [Scoped Elements](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/guides/principles/scoped-elements.md)
- [Definitions and Terms](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/guides/principles/definitions-and-terms.md)
- [Styling](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/guides/principles/styling.md)
- [Scoped Elements](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/guides/principles/scoped-elements.md)

@@ -26,4 +26,4 @@ ## Extending Developer

- [Subclasser APIs](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/guides/principles/subclasser-apis.md)
- [Extend documentation](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/blog/extending-documentation)
- [Subclasser APIs](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/guides/principles/subclasser-apis.md)
- [Extend documentation](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/blog/extending-documentation)

@@ -34,3 +34,3 @@ ## How To

- [Get started](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/guides/how-to/get-started.md)
- [Create a custom field](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/guides/how-to/create-a-custom-field.md)
- [Get started](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/guides/how-to/get-started.md)
- [Create a custom field](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/guides/how-to/create-a-custom-field.md)

@@ -22,3 +22,3 @@ # Principles >> Styling ||30

readable by screen readers, but invisible for end users.
- When an html table is used, we allow [subclassers](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/guides/principles/subclasser-apis.md) to override the display property (`table-cell`) to `flex`. By putting the proper accessible roles (`role="cell"`) in the markup, we guarantee our markup stays accessible.
- When an html table is used, we allow [subclassers](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/guides/principles/subclasser-apis.md) to override the display property (`table-cell`) to `flex`. By putting the proper accessible roles (`role="cell"`) in the markup, we guarantee our markup stays accessible.

@@ -25,0 +25,0 @@ Although Lion components try to stay as unbiased as possible with regard to styling, defaults will be needed. In these cases we try to follow the platform as much as possible. If the platform doesn't provide defaults, the largest common denominator across existing UI frameworks is taken as a lead.

@@ -18,3 +18,3 @@ # Systems >> Core >> Overview ||10

- [function to deduplicate mixins (dedupeMixin)](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/docs/systems/core/#deduping-of-mixins)
- [function to deduplicate mixins (dedupeMixin)](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/docs/systems/core/#deduping-of-mixins)
- Mixin to handle disabled (DisabledMixin)

@@ -21,0 +21,0 @@ - Mixin to handle disabled AND tabIndex (DisabledWithTabIndexMixin)

{
"name": "@lion/core",
"version": "0.19.0",
"version": "0.20.0",
"description": "Core functionality that is shared across all Lion Web Components",

@@ -22,3 +22,2 @@ "license": "MIT",

"test",
"test-helpers",
"translations",

@@ -35,6 +34,3 @@ "types"

},
"sideEffects": [
"./closestPolyfill.js",
"./differentKeyEventNamesShimIE.js"
],
"sideEffects": false,
"dependencies": {

@@ -54,7 +50,4 @@ "@open-wc/dedupe-mixin": "^1.3.0",

".": "./index.js",
"./test-helpers": "./test-helpers/index.js",
"./closestPolyfill": "./src/closestPolyfill.js",
"./differentKeyEventNamesShimIE": "./src/differentKeyEventNamesShimIE.js",
"./docs/": "./docs/"
"./docs/*": "./docs/*"
}
}

@@ -18,3 +18,3 @@ # Systems >> Core >> Overview ||10

- [function to deduplicate mixins (dedupeMixin)](https://github.com/ing-bank/lion/blob/c59dda0c93f15f94b5f6287f8df6ac1ba29ff9e5/docs/docs/systems/core/#deduping-of-mixins)
- [function to deduplicate mixins (dedupeMixin)](https://github.com/ing-bank/lion/blob/745c809ce06b2dce0ee4e47749ce2b5ca23bd769/docs/docs/systems/core/#deduping-of-mixins)
- Mixin to handle disabled (DisabledMixin)

@@ -21,0 +21,0 @@ - Mixin to handle disabled AND tabIndex (DisabledWithTabIndexMixin)

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc