@kumori/aurora-wui-components 0.0.295-dev4335.2 → 0.0.295

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.
@@ -1 +1 @@
1
- {"version":3,"file":"axebow-underline-tab-selector.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-underline-tab-selector/axebow-underline-tab-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAkB,MAAM,KAAK,CAAC;AAKvD,qBACa,0BAA2B,SAAQ,UAAU;IACT,QAAQ,UAAS;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEtC,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,YAAY,CAAiB;IAE9C,OAAO,CAAC,SAAS,CAAiC;IAElD,MAAM,CAAC,MAAM,4BAgBX;IAEF,iBAAiB;IAOjB,oBAAoB;IAKpB,SAAS,CAAC,YAAY;IAItB,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IAezD,OAAO,CAAC,eAAe;IAavB,OAAO,CAAC,UAAU;IAMlB,MAAM;CAuCP"}
1
+ {"version":3,"file":"axebow-underline-tab-selector.d.ts","sourceRoot":"","sources":["../../../src/components/axebow-underline-tab-selector/axebow-underline-tab-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,UAAU,EAAkB,MAAM,KAAK,CAAC;AAKvD,qBACa,0BAA2B,SAAQ,UAAU;IACT,QAAQ,UAAS;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEtC,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,YAAY,CAAiB;IAE9C,OAAO,CAAC,SAAS,CAAiC;IAElD,MAAM,CAAC,MAAM,4BAgBX;IAEF,iBAAiB;IAOjB,oBAAoB;IAKpB,SAAS,CAAC,YAAY;IAItB,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IASzD,OAAO,CAAC,eAAe;IAavB,OAAO,CAAC,UAAU;IAMlB,MAAM;CAkCP"}
@@ -8,7 +8,6 @@ export declare class TableChart extends LitElement {
8
8
  chartOptions: ChartOptions;
9
9
  height: string;
10
10
  private chartInstance;
11
- private _resizeObserver;
12
11
  static styles: import('lit').CSSResult[];
13
12
  private createChart;
14
13
  protected firstUpdated(): void;
@@ -1 +1 @@
1
- {"version":3,"file":"table-chart.d.ts","sourceRoot":"","sources":["../../../src/components/table-chart/table-chart.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAIvD,qBACa,UAAW,SAAQ,UAAU;IACZ,SAAS,EAAE,MAAM,iBAAiB,CAAU;IAC5C,OAAO,SAAM;IACd,WAAW,EAAE,MAAM,EAAE,CAAM;IACtB,aAAa,EAAE,YAAY,EAAE,CAAM;IACnC,YAAY,EAAE,YAAY,CAAM;IACpC,MAAM,SAAU;IAE5C,OAAO,CAAC,aAAa,CAAsB;IAC3C,OAAO,CAAC,eAAe,CAA+B;IAEtD,MAAM,CAAC,MAAM,4BAQX;IAEF,OAAO,CAAC,WAAW;IAsCnB,SAAS,CAAC,YAAY;IAkBtB,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IA4BzD,oBAAoB;IAUpB,MAAM;CASP"}
1
+ {"version":3,"file":"table-chart.d.ts","sourceRoot":"","sources":["../../../src/components/table-chart/table-chart.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAC9E,OAAO,EAAE,UAAU,EAAwB,MAAM,KAAK,CAAC;AAIvD,qBACa,UAAW,SAAQ,UAAU;IACZ,SAAS,EAAE,MAAM,iBAAiB,CAAU;IAC5C,OAAO,SAAM;IACd,WAAW,EAAE,MAAM,EAAE,CAAM;IACtB,aAAa,EAAE,YAAY,EAAE,CAAM;IACnC,YAAY,EAAE,YAAY,CAAM;IACpC,MAAM,SAAU;IAE5C,OAAO,CAAC,aAAa,CAAsB;IAE3C,MAAM,CAAC,MAAM,4BAQX;IAEF,OAAO,CAAC,WAAW;IA0BnB,SAAS,CAAC,YAAY;IAItB,SAAS,CAAC,OAAO,CAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC;IA4BzD,oBAAoB;IAQpB,MAAM;CASP"}
package/dist/index.js CHANGED
@@ -8922,7 +8922,6 @@ var TableChart = class TableChart extends LitElement {
8922
8922
  this.chartOptions = {};
8923
8923
  this.height = "4rem";
8924
8924
  this.chartInstance = null;
8925
- this._resizeObserver = null;
8926
8925
  }
8927
8926
  static {
8928
8927
  this.styles = [unsafeCSS(tailwind_default), css`
@@ -8944,17 +8943,6 @@ var TableChart = class TableChart extends LitElement {
8944
8943
  return;
8945
8944
  }
8946
8945
  if (this.chartInstance) return;
8947
- console.log("[DIAG table-chart] createChart attempt", {
8948
- chartId: this.chartId,
8949
- offsetWidth: this.offsetWidth,
8950
- offsetHeight: this.offsetHeight,
8951
- canvasClientWidth: canvas.clientWidth,
8952
- canvasClientHeight: canvas.clientHeight
8953
- });
8954
- if (this.offsetWidth === 0 || this.offsetHeight === 0) {
8955
- console.log("[DIAG table-chart] createChart SKIPPED (zero size)", this.chartId);
8956
- return;
8957
- }
8958
8946
  this.chartInstance = new Chart(ctx, {
8959
8947
  type: this.chartType,
8960
8948
  data: {
@@ -8963,22 +8951,9 @@ var TableChart = class TableChart extends LitElement {
8963
8951
  },
8964
8952
  options: this.chartOptions
8965
8953
  });
8966
- console.log("[DIAG table-chart] createChart SUCCEEDED", this.chartId);
8967
8954
  }
8968
8955
  firstUpdated() {
8969
- console.log("[DIAG table-chart] firstUpdated", this.chartId, {
8970
- offsetWidth: this.offsetWidth,
8971
- offsetHeight: this.offsetHeight
8972
- });
8973
8956
  this.createChart();
8974
- this._resizeObserver = new ResizeObserver((entries) => {
8975
- console.log("[DIAG table-chart] ResizeObserver fired", this.chartId, {
8976
- contentRect: entries[0].contentRect,
8977
- hasChartInstance: !!this.chartInstance
8978
- });
8979
- if (!this.chartInstance) this.createChart();
8980
- });
8981
- this._resizeObserver.observe(this);
8982
8957
  }
8983
8958
  updated(changedProperties) {
8984
8959
  super.updated(changedProperties);
@@ -9001,8 +8976,6 @@ var TableChart = class TableChart extends LitElement {
9001
8976
  }
9002
8977
  disconnectedCallback() {
9003
8978
  super.disconnectedCallback();
9004
- this._resizeObserver?.disconnect();
9005
- this._resizeObserver = null;
9006
8979
  if (this.chartInstance) {
9007
8980
  this.chartInstance.destroy();
9008
8981
  this.chartInstance = null;
@@ -9927,15 +9900,7 @@ var AxebowUnderlineTabSelector = class AxebowUnderlineTabSelector extends LitEle
9927
9900
  this._updateTabCount();
9928
9901
  }
9929
9902
  updated(changedProperties) {
9930
- console.log("[DIAG axebow-underline-tab-selector] updated", {
9931
- changedHasActiveTab: changedProperties.has("activeTab"),
9932
- activeTabProp: this.activeTab,
9933
- internalActiveTabBefore: this._activeTab
9934
- });
9935
- if (changedProperties.has("activeTab") && this.activeTab !== void 0 && this._activeTab !== this.activeTab) {
9936
- this._activeTab = this.activeTab;
9937
- console.log("[DIAG axebow-underline-tab-selector] synced internal _activeTab to prop", this._activeTab);
9938
- }
9903
+ if (changedProperties.has("activeTab") && this.activeTab !== void 0 && this._activeTab !== this.activeTab) this._activeTab = this.activeTab;
9939
9904
  if (changedProperties.has("disabled")) this.toggleAttribute("disabled", this.disabled);
9940
9905
  }
9941
9906
  _updateTabCount() {
@@ -9958,11 +9923,6 @@ var AxebowUnderlineTabSelector = class AxebowUnderlineTabSelector extends LitEle
9958
9923
  }));
9959
9924
  }
9960
9925
  render() {
9961
- console.log("[DIAG axebow-underline-tab-selector] render", {
9962
- internalActiveTab: this._activeTab,
9963
- activeTabProp: this.activeTab,
9964
- tabCount: this._tabCount
9965
- });
9966
9926
  const tabs = Array.from({ length: this._tabCount }, (_, i) => i);
9967
9927
  return html`
9968
9928
  <div class="w-293.5 flex">