@pure-ds/core 0.4.13 → 0.4.15

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.
@@ -1635,6 +1635,16 @@ export class SchemaForm extends LitElement {
1635
1635
  #uiFor(path) {
1636
1636
  if (!this.uiSchema) return undefined;
1637
1637
 
1638
+ // Root path: return root-level ui: properties directly
1639
+ if (!path || path === "" || path === "/") {
1640
+ // Check if uiSchema has ui: prefixed keys at root level (not nested under a path)
1641
+ const hasRootUiKeys = Object.keys(this.uiSchema).some(k => k.startsWith("ui:"));
1642
+ if (hasRootUiKeys) {
1643
+ return this.uiSchema;
1644
+ }
1645
+ // Fall through to check for "/" key
1646
+ }
1647
+
1638
1648
  // Try exact match first (flat structure)
1639
1649
  if (this.uiSchema[path]) return this.uiSchema[path];
1640
1650
 
@@ -1811,7 +1811,7 @@ form {
1811
1811
  }
1812
1812
 
1813
1813
  fieldset {
1814
- margin: 0
1814
+ margin: 0;
1815
1815
  padding: var(--spacing-5);
1816
1816
  width: 100%;
1817
1817
  background-color: color-mix(in oklab, var(--color-surface-subtle) 50%, transparent 50%);