@lion/progress-indicator
Advanced tools
Comparing version 0.5.0 to 0.6.0
# @lion/progress-indicator | ||
## 0.6.0 | ||
### Minor Changes | ||
- 72067c0d: **BREAKING** Upgrade to [lit](https://lit.dev/) version 2 | ||
This does not change any of the public APIs of lion. | ||
It however effects you when you have your own extension layer or your own components especially when using directives. | ||
See the [official lit upgrade guide](https://lit.dev/docs/releases/upgrade/). | ||
**BREAKING** Upgrade to [ScopedElements](https://open-wc.org/docs/development/scoped-elements/) version 2 | ||
This version of `@open-wc/scoped-elements` is now following the [Scoped Custom Element Registries](https://github.com/WICG/webcomponents/blob/gh-pages/proposals/Scoped-Custom-Element-Registries.md) and automatically loads a polyfill [@webcomponents/scoped-custom-element-registry](https://github.com/webcomponents/polyfills/tree/master/packages/scoped-custom-element-registry). | ||
This means tag names are no longer being rewritten with a hash. | ||
```js | ||
import { css, LitElement } from 'lit'; | ||
import { ScopedElementsMixin } from '@open-wc/scoped-elements'; | ||
import { MyButton } from './MyButton.js'; | ||
export class MyElement extends ScopedElementsMixin(LitElement) { | ||
static get scopedElements() { | ||
return { | ||
'my-button': MyButton, | ||
}; | ||
} | ||
render() { | ||
return html` | ||
<my-button>click me</my-button> | ||
`; | ||
} | ||
} | ||
``` | ||
```html | ||
<!-- before (ScopedElements 1.x) --> | ||
<my-element> | ||
#shadow-root | ||
<my-button-23243424>click me</my-button-23243424> | ||
</my-element> | ||
<!-- after (ScopedElements 2.x) --> | ||
<my-element> | ||
#shadow-root | ||
<my-button>click me</my-button> | ||
</my-element> | ||
``` | ||
### Patch Changes | ||
- Updated dependencies [72067c0d] | ||
- @lion/core@0.18.0 | ||
- @lion/localize@0.20.0 | ||
## 0.5.0 | ||
@@ -4,0 +60,0 @@ |
@@ -83,3 +83,3 @@ { | ||
"type": { | ||
"text": "{}" | ||
"text": "symbol" | ||
} | ||
@@ -86,0 +86,0 @@ } |
@@ -9,3 +9,3 @@ # Content >> Progress Indicator >> Overview ||10 | ||
Note: You don't see a live demo here as it would be empty, since there is no styling. Check out the [examples](https://github.com/ing-bank/lion/blob/4bd5e4fc4dcadd802d0856c0e73e3af559f40537/docs/components/content/progress-indicator/examples.md) if you want to see a possible implementation. | ||
Note: You don't see a live demo here as it would be empty, since there is no styling. Check out the [examples](https://github.com/ing-bank/lion/blob/24b272ecf272f883ddb8130e22271557f4ff444e/docs/components/content/progress-indicator/examples.md) if you want to see a possible implementation. | ||
@@ -12,0 +12,0 @@ ## Features |
{ | ||
"name": "@lion/progress-indicator", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "A progress indicator that is easily styleable and accessible in all contexts", | ||
@@ -39,4 +39,4 @@ "license": "MIT", | ||
"dependencies": { | ||
"@lion/core": "0.17.0", | ||
"@lion/localize": "0.19.0" | ||
"@lion/core": "0.18.0", | ||
"@lion/localize": "0.20.0" | ||
}, | ||
@@ -43,0 +43,0 @@ "keywords": [ |
@@ -9,3 +9,3 @@ # Content >> Progress Indicator >> Overview ||10 | ||
Note: You don't see a live demo here as it would be empty, since there is no styling. Check out the [examples](https://github.com/ing-bank/lion/blob/4bd5e4fc4dcadd802d0856c0e73e3af559f40537/docs/components/content/progress-indicator/examples.md) if you want to see a possible implementation. | ||
Note: You don't see a live demo here as it would be empty, since there is no styling. Check out the [examples](https://github.com/ing-bank/lion/blob/24b272ecf272f883ddb8130e22271557f4ff444e/docs/components/content/progress-indicator/examples.md) if you want to see a possible implementation. | ||
@@ -12,0 +12,0 @@ ## Features |
@@ -1,2 +0,2 @@ | ||
declare const LionProgressIndicator_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("@lion/localize/types/LocalizeMixinTypes").LocalizeMixinHost> & Pick<typeof import("@lion/localize/types/LocalizeMixinTypes").LocalizeMixinHost, "prototype" | "localizeNamespaces" | "waitForLocalizeNamespaces"> & Pick<typeof LitElement, "prototype" | "render" | "styles" | "getStyles" | "properties" | "observedAttributes" | "createProperty">; | ||
declare const LionProgressIndicator_base: typeof LitElement & import("@open-wc/dedupe-mixin").Constructor<import("@lion/localize/types/LocalizeMixinTypes").LocalizeMixinHost> & Pick<typeof import("@lion/localize/types/LocalizeMixinTypes").LocalizeMixinHost, "prototype" | "localizeNamespaces" | "waitForLocalizeNamespaces"> & Pick<typeof LitElement, "prototype" | "_$litElement$" | "enabledWarnings" | "enableWarning" | "disableWarning" | "addInitializer" | "_initializers" | "elementProperties" | "properties" | "elementStyles" | "styles" | "observedAttributes" | "createProperty" | "shadowRootOptions">; | ||
export class LionProgressIndicator extends LionProgressIndicator_base { | ||
@@ -7,5 +7,5 @@ static get localizeNamespaces(): { | ||
/** @protected */ | ||
protected _graphicTemplate(): {}; | ||
protected _graphicTemplate(): symbol; | ||
} | ||
import { LitElement } from "@lion/core"; | ||
export {}; |
@@ -1,2 +0,2 @@ | ||
/* eslint-disable class-methods-use-this */ | ||
/* eslint-disable class-methods-use-this, import/no-extraneous-dependencies */ | ||
@@ -3,0 +3,0 @@ import { nothing, LitElement } from '@lion/core'; |
35334
1057
+ Added@lion/core@0.18.0(transitive)
+ Added@lion/localize@0.20.0(transitive)
+ Added@lit-labs/ssr-dom-shim@1.3.0(transitive)
+ Added@lit/reactive-element@1.6.32.0.4(transitive)
+ Added@open-wc/scoped-elements@2.2.4(transitive)
+ Added@types/trusted-types@2.0.7(transitive)
+ Addedlit@2.8.0(transitive)
+ Addedlit-element@3.3.3(transitive)
+ Addedlit-html@2.8.0(transitive)
- Removed@lion/core@0.17.0(transitive)
- Removed@lion/localize@0.19.0(transitive)
- Removed@open-wc/scoped-elements@1.3.7(transitive)
- Removedlit-element@2.4.0(transitive)
- Removedlit-html@1.4.1(transitive)
Updated@lion/core@0.18.0
Updated@lion/localize@0.20.0