@blueprintjs/icons 5.2.0 → 5.2.1
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/blueprint-icons-all-paths-loader.bundle.js +1 -1
- package/dist/blueprint-icons-split-paths-by-size-loader.bundle.js +1 -1
- package/dist/icons.bundle.js +1 -1
- package/lib/cjs/allPaths.d.ts +1 -1
- package/lib/cjs/index.js +1 -0
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/svgIconProps.d.ts +1 -1
- package/lib/cjs/type-utils/camel-case.d.ts +2 -2
- package/lib/cjs/type-utils/delimiter-case.d.ts +1 -1
- package/lib/cjs/type-utils/index.d.ts +6 -3
- package/lib/cjs/type-utils/pascal-case.d.ts +1 -1
- package/lib/cjs/type-utils/screaming-snake-case.d.ts +3 -3
- package/lib/cjs/type-utils/snake-case.d.ts +1 -1
- package/lib/esm/allPaths.d.ts +1 -1
- package/lib/esm/iconNames.d.ts +335 -335
- package/lib/esm/index.js +1 -0
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/svgIconProps.d.ts +1 -1
- package/lib/esm/type-utils/camel-case.d.ts +2 -2
- package/lib/esm/type-utils/delimiter-case.d.ts +1 -1
- package/lib/esm/type-utils/index.d.ts +6 -3
- package/lib/esm/type-utils/pascal-case.d.ts +1 -1
- package/lib/esm/type-utils/screaming-snake-case.d.ts +3 -3
- package/lib/esm/type-utils/snake-case.d.ts +1 -1
- package/lib/esnext/allPaths.d.ts +1 -1
- package/lib/esnext/index.js +1 -0
- package/lib/esnext/index.js.map +1 -1
- package/lib/esnext/svgIconProps.d.ts +1 -1
- package/lib/esnext/type-utils/camel-case.d.ts +2 -2
- package/lib/esnext/type-utils/delimiter-case.d.ts +1 -1
- package/lib/esnext/type-utils/index.d.ts +6 -3
- package/lib/esnext/type-utils/pascal-case.d.ts +1 -1
- package/lib/esnext/type-utils/screaming-snake-case.d.ts +3 -3
- package/lib/esnext/type-utils/snake-case.d.ts +1 -1
- package/package.json +3 -3
- package/src/allPaths.ts +1 -1
- package/src/paths-loaders/splitPathsBySizeLoader.ts +1 -1
- package/src/svgIconProps.ts +1 -1
- package/src/type-utils/camel-case.ts +2 -2
- package/src/type-utils/delimiter-case.ts +1 -1
- package/src/type-utils/index.ts +6 -3
- package/src/type-utils/pascal-case.ts +1 -1
- package/src/type-utils/screaming-snake-case.ts +3 -3
- package/src/type-utils/snake-case.ts +1 -1
package/lib/esm/index.js
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
// N.B. these named imports will trigger bundlers to statically loads all icon path modules
|
|
17
17
|
export { IconSvgPaths16, IconSvgPaths20, getIconPaths } from "./allPaths";
|
|
18
18
|
export { Icons } from "./iconLoader";
|
|
19
|
+
export {} from "./svgIconProps";
|
|
19
20
|
export { SVGIconContainer } from "./svgIconContainer";
|
|
20
21
|
export { getIconContentString, IconCodepoints } from "./iconCodepoints";
|
|
21
22
|
export { IconNames } from "./iconNames";
|
package/lib/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,2FAA2F;AAC3F,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1E,OAAO,EAAE,KAAK,EAAsC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,2FAA2F;AAC3F,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1E,OAAO,EAAE,KAAK,EAAsC,MAAM,cAAc,CAAC;AACzE,OAAO,EAAkF,MAAM,gBAAgB,CAAC;AAChH,OAAO,EAAE,gBAAgB,EAAoD,MAAM,oBAAoB,CAAC;AACxG,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAY,SAAS,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAa,MAAM,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WordSeparators } from "./sourceUtilities";
|
|
2
|
-
import { Split } from "./utilities";
|
|
1
|
+
import type { WordSeparators } from "./sourceUtilities";
|
|
2
|
+
import type { Split } from "./utilities";
|
|
3
3
|
/**
|
|
4
4
|
Step by step takes the first item in an array literal, formats it and adds it to a string literal, and then recursively appends the remainder.
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UpperCaseCharacters, WordSeparators } from "./sourceUtilities";
|
|
1
|
+
import type { UpperCaseCharacters, WordSeparators } from "./sourceUtilities";
|
|
2
2
|
/**
|
|
3
3
|
Unlike a simpler split, this one includes the delimiter splitted on in the resulting array literal. This is to enable splitting on, for example, upper-case characters.
|
|
4
4
|
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Mapped type utils copied from the "type-fest" package to avoid a dependency on that package
|
|
3
|
+
* (it caused surprising compilation errors downstream).
|
|
4
|
+
*/
|
|
5
|
+
export type { PascalCase } from "./pascal-case";
|
|
6
|
+
export type { ScreamingSnakeCase } from "./screaming-snake-case";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SplitIncludingDelimiters } from "./delimiter-case";
|
|
2
|
-
import { SnakeCase } from "./snake-case";
|
|
3
|
-
import { Includes } from "./includes";
|
|
1
|
+
import type { SplitIncludingDelimiters } from "./delimiter-case";
|
|
2
|
+
import type { SnakeCase } from "./snake-case";
|
|
3
|
+
import type { Includes } from "./includes";
|
|
4
4
|
/**
|
|
5
5
|
Returns a boolean for whether the string is screaming snake case.
|
|
6
6
|
*/
|
package/lib/esnext/allPaths.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as IconSvgPaths16 from "./generated/16px/paths";
|
|
2
2
|
import * as IconSvgPaths20 from "./generated/20px/paths";
|
|
3
|
-
import { IconName } from "./iconNames";
|
|
3
|
+
import type { IconName } from "./iconNames";
|
|
4
4
|
import { IconPaths, IconSize } from "./iconTypes";
|
|
5
5
|
import type { PascalCase } from "./type-utils";
|
|
6
6
|
export { IconSvgPaths16, IconSvgPaths20 };
|
package/lib/esnext/index.js
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
// N.B. these named imports will trigger bundlers to statically loads all icon path modules
|
|
17
17
|
export { IconSvgPaths16, IconSvgPaths20, getIconPaths } from "./allPaths";
|
|
18
18
|
export { Icons } from "./iconLoader";
|
|
19
|
+
export {} from "./svgIconProps";
|
|
19
20
|
export { SVGIconContainer } from "./svgIconContainer";
|
|
20
21
|
export { getIconContentString, IconCodepoints } from "./iconCodepoints";
|
|
21
22
|
export { IconNames } from "./iconNames";
|
package/lib/esnext/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,2FAA2F;AAC3F,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1E,OAAO,EAAE,KAAK,EAAsC,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,2FAA2F;AAC3F,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1E,OAAO,EAAE,KAAK,EAAsC,MAAM,cAAc,CAAC;AACzE,OAAO,EAAkF,MAAM,gBAAgB,CAAC;AAChH,OAAO,EAAE,gBAAgB,EAAoD,MAAM,oBAAoB,CAAC;AACxG,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EAAY,SAAS,EAAE,MAAM,aAAa,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAa,MAAM,aAAa,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WordSeparators } from "./sourceUtilities";
|
|
2
|
-
import { Split } from "./utilities";
|
|
1
|
+
import type { WordSeparators } from "./sourceUtilities";
|
|
2
|
+
import type { Split } from "./utilities";
|
|
3
3
|
/**
|
|
4
4
|
Step by step takes the first item in an array literal, formats it and adds it to a string literal, and then recursively appends the remainder.
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UpperCaseCharacters, WordSeparators } from "./sourceUtilities";
|
|
1
|
+
import type { UpperCaseCharacters, WordSeparators } from "./sourceUtilities";
|
|
2
2
|
/**
|
|
3
3
|
Unlike a simpler split, this one includes the delimiter splitted on in the resulting array literal. This is to enable splitting on, for example, upper-case characters.
|
|
4
4
|
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Mapped type utils copied from the "type-fest" package to avoid a dependency on that package
|
|
3
|
+
* (it caused surprising compilation errors downstream).
|
|
4
|
+
*/
|
|
5
|
+
export type { PascalCase } from "./pascal-case";
|
|
6
|
+
export type { ScreamingSnakeCase } from "./screaming-snake-case";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SplitIncludingDelimiters } from "./delimiter-case";
|
|
2
|
-
import { SnakeCase } from "./snake-case";
|
|
3
|
-
import { Includes } from "./includes";
|
|
1
|
+
import type { SplitIncludingDelimiters } from "./delimiter-case";
|
|
2
|
+
import type { SnakeCase } from "./snake-case";
|
|
3
|
+
import type { Includes } from "./includes";
|
|
4
4
|
/**
|
|
5
5
|
Returns a boolean for whether the string is screaming snake case.
|
|
6
6
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blueprintjs/icons",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "Components, fonts, icons, and css files for creating and displaying icons.",
|
|
5
5
|
"main": "lib/cjs/generated/index.js",
|
|
6
6
|
"module": "lib/esm/generated/index.js",
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@blueprintjs/node-build-scripts": "^8.0.
|
|
61
|
-
"@blueprintjs/test-commons": "^2.1.
|
|
60
|
+
"@blueprintjs/node-build-scripts": "^8.0.4",
|
|
61
|
+
"@blueprintjs/test-commons": "^2.1.2",
|
|
62
62
|
"@types/handlebars": "^4.1.0",
|
|
63
63
|
"enzyme": "^3.11.0",
|
|
64
64
|
"fantasticon": "^1.2.3",
|
package/src/allPaths.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { pascalCase } from "change-case";
|
|
|
18
18
|
|
|
19
19
|
import * as IconSvgPaths16 from "./generated/16px/paths";
|
|
20
20
|
import * as IconSvgPaths20 from "./generated/20px/paths";
|
|
21
|
-
import { IconName } from "./iconNames";
|
|
21
|
+
import type { IconName } from "./iconNames";
|
|
22
22
|
import { IconPaths, IconSize } from "./iconTypes";
|
|
23
23
|
import type { PascalCase } from "./type-utils";
|
|
24
24
|
export { IconSvgPaths16, IconSvgPaths20 };
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
import { pascalCase } from "change-case";
|
|
18
18
|
|
|
19
19
|
import type { IconPathsLoader } from "../iconLoader";
|
|
20
|
-
import { IconName } from "../iconNames";
|
|
20
|
+
import type { IconName } from "../iconNames";
|
|
21
21
|
import { IconPaths, IconSize } from "../iconTypes";
|
|
22
22
|
import type { PascalCase } from "../type-utils";
|
|
23
23
|
|
package/src/svgIconProps.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { WordSeparators } from "./sourceUtilities";
|
|
2
|
-
import { Split } from "./utilities";
|
|
1
|
+
import type { WordSeparators } from "./sourceUtilities";
|
|
2
|
+
import type { Split } from "./utilities";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
Step by step takes the first item in an array literal, formats it and adds it to a string literal, and then recursively appends the remainder.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { UpperCaseCharacters, WordSeparators } from "./sourceUtilities";
|
|
1
|
+
import type { UpperCaseCharacters, WordSeparators } from "./sourceUtilities";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
Unlike a simpler split, this one includes the delimiter splitted on in the resulting array literal. This is to enable splitting on, for example, upper-case characters.
|
package/src/type-utils/index.ts
CHANGED
|
@@ -14,7 +14,10 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
-
/**
|
|
17
|
+
/**
|
|
18
|
+
* @fileoverview Mapped type utils copied from the "type-fest" package to avoid a dependency on that package
|
|
19
|
+
* (it caused surprising compilation errors downstream).
|
|
20
|
+
*/
|
|
18
21
|
|
|
19
|
-
export { PascalCase } from "./pascal-case";
|
|
20
|
-
export { ScreamingSnakeCase } from "./screaming-snake-case";
|
|
22
|
+
export type { PascalCase } from "./pascal-case";
|
|
23
|
+
export type { ScreamingSnakeCase } from "./screaming-snake-case";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SplitIncludingDelimiters } from "./delimiter-case";
|
|
2
|
-
import { SnakeCase } from "./snake-case";
|
|
3
|
-
import { Includes } from "./includes";
|
|
1
|
+
import type { SplitIncludingDelimiters } from "./delimiter-case";
|
|
2
|
+
import type { SnakeCase } from "./snake-case";
|
|
3
|
+
import type { Includes } from "./includes";
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
Returns a boolean for whether the string is screaming snake case.
|