winduum 0.7.2 → 0.8.0-next.10
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/main.css +1 -1
- package/dist/tailwind.css +1 -1
- package/package.json +58 -19
- package/plugin/{tailwind.cjs → index.cjs} +2 -2
- package/plugin/{tailwind.d.ts → index.d.ts} +6 -0
- package/plugin/{tailwind.js → index.js} +2 -2
- package/src/common.d.ts +2 -0
- package/src/components/carousel/content.css +30 -0
- package/src/components/carousel/default.css +3 -0
- package/src/components/carousel/index.css +2 -0
- package/src/components/carousel/index.d.ts +40 -0
- package/src/components/carousel/index.js +221 -0
- package/src/components/compare/index.d.ts +8 -0
- package/src/components/compare/index.js +9 -15
- package/src/components/details/index.d.ts +9 -0
- package/src/components/details/index.js +4 -10
- package/src/components/dialog/index.d.ts +30 -0
- package/src/components/dialog/index.js +32 -40
- package/src/components/drawer/content.css +10 -0
- package/src/components/drawer/default.css +37 -0
- package/src/components/drawer/index.css +2 -0
- package/src/components/drawer/index.d.ts +13 -0
- package/src/components/drawer/index.js +52 -0
- package/src/components/form/index.d.ts +26 -0
- package/src/components/form/index.js +105 -0
- package/src/components/index.css +2 -0
- package/src/components/toaster/index.d.ts +30 -0
- package/src/components/toaster/index.js +6 -14
- package/src/ui/control/invalid.css +1 -1
- package/src/ui/control/select.css +2 -2
- package/src/ui/progress/default.css +6 -3
- package/src/ui/range/index.d.ts +19 -0
- package/src/ui/range/index.js +24 -38
- package/src/utilities/ripple/index.d.ts +1 -0
- package/src/utilities/ripple/index.js +11 -15
- package/src/utilities/swap/index.d.ts +1 -0
- package/src/utilities/swap/index.js +0 -4
- package/tailwind.config.js +1 -1
- package/types/index.d.ts +235 -0
- package/types/index.d.ts.map +92 -0
- package/src/components/compare/types/index.d.ts +0 -17
- package/src/components/details/types/index.d.ts +0 -4
- package/src/components/dialog/types/index.d.ts +0 -22
- package/src/components/toaster/types/index.d.ts +0 -25
- package/src/main.js +0 -1
- package/src/ui/range/types/index.d.ts +0 -16
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
declare module 'winduum' {
|
|
2
|
+
import type { Plugin } from 'tailwindcss/types/config';
|
|
3
|
+
export interface PluginOptions {
|
|
4
|
+
colors?: string[]
|
|
5
|
+
fontFamily?: string[],
|
|
6
|
+
fontWeight?: string[],
|
|
7
|
+
ease?: string[],
|
|
8
|
+
zIndex?: string[],
|
|
9
|
+
fontSize?: string[],
|
|
10
|
+
spacing?: string[],
|
|
11
|
+
borderRadius?: string[],
|
|
12
|
+
animations?: string[],
|
|
13
|
+
mask?: string[],
|
|
14
|
+
screens?: {
|
|
15
|
+
[key: string]: string
|
|
16
|
+
},
|
|
17
|
+
settings?: {
|
|
18
|
+
rgb?: boolean,
|
|
19
|
+
colorMix?: boolean
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export const defaultConfig: PluginOptions
|
|
24
|
+
|
|
25
|
+
export default function createPlugin(userConfig: PluginOptions): Plugin
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
declare module 'winduum/src/components/carousel' {
|
|
29
|
+
export interface ObserveCarouselOptions {
|
|
30
|
+
visibleClass?: string
|
|
31
|
+
observerOptions?: {
|
|
32
|
+
rootMargin?: string
|
|
33
|
+
threshold?: number | number[]
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface PaginationCarouselOptions {
|
|
38
|
+
element?: HTMLElement | Element
|
|
39
|
+
itemContent?: string
|
|
40
|
+
activeClass?: string
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface ScrollCarouselOptions {
|
|
44
|
+
observe?: ObserveCarouselOptions
|
|
45
|
+
pagination?: PaginationCarouselOptions
|
|
46
|
+
progressElement?: HTMLProgressElement | Element
|
|
47
|
+
counterMinElement?: HTMLElement | Element
|
|
48
|
+
counterMaxElement?: HTMLElement | Element
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface AutoplayCarouselOptions {
|
|
52
|
+
delay?: number
|
|
53
|
+
pauseElements?: HTMLElement[] | Element[]
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export interface DragCarouselOptions {
|
|
57
|
+
activeClass?: string
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function scrollPrev(element: HTMLElement | Element): void
|
|
61
|
+
export function scrollNext(element: HTMLElement | Element): void
|
|
62
|
+
export function scrollTo(element: HTMLElement | Element, selected?: number): void
|
|
63
|
+
export function getItemCount(element: HTMLElement | Element, scrollWidth?: number, mathFloor?: boolean): number
|
|
64
|
+
export function observeCarousel(element: HTMLElement | Element, options?: ObserveCarouselOptions): void
|
|
65
|
+
export function scrollCarousel(element: HTMLElement | Element, options?: ScrollCarouselOptions): void
|
|
66
|
+
export function paginationCarousel(element: HTMLElement | Element, options?: PaginationCarouselOptions): void
|
|
67
|
+
export function autoplayCarousel(element: HTMLElement | Element, options?: AutoplayCarouselOptions): void
|
|
68
|
+
export function dragCarousel(element: HTMLElement | Element, options?: DragCarouselOptions): void
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare module 'winduum/src/components/compare' {
|
|
72
|
+
export interface SetPositionOptions {
|
|
73
|
+
selector?: string
|
|
74
|
+
positionProperty?: string
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function setPosition(event: Event, options?: SetPositionOptions): void
|
|
78
|
+
export function setKeyboardStep(event: KeyboardEvent, step?: string): void
|
|
79
|
+
export function setMouseStep(event: MouseEvent, step?: string): void
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
declare module 'winduum/src/components/details' {
|
|
83
|
+
export interface DefaultOptions {
|
|
84
|
+
selector?: string
|
|
85
|
+
summarySelector?: string
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export const defaultOptions: DefaultOptions
|
|
89
|
+
export function showDetails(selector: HTMLInputElement | HTMLElement, options?: DefaultOptions): Promise<void>
|
|
90
|
+
export function closeDetails(selector: HTMLInputElement | HTMLElement, options?: DefaultOptions): Promise<void>
|
|
91
|
+
export function toggleDetails(selector: HTMLInputElement | HTMLElement, options?: DefaultOptions): Promise<void>
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
declare module 'winduum/src/components/dialog' {
|
|
95
|
+
export interface DialogElement extends HTMLDialogElement {
|
|
96
|
+
_dialogHasEvents: boolean
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface DefaultOptions {
|
|
100
|
+
remove?: boolean | null
|
|
101
|
+
closable?: boolean | null
|
|
102
|
+
openClass?: string
|
|
103
|
+
scrollbarWidthProperty?: string
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export interface InsertDialogOptions {
|
|
107
|
+
selector?: string | null
|
|
108
|
+
class?: string | null
|
|
109
|
+
append?: boolean | null
|
|
110
|
+
show?: DefaultOptions
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export interface FetchDialogOptions {
|
|
114
|
+
url: string
|
|
115
|
+
insert?: InsertDialogOptions
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export const defaultOptions: DefaultOptions
|
|
119
|
+
export function dialogSelector(selector: string): HTMLDialogElement
|
|
120
|
+
export function dismissDialog(element: HTMLDialogElement, options?: DefaultOptions): Promise<void>
|
|
121
|
+
export function showDialog(element: DialogElement, options?: DefaultOptions): Promise<void>
|
|
122
|
+
export function closeDialog(element: HTMLDialogElement, options?: DefaultOptions): Promise<void>
|
|
123
|
+
export function insertDialog(content: string, options?: InsertDialogOptions): Promise<void>
|
|
124
|
+
export function fetchDialog({ url, insert }: FetchDialogOptions): Promise<void>
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
declare module 'winduum/src/components/drawer' {
|
|
128
|
+
export interface ScrollDrawerOptions {
|
|
129
|
+
snapClass?: string
|
|
130
|
+
opacityProperty?: string
|
|
131
|
+
opacityRatio?: number
|
|
132
|
+
scrollOpen?: number
|
|
133
|
+
scrollClose?: number
|
|
134
|
+
scrollSize?: number
|
|
135
|
+
scrollDirection?:number
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export function showDrawer(element: HTMLElement | Element, distance: number, direction: 'left' | 'top'): void
|
|
139
|
+
export function closeDrawer(element: HTMLElement | Element, distance: number, direction: 'left' | 'top'): void
|
|
140
|
+
export function scrollDrawer(element: HTMLElement | Element, options: ScrollDrawerOptions): void
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
declare module 'winduum/src/components/form' {
|
|
144
|
+
export interface ValidateFormOptions {
|
|
145
|
+
validateSelectors?: string
|
|
146
|
+
validateOptions?: ValidateFieldOptions
|
|
147
|
+
submitterLoadingClass?: string
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
export interface ValidateFieldOptions {
|
|
151
|
+
validate?: boolean
|
|
152
|
+
selector?: string
|
|
153
|
+
ignoreMatch?: RegExp
|
|
154
|
+
validitySelector?: string
|
|
155
|
+
infoParentSelector?: string
|
|
156
|
+
infoSelector?: string
|
|
157
|
+
infoContent?: string
|
|
158
|
+
endParentSelector?: string
|
|
159
|
+
endSelector?: string
|
|
160
|
+
endContent?: string
|
|
161
|
+
validClass?: string
|
|
162
|
+
validIcon?: string | null
|
|
163
|
+
invalidClass?: string
|
|
164
|
+
invalidIcon?: string
|
|
165
|
+
activeClass?: string
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
export function validateForm(event: Event | SubmitEvent, options?: ValidateFormOptions): void
|
|
169
|
+
export function validateField(element: HTMLElement | SubmitEvent, options?: ValidateFieldOptions): void
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
declare module 'winduum/src/components/toaster' {
|
|
173
|
+
export interface ShowToastOptions {
|
|
174
|
+
visibleClass?: string
|
|
175
|
+
autoHide?: number | null
|
|
176
|
+
heightProperty?: string
|
|
177
|
+
close?: CloseToastOptions
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export interface CloseToastOptions {
|
|
181
|
+
hiddenClass?: string
|
|
182
|
+
heightProperty?: string
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export interface InsertToasterOptions {
|
|
186
|
+
classes?: string
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
export interface InsertToastOptions {
|
|
190
|
+
classes?: string
|
|
191
|
+
title?: string
|
|
192
|
+
text?: string
|
|
193
|
+
start?: string
|
|
194
|
+
end?: string
|
|
195
|
+
show?: ShowToastOptions
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
export function closeToast(element: HTMLElement, options?: CloseToastOptions): Promise<void>
|
|
199
|
+
export function showToast(element: HTMLElement, options?: ShowToastOptions): Promise<void>
|
|
200
|
+
export function insertToaster(element: HTMLElement, options?: InsertToasterOptions): Promise<void>
|
|
201
|
+
export function insertToast(element: HTMLElement, options?: InsertToastOptions): Promise<void>
|
|
202
|
+
export function closeToaster(element: HTMLElement, options?: CloseToastOptions): Promise<void>
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
declare module 'winduum/src/ui/range' {
|
|
206
|
+
export interface SetTrackPropertyOptions {
|
|
207
|
+
element: HTMLElement | Element
|
|
208
|
+
value: string
|
|
209
|
+
max?: number
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
export interface SetValueOptions {
|
|
213
|
+
selector?: string
|
|
214
|
+
track?: 'start' | 'end'
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
export interface SetOutputOptions {
|
|
218
|
+
lang?: string
|
|
219
|
+
formatOptions?: Intl.NumberFormatOptions
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
export function setTrackProperty(options: SetTrackPropertyOptions, track: 'start' | 'end'): void
|
|
223
|
+
export function setValue(element: HTMLInputElement, options?: SetValueOptions): void
|
|
224
|
+
export function setOutputValue(element: HTMLInputElement, outputElement: HTMLOutputElement | Element, options?: SetOutputOptions): void
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
declare module 'winduum/src/utilities/ripple' {
|
|
228
|
+
export function showRipple(event: MouseEvent, element: HTMLElement): void
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
declare module 'winduum/src/utilities/swap' {
|
|
232
|
+
export function toggleSwap(element: HTMLElement): void
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"file": "index.d.ts",
|
|
4
|
+
"names": [
|
|
5
|
+
"PluginOptions",
|
|
6
|
+
"defaultConfig",
|
|
7
|
+
"ObserveCarouselOptions",
|
|
8
|
+
"PaginationCarouselOptions",
|
|
9
|
+
"ScrollCarouselOptions",
|
|
10
|
+
"AutoplayCarouselOptions",
|
|
11
|
+
"DragCarouselOptions",
|
|
12
|
+
"scrollPrev",
|
|
13
|
+
"scrollNext",
|
|
14
|
+
"scrollTo",
|
|
15
|
+
"getItemCount",
|
|
16
|
+
"observeCarousel",
|
|
17
|
+
"scrollCarousel",
|
|
18
|
+
"paginationCarousel",
|
|
19
|
+
"autoplayCarousel",
|
|
20
|
+
"dragCarousel",
|
|
21
|
+
"SetPositionOptions",
|
|
22
|
+
"setPosition",
|
|
23
|
+
"setKeyboardStep",
|
|
24
|
+
"setMouseStep",
|
|
25
|
+
"DefaultOptions",
|
|
26
|
+
"defaultOptions",
|
|
27
|
+
"showDetails",
|
|
28
|
+
"closeDetails",
|
|
29
|
+
"toggleDetails",
|
|
30
|
+
"DialogElement",
|
|
31
|
+
"InsertDialogOptions",
|
|
32
|
+
"FetchDialogOptions",
|
|
33
|
+
"dialogSelector",
|
|
34
|
+
"dismissDialog",
|
|
35
|
+
"showDialog",
|
|
36
|
+
"closeDialog",
|
|
37
|
+
"insertDialog",
|
|
38
|
+
"fetchDialog",
|
|
39
|
+
"ScrollDrawerOptions",
|
|
40
|
+
"showDrawer",
|
|
41
|
+
"closeDrawer",
|
|
42
|
+
"scrollDrawer",
|
|
43
|
+
"ValidateFormOptions",
|
|
44
|
+
"ValidateFieldOptions",
|
|
45
|
+
"validateForm",
|
|
46
|
+
"validateField",
|
|
47
|
+
"ShowToastOptions",
|
|
48
|
+
"CloseToastOptions",
|
|
49
|
+
"InsertToasterOptions",
|
|
50
|
+
"InsertToastOptions",
|
|
51
|
+
"closeToast",
|
|
52
|
+
"showToast",
|
|
53
|
+
"insertToaster",
|
|
54
|
+
"insertToast",
|
|
55
|
+
"closeToaster",
|
|
56
|
+
"SetTrackPropertyOptions",
|
|
57
|
+
"SetValueOptions",
|
|
58
|
+
"SetOutputOptions",
|
|
59
|
+
"setTrackProperty",
|
|
60
|
+
"setValue",
|
|
61
|
+
"setOutputValue",
|
|
62
|
+
"showRipple",
|
|
63
|
+
"toggleSwap"
|
|
64
|
+
],
|
|
65
|
+
"sources": [
|
|
66
|
+
"../plugin/index.d.ts",
|
|
67
|
+
"../src/components/carousel/index.d.ts",
|
|
68
|
+
"../src/components/compare/index.d.ts",
|
|
69
|
+
"../src/components/details/index.d.ts",
|
|
70
|
+
"../src/components/dialog/index.d.ts",
|
|
71
|
+
"../src/components/drawer/index.d.ts",
|
|
72
|
+
"../src/components/form/index.d.ts",
|
|
73
|
+
"../src/components/toaster/index.d.ts",
|
|
74
|
+
"../src/ui/range/index.d.ts",
|
|
75
|
+
"../src/utilities/ripple/index.d.ts",
|
|
76
|
+
"../src/utilities/swap/index.d.ts"
|
|
77
|
+
],
|
|
78
|
+
"sourcesContent": [
|
|
79
|
+
null,
|
|
80
|
+
null,
|
|
81
|
+
null,
|
|
82
|
+
null,
|
|
83
|
+
null,
|
|
84
|
+
null,
|
|
85
|
+
null,
|
|
86
|
+
null,
|
|
87
|
+
null,
|
|
88
|
+
null,
|
|
89
|
+
null
|
|
90
|
+
],
|
|
91
|
+
"mappings": ";;kBAEiBA,aAAaA;;;;;;;;;;;;;;;;;;;;cAoBjBC,aAAaA;;;;;;kBCtBTC,sBAAsBA;;;;;;;;kBAQtBC,yBAAyBA;;;;;;kBAMzBC,qBAAqBA;;;;;;;;kBAQrBC,uBAAuBA;;;;;kBAKvBC,mBAAmBA;;;;iBAIpBC,UAAUA;iBACVC,UAAUA;iBACVC,QAAQA;iBACRC,YAAYA;iBACZC,eAAeA;iBACfC,cAAcA;iBACdC,kBAAkBA;iBAClBC,gBAAgBA;iBAChBC,YAAYA;;;;kBCvCXC,kBAAkBA;;;;;iBAKnBC,WAAWA;iBACXC,eAAeA;iBACfC,YAAYA;;;;kBCPXC,cAAcA;;;;;cAKlBC,cAAcA;iBACXC,WAAWA;iBACXC,YAAYA;iBACZC,aAAaA;;;;kBCRZC,aAAaA;;;;kBAIbL,cAAcA;;;;;;;kBAOdM,mBAAmBA;;;;;;;kBAOnBC,kBAAkBA;;;;;cAKtBN,cAAcA;iBACXO,cAAcA;iBACdC,aAAaA;iBACbC,UAAUA;iBACVC,WAAWA;iBACXC,YAAYA;iBACZC,WAAWA;;;;kBC7BVC,mBAAmBA;;;;;;;;;;iBAUpBC,UAAUA;iBACVC,WAAWA;iBACXC,YAAYA;;;;kBCZXC,mBAAmBA;;;;;;kBAMnBC,oBAAoBA;;;;;;;;;;;;;;;;;;iBAkBrBC,YAAYA;iBACZC,aAAaA;;;;kBCzBZC,gBAAgBA;;;;;;;kBAOhBC,iBAAiBA;;;;;kBAKjBC,oBAAoBA;;;;kBAIpBC,kBAAkBA;;;;;;;;;iBASnBC,UAAUA;iBACVC,SAASA;iBACTC,aAAaA;iBACbC,WAAWA;iBACXC,YAAYA;;;;kBC7BXC,uBAAuBA;;;;;;kBAMvBC,eAAeA;;;;;kBAKfC,gBAAgBA;;;;;iBAKjBC,gBAAgBA;iBAChBC,QAAQA;iBACRC,cAAcA;;;;iBClBdC,UAAUA;;;;iBCAVC,UAAUA"
|
|
92
|
+
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export interface Position {
|
|
2
|
-
currentTarget: HTMLInputElement | EventTarget
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
export interface KeyboardStep {
|
|
6
|
-
currentTarget: HTMLInputElement | EventTarget
|
|
7
|
-
key: string
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface MouseStep {
|
|
11
|
-
currentTarget: HTMLInputElement | EventTarget
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export interface PositionOptions {
|
|
15
|
-
selector?: string
|
|
16
|
-
positionProperty?: string
|
|
17
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export interface DialogElement extends HTMLDialogElement {
|
|
2
|
-
_dialogHasEvents: boolean
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
export interface DefaultOptions {
|
|
6
|
-
remove?: boolean | null
|
|
7
|
-
closable?: boolean | null
|
|
8
|
-
openClass?: string
|
|
9
|
-
scrollbarWidthProperty?: string
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface InsertOptions {
|
|
13
|
-
selector?: string | null
|
|
14
|
-
class?: string | null
|
|
15
|
-
append?: boolean | null
|
|
16
|
-
show?: DefaultOptions
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
export interface FetchOptions {
|
|
20
|
-
url: string
|
|
21
|
-
insert?: InsertOptions
|
|
22
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface ShowToastOptions {
|
|
2
|
-
visibleClass?: string
|
|
3
|
-
autoHide?: number | null
|
|
4
|
-
heightProperty?: string
|
|
5
|
-
close?: CloseToastOptions
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export interface CloseToastOptions {
|
|
9
|
-
hiddenClass?: string
|
|
10
|
-
heightProperty?: string
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface InsertToasterOptions {
|
|
14
|
-
classes?: string
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export interface InsertToastOptions {
|
|
18
|
-
classes?: string
|
|
19
|
-
title?: string
|
|
20
|
-
text?: string
|
|
21
|
-
start?: string
|
|
22
|
-
end?: string
|
|
23
|
-
show?: ShowToastOptions
|
|
24
|
-
}
|
|
25
|
-
|
package/src/main.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
!CSS.supports('selector(:has(*))') && (async () => (await import('css-has-pseudo/browser')).default(document))()
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export interface DefaultOptions {
|
|
2
|
-
selector?: string
|
|
3
|
-
track?: 'start' | 'end'
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
export interface OutputOptions {
|
|
7
|
-
element?: HTMLOutputElement
|
|
8
|
-
lang?: string
|
|
9
|
-
formatOptions?: Intl.NumberFormatOptions
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export interface TrackOptions {
|
|
13
|
-
element: HTMLElement | Element
|
|
14
|
-
value: string
|
|
15
|
-
max?: number
|
|
16
|
-
}
|