bootstrap-time 0.2.4-beta → 0.3.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 -47
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,8 +32,8 @@ Or load the published files from jsDelivr:
|
|
|
32
32
|
|
|
33
33
|
```html
|
|
34
34
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootstrap.min.css">
|
|
35
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-time@0.
|
|
36
|
-
<script src="https://cdn.jsdelivr.net/npm/bootstrap-time@0.
|
|
35
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-time@0.3.0/dist/css/bootstrap-time.min.css">
|
|
36
|
+
<script src="https://cdn.jsdelivr.net/npm/bootstrap-time@0.3.0/dist/js/bootstrap-time.min.js"></script>
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Local builds use the same paths under `dist/`:
|
|
@@ -43,7 +43,7 @@ Local builds use the same paths under `dist/`:
|
|
|
43
43
|
<script src="dist/js/bootstrap-time.min.js"></script>
|
|
44
44
|
```
|
|
45
45
|
|
|
46
|
-
Add `bs-time` to a time field. The script
|
|
46
|
+
Add `bs-time` to a time field. The script leaves the field untouched and opens the clock as a fixed overlay, so it works in an existing Bootstrap form.
|
|
47
47
|
|
|
48
48
|
```html
|
|
49
49
|
<label class="form-label" for="time">Time</label>
|
|
@@ -54,55 +54,17 @@ Minute selection follows the input `step`, including when `step` changes: `60` a
|
|
|
54
54
|
|
|
55
55
|
## Changelog
|
|
56
56
|
|
|
57
|
-
### 0.
|
|
57
|
+
### 0.3.0
|
|
58
58
|
|
|
59
|
+
- Stable release.
|
|
60
|
+
- Requires Bootstrap 5.3.8.
|
|
59
61
|
- The field stays untouched. The clock is a fixed overlay.
|
|
60
|
-
|
|
61
|
-
### 0.2.3-beta
|
|
62
|
-
|
|
63
62
|
- The native time picker no longer opens. The browser icon stays.
|
|
64
63
|
|
|
65
|
-
### 0.2.2-beta
|
|
66
|
-
|
|
67
|
-
- The clock overlays the form and no longer stretches a smaller field.
|
|
68
|
-
|
|
69
|
-
### 0.2.1-beta
|
|
70
|
-
|
|
71
|
-
- Requires Bootstrap 5.3.8 instead of Bootstrap 6.
|
|
72
|
-
- Removed the adorn button. The browser time icon stays, and focus and blur still open and close the clock.
|
|
73
|
-
|
|
74
64
|
### 0.2.0
|
|
75
65
|
|
|
76
66
|
- Stable release. Attach the clock to any field with class `bs-time`.
|
|
77
67
|
|
|
78
|
-
### 0.1.7-beta
|
|
79
|
-
|
|
80
|
-
- Attach the clock to any field with class `bs-time`.
|
|
81
|
-
|
|
82
|
-
### 0.1.6-beta
|
|
83
|
-
|
|
84
|
-
- The example starts on the current time.
|
|
85
|
-
- Minute selection follows the input `step`, including when it changes.
|
|
86
|
-
- `step="60"` selects any minute by clicking between the numbers.
|
|
87
|
-
- `step="900"` enables only 00, 15, 30 and 45.
|
|
88
|
-
|
|
89
|
-
### 0.1.5-beta
|
|
90
|
-
|
|
91
|
-
- Release title uses `<version>-beta`.
|
|
92
|
-
|
|
93
|
-
### 0.1.4-beta
|
|
94
|
-
|
|
95
|
-
- Bootstrap 6 is a dependency.
|
|
96
|
-
|
|
97
|
-
### 0.1.3-beta
|
|
98
|
-
|
|
99
|
-
- Added a version changelog to the README.
|
|
100
|
-
|
|
101
|
-
### 0.1.2-beta
|
|
102
|
-
|
|
103
|
-
- Published as a beta. It does not replace the `latest` tag.
|
|
104
|
-
- Prerelease publishes use their npm dist-tag.
|
|
105
|
-
|
|
106
68
|
### 0.1.1
|
|
107
69
|
|
|
108
70
|
- Published release after the repository reset.
|
|
@@ -110,8 +72,6 @@ Minute selection follows the input `step`, including when `step` changes: `60` a
|
|
|
110
72
|
### 0.1.0
|
|
111
73
|
|
|
112
74
|
- Initial release.
|
|
113
|
-
- Analog clock under a time input
|
|
75
|
+
- Analog clock under a time input.
|
|
114
76
|
- Hour and minute arrows. The hand follows hour and minute changes.
|
|
115
77
|
- Hand and selection knob use Bootstrap primary.
|
|
116
|
-
- Widget uses `theme-secondary theme-subtle`. The clock face uses `theme-inverse theme-subtle`.
|
|
117
|
-
- Requires Bootstrap 6 for form adornments.
|