input-duration 2.2.2 → 2.2.3
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 +18 -18
- package/index.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -208,7 +208,7 @@ Without packaging:
|
|
|
208
208
|
|
|
209
209
|
<script type="module">
|
|
210
210
|
|
|
211
|
-
import
|
|
211
|
+
import id from 'https://cdn.jsdelivr.net/npm/input-duration/+esm'
|
|
212
212
|
|
|
213
213
|
</script>
|
|
214
214
|
|
|
@@ -266,7 +266,7 @@ _For more documentation, please refer to the jscocs on [input-duration Docs](ht
|
|
|
266
266
|
- [ ] Spanish
|
|
267
267
|
- [ ] min and max values (sorry for the moment you'll have to do those yourself in js)
|
|
268
268
|
|
|
269
|
-
See the [open issues](https://github.com/StephanLuis/
|
|
269
|
+
See the [open issues](https://github.com/StephanLuis/input-duration/issues) for a full list of proposed features (and known issues).
|
|
270
270
|
|
|
271
271
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
272
272
|
|
|
@@ -280,7 +280,7 @@ See the [open issues](https://github.com/StephanLuis/chronlyhms/issues) for a fu
|
|
|
280
280
|

|
|
281
281
|

|
|
282
282
|
|
|
283
|
-
[Tests & Live Status](https://github.com/StephanLuis/BrowserStackSelenium/blob/main/
|
|
283
|
+
[Tests & Live Status](https://github.com/StephanLuis/BrowserStackSelenium/blob/main/input-duration/README.md)
|
|
284
284
|
|
|
285
285
|
|
|
286
286
|
<!-- CONTRIBUTING -->
|
|
@@ -304,7 +304,7 @@ Don't forget to give the project a star! Thanks again!
|
|
|
304
304
|
<!-- LICENSE -->
|
|
305
305
|
## License
|
|
306
306
|
|
|
307
|
-
Distributed under the MIT License. See [`LICENSE.txt`](https://github.com/StephanLuis/
|
|
307
|
+
Distributed under the MIT License. See [`LICENSE.txt`](https://github.com/StephanLuis/input-duration/blob/main/LICENSE) for more information.
|
|
308
308
|
|
|
309
309
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
310
310
|
|
|
@@ -315,7 +315,7 @@ Distributed under the MIT License. See [`LICENSE.txt`](https://github.com/Stepha
|
|
|
315
315
|
|
|
316
316
|
Stephan Luis - stephan@learnsense.org
|
|
317
317
|
|
|
318
|
-
Project Link: [https://github.com/StephanLuis/
|
|
318
|
+
Project Link: [https://github.com/StephanLuis/input-duration](https://github.com/StephanLuis/input-duration)
|
|
319
319
|
|
|
320
320
|
<p align="right">(<a href="#top">back to top</a>)</p>
|
|
321
321
|
|
|
@@ -342,20 +342,20 @@ Resources I've found helpful and would like to give credit to:
|
|
|
342
342
|
<!-- https://www.markdownguide.org/basic-syntax/#reference-style-links -->
|
|
343
343
|
|
|
344
344
|
|
|
345
|
-
[contributors-shield]: https://img.shields.io/github/contributors/StephanLuis/
|
|
346
|
-
[contributors-url]: https://github.com/StephanLuis/
|
|
347
|
-
[forks-shield]: https://img.shields.io/github/forks/StephanLuis/
|
|
348
|
-
[forks-url]: https://github.com/StephanLuis/
|
|
349
|
-
[stars-shield]: https://img.shields.io/github/stars/StephanLuis/
|
|
350
|
-
[stars-url]: https://github.com/StephanLuis/
|
|
351
|
-
[issues-shield]: https://img.shields.io/github/issues/StephanLuis/
|
|
352
|
-
[issues-url]: https://github.com/StephanLuis/
|
|
353
|
-
[license-shield]: https://img.shields.io/github/license/StephanLuis/
|
|
354
|
-
[license-url]: https://github.com/StephanLuis/
|
|
355
|
-
[reposize-shield]: https://img.shields.io/github/repo-size/stephanluis/
|
|
356
|
-
[reposize-url]: https://github.com/StephanLuis/
|
|
345
|
+
[contributors-shield]: https://img.shields.io/github/contributors/StephanLuis/input-duration?style=for-the-badge
|
|
346
|
+
[contributors-url]: https://github.com/StephanLuis/input-duration/graphs/contributors
|
|
347
|
+
[forks-shield]: https://img.shields.io/github/forks/StephanLuis/input-duration?style=for-the-badge
|
|
348
|
+
[forks-url]: https://github.com/StephanLuis/input-duration/network/members
|
|
349
|
+
[stars-shield]: https://img.shields.io/github/stars/StephanLuis/input-duration?style=for-the-badge
|
|
350
|
+
[stars-url]: https://github.com/StephanLuis/input-duration/stargazers
|
|
351
|
+
[issues-shield]: https://img.shields.io/github/issues/StephanLuis/input-duration?style=for-the-badge
|
|
352
|
+
[issues-url]: https://github.com/StephanLuis/input-duration/issues
|
|
353
|
+
[license-shield]: https://img.shields.io/github/license/StephanLuis/input-duration?style=for-the-badge
|
|
354
|
+
[license-url]: https://github.com/StephanLuis/input-duration/blob/main/LICENSE
|
|
355
|
+
[reposize-shield]: https://img.shields.io/github/repo-size/stephanluis/input-duration?style=for-the-badge
|
|
356
|
+
[reposize-url]: https://github.com/StephanLuis/input-duration
|
|
357
357
|
[product-screenshot]: images/screenshot.png
|
|
358
|
-
[npm-bundle-size]: https://img.shields.io/bundlephobia/minzip/
|
|
358
|
+
[npm-bundle-size]: https://img.shields.io/bundlephobia/minzip/input-duration?style=for-the-badge
|
|
359
359
|
[teststatus-shield]: https://img.shields.io/badge/dynamic/json?url=https://app.saucelabs.com/u/stephanluis&label=Sauce%20Labs%20Status&color=brightgreen&style=for-the-badge&query=passing
|
|
360
360
|
|
|
361
361
|
|
package/index.js
CHANGED
|
@@ -588,8 +588,8 @@ class InputDuration extends HTMLElement {
|
|
|
588
588
|
|
|
589
589
|
removeEprop() {
|
|
590
590
|
|
|
591
|
-
document.
|
|
592
|
-
.addEventListener('keydown', function (event) { event.stopPropagation();});
|
|
591
|
+
document.querySelectorAll('input-duration').forEach(x => x.shadowRoot.querySelector('.timeCase')
|
|
592
|
+
.addEventListener('keydown', function (event) { event.stopPropagation();}));
|
|
593
593
|
|
|
594
594
|
}
|
|
595
595
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "input-duration",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.3",
|
|
4
4
|
"author": "Stephan Luis <stephan@learnsense.org>",
|
|
5
5
|
"description": "This is the 'Input-Duration'! It is a webcomponent that provides an hour, minute, second, and millisecond control for HTML5.",
|
|
6
6
|
"browser": "indexjs",
|