@ninebone/grid 0.0.4 → 0.0.5

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/nine-grid.js CHANGED
@@ -29779,11 +29779,11 @@ class hf extends HTMLElement {
29779
29779
  }
29780
29780
  connectedCallback() {
29781
29781
  tt(this, Ar, this.getRootNode().host);
29782
- const t = this.getRootNode().host.closest("nine-grid").getAttribute("css-path") || "";
29783
- this.shadowRoot.innerHTML = `
29782
+ const t = this.getRootNode().host.closest("nine-grid").getAttribute("css-path") || "", l = nine.cssPath ? `@import "${nine.cssPath}/ninegrid/ngFilterPanel.css";` : "";
29783
+ console.log("==========="), console.log(nine.cssPath), this.shadowRoot.innerHTML = `
29784
29784
  <style>
29785
29785
  @import "https://cdn.jsdelivr.net/npm/ninegrid2@${H.version}/dist/css/ngFilterPanel.css";
29786
- ${H.getCustomPath(this, "ngFilterPanel.css")}
29786
+ ${l}
29787
29787
  </style>
29788
29788
 
29789
29789
  <div class="head">