@lion/collapsible
Advanced tools
Comparing version 0.8.0 to 0.9.0
@@ -25,3 +25,3 @@ # Collapsible >> Overview ||10 | ||
- Use `opened` attribute or `toggle()` method to render default open. | ||
- `invoker` slot can be custom template e.g. our [button](https://github.com/ing-bank/lion/blob/24b205837eb6a0111d8c80077dcab0b5040533e0/docs/components/button/overview.md) or native `button` with custom styling. | ||
- `invoker` slot can be custom template e.g. our [button](https://github.com/ing-bank/lion/blob/9ebc79431bfdcacfd0d9c9b6457c1a99686a6a47/docs/components/button/overview.md) or native `button` with custom styling. | ||
- Observe the state with the help of `@opened-changed` event. | ||
@@ -28,0 +28,0 @@ - `show()` and `hide()` are helper methods to hide or show the content from outside. |
{ | ||
"name": "@lion/collapsible", | ||
"version": "0.8.0", | ||
"version": "0.9.0", | ||
"description": "This component is a combination of a button (the invoker), a chunk of extra content.", | ||
@@ -13,2 +13,3 @@ "license": "MIT", | ||
}, | ||
"type": "module", | ||
"main": "index.js", | ||
@@ -42,3 +43,3 @@ "module": "index.js", | ||
"dependencies": { | ||
"@lion/core": "^0.22.0" | ||
"@lion/core": "^0.23.0" | ||
}, | ||
@@ -45,0 +46,0 @@ "keywords": [ |
@@ -25,3 +25,3 @@ # Collapsible >> Overview ||10 | ||
- Use `opened` attribute or `toggle()` method to render default open. | ||
- `invoker` slot can be custom template e.g. our [button](https://github.com/ing-bank/lion/blob/24b205837eb6a0111d8c80077dcab0b5040533e0/docs/components/button/overview.md) or native `button` with custom styling. | ||
- `invoker` slot can be custom template e.g. our [button](https://github.com/ing-bank/lion/blob/9ebc79431bfdcacfd0d9c9b6457c1a99686a6a47/docs/components/button/overview.md) or native `button` with custom styling. | ||
- Observe the state with the help of `@opened-changed` event. | ||
@@ -28,0 +28,0 @@ - `show()` and `hide()` are helper methods to hide or show the content from outside. |
@@ -1,7 +0,3 @@ | ||
import { LitElement, html, css } from '@lion/core'; | ||
import { LitElement, html, css, uuid } from '@lion/core'; | ||
/** | ||
* Generate random UUID | ||
*/ | ||
const uuid = () => Math.random().toString(36).substr(2, 10); | ||
/** | ||
* `LionCollapsible` is a class for custom collapsible element (`<lion-collapsible>` web component). | ||
@@ -8,0 +4,0 @@ * |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Yes
28618
722
+ Added@lion/core@0.23.1(transitive)
- Removed@lion/core@0.22.0(transitive)
Updated@lion/core@^0.23.0