dap-design-system 0.34.0 → 0.34.1

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/dds.d.ts CHANGED
@@ -2428,12 +2428,15 @@ export declare class DapDSDataTable<T> extends DdsElement {
2428
2428
  pageSizeOptions: number[];
2429
2429
  /** Sorting state of the table */
2430
2430
  sorting: SortingState;
2431
+ /** @ignore */
2431
2432
  private _sorting;
2432
2433
  /** Selection state of the table */
2433
2434
  rowSelection: RowSelectionState;
2435
+ /** @ignore */
2434
2436
  private _rowSelection;
2435
2437
  /** Pagination state of the table */
2436
2438
  pagination: PaginationState;
2439
+ /** @ignore */
2437
2440
  private _pagination;
2438
2441
  /** @ignore */
2439
2442
  debug: boolean;
package/dist/dds.js CHANGED
@@ -10099,16 +10099,16 @@ Q([
10099
10099
  n({ attribute: !1 })
10100
10100
  ], Z.prototype, "pageStateText", 2);
10101
10101
  Q([
10102
- n({ attribute: !1 })
10102
+ n({ type: Array })
10103
10103
  ], Z.prototype, "pageSizeOptions", 2);
10104
10104
  Q([
10105
- n({ attribute: !1 })
10105
+ n({ type: Array })
10106
10106
  ], Z.prototype, "sorting", 2);
10107
10107
  Q([
10108
10108
  X()
10109
10109
  ], Z.prototype, "_sorting", 2);
10110
10110
  Q([
10111
- n({ attribute: !1 })
10111
+ n({ type: Object })
10112
10112
  ], Z.prototype, "rowSelection", 2);
10113
10113
  Q([
10114
10114
  X()
@@ -11734,12 +11734,7 @@ var Fm = Object.defineProperty, ct = (t, e, i, r) => {
11734
11734
  const id = class id extends S {
11735
11735
  constructor() {
11736
11736
  super(...arguments), this.open = !1, this.fullScreen = !1, this.closeOnEsc = "true", this.closeOnOverlayClick = "true", this.closeButton = "true", this.okButtonVariant = "primary", this.cancelButtonVariant = "outline", this.okButtonDisabled = !1, this.cancelButtonDisabled = !1, this.cancelButtonDanger = !1, this.okButtonDanger = !1, this.hideOkButton = !1, this.hideCancelButton = !1, this.footer = "true", this.header = "true", this.wideFooter = !1, this.bottomFooter = !1, this.useNativeFocus = !1, this.previouslyFocusedElement = null, this.focusableElements = [], this.canceled = !1, this.scrollLock = (e) => {
11737
- if (e)
11738
- document.body.style.position = "fixed", document.body.style.top = `-${window.scrollY}px`;
11739
- else {
11740
- const i = document.body.style.top;
11741
- document.body.style.position = "", document.body.style.top = "", window.scrollTo(0, parseInt(i || "0") * -1);
11742
- }
11737
+ e ? (document.body.style.overflow = "hidden", document.body.dataset.modalOpen = "true") : (document.body.style.overflow = "", delete document.body.dataset.modalOpen);
11743
11738
  };
11744
11739
  }
11745
11740
  attributeChangedCallback(e, i, r) {