support embed singleton fields via props

This commit is contained in:
MapleLeaf
2021-12-20 19:11:07 -06:00
parent d1935d283a
commit 628c4b23d7
9 changed files with 128 additions and 78 deletions

42
pnpm-lock.yaml generated
View File

@@ -8,6 +8,7 @@ importers:
'@typescript-eslint/eslint-plugin': ^5.8.0
'@typescript-eslint/parser': ^5.8.0
c8: ^7.10.0
chai: ^4.3.4
eslint: ^8.5.0
eslint-config-prettier: ^8.3.0
eslint-import-resolver-typescript: ^2.5.0
@@ -17,6 +18,7 @@ importers:
eslint-plugin-react-hooks: ^4.3.0
eslint-plugin-unicorn: ^39.0.0
prettier: ^2.5.1
should: ^13.2.3
typescript: ^4.5.4
vite: ^2.7.4
vitest: ^0.0.102
@@ -25,6 +27,7 @@ importers:
'@typescript-eslint/eslint-plugin': 5.8.0_836011a006f4f5d67178564baf2b6d34
'@typescript-eslint/parser': 5.8.0_eslint@8.5.0+typescript@4.5.4
c8: 7.10.0
chai: 4.3.4
eslint: 8.5.0
eslint-config-prettier: 8.3.0_eslint@8.5.0
eslint-import-resolver-typescript: 2.5.0_f385d671d5f1c72a868db745a891bc1f
@@ -34,6 +37,7 @@ importers:
eslint-plugin-react-hooks: 4.3.0_eslint@8.5.0
eslint-plugin-unicorn: 39.0.0_eslint@8.5.0
prettier: 2.5.1
should: 13.2.3
typescript: 4.5.4
vite: 2.7.4
vitest: 0.0.102_c8@7.10.0+vite@2.7.4
@@ -3982,6 +3986,44 @@ packages:
engines: {node: '>=8'}
dev: true
/should-equal/2.0.0:
resolution: {integrity: sha512-ZP36TMrK9euEuWQYBig9W55WPC7uo37qzAEmbjHz4gfyuXrEUgF8cUvQVO+w+d3OMfPvSRQJ22lSm8MQJ43LTA==}
dependencies:
should-type: 1.4.0
dev: true
/should-format/3.0.3:
resolution: {integrity: sha1-m/yPdPo5IFxT04w01xcwPidxJPE=}
dependencies:
should-type: 1.4.0
should-type-adaptors: 1.1.0
dev: true
/should-type-adaptors/1.1.0:
resolution: {integrity: sha512-JA4hdoLnN+kebEp2Vs8eBe9g7uy0zbRo+RMcU0EsNy+R+k049Ki+N5tT5Jagst2g7EAja+euFuoXFCa8vIklfA==}
dependencies:
should-type: 1.4.0
should-util: 1.0.1
dev: true
/should-type/1.4.0:
resolution: {integrity: sha1-B1bYzoRt/QmEOmlHcZ36DUz/XPM=}
dev: true
/should-util/1.0.1:
resolution: {integrity: sha512-oXF8tfxx5cDk8r2kYqlkUJzZpDBqVY/II2WhvU0n9Y3XYvAYRmeaf1PvvIvTgPnv4KJ+ES5M0PyDq5Jp+Ygy2g==}
dev: true
/should/13.2.3:
resolution: {integrity: sha512-ggLesLtu2xp+ZxI+ysJTmNjh2U0TsC+rQ/pfED9bUZZ4DKefP27D+7YJVVTvKsmjLpIi9jAa7itwDGkDDmt1GQ==}
dependencies:
should-equal: 2.0.0
should-format: 3.0.3
should-type: 1.4.0
should-type-adaptors: 1.1.0
should-util: 1.0.1
dev: true
/side-channel/1.0.4:
resolution: {integrity: sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==}
dependencies: