@aurodesignsystem-dev/auro-formkit 0.0.0-pr1431.3 → 0.0.0-pr1433.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/components/checkbox/demo/api.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/api.min.js +230 -44
- package/components/combobox/demo/index.min.js +230 -44
- package/components/combobox/dist/auro-combobox.d.ts +4 -0
- package/components/combobox/dist/index.js +142 -22
- package/components/combobox/dist/registered.js +142 -22
- package/components/counter/demo/api.min.js +30 -2
- package/components/counter/demo/index.min.js +30 -2
- package/components/counter/dist/index.js +30 -2
- package/components/counter/dist/registered.js +30 -2
- package/components/datepicker/demo/api.min.js +33 -3
- package/components/datepicker/demo/index.min.js +33 -3
- package/components/datepicker/dist/index.js +33 -3
- package/components/datepicker/dist/registered.js +33 -3
- package/components/dropdown/demo/api.min.js +29 -1
- package/components/dropdown/demo/index.min.js +29 -1
- package/components/dropdown/dist/index.js +29 -1
- package/components/dropdown/dist/registered.js +29 -1
- package/components/form/demo/api.min.js +326 -54
- package/components/form/demo/index.min.js +326 -54
- package/components/input/demo/api.min.js +1 -1
- package/components/input/demo/index.min.js +1 -1
- package/components/input/dist/index.js +1 -1
- package/components/input/dist/registered.js +1 -1
- package/components/menu/demo/api.min.js +88 -22
- package/components/menu/demo/index.min.js +88 -22
- package/components/menu/dist/index.js +88 -22
- package/components/menu/dist/registered.js +88 -22
- package/components/radio/demo/api.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/api.min.js +118 -24
- package/components/select/demo/index.min.js +118 -24
- package/components/select/dist/index.js +30 -2
- package/components/select/dist/registered.js +30 -2
- package/custom-elements.json +1441 -1432
- package/package.json +2 -2
|
@@ -1945,6 +1945,7 @@ class AuroFloatingUI {
|
|
|
1945
1945
|
this.focusHandler = null;
|
|
1946
1946
|
this.clickHandler = null;
|
|
1947
1947
|
this.keyDownHandler = null;
|
|
1948
|
+
this.touchHandler = null;
|
|
1948
1949
|
|
|
1949
1950
|
/**
|
|
1950
1951
|
* @private
|
|
@@ -2362,6 +2363,28 @@ class AuroFloatingUI {
|
|
|
2362
2363
|
setTimeout(() => {
|
|
2363
2364
|
window.addEventListener("click", this.clickHandler);
|
|
2364
2365
|
}, 0);
|
|
2366
|
+
|
|
2367
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
2368
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
2369
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
2370
|
+
this.touchHandler = (evt) => {
|
|
2371
|
+
const element = this.element;
|
|
2372
|
+
if (!element?.bib) {
|
|
2373
|
+
return;
|
|
2374
|
+
}
|
|
2375
|
+
|
|
2376
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
2377
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
2378
|
+
return;
|
|
2379
|
+
}
|
|
2380
|
+
|
|
2381
|
+
const path = evt.composedPath();
|
|
2382
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
2383
|
+
this.hideBib("click");
|
|
2384
|
+
}
|
|
2385
|
+
};
|
|
2386
|
+
|
|
2387
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
2365
2388
|
}
|
|
2366
2389
|
|
|
2367
2390
|
cleanupHideHandlers() {
|
|
@@ -2377,6 +2400,11 @@ class AuroFloatingUI {
|
|
|
2377
2400
|
this.clickHandler = null;
|
|
2378
2401
|
}
|
|
2379
2402
|
|
|
2403
|
+
if (this.touchHandler) {
|
|
2404
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
2405
|
+
this.touchHandler = null;
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2380
2408
|
if (this.keyDownHandler) {
|
|
2381
2409
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
2382
2410
|
this.keyDownHandler = null;
|
|
@@ -3882,7 +3910,7 @@ class AuroHelpText extends i {
|
|
|
3882
3910
|
}
|
|
3883
3911
|
}
|
|
3884
3912
|
|
|
3885
|
-
var formkitVersion = '
|
|
3913
|
+
var formkitVersion = '202604100244';
|
|
3886
3914
|
|
|
3887
3915
|
class AuroElement extends i {
|
|
3888
3916
|
static get properties() {
|
|
@@ -1866,6 +1866,7 @@ class AuroFloatingUI {
|
|
|
1866
1866
|
this.focusHandler = null;
|
|
1867
1867
|
this.clickHandler = null;
|
|
1868
1868
|
this.keyDownHandler = null;
|
|
1869
|
+
this.touchHandler = null;
|
|
1869
1870
|
|
|
1870
1871
|
/**
|
|
1871
1872
|
* @private
|
|
@@ -2283,6 +2284,28 @@ class AuroFloatingUI {
|
|
|
2283
2284
|
setTimeout(() => {
|
|
2284
2285
|
window.addEventListener("click", this.clickHandler);
|
|
2285
2286
|
}, 0);
|
|
2287
|
+
|
|
2288
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
2289
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
2290
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
2291
|
+
this.touchHandler = (evt) => {
|
|
2292
|
+
const element = this.element;
|
|
2293
|
+
if (!element?.bib) {
|
|
2294
|
+
return;
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
2298
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
2299
|
+
return;
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
const path = evt.composedPath();
|
|
2303
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
2304
|
+
this.hideBib("click");
|
|
2305
|
+
}
|
|
2306
|
+
};
|
|
2307
|
+
|
|
2308
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
2286
2309
|
}
|
|
2287
2310
|
|
|
2288
2311
|
cleanupHideHandlers() {
|
|
@@ -2298,6 +2321,11 @@ class AuroFloatingUI {
|
|
|
2298
2321
|
this.clickHandler = null;
|
|
2299
2322
|
}
|
|
2300
2323
|
|
|
2324
|
+
if (this.touchHandler) {
|
|
2325
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
2326
|
+
this.touchHandler = null;
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2301
2329
|
if (this.keyDownHandler) {
|
|
2302
2330
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
2303
2331
|
this.keyDownHandler = null;
|
|
@@ -3803,7 +3831,7 @@ class AuroHelpText extends i {
|
|
|
3803
3831
|
}
|
|
3804
3832
|
}
|
|
3805
3833
|
|
|
3806
|
-
var formkitVersion = '
|
|
3834
|
+
var formkitVersion = '202604100244';
|
|
3807
3835
|
|
|
3808
3836
|
class AuroElement extends i {
|
|
3809
3837
|
static get properties() {
|
|
@@ -1802,6 +1802,7 @@ class AuroFloatingUI {
|
|
|
1802
1802
|
this.focusHandler = null;
|
|
1803
1803
|
this.clickHandler = null;
|
|
1804
1804
|
this.keyDownHandler = null;
|
|
1805
|
+
this.touchHandler = null;
|
|
1805
1806
|
|
|
1806
1807
|
/**
|
|
1807
1808
|
* @private
|
|
@@ -2219,6 +2220,28 @@ class AuroFloatingUI {
|
|
|
2219
2220
|
setTimeout(() => {
|
|
2220
2221
|
window.addEventListener("click", this.clickHandler);
|
|
2221
2222
|
}, 0);
|
|
2223
|
+
|
|
2224
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
2225
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
2226
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
2227
|
+
this.touchHandler = (evt) => {
|
|
2228
|
+
const element = this.element;
|
|
2229
|
+
if (!element?.bib) {
|
|
2230
|
+
return;
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
2234
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
2235
|
+
return;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
const path = evt.composedPath();
|
|
2239
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
2240
|
+
this.hideBib("click");
|
|
2241
|
+
}
|
|
2242
|
+
};
|
|
2243
|
+
|
|
2244
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
2222
2245
|
}
|
|
2223
2246
|
|
|
2224
2247
|
cleanupHideHandlers() {
|
|
@@ -2234,6 +2257,11 @@ class AuroFloatingUI {
|
|
|
2234
2257
|
this.clickHandler = null;
|
|
2235
2258
|
}
|
|
2236
2259
|
|
|
2260
|
+
if (this.touchHandler) {
|
|
2261
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
2262
|
+
this.touchHandler = null;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2237
2265
|
if (this.keyDownHandler) {
|
|
2238
2266
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
2239
2267
|
this.keyDownHandler = null;
|
|
@@ -3708,7 +3736,7 @@ class AuroHelpText extends LitElement {
|
|
|
3708
3736
|
}
|
|
3709
3737
|
}
|
|
3710
3738
|
|
|
3711
|
-
var formkitVersion = '
|
|
3739
|
+
var formkitVersion = '202604100244';
|
|
3712
3740
|
|
|
3713
3741
|
class AuroElement extends LitElement {
|
|
3714
3742
|
static get properties() {
|
|
@@ -1802,6 +1802,7 @@ class AuroFloatingUI {
|
|
|
1802
1802
|
this.focusHandler = null;
|
|
1803
1803
|
this.clickHandler = null;
|
|
1804
1804
|
this.keyDownHandler = null;
|
|
1805
|
+
this.touchHandler = null;
|
|
1805
1806
|
|
|
1806
1807
|
/**
|
|
1807
1808
|
* @private
|
|
@@ -2219,6 +2220,28 @@ class AuroFloatingUI {
|
|
|
2219
2220
|
setTimeout(() => {
|
|
2220
2221
|
window.addEventListener("click", this.clickHandler);
|
|
2221
2222
|
}, 0);
|
|
2223
|
+
|
|
2224
|
+
// iOS Safari does not fire `click` on non-interactive elements, so
|
|
2225
|
+
// tapping an inert backdrop never reaches the click handler above.
|
|
2226
|
+
// Mirror the same outside-tap logic with a passive touchstart listener.
|
|
2227
|
+
this.touchHandler = (evt) => {
|
|
2228
|
+
const element = this.element;
|
|
2229
|
+
if (!element?.bib) {
|
|
2230
|
+
return;
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
// fullscreen (modal) dialog handles its own dismissal
|
|
2234
|
+
if (element.bib.hasAttribute("isfullscreen")) {
|
|
2235
|
+
return;
|
|
2236
|
+
}
|
|
2237
|
+
|
|
2238
|
+
const path = evt.composedPath();
|
|
2239
|
+
if (!path.includes(element.trigger) && !path.includes(element.bib)) {
|
|
2240
|
+
this.hideBib("click");
|
|
2241
|
+
}
|
|
2242
|
+
};
|
|
2243
|
+
|
|
2244
|
+
window.addEventListener("touchstart", this.touchHandler, { passive: true });
|
|
2222
2245
|
}
|
|
2223
2246
|
|
|
2224
2247
|
cleanupHideHandlers() {
|
|
@@ -2234,6 +2257,11 @@ class AuroFloatingUI {
|
|
|
2234
2257
|
this.clickHandler = null;
|
|
2235
2258
|
}
|
|
2236
2259
|
|
|
2260
|
+
if (this.touchHandler) {
|
|
2261
|
+
window.removeEventListener("touchstart", this.touchHandler);
|
|
2262
|
+
this.touchHandler = null;
|
|
2263
|
+
}
|
|
2264
|
+
|
|
2237
2265
|
if (this.keyDownHandler) {
|
|
2238
2266
|
document.removeEventListener("keydown", this.keyDownHandler);
|
|
2239
2267
|
this.keyDownHandler = null;
|
|
@@ -3708,7 +3736,7 @@ class AuroHelpText extends LitElement {
|
|
|
3708
3736
|
}
|
|
3709
3737
|
}
|
|
3710
3738
|
|
|
3711
|
-
var formkitVersion = '
|
|
3739
|
+
var formkitVersion = '202604100244';
|
|
3712
3740
|
|
|
3713
3741
|
class AuroElement extends LitElement {
|
|
3714
3742
|
static get properties() {
|