webcomponents / custom-elements-everywhere

Custom Element + Framework Interoperability Tests.
https://custom-elements-everywhere.com
Other
1.16k stars 102 forks source link

Update dependency omi to v7 #2293

Open renovate[bot] opened 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
omi (source) 6.25.23 -> 7.6.9 age adoption passing confidence

Release Notes

Tencent/omi (omi) ### [`v7.6.9`](https://togithub.com/Tencent/omi/compare/59968a45a242fc09dd22780739780da7f6fef9b0...47a67b1478480bc6e13c367ea403af8f1dca6621) [Compare Source](https://togithub.com/Tencent/omi/compare/59968a45a242fc09dd22780739780da7f6fef9b0...47a67b1478480bc6e13c367ea403af8f1dca6621) ### [`v7.6.8`](https://togithub.com/Tencent/omi/compare/b5c1c3941341a0d16a63e799ac0ffea78c7b5b80...59968a45a242fc09dd22780739780da7f6fef9b0) [Compare Source](https://togithub.com/Tencent/omi/compare/b5c1c3941341a0d16a63e799ac0ffea78c7b5b80...59968a45a242fc09dd22780739780da7f6fef9b0) ### [`v7.6.7`](https://togithub.com/Tencent/omi/compare/v7.6.6...b5c1c3941341a0d16a63e799ac0ffea78c7b5b80) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.6.6...b5c1c3941341a0d16a63e799ac0ffea78c7b5b80) ### [`v7.6.6`](https://togithub.com/Tencent/omi/compare/57c4934b15869f9d71e48613dafa65ed7329bcfb...v7.6.6) [Compare Source](https://togithub.com/Tencent/omi/compare/57c4934b15869f9d71e48613dafa65ed7329bcfb...v7.6.6) ### [`v7.6.5`](https://togithub.com/Tencent/omi/compare/f3539fde44d9e529d1e8b223f49b3d9a8f2f67a4...57c4934b15869f9d71e48613dafa65ed7329bcfb) [Compare Source](https://togithub.com/Tencent/omi/compare/f3539fde44d9e529d1e8b223f49b3d9a8f2f67a4...57c4934b15869f9d71e48613dafa65ed7329bcfb) ### [`v7.6.4`](https://togithub.com/Tencent/omi/compare/799f3944140ee41eea2654aa28d9113d7df62d88...f3539fde44d9e529d1e8b223f49b3d9a8f2f67a4) [Compare Source](https://togithub.com/Tencent/omi/compare/799f3944140ee41eea2654aa28d9113d7df62d88...f3539fde44d9e529d1e8b223f49b3d9a8f2f67a4) ### [`v7.6.3`](https://togithub.com/Tencent/omi/compare/799f3944140ee41eea2654aa28d9113d7df62d88...799f3944140ee41eea2654aa28d9113d7df62d88) [Compare Source](https://togithub.com/Tencent/omi/compare/799f3944140ee41eea2654aa28d9113d7df62d88...799f3944140ee41eea2654aa28d9113d7df62d88) ### [`v7.6.2`](https://togithub.com/Tencent/omi/compare/v7.6.1...799f3944140ee41eea2654aa28d9113d7df62d88) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.6.1...799f3944140ee41eea2654aa28d9113d7df62d88) ### [`v7.6.1`](https://togithub.com/Tencent/omi/releases/tag/v7.6.1): Using v1.0.2 of reactive-signal [Compare Source](https://togithub.com/Tencent/omi/compare/30b705249eeb503cae4fc9d7f5f2b753c239ed24...v7.6.1) https://github.com/Tencent/omi/commit/e3d8ad78ac3fbb5d4147c1789999caee138585ce ### [`v7.6.0`](https://togithub.com/Tencent/omi/compare/b6aa72f8dd197656fa0a2dd086d4edcc260bc555...30b705249eeb503cae4fc9d7f5f2b753c239ed24) [Compare Source](https://togithub.com/Tencent/omi/compare/b6aa72f8dd197656fa0a2dd086d4edcc260bc555...30b705249eeb503cae4fc9d7f5f2b753c239ed24) ### [`v7.5.10`](https://togithub.com/Tencent/omi/compare/22a76ebb2147d915679cf16ca80372f012f1eaae...b6aa72f8dd197656fa0a2dd086d4edcc260bc555) [Compare Source](https://togithub.com/Tencent/omi/compare/22a76ebb2147d915679cf16ca80372f012f1eaae...b6aa72f8dd197656fa0a2dd086d4edcc260bc555) ### [`v7.5.9`](https://togithub.com/Tencent/omi/compare/c7c0b79ccd5fec70f16a2d03541e805ca7b07486...22a76ebb2147d915679cf16ca80372f012f1eaae) [Compare Source](https://togithub.com/Tencent/omi/compare/c7c0b79ccd5fec70f16a2d03541e805ca7b07486...22a76ebb2147d915679cf16ca80372f012f1eaae) ### [`v7.5.8`](https://togithub.com/Tencent/omi/compare/143139db5c62f9ac6f20b0b82c783c78098c2a28...c7c0b79ccd5fec70f16a2d03541e805ca7b07486) [Compare Source](https://togithub.com/Tencent/omi/compare/143139db5c62f9ac6f20b0b82c783c78098c2a28...c7c0b79ccd5fec70f16a2d03541e805ca7b07486) ### [`v7.5.7`](https://togithub.com/Tencent/omi/compare/v7.5.6...143139db5c62f9ac6f20b0b82c783c78098c2a28) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.5.6...143139db5c62f9ac6f20b0b82c783c78098c2a28) ### [`v7.5.6`](https://togithub.com/Tencent/omi/compare/v7.5.5...v7.5.6) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.5.5...v7.5.6) ### [`v7.5.5`](https://togithub.com/Tencent/omi/compare/55ef0d7cf8628b6007c98684283cfb2ed375295e...v7.5.5) [Compare Source](https://togithub.com/Tencent/omi/compare/55ef0d7cf8628b6007c98684283cfb2ed375295e...v7.5.5) ### [`v7.5.4`](https://togithub.com/Tencent/omi/compare/55ef0d7cf8628b6007c98684283cfb2ed375295e...55ef0d7cf8628b6007c98684283cfb2ed375295e) [Compare Source](https://togithub.com/Tencent/omi/compare/55ef0d7cf8628b6007c98684283cfb2ed375295e...55ef0d7cf8628b6007c98684283cfb2ed375295e) ### [`v7.5.3`](https://togithub.com/Tencent/omi/compare/95e2d324a0a5be0e291b98a3516e984017cc4983...55ef0d7cf8628b6007c98684283cfb2ed375295e) [Compare Source](https://togithub.com/Tencent/omi/compare/95e2d324a0a5be0e291b98a3516e984017cc4983...55ef0d7cf8628b6007c98684283cfb2ed375295e) ### [`v7.5.2`](https://togithub.com/Tencent/omi/compare/edf2ac57b5ce7cd74fd76021933cbaf1cfa92b19...95e2d324a0a5be0e291b98a3516e984017cc4983) [Compare Source](https://togithub.com/Tencent/omi/compare/edf2ac57b5ce7cd74fd76021933cbaf1cfa92b19...95e2d324a0a5be0e291b98a3516e984017cc4983) ### [`v7.5.1`](https://togithub.com/Tencent/omi/compare/v7.5.0...edf2ac57b5ce7cd74fd76021933cbaf1cfa92b19) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.5.0...edf2ac57b5ce7cd74fd76021933cbaf1cfa92b19) ### [`v7.5.0`](https://togithub.com/Tencent/omi/releases/tag/v7.5.0): Function component is supported! ๐ŸŽ‰ [Compare Source](https://togithub.com/Tencent/omi/compare/fd58303459498b61a92f3fc138ceb2c0f7083155...v7.5.0) ```tsx function ChildComponent(props) { return ( {props.msg} ) } class ParentComponent extends Component { render() { return (
) } } ``` ### [`v7.4.6`](https://togithub.com/Tencent/omi/compare/v7.4.5...fd58303459498b61a92f3fc138ceb2c0f7083155) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.4.5...fd58303459498b61a92f3fc138ceb2c0f7083155) ### [`v7.4.5`](https://togithub.com/Tencent/omi/releases/tag/v7.4.5): More concise static props definitions for cross framework use๐ŸŽ‰ [Compare Source](https://togithub.com/Tencent/omi/compare/8a91f2c2325928cce82220e2bf85488042d530f6...v7.4.5) ```tsx import { tag, Component, h, bind } from 'omi' @​tag('my-counter') class MyCounter extends Component { static props = { count: { type: Number, default: 0, changed(newValue, oldValue) { this.state.count = newValue this.update() } } } state = { count: null } install() { this.state.count = this.props.count } @​bind sub() { this.state.count-- this.update() this.fire('change', this.state.count) } @​bind add() { this.state.count++ this.update() this.fire('change', this.state.count) } render() { return ( <> {this.state.count} ) } } ``` ### [`v7.4.4`](https://togithub.com/Tencent/omi/compare/8a91f2c2325928cce82220e2bf85488042d530f6...8a91f2c2325928cce82220e2bf85488042d530f6) [Compare Source](https://togithub.com/Tencent/omi/compare/8a91f2c2325928cce82220e2bf85488042d530f6...8a91f2c2325928cce82220e2bf85488042d530f6) ### [`v7.4.3`](https://togithub.com/Tencent/omi/compare/73f66ba6c736939c39758bf385d3fab536ce1096...8a91f2c2325928cce82220e2bf85488042d530f6) [Compare Source](https://togithub.com/Tencent/omi/compare/73f66ba6c736939c39758bf385d3fab536ce1096...8a91f2c2325928cce82220e2bf85488042d530f6) ### [`v7.4.2`](https://togithub.com/Tencent/omi/compare/v7.4.1...73f66ba6c736939c39758bf385d3fab536ce1096) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.4.1...73f66ba6c736939c39758bf385d3fab536ce1096) ### [`v7.4.1`](https://togithub.com/Tencent/omi/releases/tag/v7.4.1): Using constructor as tag name [Compare Source](https://togithub.com/Tencent/omi/compare/cab6846b6bdbc7bd8b64a0e725e9901eb0b4999a...v7.4.1) ```tsx import { Button } from './button' class MyApp extends Component { render() { return ( ) } } ``` ### [`v7.4.0`](https://togithub.com/Tencent/omi/compare/v7.3.10...cab6846b6bdbc7bd8b64a0e725e9901eb0b4999a) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.3.10...cab6846b6bdbc7bd8b64a0e725e9901eb0b4999a) ### [`v7.3.10`](https://togithub.com/Tencent/omi/compare/v7.3.9...v7.3.10) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.3.9...v7.3.10) ### [`v7.3.9`](https://togithub.com/Tencent/omi/releases/tag/v7.3.9): Lazy definition [Compare Source](https://togithub.com/Tencent/omi/compare/v7.3.8...v7.3.9) If we are writing a component library and need to use tree shaking capabilities, ```tsx import { WeButton } from 'ui-lib' ``` It could lead to definition failure if Button is not used, as it would be tree-shaken away. Therefore, we need to use Button, for example, ```tsx WeButton.define('we-button') ``` ### [`v7.3.8`](https://togithub.com/Tencent/omi/compare/4125e56a57629d5fbf6a9ec2b5ce3aa661816a53...v7.3.8) [Compare Source](https://togithub.com/Tencent/omi/compare/4125e56a57629d5fbf6a9ec2b5ce3aa661816a53...v7.3.8) ### [`v7.3.7`](https://togithub.com/Tencent/omi/compare/v7.3.6...4125e56a57629d5fbf6a9ec2b5ce3aa661816a53) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.3.6...4125e56a57629d5fbf6a9ec2b5ce3aa661816a53) ### [`v7.3.6`](https://togithub.com/Tencent/omi/compare/v7.3.5...v7.3.6) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.3.5...v7.3.6) ### [`v7.3.5`](https://togithub.com/Tencent/omi/compare/7a6ae1f0e09f19b406a7dc504be799ad55236c65...v7.3.5) [Compare Source](https://togithub.com/Tencent/omi/compare/7a6ae1f0e09f19b406a7dc504be799ad55236c65...v7.3.5) ### [`v7.3.4`](https://togithub.com/Tencent/omi/compare/2d43254e5d318f526cf33a41254dd35df5b23dfe...7a6ae1f0e09f19b406a7dc504be799ad55236c65) [Compare Source](https://togithub.com/Tencent/omi/compare/2d43254e5d318f526cf33a41254dd35df5b23dfe...7a6ae1f0e09f19b406a7dc504be799ad55236c65) ### [`v7.3.3`](https://togithub.com/Tencent/omi/compare/f9aed5568df6d08976c3c3b9a3be1d840ddf0a2d...2d43254e5d318f526cf33a41254dd35df5b23dfe) [Compare Source](https://togithub.com/Tencent/omi/compare/f9aed5568df6d08976c3c3b9a3be1d840ddf0a2d...2d43254e5d318f526cf33a41254dd35df5b23dfe) ### [`v7.3.2`](https://togithub.com/Tencent/omi/compare/v7.3.1...f9aed5568df6d08976c3c3b9a3be1d840ddf0a2d) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.3.1...f9aed5568df6d08976c3c3b9a3be1d840ddf0a2d) ### [`v7.3.1`](https://togithub.com/Tencent/omi/compare/v7.3.0...v7.3.1) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.3.0...v7.3.1) ### [`v7.3.0`](https://togithub.com/Tencent/omi/releases/tag/v7.3.0): Support for injecting lifecycle into props๐ŸŽ‰ [Compare Source](https://togithub.com/Tencent/omi/compare/v7.2.1...v7.3.0) ```tsx console.log('installed')}> ``` ### [`v7.2.1`](https://togithub.com/Tencent/omi/releases/tag/v7.2.1): Directive ๐ŸŽ‰ [Compare Source](https://togithub.com/Tencent/omi/compare/v7.2.0...v7.2.1) For Example: Register AutoAnimate Directive: ```tsx import { registerDirective } from 'omi' import autoAnimate from '@​formkit/auto-animate' registerDirective('auto-animate', autoAnimate) ``` Using Directive: ```tsx import { render, signal, tag, Component, h } from 'omi' const show = signal(false) @​tag('my-app') export class MyApp extends Component { render() { return ( <> show.value = !show.value}>Toggle show
{show.value &&

Hello o-auto-animate!

}
) } } render(, document.body) ``` ### [`v7.2.0`](https://togithub.com/Tencent/omi/releases/tag/v7.2.0): Preventing tree shaking [Compare Source](https://togithub.com/Tencent/omi/compare/v7.1.14...v7.2.0) ```tsx import { Button } from './button' // tree shaking import './button' // will not tree shaking class MyApp extends Component { render() { return ( test ) } } ``` ```tsx import { Button } from './button' class MyApp extends Component { render() { return ( {/* will not tree shaking*/ } test ) } } ``` ### [`v7.1.14`](https://togithub.com/Tencent/omi/compare/v7.1.13...v7.1.14) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.1.13...v7.1.14) ### [`v7.1.13`](https://togithub.com/Tencent/omi/compare/v7.1.12...v7.1.13) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.1.12...v7.1.13) ### [`v7.1.12`](https://togithub.com/Tencent/omi/compare/048e82f55c4f14d0a8a040021765b533da39e48c...v7.1.12) [Compare Source](https://togithub.com/Tencent/omi/compare/048e82f55c4f14d0a8a040021765b533da39e48c...v7.1.12) ### [`v7.1.11`](https://togithub.com/Tencent/omi/compare/v7.1.10...048e82f55c4f14d0a8a040021765b533da39e48c) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.1.10...048e82f55c4f14d0a8a040021765b533da39e48c) ### [`v7.1.10`](https://togithub.com/Tencent/omi/compare/df729138d498622e6d51f1f39814d7b1f3e23b20...v7.1.10) [Compare Source](https://togithub.com/Tencent/omi/compare/df729138d498622e6d51f1f39814d7b1f3e23b20...v7.1.10) ### [`v7.1.9`](https://togithub.com/Tencent/omi/compare/9419aa430c785c154f58e5ccf787258f41da8878...df729138d498622e6d51f1f39814d7b1f3e23b20) [Compare Source](https://togithub.com/Tencent/omi/compare/9419aa430c785c154f58e5ccf787258f41da8878...df729138d498622e6d51f1f39814d7b1f3e23b20) ### [`v7.1.8`](https://togithub.com/Tencent/omi/compare/3512ca5fb8b53df0b3ec504e11f385e98d3059b8...9419aa430c785c154f58e5ccf787258f41da8878) [Compare Source](https://togithub.com/Tencent/omi/compare/3512ca5fb8b53df0b3ec504e11f385e98d3059b8...9419aa430c785c154f58e5ccf787258f41da8878) ### [`v7.1.7`](https://togithub.com/Tencent/omi/compare/6db18f138d1cb1ab0a3bddfc53e76469998f4fc5...3512ca5fb8b53df0b3ec504e11f385e98d3059b8) [Compare Source](https://togithub.com/Tencent/omi/compare/6db18f138d1cb1ab0a3bddfc53e76469998f4fc5...3512ca5fb8b53df0b3ec504e11f385e98d3059b8) ### [`v7.1.6`](https://togithub.com/Tencent/omi/compare/v7.1.5...6db18f138d1cb1ab0a3bddfc53e76469998f4fc5) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.1.5...6db18f138d1cb1ab0a3bddfc53e76469998f4fc5) ### [`v7.1.5`](https://togithub.com/Tencent/omi/compare/v7.1.4...v7.1.5) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.1.4...v7.1.5) ### [`v7.1.4`](https://togithub.com/Tencent/omi/releases/tag/v7.1.4): CSS Prop Supported ๐ŸŽ‰ ! [Compare Source](https://togithub.com/Tencent/omi/compare/5b22489e70a978dc27f6804da6038ce64547a53c...v7.1.4) ##### Usage ```tsx @​tag('counter-demo') class CounterDemo extends Component { static css = 'span { color: red; }' render() { return ( <> {count.value} ) } } @​tag('my-app') class MyApp extends Component { cssProp: string = '' installed(): void { setInterval(() => { this.cssProp = `span{ font-size: ${Math.floor(Math.random() * 120)}px }` this.update() }, 500) } render() { return ( ) } } ``` ![ไผไธšๅพฎไฟกๆˆชๅ›พ\_3f6d7888-2bac-4371-abe1-8552a1838538](https://togithub.com/Tencent/omi/assets/7917954/c8e09806-e16e-4206-a029-c6b8e3d5e8de) ### [`v7.1.3`](https://togithub.com/Tencent/omi/compare/v7.1.2...5b22489e70a978dc27f6804da6038ce64547a53c) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.1.2...5b22489e70a978dc27f6804da6038ce64547a53c) ### [`v7.1.2`](https://togithub.com/Tencent/omi/releases/tag/v7.1.2): OMI 7.1.2 ๐ŸŽ‰ [Compare Source](https://togithub.com/Tencent/omi/compare/cf32597a8308ed847e26a57713bf32b54713f355...v7.1.2) ### [`v7.1.1`](https://togithub.com/Tencent/omi/compare/v7.1.0...cf32597a8308ed847e26a57713bf32b54713f355) [Compare Source](https://togithub.com/Tencent/omi/compare/v7.1.0...cf32597a8308ed847e26a57713bf32b54713f355) ### [`v7.1.0`](https://togithub.com/Tencent/omi/releases/tag/v7.1.0): OMI 7.1 ๐ŸŽ‰ [Compare Source](https://togithub.com/Tencent/omi/compare/v7.0.0...v7.1.0) - Support bind decorator to automatically bind this - Support CSS tag function to generate shared styles ### [`v7.0.0`](https://togithub.com/Tencent/omi/compare/9349793493ac1c3e1b8504727fde9e1c31a19318...v7.0.0) [Compare Source](https://togithub.com/Tencent/omi/compare/9349793493ac1c3e1b8504727fde9e1c31a19318...v7.0.0)

Configuration

๐Ÿ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Enabled.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.