@materializecss/materialize 2.1.0 → 2.2.0
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/README.md +7 -14
- package/dist/materialize-src-v2.2.0.zip +0 -0
- package/dist/materialize-v2.2.0.zip +0 -0
- package/package.json +27 -25
- package/sass/components/_badges.scss +5 -0
- package/sass/components/_buttons.scss +44 -12
- package/sass/components/_cards.scss +18 -6
- package/sass/components/_chips.scss +9 -3
- package/sass/components/_collapsible.scss +12 -6
- package/sass/components/_datepicker.scss +6 -0
- package/sass/components/_dropdown.scss +11 -8
- package/sass/components/_grid.scss +11 -9
- package/sass/components/_modal.scss +32 -65
- package/sass/components/_tabs.scss +31 -5
- package/sass/components/_tapTarget.scss +2 -2
- package/sass/components/_timepicker.scss +95 -23
- package/sass/components/forms/_input-fields.scss +53 -23
- package/sass/components/forms/_select.scss +2 -22
- package/dist/css/materialize.css +0 -9246
- package/dist/css/materialize.min.css +0 -6
- package/dist/js/materialize.js +0 -7714
- package/dist/js/materialize.min.js +0 -7
- package/dist/js/materialize.min.js.map +0 -1
- package/dist/src/autocomplete.d.ts +0 -143
- package/dist/src/autocomplete.d.ts.map +0 -1
- package/dist/src/bounding.d.ts +0 -7
- package/dist/src/bounding.d.ts.map +0 -1
- package/dist/src/buttons.d.ts +0 -65
- package/dist/src/buttons.d.ts.map +0 -1
- package/dist/src/cards.d.ts +0 -4
- package/dist/src/cards.d.ts.map +0 -1
- package/dist/src/carousel.d.ts +0 -131
- package/dist/src/carousel.d.ts.map +0 -1
- package/dist/src/characterCounter.d.ts +0 -37
- package/dist/src/characterCounter.d.ts.map +0 -1
- package/dist/src/chips.d.ts +0 -131
- package/dist/src/chips.d.ts.map +0 -1
- package/dist/src/collapsible.d.ts +0 -75
- package/dist/src/collapsible.d.ts.map +0 -1
- package/dist/src/component.d.ts +0 -74
- package/dist/src/component.d.ts.map +0 -1
- package/dist/src/datepicker.d.ts +0 -248
- package/dist/src/datepicker.d.ts.map +0 -1
- package/dist/src/dropdown.d.ts +0 -149
- package/dist/src/dropdown.d.ts.map +0 -1
- package/dist/src/edges.d.ts +0 -7
- package/dist/src/edges.d.ts.map +0 -1
- package/dist/src/forms.d.ts +0 -12
- package/dist/src/forms.d.ts.map +0 -1
- package/dist/src/global.d.ts +0 -60
- package/dist/src/global.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -27
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/materialbox.d.ts +0 -96
- package/dist/src/materialbox.d.ts.map +0 -1
- package/dist/src/modal.d.ts +0 -119
- package/dist/src/modal.d.ts.map +0 -1
- package/dist/src/parallax.d.ts +0 -40
- package/dist/src/parallax.d.ts.map +0 -1
- package/dist/src/pushpin.d.ts +0 -52
- package/dist/src/pushpin.d.ts.map +0 -1
- package/dist/src/range.d.ts +0 -41
- package/dist/src/range.d.ts.map +0 -1
- package/dist/src/scrollspy.d.ts +0 -62
- package/dist/src/scrollspy.d.ts.map +0 -1
- package/dist/src/select.d.ts +0 -77
- package/dist/src/select.d.ts.map +0 -1
- package/dist/src/sidenav.d.ts +0 -122
- package/dist/src/sidenav.d.ts.map +0 -1
- package/dist/src/slider.d.ts +0 -103
- package/dist/src/slider.d.ts.map +0 -1
- package/dist/src/tabs.d.ts +0 -80
- package/dist/src/tabs.d.ts.map +0 -1
- package/dist/src/tapTarget.d.ts +0 -59
- package/dist/src/tapTarget.d.ts.map +0 -1
- package/dist/src/timepicker.d.ts +0 -208
- package/dist/src/timepicker.d.ts.map +0 -1
- package/dist/src/toasts.d.ts +0 -95
- package/dist/src/toasts.d.ts.map +0 -1
- package/dist/src/tooltip.d.ts +0 -118
- package/dist/src/tooltip.d.ts.map +0 -1
- package/dist/src/utils.d.ts +0 -97
- package/dist/src/utils.d.ts.map +0 -1
- package/dist/src/waves.d.ts +0 -16
- package/dist/src/waves.d.ts.map +0 -1
package/dist/src/component.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Base options for component initialization.
|
|
3
|
-
*/
|
|
4
|
-
export interface BaseOptions {
|
|
5
|
-
}
|
|
6
|
-
export type MElement = HTMLElement | Element;
|
|
7
|
-
export type InitElements<T extends MElement> = NodeListOf<T> | HTMLCollectionOf<T>;
|
|
8
|
-
type ComponentConstructor<T extends Component<O>, O extends BaseOptions> = {
|
|
9
|
-
new (el: HTMLElement, options: Partial<O>): T;
|
|
10
|
-
};
|
|
11
|
-
type ComponentType<C extends Component<O>, O extends BaseOptions> = ComponentConstructor<C, O> & typeof Component<O>;
|
|
12
|
-
export interface I18nOptions {
|
|
13
|
-
cancel: string;
|
|
14
|
-
clear: string;
|
|
15
|
-
done: string;
|
|
16
|
-
}
|
|
17
|
-
export interface Openable {
|
|
18
|
-
isOpen: boolean;
|
|
19
|
-
open(): void;
|
|
20
|
-
close(): void;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Base class implementation for Materialize components.
|
|
24
|
-
*/
|
|
25
|
-
export declare class Component<O extends BaseOptions> {
|
|
26
|
-
/**
|
|
27
|
-
* The DOM element the plugin was initialized with.
|
|
28
|
-
*/
|
|
29
|
-
el: HTMLElement;
|
|
30
|
-
/**
|
|
31
|
-
* The options the instance was initialized with.
|
|
32
|
-
*/
|
|
33
|
-
options: O;
|
|
34
|
-
/**
|
|
35
|
-
* Constructs component instance and set everything up.
|
|
36
|
-
*/
|
|
37
|
-
constructor(el: HTMLElement, options: Partial<O>, classDef: ComponentType<Component<O>, O>);
|
|
38
|
-
/**
|
|
39
|
-
* Initializes component instance.
|
|
40
|
-
* @param el HTML element.
|
|
41
|
-
* @param options Component options.
|
|
42
|
-
* @param classDef Class definition.
|
|
43
|
-
*/
|
|
44
|
-
protected static init<I extends HTMLElement, O extends BaseOptions, C extends Component<O>>(el: I, options: O, classDef: ComponentType<C, O>): C;
|
|
45
|
-
/**
|
|
46
|
-
* Initializes component instances.
|
|
47
|
-
* @param els HTML elements.
|
|
48
|
-
* @param options Component options.
|
|
49
|
-
* @param classDef Class definition.
|
|
50
|
-
*/
|
|
51
|
-
protected static init<I extends MElement, O extends BaseOptions, C extends Component<O>>(els: InitElements<I>, options: Partial<O>, classDef: ComponentType<C, O>): C[];
|
|
52
|
-
/**
|
|
53
|
-
* Initializes component instances.
|
|
54
|
-
* @param els HTML elements.
|
|
55
|
-
* @param options Component options.
|
|
56
|
-
* @param classDef Class definition.
|
|
57
|
-
*/
|
|
58
|
-
protected static init<I extends MElement, O extends BaseOptions, C extends Component<O>>(els: I | InitElements<I>, options: Partial<O>, classDef: ComponentType<C, O>): C | C[];
|
|
59
|
-
/**
|
|
60
|
-
* @returns default options for component instance.
|
|
61
|
-
*/
|
|
62
|
-
static get defaults(): BaseOptions;
|
|
63
|
-
/**
|
|
64
|
-
* Retrieves component instance for the given element.
|
|
65
|
-
* @param el Associated HTML Element.
|
|
66
|
-
*/
|
|
67
|
-
static getInstance(el: HTMLElement): Component<BaseOptions>;
|
|
68
|
-
/**
|
|
69
|
-
* Destroy plugin instance and teardown.
|
|
70
|
-
*/
|
|
71
|
-
destroy(): void;
|
|
72
|
-
}
|
|
73
|
-
export {};
|
|
74
|
-
//# sourceMappingURL=component.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"component.d.ts","sourceRoot":"","sources":["../../src/component.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;CAAG;AAE/B,MAAM,MAAM,QAAQ,GAAG,WAAW,GAAG,OAAO,CAAC;AAC7C,MAAM,MAAM,YAAY,CAAC,CAAC,SAAS,QAAQ,IAAI,UAAU,CAAC,CAAC,CAAC,GAAG,gBAAgB,CAAC,CAAC,CAAC,CAAC;AACnF,KAAK,oBAAoB,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,IAAI;IACzE,KAAK,EAAE,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,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a,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,EAAE;IAChF;;;;;OAKG;IACH,SAAS,CAAC,MAAM,CAAC,IAAI,CACnB,CAAC,SAAS,QAAQ,EAAE,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,EACjE,GAAG,EAAE,CAAC,GAAG,YAAY,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,EAAE,QAAQ,EAAE,aAAa,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE;IAuBxF;;OAEG;IACH,MAAM,KAAK,QAAQ,IAAI,WAAW,CAAc;IAEhD;;;OAGG;IACH,MAAM,CAAC,WAAW,CAAC,EAAE,EAAE,WAAW,GAAG,SAAS,CAAC,WAAW,CAAC;IAI3D;;OAEG;IACH,OAAO,IAAI,IAAI;CAChB"}
|
package/dist/src/datepicker.d.ts
DELETED
|
@@ -1,248 +0,0 @@
|
|
|
1
|
-
import { Modal } from "./modal";
|
|
2
|
-
import { BaseOptions, Component, InitElements, MElement, I18nOptions } from "./component";
|
|
3
|
-
export interface DateI18nOptions extends I18nOptions {
|
|
4
|
-
previousMonth: string;
|
|
5
|
-
nextMonth: string;
|
|
6
|
-
months: string[];
|
|
7
|
-
monthsShort: string[];
|
|
8
|
-
weekdays: string[];
|
|
9
|
-
weekdaysShort: string[];
|
|
10
|
-
weekdaysAbbrev: string[];
|
|
11
|
-
}
|
|
12
|
-
export interface DatepickerOptions extends BaseOptions {
|
|
13
|
-
/**
|
|
14
|
-
* Automatically close picker when date is selected.
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
autoClose: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* The date output format for the input field value
|
|
20
|
-
* or a function taking the date and outputting the
|
|
21
|
-
* formatted date string.
|
|
22
|
-
* @default 'mmm dd, yyyy'
|
|
23
|
-
*/
|
|
24
|
-
format: string | ((d: Date) => string);
|
|
25
|
-
/**
|
|
26
|
-
* Used to create date object from current input string.
|
|
27
|
-
* @default null
|
|
28
|
-
*/
|
|
29
|
-
parse: ((value: string, format: string) => Date) | null;
|
|
30
|
-
/**
|
|
31
|
-
* The initial date to view when first opened.
|
|
32
|
-
* @default null
|
|
33
|
-
*/
|
|
34
|
-
defaultDate: Date | null;
|
|
35
|
-
/**
|
|
36
|
-
* Make the `defaultDate` the initial selected value.
|
|
37
|
-
* @default false
|
|
38
|
-
*/
|
|
39
|
-
setDefaultDate: boolean;
|
|
40
|
-
/**
|
|
41
|
-
* Prevent selection of any date on the weekend.
|
|
42
|
-
* @default false
|
|
43
|
-
*/
|
|
44
|
-
disableWeekends: boolean;
|
|
45
|
-
/**
|
|
46
|
-
* Custom function to disable certain days.
|
|
47
|
-
* @default null
|
|
48
|
-
*/
|
|
49
|
-
disableDayFn: ((day: Date) => boolean) | null;
|
|
50
|
-
/**
|
|
51
|
-
* First day of week (0: Sunday, 1: Monday etc).
|
|
52
|
-
* @default 0
|
|
53
|
-
*/
|
|
54
|
-
firstDay: number;
|
|
55
|
-
/**
|
|
56
|
-
* The earliest date that can be selected.
|
|
57
|
-
* @default null
|
|
58
|
-
*/
|
|
59
|
-
minDate: Date | null;
|
|
60
|
-
/**
|
|
61
|
-
* The latest date that can be selected.
|
|
62
|
-
* @default null
|
|
63
|
-
*/
|
|
64
|
-
maxDate: Date | null;
|
|
65
|
-
/**
|
|
66
|
-
* Number of years either side, or array of upper/lower range.
|
|
67
|
-
* @default 10
|
|
68
|
-
*/
|
|
69
|
-
yearRange: number | number[];
|
|
70
|
-
/**
|
|
71
|
-
* Sort year range in reverse order.
|
|
72
|
-
* @default false
|
|
73
|
-
*/
|
|
74
|
-
yearRangeReverse: boolean;
|
|
75
|
-
/**
|
|
76
|
-
* Changes Datepicker to RTL.
|
|
77
|
-
* @default false
|
|
78
|
-
*/
|
|
79
|
-
isRTL: boolean;
|
|
80
|
-
/**
|
|
81
|
-
* Show month after year in Datepicker title.
|
|
82
|
-
* @default false
|
|
83
|
-
*/
|
|
84
|
-
showMonthAfterYear: boolean;
|
|
85
|
-
/**
|
|
86
|
-
* Render days of the calendar grid that fall in the next
|
|
87
|
-
* or previous month.
|
|
88
|
-
* @default false
|
|
89
|
-
*/
|
|
90
|
-
showDaysInNextAndPreviousMonths: boolean;
|
|
91
|
-
/**
|
|
92
|
-
* Specify a DOM element OR selector for a DOM element to render
|
|
93
|
-
* the calendar in, by default it will be placed before the input.
|
|
94
|
-
* @default null
|
|
95
|
-
*/
|
|
96
|
-
container: HTMLElement | string | null;
|
|
97
|
-
/**
|
|
98
|
-
* Show the clear button in the datepicker.
|
|
99
|
-
* @default false
|
|
100
|
-
*/
|
|
101
|
-
showClearBtn: boolean;
|
|
102
|
-
/**
|
|
103
|
-
* Internationalization options.
|
|
104
|
-
*/
|
|
105
|
-
i18n: Partial<DateI18nOptions>;
|
|
106
|
-
/**
|
|
107
|
-
* An array of string returned by `Date.toDateString()`,
|
|
108
|
-
* indicating there are events in the specified days.
|
|
109
|
-
* @default []
|
|
110
|
-
*/
|
|
111
|
-
events: string[];
|
|
112
|
-
/**
|
|
113
|
-
* Callback function when date is selected,
|
|
114
|
-
* first parameter is the newly selected date.
|
|
115
|
-
* @default null
|
|
116
|
-
*/
|
|
117
|
-
onSelect: ((selectedDate: Date) => void) | null;
|
|
118
|
-
/**
|
|
119
|
-
* Callback function when Datepicker is opened.
|
|
120
|
-
* @default null
|
|
121
|
-
*/
|
|
122
|
-
onOpen: (() => void) | null;
|
|
123
|
-
/**
|
|
124
|
-
* Callback function when Datepicker is closed.
|
|
125
|
-
* @default null
|
|
126
|
-
*/
|
|
127
|
-
onClose: (() => void) | null;
|
|
128
|
-
/**
|
|
129
|
-
* Callback function when Datepicker HTML is refreshed.
|
|
130
|
-
* @default null
|
|
131
|
-
*/
|
|
132
|
-
onDraw: (() => void) | null;
|
|
133
|
-
/** Field used for internal calculations DO NOT CHANGE IT */
|
|
134
|
-
minYear?: any;
|
|
135
|
-
/** Field used for internal calculations DO NOT CHANGE IT */
|
|
136
|
-
maxYear?: any;
|
|
137
|
-
/** Field used for internal calculations DO NOT CHANGE IT */
|
|
138
|
-
minMonth?: any;
|
|
139
|
-
/** Field used for internal calculations DO NOT CHANGE IT */
|
|
140
|
-
maxMonth?: any;
|
|
141
|
-
/** Field used for internal calculations DO NOT CHANGE IT */
|
|
142
|
-
startRange?: any;
|
|
143
|
-
/** Field used for internal calculations DO NOT CHANGE IT */
|
|
144
|
-
endRange?: any;
|
|
145
|
-
}
|
|
146
|
-
export declare class Datepicker extends Component<DatepickerOptions> {
|
|
147
|
-
el: HTMLInputElement;
|
|
148
|
-
id: string;
|
|
149
|
-
/** If the picker is open. */
|
|
150
|
-
isOpen: boolean;
|
|
151
|
-
modal: Modal;
|
|
152
|
-
calendarEl: HTMLElement;
|
|
153
|
-
/** CLEAR button instance. */
|
|
154
|
-
clearBtn: HTMLElement;
|
|
155
|
-
/** DONE button instance */
|
|
156
|
-
doneBtn: HTMLElement;
|
|
157
|
-
cancelBtn: HTMLElement;
|
|
158
|
-
modalEl: HTMLElement;
|
|
159
|
-
yearTextEl: HTMLElement;
|
|
160
|
-
dateTextEl: HTMLElement;
|
|
161
|
-
/** The selected Date. */
|
|
162
|
-
date: Date;
|
|
163
|
-
formats: any;
|
|
164
|
-
calendars: any;
|
|
165
|
-
private _y;
|
|
166
|
-
private _m;
|
|
167
|
-
static _template: string;
|
|
168
|
-
constructor(el: HTMLInputElement, options: Partial<DatepickerOptions>);
|
|
169
|
-
static get defaults(): DatepickerOptions;
|
|
170
|
-
/**
|
|
171
|
-
* Initializes instance of Datepicker.
|
|
172
|
-
* @param el HTML element.
|
|
173
|
-
* @param options Component options.
|
|
174
|
-
*/
|
|
175
|
-
static init(el: HTMLInputElement, options?: Partial<DatepickerOptions>): Datepicker;
|
|
176
|
-
/**
|
|
177
|
-
* Initializes instances of Datepicker.
|
|
178
|
-
* @param els HTML elements.
|
|
179
|
-
* @param options Component options.
|
|
180
|
-
*/
|
|
181
|
-
static init(els: InitElements<HTMLInputElement | MElement>, options?: Partial<DatepickerOptions>): Datepicker[];
|
|
182
|
-
static _isDate(obj: any): boolean;
|
|
183
|
-
static _isWeekend(date: any): boolean;
|
|
184
|
-
static _setToStartOfDay(date: any): void;
|
|
185
|
-
static _getDaysInMonth(year: any, month: any): number;
|
|
186
|
-
static _isLeapYear(year: any): boolean;
|
|
187
|
-
static _compareDates(a: any, b: any): boolean;
|
|
188
|
-
static getInstance(el: HTMLElement): Datepicker;
|
|
189
|
-
destroy(): void;
|
|
190
|
-
destroySelects(): void;
|
|
191
|
-
_insertHTMLIntoDOM(): void;
|
|
192
|
-
_setupModal(): void;
|
|
193
|
-
/**
|
|
194
|
-
* Gets a string representation of the selected date.
|
|
195
|
-
*/
|
|
196
|
-
toString(format?: string | ((d: Date) => string)): string;
|
|
197
|
-
/**
|
|
198
|
-
* Set a date on the datepicker.
|
|
199
|
-
* @param date Date to set on the datepicker.
|
|
200
|
-
* @param preventOnSelect Undocumented as of 5 March 2018.
|
|
201
|
-
*/
|
|
202
|
-
setDate(date?: Date | string, preventOnSelect?: boolean): void;
|
|
203
|
-
/**
|
|
204
|
-
* Sets current date as the input value.
|
|
205
|
-
*/
|
|
206
|
-
setInputValue(): void;
|
|
207
|
-
_renderDateDisplay(): void;
|
|
208
|
-
/**
|
|
209
|
-
* Change date view to a specific date on the datepicker.
|
|
210
|
-
* @param date Date to show on the datepicker.
|
|
211
|
-
*/
|
|
212
|
-
gotoDate(date: Date): void;
|
|
213
|
-
adjustCalendars(): void;
|
|
214
|
-
adjustCalendar(calendar: any): any;
|
|
215
|
-
nextMonth(): void;
|
|
216
|
-
prevMonth(): void;
|
|
217
|
-
render(year: any, month: any, randId: any): string;
|
|
218
|
-
renderDay(opts: any): string;
|
|
219
|
-
renderRow(days: any, isRTL: any, isRowSelected: any): string;
|
|
220
|
-
renderTable(opts: any, data: any, randId: any): string;
|
|
221
|
-
renderHead(opts: any): string;
|
|
222
|
-
renderBody(rows: any): string;
|
|
223
|
-
renderTitle(instance: any, c: any, year: any, month: any, refYear: any, randId: any): string;
|
|
224
|
-
draw(force?: boolean): void;
|
|
225
|
-
_setupEventHandlers(): void;
|
|
226
|
-
_setupVariables(): void;
|
|
227
|
-
_removeEventHandlers(): void;
|
|
228
|
-
_handleInputClick: () => void;
|
|
229
|
-
_handleInputKeydown: (e: KeyboardEvent) => void;
|
|
230
|
-
_handleCalendarClick: (e: any) => void;
|
|
231
|
-
_handleClearClick: () => void;
|
|
232
|
-
_handleMonthChange: (e: any) => void;
|
|
233
|
-
_handleYearChange: (e: any) => void;
|
|
234
|
-
gotoMonth(month: any): void;
|
|
235
|
-
gotoYear(year: any): void;
|
|
236
|
-
_handleInputChange: (e: Event) => void;
|
|
237
|
-
renderDayName(opts: any, day: any, abbr?: boolean): any;
|
|
238
|
-
_finishSelection: () => void;
|
|
239
|
-
/**
|
|
240
|
-
* Open datepicker.
|
|
241
|
-
*/
|
|
242
|
-
open: () => this;
|
|
243
|
-
/**
|
|
244
|
-
* Close datepicker.
|
|
245
|
-
*/
|
|
246
|
-
close: () => this;
|
|
247
|
-
}
|
|
248
|
-
//# sourceMappingURL=datepicker.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"datepicker.d.ts","sourceRoot":"","sources":["../../src/datepicker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAGhC,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1F,MAAM,WAAW,eAAgB,SAAQ,WAAW;IAClD,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,aAAa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T,MAAM,CAAC,IAAI,KAAA,EAAE,KAAK,KAAA,EAAE,MAAM,KAAA;IAsF1B,SAAS,CAAC,IAAI,KAAA;IAyCd,SAAS,CAAC,IAAI,KAAA,EAAE,KAAK,KAAA,EAAE,aAAa,KAAA;IAUpC,WAAW,CAAC,IAAI,KAAA,EAAE,IAAI,KAAA,EAAE,MAAM,KAAA;IAW9B,UAAU,CAAC,IAAI,KAAA;IAef,UAAU,CAAC,IAAI,KAAA;IAIf,WAAW,CAAC,QAAQ,KAAA,EAAE,CAAC,KAAA,EAAE,IAAI,KAAA,EAAE,KAAK,KAAA,EAAE,OAAO,KAAA,EAAE,MAAM,KAAA;IAmFrD,IAAI,CAAC,KAAK,GAAE,OAAe;IAoE3B,mBAAmB;IAanB,eAAe;IAkDf,oBAAoB;IAOpB,iBAAiB,aAEhB;IAED,mBAAmB,MAAO,aAAa,UAKtC;IAED,oBAAoB,mBA2BnB;IAED,iBAAiB,aAIhB;IAED,kBAAkB,mBAEjB;IAED,iBAAiB,mBAEhB;IAGD,SAAS,CAAC,KAAK,KAAA;IAQf,QAAQ,CAAC,IAAI,KAAA;IAOb,kBAAkB,MAAO,KAAK,UAc7B;IAED,aAAa,CAAC,IAAI,KAAA,EAAE,GAAG,KAAA,EAAE,IAAI,GAAE,OAAe;IAS9C,gBAAgB,aAGf;IAED;;OAEG;IACH,IAAI,aASH;IAED;;OAEG;IACH,KAAK,aAQJ;CAuBF"}
|
package/dist/src/dropdown.d.ts
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
/// <reference types="node" />
|
|
2
|
-
import { Component, BaseOptions, InitElements, MElement, Openable } from "./component";
|
|
3
|
-
export interface DropdownOptions extends BaseOptions {
|
|
4
|
-
/**
|
|
5
|
-
* Defines the edge the menu is aligned to.
|
|
6
|
-
* @default 'left'
|
|
7
|
-
*/
|
|
8
|
-
alignment: 'left' | 'right';
|
|
9
|
-
/**
|
|
10
|
-
* If true, automatically focus dropdown el for keyboard.
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
|
-
autoFocus: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* If true, constrainWidth to the size of the dropdown activator.
|
|
16
|
-
* @default true
|
|
17
|
-
*/
|
|
18
|
-
constrainWidth: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Provide an element that will be the bounding container of the dropdown.
|
|
21
|
-
* @default null
|
|
22
|
-
*/
|
|
23
|
-
container: Element;
|
|
24
|
-
/**
|
|
25
|
-
* If false, the dropdown will show below the trigger.
|
|
26
|
-
* @default true
|
|
27
|
-
*/
|
|
28
|
-
coverTrigger: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* If true, close dropdown on item click.
|
|
31
|
-
* @default true
|
|
32
|
-
*/
|
|
33
|
-
closeOnClick: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* If true, the dropdown will open on hover.
|
|
36
|
-
* @default false
|
|
37
|
-
*/
|
|
38
|
-
hover: boolean;
|
|
39
|
-
/**
|
|
40
|
-
* The duration of the transition enter in milliseconds.
|
|
41
|
-
* @default 150
|
|
42
|
-
*/
|
|
43
|
-
inDuration: number;
|
|
44
|
-
/**
|
|
45
|
-
* The duration of the transition out in milliseconds.
|
|
46
|
-
* @default 250
|
|
47
|
-
*/
|
|
48
|
-
outDuration: number;
|
|
49
|
-
/**
|
|
50
|
-
* Function called when dropdown starts entering.
|
|
51
|
-
* @default null
|
|
52
|
-
*/
|
|
53
|
-
onOpenStart: (el: HTMLElement) => void;
|
|
54
|
-
/**
|
|
55
|
-
* Function called when dropdown finishes entering.
|
|
56
|
-
* @default null
|
|
57
|
-
*/
|
|
58
|
-
onOpenEnd: (el: HTMLElement) => void;
|
|
59
|
-
/**
|
|
60
|
-
* Function called when dropdown starts exiting.
|
|
61
|
-
* @default null
|
|
62
|
-
*/
|
|
63
|
-
onCloseStart: (el: HTMLElement) => void;
|
|
64
|
-
/**
|
|
65
|
-
* Function called when dropdown finishes exiting.
|
|
66
|
-
* @default null
|
|
67
|
-
*/
|
|
68
|
-
onCloseEnd: (el: HTMLElement) => void;
|
|
69
|
-
/**
|
|
70
|
-
* Function called when item is clicked.
|
|
71
|
-
* @default null
|
|
72
|
-
*/
|
|
73
|
-
onItemClick: (el: HTMLLIElement) => void;
|
|
74
|
-
}
|
|
75
|
-
export declare class Dropdown extends Component<DropdownOptions> implements Openable {
|
|
76
|
-
static _dropdowns: Dropdown[];
|
|
77
|
-
/** ID of the dropdown element. */
|
|
78
|
-
id: string;
|
|
79
|
-
/** The DOM element of the dropdown. */
|
|
80
|
-
dropdownEl: HTMLElement;
|
|
81
|
-
/** If the dropdown is open. */
|
|
82
|
-
isOpen: boolean;
|
|
83
|
-
/** If the dropdown content is scrollable. */
|
|
84
|
-
isScrollable: boolean;
|
|
85
|
-
isTouchMoving: boolean;
|
|
86
|
-
/** The index of the item focused. */
|
|
87
|
-
focusedIndex: number;
|
|
88
|
-
filterQuery: any[];
|
|
89
|
-
filterTimeout: NodeJS.Timeout;
|
|
90
|
-
constructor(el: HTMLElement, options: Partial<DropdownOptions>);
|
|
91
|
-
static get defaults(): DropdownOptions;
|
|
92
|
-
/**
|
|
93
|
-
* Initializes instance of Dropdown.
|
|
94
|
-
* @param el HTML element.
|
|
95
|
-
* @param options Component options.
|
|
96
|
-
*/
|
|
97
|
-
static init(el: HTMLElement, options?: Partial<DropdownOptions>): Dropdown;
|
|
98
|
-
/**
|
|
99
|
-
* Initializes instances of Dropdown.
|
|
100
|
-
* @param els HTML elements.
|
|
101
|
-
* @param options Component options.
|
|
102
|
-
*/
|
|
103
|
-
static init(els: InitElements<MElement>, options?: Partial<DropdownOptions>): Dropdown[];
|
|
104
|
-
static getInstance(el: HTMLElement): Dropdown;
|
|
105
|
-
destroy(): void;
|
|
106
|
-
_setupEventHandlers(): void;
|
|
107
|
-
_removeEventHandlers(): void;
|
|
108
|
-
_setupTemporaryEventHandlers(): void;
|
|
109
|
-
_removeTemporaryEventHandlers(): void;
|
|
110
|
-
_handleClick: (e: MouseEvent) => void;
|
|
111
|
-
_handleMouseEnter: () => void;
|
|
112
|
-
_handleMouseLeave: (e: MouseEvent) => void;
|
|
113
|
-
_handleDocumentClick: (e: MouseEvent) => void;
|
|
114
|
-
_handleTriggerKeydown: (e: KeyboardEvent) => void;
|
|
115
|
-
_handleDocumentTouchmove: (e: TouchEvent) => void;
|
|
116
|
-
_handleDropdownClick: (e: MouseEvent) => void;
|
|
117
|
-
_handleDropdownKeydown: (e: KeyboardEvent) => void;
|
|
118
|
-
_handleWindowResize: (e: Event) => void;
|
|
119
|
-
_resetFilterQuery: () => void;
|
|
120
|
-
_resetDropdownStyles(): void;
|
|
121
|
-
_moveDropdown(containerEl?: HTMLElement): void;
|
|
122
|
-
_makeDropdownFocusable(): void;
|
|
123
|
-
_focusFocusedItem(): void;
|
|
124
|
-
_getDropdownPosition(closestOverflowParent: HTMLElement): {
|
|
125
|
-
x: number;
|
|
126
|
-
y: number;
|
|
127
|
-
verticalAlignment: string;
|
|
128
|
-
horizontalAlignment: "left" | "right";
|
|
129
|
-
height: number;
|
|
130
|
-
width: number;
|
|
131
|
-
};
|
|
132
|
-
_animateIn(): void;
|
|
133
|
-
_animateOut(): void;
|
|
134
|
-
private _getClosestAncestor;
|
|
135
|
-
_placeDropdown(): void;
|
|
136
|
-
/**
|
|
137
|
-
* Open dropdown.
|
|
138
|
-
*/
|
|
139
|
-
open: () => void;
|
|
140
|
-
/**
|
|
141
|
-
* Close dropdown.
|
|
142
|
-
*/
|
|
143
|
-
close: () => void;
|
|
144
|
-
/**
|
|
145
|
-
* While dropdown is open, you can recalculate its dimensions if its contents have changed.
|
|
146
|
-
*/
|
|
147
|
-
recalculateDimensions: () => void;
|
|
148
|
-
}
|
|
149
|
-
//# sourceMappingURL=dropdown.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dropdown.d.ts","sourceRoot":"","sources":["../../src/dropdown.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,SAAS,EAAE,WAAW,EA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/src/edges.d.ts
DELETED
package/dist/src/edges.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"edges.d.ts","sourceRoot":"","sources":["../../src/edges.ts"],"names":[],"mappings":"AAAA,qBAAa,KAAK;IAChB,GAAG,EAAE,OAAO,CAAC;IACb,KAAK,EAAE,OAAO,CAAC;IACf,MAAM,EAAE,OAAO,CAAC;IAChB,IAAI,EAAE,OAAO,CAAC;CACf"}
|
package/dist/src/forms.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare class Forms {
|
|
2
|
-
/**
|
|
3
|
-
* Resizes the given TextArea after updating the
|
|
4
|
-
* value content dynamically.
|
|
5
|
-
* @param textarea TextArea to be resized
|
|
6
|
-
*/
|
|
7
|
-
static textareaAutoResize(textarea: HTMLTextAreaElement): void;
|
|
8
|
-
static Init(): void;
|
|
9
|
-
static InitTextarea(textarea: HTMLTextAreaElement): void;
|
|
10
|
-
static InitFileInputPath(fileInput: HTMLInputElement): void;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=forms.d.ts.map
|
package/dist/src/forms.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"forms.d.ts","sourceRoot":"","sources":["../../src/forms.ts"],"names":[],"mappings":"AAEA,qBAAa,KAAK;IAEhB;;;;OAIG;IACH,MAAM,CAAC,kBAAkB,CAAC,QAAQ,EAAE,mBAAmB;IAuEvD,MAAM,CAAC,IAAI;IA2BX,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,mBAAmB;IAUjD,MAAM,CAAC,iBAAiB,CAAC,SAAS,EAAE,gBAAgB;CAcrD"}
|
package/dist/src/global.d.ts
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { Autocomplete } from './autocomplete';
|
|
2
|
-
import { FloatingActionButton } from './buttons';
|
|
3
|
-
import { Carousel } from './carousel';
|
|
4
|
-
import { CharacterCounter } from './characterCounter';
|
|
5
|
-
import { Chips } from './chips';
|
|
6
|
-
import { Collapsible } from './collapsible';
|
|
7
|
-
import { Datepicker } from './datepicker';
|
|
8
|
-
import { Dropdown } from './dropdown';
|
|
9
|
-
import { Forms } from './forms';
|
|
10
|
-
import { Materialbox } from './materialbox';
|
|
11
|
-
import { Modal } from './modal';
|
|
12
|
-
import { Parallax } from './parallax';
|
|
13
|
-
import { Pushpin } from './pushpin';
|
|
14
|
-
import { ScrollSpy } from './scrollspy';
|
|
15
|
-
import { FormSelect } from './select';
|
|
16
|
-
import { Sidenav } from './sidenav';
|
|
17
|
-
import { Slider } from './slider';
|
|
18
|
-
import { Tabs } from './tabs';
|
|
19
|
-
import { TapTarget } from './tapTarget';
|
|
20
|
-
import { Timepicker } from './timepicker';
|
|
21
|
-
import { Toast, ToastOptions } from './toasts';
|
|
22
|
-
import { Tooltip } from './tooltip';
|
|
23
|
-
import { Waves } from './waves';
|
|
24
|
-
import { Range } from './range';
|
|
25
|
-
import { Utils } from './utils';
|
|
26
|
-
export declare class M {
|
|
27
|
-
static version: string;
|
|
28
|
-
static Autocomplete: typeof Autocomplete;
|
|
29
|
-
static Tabs: typeof Tabs;
|
|
30
|
-
static Carousel: typeof Carousel;
|
|
31
|
-
static Dropdown: typeof Dropdown;
|
|
32
|
-
static FloatingActionButton: typeof FloatingActionButton;
|
|
33
|
-
static Chips: typeof Chips;
|
|
34
|
-
static Collapsible: typeof Collapsible;
|
|
35
|
-
static Datepicker: typeof Datepicker;
|
|
36
|
-
static CharacterCounter: typeof CharacterCounter;
|
|
37
|
-
static Forms: typeof Forms;
|
|
38
|
-
static FormSelect: typeof FormSelect;
|
|
39
|
-
static Modal: typeof Modal;
|
|
40
|
-
static Pushpin: typeof Pushpin;
|
|
41
|
-
static Materialbox: typeof Materialbox;
|
|
42
|
-
static Parallax: typeof Parallax;
|
|
43
|
-
static Slider: typeof Slider;
|
|
44
|
-
static Timepicker: typeof Timepicker;
|
|
45
|
-
/** Creates a toast. */
|
|
46
|
-
static toast: (opt: Partial<ToastOptions>) => Toast;
|
|
47
|
-
static Tooltip: typeof Tooltip;
|
|
48
|
-
static Sidenav: typeof Sidenav;
|
|
49
|
-
static TapTarget: typeof TapTarget;
|
|
50
|
-
static ScrollSpy: typeof ScrollSpy;
|
|
51
|
-
static Range: typeof Range;
|
|
52
|
-
static Waves: typeof Waves;
|
|
53
|
-
static Utils: typeof Utils;
|
|
54
|
-
/**
|
|
55
|
-
* Automatically initialize components.
|
|
56
|
-
* @param context Root element to initialize. Defaults to `document.body`.
|
|
57
|
-
*/
|
|
58
|
-
static AutoInit(context?: HTMLElement): void;
|
|
59
|
-
}
|
|
60
|
-
//# sourceMappingURL=global.d.ts.map
|
package/dist/src/global.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAEjD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAA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AO,EAAE,OAAO,OAAO,CAAW;IACzC,MAAM,CAAC,WAAW,EAAE,OAAO,WAAW,CAAe;IACrD,MAAM,CAAC,QAAQ,EAAE,OAAO,QAAQ,CAAY;IAC5C,MAAM,CAAC,MAAM,EAAE,OAAO,MAAM,CAAU;IACtC,MAAM,CAAC,UAAU,EAAE,OAAO,UAAU,CAAc;IAClD,uBAAuB;IACvB,MAAM,CAAC,KAAK,EAAE,CAAC,GAAG,EAAE,OAAO,CAAC,YAAY,CAAC,KAAK,KAAK,CAA4B;IAC/E,MAAM,CAAC,OAAO,EAAE,OAAO,OAAO,CAAW;IACzC,MAAM,CAAC,OAAO,EAAE,OAAO,OAAO,CAAW;IACzC,MAAM,CAAC,SAAS,EAAE,OAAO,SAAS,CAAa;IAC/C,MAAM,CAAC,SAAS,EAAE,OAAO,SAAS,CAAa;IAC/C,MAAM,CAAC,KAAK,EAAE,OAAO,KAAK,CAAS;IACnC,MAAM,CAAC,KAAK,EAAE,OAAO,KAAK,CAAS;IACnC,MAAM,CAAC,KAAK,EAAE,OAAO,KAAK,CAAS;IAcnC;;;OAGG;IACH,MAAM,CAAC,QAAQ,CAAC,OAAO,GAAE,WAA2B;CAwCrD"}
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export * from './global';
|
|
2
|
-
export { Autocomplete } from './autocomplete';
|
|
3
|
-
export { FloatingActionButton } from './buttons';
|
|
4
|
-
export { Cards } from './cards';
|
|
5
|
-
export { Carousel } from './carousel';
|
|
6
|
-
export { CharacterCounter } from './characterCounter';
|
|
7
|
-
export { Chips } from './chips';
|
|
8
|
-
export { Collapsible } from './collapsible';
|
|
9
|
-
export { Datepicker } from './datepicker';
|
|
10
|
-
export { Dropdown } from './dropdown';
|
|
11
|
-
export { Forms } from './forms';
|
|
12
|
-
export { Materialbox } from './materialbox';
|
|
13
|
-
export { Modal } from './modal';
|
|
14
|
-
export { Parallax } from './parallax';
|
|
15
|
-
export { Pushpin } from './pushpin';
|
|
16
|
-
export { ScrollSpy } from './scrollspy';
|
|
17
|
-
export { FormSelect } from './select';
|
|
18
|
-
export { Sidenav } from './sidenav';
|
|
19
|
-
export { Slider } from './slider';
|
|
20
|
-
export { Tabs } from './tabs';
|
|
21
|
-
export { TapTarget } from './tapTarget';
|
|
22
|
-
export { Timepicker } from './timepicker';
|
|
23
|
-
export { Toast } from './toasts';
|
|
24
|
-
export { Tooltip } from './tooltip';
|
|
25
|
-
export { Waves } from './waves';
|
|
26
|
-
export { Range } from './range';
|
|
27
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,WAAW,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE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