@skyux/icons 6.2.4 → 6.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/CHANGELOG.md +4 -0
- package/index.d.ts +1 -0
- package/index.js +3 -0
- package/module/version.d.ts +14 -0
- package/module/version.js +21 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -14,6 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.VERSION = void 0;
|
|
17
18
|
__exportStar(require("./module/__get-icon-manifest"), exports);
|
|
18
19
|
__exportStar(require("./module/icon-manifest"), exports);
|
|
19
20
|
__exportStar(require("./module/icon-manifest-glyph"), exports);
|
|
21
|
+
var version_1 = require("./module/version");
|
|
22
|
+
Object.defineProperty(exports, "VERSION", { enumerable: true, get: function () { return version_1.VERSION; } });
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export declare class Version {
|
|
5
|
+
readonly full: string;
|
|
6
|
+
readonly major: string;
|
|
7
|
+
readonly minor: string;
|
|
8
|
+
readonly patch: string;
|
|
9
|
+
constructor(full: string);
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* Represents the version of @skyux/icons.
|
|
13
|
+
*/
|
|
14
|
+
export declare const VERSION: Version;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Taken from Angular's version.ts file.
|
|
3
|
+
// See: https://github.com/angular/angular/blob/16.2.x/packages/core/src/version.ts
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.VERSION = exports.Version = void 0;
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
class Version {
|
|
10
|
+
constructor(full) {
|
|
11
|
+
this.full = full;
|
|
12
|
+
this.major = full.split('.')[0];
|
|
13
|
+
this.minor = full.split('.')[1];
|
|
14
|
+
this.patch = full.split('.').slice(2).join('.');
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.Version = Version;
|
|
18
|
+
/**
|
|
19
|
+
* Represents the version of @skyux/icons.
|
|
20
|
+
*/
|
|
21
|
+
exports.VERSION = new Version('6.3.0');
|