tactile-odometer 1.1.0 → 1.1.2
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/LICENSE +0 -4
- package/README.md +2 -2
- package/odometer.mjs +1 -1
- package/package.json +7 -5
package/LICENSE
CHANGED
|
@@ -19,7 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
20
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
21
|
SOFTWARE.
|
|
22
|
-
|
|
23
|
-
The numerals, big-shoulders-bold.woff2, are Big Shoulders Bold, copyright 2019
|
|
24
|
-
The Big Shoulders Project Authors (https://github.com/xotypeco/big_shoulders),
|
|
25
|
-
licensed under the SIL Open Font License 1.1; see BigShoulders-OFL.txt.
|
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ nothing carries. This one does.
|
|
|
9
9
|
|
|
10
10
|
Vanilla ES module and CSS, no dependencies, no build step. MIT.
|
|
11
11
|
|
|
12
|
-
**[Play with it →](https://
|
|
12
|
+
**[Play with it →](https://tactileui.dev/objects/odometer)**
|
|
13
13
|
|
|
14
14
|

|
|
15
15
|
|
|
@@ -177,7 +177,7 @@ tested in Node with `node:test`.
|
|
|
177
177
|
|
|
178
178
|
## Where it's from
|
|
179
179
|
|
|
180
|
-
It's the free piece of [Tactile UI](https://
|
|
180
|
+
It's the free piece of [Tactile UI](https://tactileui.dev), a library of
|
|
181
181
|
interface objects that work like the hardware they're drawn from: a pin
|
|
182
182
|
screen, a Chladni plate, a detent dial, a cassette. The rest are paid; this
|
|
183
183
|
one is MIT, for everyone.
|
package/odometer.mjs
CHANGED
|
@@ -337,7 +337,7 @@ export const FINISHES = Object.freeze({
|
|
|
337
337
|
brass: Object.freeze({ drum: '#b48a3a', figure: '#1f1507', plate: 'blackened', gloss: 0.55, tint: '255, 236, 190' }),
|
|
338
338
|
});
|
|
339
339
|
|
|
340
|
-
export const SIGNAL = Object.freeze({ drum: '#
|
|
340
|
+
export const SIGNAL = Object.freeze({ drum: '#d93a2b', figure: '#fff3e6' });
|
|
341
341
|
|
|
342
342
|
export const BEZELS = Object.freeze(['slot', 'cells', 'bare']);
|
|
343
343
|
export const REDS = Object.freeze(['none', 'last', 'decimals']);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tactile-odometer",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"description": "A mechanical drum counter for the web that carries like the real thing: 1,099 to 1,100 rolls three drums together. Vanilla JS, no dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./odometer.mjs",
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
"odometer.css",
|
|
17
17
|
"big-shoulders-bold.woff2",
|
|
18
18
|
"BigShoulders-OFL.txt",
|
|
19
|
-
"README.md"
|
|
19
|
+
"README.md",
|
|
20
|
+
"LICENSE"
|
|
20
21
|
],
|
|
21
22
|
"sideEffects": [
|
|
22
23
|
"*.css"
|
|
@@ -38,13 +39,14 @@
|
|
|
38
39
|
],
|
|
39
40
|
"license": "MIT",
|
|
40
41
|
"author": "Ciprian Titire (https://titi.re)",
|
|
41
|
-
"homepage": "https://
|
|
42
|
+
"homepage": "https://tactileui.dev/objects/odometer",
|
|
42
43
|
"repository": {
|
|
43
44
|
"type": "git",
|
|
44
|
-
"url": "git+https://github.com/cipriantitire/tactile-
|
|
45
|
+
"url": "git+https://github.com/cipriantitire/tactile-ui-free.git",
|
|
46
|
+
"directory": "odometer"
|
|
45
47
|
},
|
|
46
48
|
"bugs": {
|
|
47
|
-
"url": "https://github.com/cipriantitire/tactile-
|
|
49
|
+
"url": "https://github.com/cipriantitire/tactile-ui-free/issues"
|
|
48
50
|
},
|
|
49
51
|
"engines": {
|
|
50
52
|
"node": ">=18"
|