solid-ui 3.0.3 → 3.0.4-192295e

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/dist/solid-ui.js CHANGED
@@ -4091,7 +4091,7 @@ function attachmentList(dom, subject, div) {
4091
4091
  var attachmentRight = attachmentOne.appendChild(dom.createElement('td'));
4092
4092
  var attachmentTable = attachmentRight.appendChild(dom.createElement('table'));
4093
4093
  attachmentTable.appendChild(dom.createElement('tr')) // attachmentTableTop
4094
- ;
4094
+ ;
4095
4095
  attachmentOuter.refresh = refresh; // Participate in downstream changes
4096
4096
  // ;(attachmentTable as any).refresh = refresh <- outer should be best?
4097
4097
 
@@ -4558,7 +4558,7 @@ function _defineProperty(e, r, t) {
4558
4558
  /**
4559
4559
  * Default signup endpoints (list of identity providers)
4560
4560
  */
4561
- signupEndpoint: 'https://solidproject.org/use-solid/',
4561
+ signupEndpoint: 'https://solidproject.org/get_a_pod',
4562
4562
  /**
4563
4563
  * Default height of the Signup popup window, in pixels
4564
4564
  */
@@ -4936,7 +4936,7 @@ function basicField(dom, container, already, subject, form, doc, callbackFunctio
4936
4936
  }
4937
4937
  if (!kb.updater.editable(doc.uri)) {
4938
4938
  field.readOnly = true // was: disabled. readOnly is better
4939
- ;
4939
+ ;
4940
4940
  field.style = style.textInputStyleUneditable + paramStyle;
4941
4941
  if (suppressEmptyUneditable && field.value === '') {
4942
4942
  box.style.display = 'none'; // clutter
@@ -12826,7 +12826,7 @@ function cameraCaptureControl(dom, store, getImageDoc, doneCallback) {
12826
12826
  // if (!confirm('Save picture to ' + destination + ' ?')) return
12827
12827
  src_debug/* log */.Rm('Putting ' + blob.size + ' bytes of ' + contentType + ' to ' + destination)
12828
12828
  // @@ TODO Remove casting
12829
- ;
12829
+ ;
12830
12830
  store.fetcher.webOperation('PUT', destination.uri, {
12831
12831
  data: blob,
12832
12832
  contentType: contentType
@@ -24253,10 +24253,19 @@ function tabWidget(options) {
24253
24253
  });
24254
24254
  var tab = selectedTab1 || selectedTab0 || tabContainer.children[0];
24255
24255
  var clickMe = tab.firstChild;
24256
- // @ts-ignore
24257
- if (clickMe) clickMe.click();
24256
+ if (clickMe !== null && clickMe !== void 0 && clickMe.click) {
24257
+ clickMe.click();
24258
+ } else if (tab instanceof HTMLElement) {
24259
+ tab.click();
24260
+ }
24258
24261
  } else if (!options.startEmpty) {
24259
- tabContainer.children[0].firstChild.click(); // Open first tab
24262
+ var firstTab = tabContainer.children[0];
24263
+ var clickTarget = firstTab === null || firstTab === void 0 ? void 0 : firstTab.firstChild;
24264
+ if (clickTarget !== null && clickTarget !== void 0 && clickTarget.click) {
24265
+ clickTarget.click();
24266
+ } else if (firstTab instanceof HTMLElement) {
24267
+ firstTab.click(); // Open first tab
24268
+ }
24260
24269
  }
24261
24270
  return rootElement;
24262
24271
  function addCancelButton(tabContainer) {