Go to file
Yanzhen Yu 5850de1b33 impl slot trait
To implement slot trait, we do the following changes
1. Nestable components should embed <Slot /> inside itself.
2. Attachable components should use the slot trait to indicate which container they will be attached to.

During app render, we will resolve the nested relation by traversing the components spec. This process will return top-level components and a resolved slots tree.

Top-level components will be rendered directly. The resolved slots tree will be passed into every <Slot />, so the embed <Slot /> can render which has been attached to itself.
2021-07-26 16:30:36 +08:00
assets init spec v0.1.0 2021-06-16 13:30:04 +08:00
config init core package 2021-07-02 16:06:02 +08:00
packages impl slot trait 2021-07-26 16:30:36 +08:00
spec/zh_CN fix image link 2021-06-16 13:32:24 +08:00
.gitignore update lock file 2021-07-02 16:55:40 +08:00
lerna.json impl plain button, text and app 2021-07-05 14:49:45 +08:00
LICENSE
package.json init core package 2021-07-02 16:06:02 +08:00
tsconfig.json init core package 2021-07-02 16:06:02 +08:00
yarn.lock update yarn.lock 2021-07-26 13:45:06 +08:00