@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.
- package/dist/custom-elements.json +85 -24
- package/dist/index.d.ts +1 -0
- package/dist/index.js +124 -110
- package/dist/index.js.map +4 -4
- package/dist/packages/datepicker/datepicker.d.ts +11 -2
- package/dist/packages/datepicker/datepicker.test.d.ts +2 -0
- package/dist/packages/datepicker/index.js +45 -46
- package/dist/packages/datepicker/index.js.map +3 -3
- package/dist/packages/switch/index.d.ts +20 -0
- package/dist/packages/switch/index.js +2455 -0
- package/dist/packages/switch/index.js.map +7 -0
- package/dist/packages/switch/react.d.ts +2 -0
- package/dist/packages/switch/react.js +2475 -0
- package/dist/packages/switch/react.js.map +7 -0
- package/dist/packages/switch/styles.d.ts +1 -0
- package/dist/packages/switch/switch.stories.d.ts +9 -0
- package/dist/vscode.html-custom-data.json +9 -0
- package/dist/web-types.json +24 -6
- package/package.json +5 -5
|
@@ -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 {
|