analog-clock-components 0.1.455 → 0.1.457
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/cjs/analog-clock.cjs.entry.js +2 -1
- package/dist/cjs/analog-clock.cjs.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/components/analog-clock.js +2 -1
- package/dist/esm/analog-clock.entry.js +2 -1
- package/dist/esm/analog-clock.js +1 -1
- package/package.json +3 -3
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-4f7a9af9.js');
|
|
6
6
|
|
|
7
7
|
const analogClockCss = ".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";
|
|
8
|
+
const AnalogClockStyle0 = analogClockCss;
|
|
8
9
|
|
|
9
10
|
const AnalogClock = class {
|
|
10
11
|
constructor(hostRef) {
|
|
@@ -44,6 +45,6 @@ const AnalogClock = class {
|
|
|
44
45
|
return (index.h("svg", { class: "clock", viewBox: "0 0 200 200", width: this.size, height: this.size }, index.h("circle", { id: "circle", cx: "100", cy: "100", r: "95", "stroke-width": "10", fill: "transparent" }), index.h("line", { id: "hour", transform: `rotate(${this.hourToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "60", "stroke-width": "10", "stroke-linecap": "round" }), index.h("line", { id: "minute", transform: `rotate(${this.minuteToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "30", "stroke-width": "8", "stroke-linecap": "round" }), index.h("line", { id: "second", transform: `rotate(${this.secondToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "20", "stroke-width": "2", "stroke-linecap": "round" })));
|
|
45
46
|
}
|
|
46
47
|
};
|
|
47
|
-
AnalogClock.style =
|
|
48
|
+
AnalogClock.style = AnalogClockStyle0;
|
|
48
49
|
|
|
49
50
|
exports.analog_clock = AnalogClock;
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-4f7a9af9.js');
|
|
6
6
|
|
|
7
7
|
/*
|
|
8
|
-
Stencil Client Patch Browser v4.
|
|
8
|
+
Stencil Client Patch Browser v4.11.0 | MIT Licensed | https://stenciljs.com
|
|
9
9
|
*/
|
|
10
10
|
const patchBrowser = () => {
|
|
11
11
|
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('analog-clock.cjs.js', document.baseURI).href));
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
3
|
const analogClockCss = ".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";
|
|
4
|
+
const AnalogClockStyle0 = analogClockCss;
|
|
4
5
|
|
|
5
6
|
const AnalogClock$1 = /*@__PURE__*/ proxyCustomElement(class AnalogClock extends HTMLElement {
|
|
6
7
|
constructor() {
|
|
@@ -41,7 +42,7 @@ const AnalogClock$1 = /*@__PURE__*/ proxyCustomElement(class AnalogClock extends
|
|
|
41
42
|
render() {
|
|
42
43
|
return (h("svg", { class: "clock", viewBox: "0 0 200 200", width: this.size, height: this.size }, h("circle", { id: "circle", cx: "100", cy: "100", r: "95", "stroke-width": "10", fill: "transparent" }), h("line", { id: "hour", transform: `rotate(${this.hourToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "60", "stroke-width": "10", "stroke-linecap": "round" }), h("line", { id: "minute", transform: `rotate(${this.minuteToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "30", "stroke-width": "8", "stroke-linecap": "round" }), h("line", { id: "second", transform: `rotate(${this.secondToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "20", "stroke-width": "2", "stroke-linecap": "round" })));
|
|
43
44
|
}
|
|
44
|
-
static get style() { return
|
|
45
|
+
static get style() { return AnalogClockStyle0; }
|
|
45
46
|
}, [1, "analog-clock", {
|
|
46
47
|
"size": [2],
|
|
47
48
|
"timeZone": [2, "time-zone"],
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, h } from './index-d4cf96a1.js';
|
|
2
2
|
|
|
3
3
|
const analogClockCss = ".clock #circle{stroke:var(--clock-circle-color, black)}.clock #hour{stroke:var(--clock-hour-color, black)}.clock #minute{stroke:var(--clock-minute-color, black)}.clock #second{stroke:var(--clock-second-color, black)}";
|
|
4
|
+
const AnalogClockStyle0 = analogClockCss;
|
|
4
5
|
|
|
5
6
|
const AnalogClock = class {
|
|
6
7
|
constructor(hostRef) {
|
|
@@ -40,6 +41,6 @@ const AnalogClock = class {
|
|
|
40
41
|
return (h("svg", { class: "clock", viewBox: "0 0 200 200", width: this.size, height: this.size }, h("circle", { id: "circle", cx: "100", cy: "100", r: "95", "stroke-width": "10", fill: "transparent" }), h("line", { id: "hour", transform: `rotate(${this.hourToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "60", "stroke-width": "10", "stroke-linecap": "round" }), h("line", { id: "minute", transform: `rotate(${this.minuteToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "30", "stroke-width": "8", "stroke-linecap": "round" }), h("line", { id: "second", transform: `rotate(${this.secondToDegrees()}, 100, 100)`, x1: "100", y1: "100", x2: "100", y2: "20", "stroke-width": "2", "stroke-linecap": "round" })));
|
|
41
42
|
}
|
|
42
43
|
};
|
|
43
|
-
AnalogClock.style =
|
|
44
|
+
AnalogClock.style = AnalogClockStyle0;
|
|
44
45
|
|
|
45
46
|
export { AnalogClock as analog_clock };
|
package/dist/esm/analog-clock.js
CHANGED
|
@@ -2,7 +2,7 @@ import { p as promiseResolve, b as bootstrapLazy } from './index-d4cf96a1.js';
|
|
|
2
2
|
export { s as setNonce } from './index-d4cf96a1.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Browser v4.
|
|
5
|
+
Stencil Client Patch Browser v4.11.0 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchBrowser = () => {
|
|
8
8
|
const importMeta = import.meta.url;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "analog-clock-components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.457",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"format": "prettier --write src"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@stencil/core": "4.
|
|
28
|
+
"@stencil/core": "4.11.0"
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"cspell": "8.3.2",
|
|
33
33
|
"eslint": "8.56.0",
|
|
34
|
-
"prettier": "3.2.
|
|
34
|
+
"prettier": "3.2.4",
|
|
35
35
|
"tslint": "6.1.3",
|
|
36
36
|
"typescript": "5.3.3"
|
|
37
37
|
}
|