Skip to content

Commit

Permalink
feat: manage hints
Browse files Browse the repository at this point in the history
  • Loading branch information
albanm committed Nov 28, 2024
1 parent 05b9e68 commit 4b32ca9
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
}
},
"dependencies": {
"@json-layout/core": "~1.1.0",
"@json-layout/core": "~1.2.1",
"debug": "^4.3.4",
"ejs": "^3.1.9"
},
Expand Down
1 change: 0 additions & 1 deletion doc/components/comp-list-item.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ const compCharacteristics = computed(() => {
if (comp.multipleCompat) characteristics.push('array compatible')
if (comp.focusable) characteristics.push('focusable')
if (comp.emitsBlur) characteristics.push('emits blur event')
if (comp.emitsBlur) characteristics.push('emits blur event')
if (comp.shouldDebounce) characteristics.push('can be debounced')
return characteristics
})
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/v2/dynamic-content/select-schema-deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const description = `Using expressions in fromData it is possible to mix informa
This example illustrates this by reusing the oneOf list of values from a property in another while also filtering this oneOf using the current value of the first property. This creates a select based on the selected values of another select that also uses the proper titles.
Please note that this example requires the \`evalMethod=evalExpr\` or \`evalMethod=newFunction\` option. See the [Expressions documentation](configuration#expressions).`
This example requires the \`evalMethod=evalExpr\` or \`evalMethod=newFunction\` option. See the [Expressions documentation](configuration#expressions).`

const schema = {
type: 'object',
Expand Down
2 changes: 1 addition & 1 deletion doc/examples/vuetify/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const vuetifyExamples = {
title: 'Vuetify integration',
description: `VJSF integrates closely with Vuetify to provide rich features.
Please note that these features are tied to implementation details and small breaking changes may occur even in minor versions.
These features are tied to implementation details and small breaking changes may occur even in minor versions.
Many things are not covered yet, feel free to discuss additions in github issues.`,
examples: [propsSlots, extraDefaults]
Expand Down
2 changes: 1 addition & 1 deletion doc/pages/plugins.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const vjsfOptions = {
}</pre>
</code-block>

<p>Please note that this plugins uses <a href="https://github.com/Ionaru/easy-markdown-editor">EasyMDE</a> which is a CommonJS dependency. You might need to declare it to your build system. For example with Vite:</p>
<p>This plugins uses <a href="https://github.com/Ionaru/easy-markdown-editor">EasyMDE</a> which is a CommonJS dependency. You might need to declare it to your build system. For example with Vite:</p>
<code-block>
<pre>
optimizeDeps: {
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"vuetify": "^3.6.13"
},
"dependencies": {
"@json-layout/core": "~1.1.0",
"@json-layout/core": "~1.2.1",
"@vueuse/core": "^10.5.0",
"debug": "^4.3.4"
},
Expand Down
1 change: 1 addition & 0 deletions lib/src/composables/use-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ export default function (nodeRef, statefulLayout, opts = {}) {
const fullProps = mergePropsLevels(propsLevels)

fullProps.label = layout.value.label
fullProps.hint = layout.value.hint
if (error.value && validated.value) {
fullProps.errorMessages = error.value
}
Expand Down
33 changes: 17 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4b32ca9

Please sign in to comment.