solid-ui 3.0.4-c998d77 → 3.0.4-d3715b2

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.
@@ -4572,33 +4572,9 @@ _forms_fieldFunction__WEBPACK_IMPORTED_MODULE_4__/* .field */ .ZZ[_ns__WEBPACK_I
4572
4572
  if (!ok) return callbackFunction(ok, body);
4573
4573
  return callbackFunction(ok, body);
4574
4574
  };
4575
- // Create container for label and select
4576
- var outerBox = dom.createElement('div');
4577
- outerBox.setAttribute('class', 'classifierBox');
4578
- // Render label
4579
- var labelDiv = dom.createElement('div');
4580
- labelDiv.setAttribute('class', 'formFieldName classifierBox-label');
4581
- // Use fieldLabel to render ui:label if present
4582
- labelDiv.appendChild((0,_forms_basic__WEBPACK_IMPORTED_MODULE_8__/* .fieldLabel */ .bk)(dom, category, form));
4583
- outerBox.appendChild(labelDiv);
4584
- // Render select
4585
- var selectBox = dom.createElement('div');
4586
- selectBox.setAttribute('class', 'formFieldValue classifierBox-selectBox');
4587
- var selectElement = makeSelectForNestedCategory(dom, kb, subject, category, dataDoc, checkOptions);
4588
- // Set readonly if not editable
4589
- if (selectElement && selectElement.querySelectorAll) {
4590
- var selects = selectElement.querySelectorAll('select');
4591
- if (selects.length && !kb.updater.editable(dataDoc.uri)) {
4592
- selects.forEach(function (select) {
4593
- select.readOnly = true;
4594
- select.style = _style__WEBPACK_IMPORTED_MODULE_10__/* .style */ .i.textInputStyleUneditable;
4595
- });
4596
- }
4597
- }
4598
- selectBox.appendChild(selectElement);
4599
- outerBox.appendChild(selectBox);
4600
- if (container) container.appendChild(outerBox);
4601
- return outerBox;
4575
+ var box = makeSelectForNestedCategory(dom, kb, subject, category, dataDoc, checkOptions);
4576
+ if (container) container.appendChild(box);
4577
+ return box;
4602
4578
  };
4603
4579
 
4604
4580
  /** Choice field
@@ -18746,7 +18722,7 @@ function tabWidget(options) {
18746
18722
  _getColors2 = (0,_babel_runtime_helpers_slicedToArray__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A)(_getColors, 2),
18747
18723
  selectedColor = _getColors2[0],
18748
18724
  color = _getColors2[1];
18749
- var bodyMainStyle = "display: grid; width: auto; height: 100%; border: 0.1em; border-style: solid; border-color: ".concat(selectedColor, "; padding: 1em;");
18725
+ var bodyMainStyle = "flex: 2; width: auto; height: 100%; border: 0.1em; border-style: solid; border-color: ".concat(selectedColor, "; padding: 1em;");
18750
18726
  var rootElement = dom.createElement('div'); // 20200117a
18751
18727
 
18752
18728
  rootElement.setAttribute('style', _style__WEBPACK_IMPORTED_MODULE_9__/* .style */ .i.tabsRootElement);