@ulb-darmstadt/shacl-form 2.0.0-rc9 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -70,9 +70,12 @@ data‑ignore‑owl‑imports | By default, `owl:imports` URLs ar
70
70
  data-view | When set, turns the web component into a viewer that displays the given data graph without editing functionality
71
71
  data-collapse | When set, `sh:group`s and properties with `sh:node` and `sh:maxCount` != 1 are displayed in a collapsible accordion-like widget to reduce visual complexity of the form. The collapsible element is initially shown closed, except when this attribute's value is `"open"`
72
72
  data-submit-button | [Ignored when `data-view` attribute is set] Whether to add a submit button to the form. The value of this attribute is used as the button label. `submit` events get emitted only when the form data validates
73
- data-generate-node-shape-reference | When generating the RDF data graph, <shacl-form> can create a triple that references the root `sh:NodeShape` of the data. Suggested values for this attribute are `http://www.w3.org/1999/02/22-rdf-syntax-ns#type` or `http://purl.org/dc/terms/conformsTo`. Default is empty, so that no such triple is created
73
+ data-generate-node-shape-reference | When generating the RDF data graph, <shacl-form> by default creates a triple that references the root `sh:NodeShape` of the data. Default value of this attribute is `http://purl.org/dc/terms/conformsTo`. Set this to the empty string to disable generating such a triple.
74
74
  data-show-node-ids | When this attribute is set, shacl node shapes will have their subject id shown in the form
75
- data-proxy | URL of a proxy to use when fetching resources (e.g. `owl:imports`). This can help loading resources from the web that are not [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) enabled. The URL of the resource to fetch will be appended to the value of this attribute. Example value for this attribute: `http://you-proxy.org/?url=`.
75
+ data-show-root-shape-label | If this is set and the root SHACL shape has `rdfs:label` or `dcterms:title` properties, <shacl-form> displays a heading with that value on top of the form
76
+ data-proxy | URL of a proxy to use when fetching resources (e.g. `owl:imports`). This can help loading resources from the web that are not [CORS](https://en.wikipedia.org/wiki/Cross-origin_resource_sharing) enabled. The URL of the resource to fetch will be appended to the value of this attribute. Example value for this attribute: `http://you-proxy.org/?url=`.
77
+ data-dense | Boolean inidcating to render a compact form with small paddings and margins. Default: true
78
+ data-hierarchy-colors | If set, a colored vertical bar is displayed on the right side of the form for each nested hierarchy level with the intention of easing orientation in complex nested forms. The value of this attribute can be a list of comma seperated CSS color definitions. If no value is given, a default color palette is used.
76
79
 
77
80
  ### Element functions
78
81