@warp-ds/elements 2.2.0-next.6 → 2.2.0-next.7

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.
@@ -60,8 +60,6 @@ declare class WarpDatepicker extends WarpDatepicker_base {
60
60
  */
61
61
  dayFormat: string;
62
62
  isCalendarOpen: boolean;
63
- /** The current input value as a stringified date-like */
64
- internalValue: string;
65
63
  navigationDate: Date;
66
64
  /** @internal This gets picked up by the custom element manifest analyzer as a property for some reason */
67
65
  locale: Locale;
@@ -76,9 +74,20 @@ declare class WarpDatepicker extends WarpDatepicker_base {
76
74
  toggleButton: HTMLButtonElement;
77
75
  wrapper: HTMLDivElement;
78
76
  selectedCell: HTMLTableCellElement;
77
+ /**
78
+ * We can't use private fields (`#` prefix) for this method
79
+ * since we can't overwrite private field methods. We need
80
+ * to `.bind(this)` in the constructor because we need one
81
+ * stable method handler we can register and unregister on
82
+ * `document`, that has access to this specific instance
83
+ * of WarpDatepicker to control the calendar.
84
+ * @internal
85
+ */
86
+ private _onClickOutside;
79
87
  constructor();
80
88
  connectedCallback(): void;
81
89
  disconnectedCallback(): void;
90
+ updated(changedProperties: Map<string, unknown>): void;
82
91
  render(): import("lit").TemplateResult<1>;
83
92
  }
84
93
  declare global {
@@ -0,0 +1,2 @@
1
+ import '../button/index.js';
2
+ import './index.js';