@gitsense/gsc-utils 0.2.37 → 0.2.38
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/gsc-utils.cjs.js +20 -0
- package/dist/gsc-utils.esm.js +20 -0
- package/package.json +1 -1
- package/src/SVGUtils.js +20 -0
package/dist/gsc-utils.cjs.js
CHANGED
|
@@ -24673,6 +24673,16 @@ let SVGUtils$1 = class SVGUtils {
|
|
|
24673
24673
|
return this.create(xml, params);
|
|
24674
24674
|
}
|
|
24675
24675
|
|
|
24676
|
+
/**
|
|
24677
|
+
* Generate history24 SVG icon
|
|
24678
|
+
* @param {Object} params - Configuration parameters
|
|
24679
|
+
* @returns {Element} SVG element
|
|
24680
|
+
*/
|
|
24681
|
+
static history24(params) {
|
|
24682
|
+
const xml = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M11.998 2.5A9.503 9.503 0 0 0 3.378 8H5.75a.75.75 0 0 1 0 1.5H2a1 1 0 0 1-1-1V4.75a.75.75 0 0 1 1.5 0v1.697A10.997 10.997 0 0 1 11.998 1C18.074 1 23 5.925 23 12s-4.926 11-11.002 11C6.014 23 1.146 18.223 1 12.275a.75.75 0 0 1 1.5-.037 9.5 9.5 0 0 0 9.498 9.262c5.248 0 9.502-4.253 9.502-9.5s-4.254-9.5-9.502-9.5Z"></path><path d="M12.5 7.25a.75.75 0 0 0-1.5 0v5.5c0 .27.144.518.378.651l3.5 2a.75.75 0 0 0 .744-1.302L12.5 12.315V7.25Z"></path></svg>`;
|
|
24683
|
+
return this.create(xml, params);
|
|
24684
|
+
}
|
|
24685
|
+
|
|
24676
24686
|
/**
|
|
24677
24687
|
* Generate home SVG icon
|
|
24678
24688
|
* @param {Object} params - Configuration parameters
|
|
@@ -25069,6 +25079,16 @@ let SVGUtils$1 = class SVGUtils {
|
|
|
25069
25079
|
return this.create(xml, params);
|
|
25070
25080
|
}
|
|
25071
25081
|
|
|
25082
|
+
/**
|
|
25083
|
+
* Generate sparkle24 SVG icon
|
|
25084
|
+
* @param {Object} params - Configuration parameters
|
|
25085
|
+
* @returns {Element} SVG element
|
|
25086
|
+
*/
|
|
25087
|
+
static sparkle24(params) {
|
|
25088
|
+
const xml = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M11.191.565c.275-.754 1.342-.753 1.618 0l1.918 5.238a5.83 5.83 0 0 0 3.47 3.47l5.237 1.918c.755.275.755 1.342 0 1.618l-5.237 1.918a5.83 5.83 0 0 0-3.47 3.47l-1.918 5.237c-.276.755-1.343.755-1.618 0l-1.918-5.237a5.83 5.83 0 0 0-3.47-3.47L.565 12.809c-.753-.276-.754-1.342 0-1.618l5.238-1.918a5.83 5.83 0 0 0 3.47-3.47L11.191.565Zm-.505 5.756a7.336 7.336 0 0 1-4.365 4.365L2.73 12l3.591 1.315a7.333 7.333 0 0 1 4.365 4.365L12 21.269l1.315-3.589a7.33 7.33 0 0 1 4.365-4.365L21.269 12l-3.589-1.314a7.333 7.333 0 0 1-4.365-4.365L12 2.73l-1.314 3.591Z"></path></svg>`;
|
|
25089
|
+
return this.create(xml, params);
|
|
25090
|
+
}
|
|
25091
|
+
|
|
25072
25092
|
/**
|
|
25073
25093
|
* Generate square SVG icon
|
|
25074
25094
|
* @param {Object} params - Configuration parameters
|
package/dist/gsc-utils.esm.js
CHANGED
|
@@ -24671,6 +24671,16 @@ let SVGUtils$1 = class SVGUtils {
|
|
|
24671
24671
|
return this.create(xml, params);
|
|
24672
24672
|
}
|
|
24673
24673
|
|
|
24674
|
+
/**
|
|
24675
|
+
* Generate history24 SVG icon
|
|
24676
|
+
* @param {Object} params - Configuration parameters
|
|
24677
|
+
* @returns {Element} SVG element
|
|
24678
|
+
*/
|
|
24679
|
+
static history24(params) {
|
|
24680
|
+
const xml = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M11.998 2.5A9.503 9.503 0 0 0 3.378 8H5.75a.75.75 0 0 1 0 1.5H2a1 1 0 0 1-1-1V4.75a.75.75 0 0 1 1.5 0v1.697A10.997 10.997 0 0 1 11.998 1C18.074 1 23 5.925 23 12s-4.926 11-11.002 11C6.014 23 1.146 18.223 1 12.275a.75.75 0 0 1 1.5-.037 9.5 9.5 0 0 0 9.498 9.262c5.248 0 9.502-4.253 9.502-9.5s-4.254-9.5-9.502-9.5Z"></path><path d="M12.5 7.25a.75.75 0 0 0-1.5 0v5.5c0 .27.144.518.378.651l3.5 2a.75.75 0 0 0 .744-1.302L12.5 12.315V7.25Z"></path></svg>`;
|
|
24681
|
+
return this.create(xml, params);
|
|
24682
|
+
}
|
|
24683
|
+
|
|
24674
24684
|
/**
|
|
24675
24685
|
* Generate home SVG icon
|
|
24676
24686
|
* @param {Object} params - Configuration parameters
|
|
@@ -25067,6 +25077,16 @@ let SVGUtils$1 = class SVGUtils {
|
|
|
25067
25077
|
return this.create(xml, params);
|
|
25068
25078
|
}
|
|
25069
25079
|
|
|
25080
|
+
/**
|
|
25081
|
+
* Generate sparkle24 SVG icon
|
|
25082
|
+
* @param {Object} params - Configuration parameters
|
|
25083
|
+
* @returns {Element} SVG element
|
|
25084
|
+
*/
|
|
25085
|
+
static sparkle24(params) {
|
|
25086
|
+
const xml = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M11.191.565c.275-.754 1.342-.753 1.618 0l1.918 5.238a5.83 5.83 0 0 0 3.47 3.47l5.237 1.918c.755.275.755 1.342 0 1.618l-5.237 1.918a5.83 5.83 0 0 0-3.47 3.47l-1.918 5.237c-.276.755-1.343.755-1.618 0l-1.918-5.237a5.83 5.83 0 0 0-3.47-3.47L.565 12.809c-.753-.276-.754-1.342 0-1.618l5.238-1.918a5.83 5.83 0 0 0 3.47-3.47L11.191.565Zm-.505 5.756a7.336 7.336 0 0 1-4.365 4.365L2.73 12l3.591 1.315a7.333 7.333 0 0 1 4.365 4.365L12 21.269l1.315-3.589a7.33 7.33 0 0 1 4.365-4.365L21.269 12l-3.589-1.314a7.333 7.333 0 0 1-4.365-4.365L12 2.73l-1.314 3.591Z"></path></svg>`;
|
|
25087
|
+
return this.create(xml, params);
|
|
25088
|
+
}
|
|
25089
|
+
|
|
25070
25090
|
/**
|
|
25071
25091
|
* Generate square SVG icon
|
|
25072
25092
|
* @param {Object} params - Configuration parameters
|
package/package.json
CHANGED
package/src/SVGUtils.js
CHANGED
|
@@ -800,6 +800,16 @@ class SVGUtils {
|
|
|
800
800
|
return this.create(xml, params);
|
|
801
801
|
}
|
|
802
802
|
|
|
803
|
+
/**
|
|
804
|
+
* Generate history24 SVG icon
|
|
805
|
+
* @param {Object} params - Configuration parameters
|
|
806
|
+
* @returns {Element} SVG element
|
|
807
|
+
*/
|
|
808
|
+
static history24(params) {
|
|
809
|
+
const xml = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M11.998 2.5A9.503 9.503 0 0 0 3.378 8H5.75a.75.75 0 0 1 0 1.5H2a1 1 0 0 1-1-1V4.75a.75.75 0 0 1 1.5 0v1.697A10.997 10.997 0 0 1 11.998 1C18.074 1 23 5.925 23 12s-4.926 11-11.002 11C6.014 23 1.146 18.223 1 12.275a.75.75 0 0 1 1.5-.037 9.5 9.5 0 0 0 9.498 9.262c5.248 0 9.502-4.253 9.502-9.5s-4.254-9.5-9.502-9.5Z"></path><path d="M12.5 7.25a.75.75 0 0 0-1.5 0v5.5c0 .27.144.518.378.651l3.5 2a.75.75 0 0 0 .744-1.302L12.5 12.315V7.25Z"></path></svg>`;
|
|
810
|
+
return this.create(xml, params);
|
|
811
|
+
}
|
|
812
|
+
|
|
803
813
|
/**
|
|
804
814
|
* Generate home SVG icon
|
|
805
815
|
* @param {Object} params - Configuration parameters
|
|
@@ -1196,6 +1206,16 @@ class SVGUtils {
|
|
|
1196
1206
|
return this.create(xml, params);
|
|
1197
1207
|
}
|
|
1198
1208
|
|
|
1209
|
+
/**
|
|
1210
|
+
* Generate sparkle24 SVG icon
|
|
1211
|
+
* @param {Object} params - Configuration parameters
|
|
1212
|
+
* @returns {Element} SVG element
|
|
1213
|
+
*/
|
|
1214
|
+
static sparkle24(params) {
|
|
1215
|
+
const xml = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><path d="M11.191.565c.275-.754 1.342-.753 1.618 0l1.918 5.238a5.83 5.83 0 0 0 3.47 3.47l5.237 1.918c.755.275.755 1.342 0 1.618l-5.237 1.918a5.83 5.83 0 0 0-3.47 3.47l-1.918 5.237c-.276.755-1.343.755-1.618 0l-1.918-5.237a5.83 5.83 0 0 0-3.47-3.47L.565 12.809c-.753-.276-.754-1.342 0-1.618l5.238-1.918a5.83 5.83 0 0 0 3.47-3.47L11.191.565Zm-.505 5.756a7.336 7.336 0 0 1-4.365 4.365L2.73 12l3.591 1.315a7.333 7.333 0 0 1 4.365 4.365L12 21.269l1.315-3.589a7.33 7.33 0 0 1 4.365-4.365L21.269 12l-3.589-1.314a7.333 7.333 0 0 1-4.365-4.365L12 2.73l-1.314 3.591Z"></path></svg>`;
|
|
1216
|
+
return this.create(xml, params);
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1199
1219
|
/**
|
|
1200
1220
|
* Generate square SVG icon
|
|
1201
1221
|
* @param {Object} params - Configuration parameters
|